Skip to content

Latest commit

 

History

History
85 lines (64 loc) · 3.06 KB

CHANGELOG.md

File metadata and controls

85 lines (64 loc) · 3.06 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog and this project adheres to Semantic Versioning.

0.6.0 - 2023-07-10

Added

  • Trait Eeprom24xTrait providing the device interface.

Changed

  • Updated embedded-storage dependency to version 0.3.
  • Updated nb dependency to version 1.1.
  • Increase MSRV to version 1.60.0.

0.5.0 - 2022-01-20

Added

  • Add support for STM M24C01 and M24C02.
  • Implement embedded_storage::ReadStorage and embedded_storage::Storage traits.

Changed

  • [breaking-change] Increase MSRV to version 1.51.0.

0.4.0 - 2021-09-04

Added

  • PartialEq implementation for SlaveAddr.

Changed

  • [breaking-change] Remove Default derive for Eeprom24x. Technically a breaking change but it should not affect anybody.

0.3.0 - 2019-01-20

Changed

  • [breaking-change] The addresses are now passed as a single u32. User code should be easy to adapt: eeprom.read_byte([0x12, 0x34]) now becomes: eeprom.read_byte(0x1234).

Fixed

  • High memory addressing in devices using some device address bits for memory addressing: 24x04, 24x08, 24x16, 24xM01, 24xM02.
  • Protect against memory address rollover.
  • Protect against page address rollover.

0.2.1 - 2019-01-20

Removed

  • [breaking-change] Removed support for devices that use some device address bits for memory addressing: 24x04, 24x08, 24x16, 24xM01, 24xM02 as the addressing was erroneous. Please upgrade to version 0.3.0 to use them.

0.2.0 - 2018-11-22

Added

  • Add support for many more devices.

Changed

  • [breaking-change] The addresses are now passed to the methods per value for efficiency reasons. i.e. address: &[u8; 2] has now become address: [u8; 2] in all methods. User code should be easy to adapt: eeprom.read_byte(&[0x12, 0x34]) now becomes: eeprom.read_byte([0x12, 0x34]).

  • [breaking-change] Changed type of parameter of the Eeprom24x struct. Now it is a marker type for the page size instead of the device name.

0.1.1 - 2018-08-22

Fixed

  • Disallow setting a different slave address through SlaveAddr::Default.

0.1.0 - 2018-08-18

This is the initial release to crates.io of the feature-complete driver. There may be some API changes in the future, in case I decide that something can be further improved. All changes will be documented in this CHANGELOG.