Skip to content

Latest commit

 

History

History
61 lines (44 loc) · 2.11 KB

CHANGELOG.md

File metadata and controls

61 lines (44 loc) · 2.11 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.

Added

  • Derived common traits for types.
  • Add default for ComparatorQueue.

Changed

  • [breaking-change] Updated embedded-hal to version 1, read in one-shot mode is therefore only an inherent method.
  • [breaking-change] Simplified SlaveAddr enum.
  • Raised MSRV to 1.62.0.

Removed

  • Removed I2cInterface.
  • Removed reset_internal_driver_state method.

0.2.2 - 2021-07-29

Added

  • DynamicOneShot trait to ease usage of driver in functions. See trait example.

Changed

  • Updated nb dependency to version 1.

0.2.1 - 2020-06-22

Added

  • Added helper construction methods for SlaveAddr.

Changed

  • Use Rust edition 2018 in code an examples.

0.2.0 - 2019-03-31

Changed

  • [breaking-change] Mode change has been integrated into into_continuous and into_one_shot methods. This removes the need for a start method in continuous mode and the Error::NotStarted. Everything is now encoded into the modes. When changing into continuous mode the measurements are started and to stop one can simply change into one-shot mode. (This is how the hardware does it anyway). The one-shot mode is not affected. When changing the mode an I2C communication error can occur but the unchanged device can now be retrieved.

0.1.0 - 2018-11-21

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.