Skip to content

Latest commit

 

History

History
84 lines (53 loc) · 1.9 KB

CHANGELOG.md

File metadata and controls

84 lines (53 loc) · 1.9 KB

Changelog

v1.0.1 - 12-28-2021

  • Fixes
    • Properly mark I/O bound functions in NIF.

v1.0.0 - 10-20-2021

This release only changes the version number. No code has changed.

v0.3.9

This release only has doc and build output cleanup. No code has changed.

v0.3.8

  • New features

    • Add Circuits.I2C.discover/2 and Circuits.I2C.discover_one/2. These functions are intended for library authors wanting to provide good suggestions or defaults to their users. See the hex docs for more information. Thanks to Bruce Tate for the idea and PR.
  • Improvements

    • The stub I2C implementation is now used whenever MIX_ENV=test. While this is not generally useful for testing code that uses Circuits.I2C, it does prevent accidental use of real I2C buses in unit tests on those systems with real I2C buses.

v0.3.7

  • Improvements
    • Add I2C address in hex showing detected devices

v0.3.6

  • Bug fixes
    • Add -fPIC to compilation flags to fix build with nerves_system_x86_64 and other environments using the Musl C toolchains

v0.3.5

  • Bug fixes
    • Reduce the number of I2C addresses scanned for detection to avoid confusing some devices.

v0.3.4

This release should work on Erlang/OTP 20 - 22 and Elixir 1.4 and newer. The CI process has been updated to verify more versions now.

  • Bug fixes
    • Improve error message when bus doesn't exist

v0.3.3

  • Bug fixes
    • Fix binary handling in NIF. This fixes segfaults and other errors when run on Raspbian.

v0.3.2

  • Bug fixes
    • Fix file handle leak when I2C bus references were garbage collected.

v0.3.1

  • Bug fixes
    • Build C source under the _build directory so that changing targets properly rebuilds the C code as well as the Elixir code.

v0.3.0

Print detected devices instead of an error.

v0.2.0

Minor text updates.

Remove i2c_ from i2c_address and i2c_bus.

v0.1.0

Initial release to hex.