Skip to content

Bump circuits_i2c from 1.1.0 to 2.0.1#23

Closed
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/hex/circuits_i2c-2.0.1
Closed

Bump circuits_i2c from 1.1.0 to 2.0.1#23
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/hex/circuits_i2c-2.0.1

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 23, 2023

Bumps circuits_i2c from 1.1.0 to 2.0.1.

Release notes

Sourced from circuits_i2c's releases.

v2.0.1

  • Changes
    • Add Circuits.I2C.bus() type back to fix a dialyzer warning on projects that support both Circuits.I2C 1.0 and 2.0.

v2.0.0

This is a major update to Circuits.I2C that removes the requirement to use Nerves or Linux. The API is almost the same and the default is to compile and use the Linux backend, so changes may not be needed.

  • Changes
    • Support alternative backends for different operating systems or for simulated hardware
    • For the Linux NIF, support passing a :retry count to Circuits.I2C.open/2 that will apply to all I2C operations. This simplifies dealing with devices with flaky connections.
    • Defer loading the Linux NIF until Circuits.I2C.open/2 is called
    • Return error on Circuits.I2C.open/2 if the device isn't a real I2C device. This was previously detected on the first operation.
    • For the Linux NIF, return errno numbers rather than their strerr strings when they're unknown. It turned out that the strings could be more confusing that the numbers.

v2.0.0-pre.0

This is a major update to Circuits.I2C that removes the requirement to use Nerves or Linux. The API is almost the same and the default is to compile and use the Linux backend, so changes may not be needed.

This is a prerelease so APIs may still change before the v2.0.0 release.

  • Changes
    • Support alternative backends for different operating systems or for simulated hardware
    • For the Linux NIF, support passing a :retry count to Circuits.I2C.open/2 that will apply to all I2C operations. This simplifies dealing with devices with flaky connections.
    • Defer loading the Linux NIF until Circuits.I2C.open/2 is called
    • Return error on Circuits.I2C.open/2 if the device isn't a real I2C device. This was previously detected on the first operation.
    • For the Linux NIF, return errno numbers rather than their strerr strings when they're unknown. It turned out that the strings could be more confusing that the numbers.

v1.2.2

  • Fixes
    • Add types.h compatibility header to hex package so that host MacOS builds work again.

v1.2.1

  • Fixes

... (truncated)

Changelog

Sourced from circuits_i2c's changelog.

v2.0.1 - 2023-10-22

  • Changes
    • Add Circuits.I2C.bus() type back to fix a dialyzer warning on projects that support both Circuits.I2C 1.0 and 2.0.

v2.0.0 - 2023-08-14

This is a major update to Circuits.I2C that removes the requirement to use Nerves or Linux. The API is almost the same and the default is to compile and use the Linux backend, so changes may not be needed.

  • Changes
    • Support alternative backends for different operating systems or for simulated hardware
    • For the Linux NIF, support passing a :retry count to Circuits.I2C.open/2 that will apply to all I2C operations. This simplifies dealing with devices with flaky connections.
    • Defer loading the Linux NIF until Circuits.I2C.open/2 is called
    • Return error on Circuits.I2C.open/2 if the device isn't a real I2C device. This was previously detected on the first operation.
    • For the Linux NIF, return errno numbers rather than their strerr strings when they're unknown. It turned out that the strings could be more confusing that the numbers.

v1.2.2 - 2023-03-24

  • Fixes
    • Add types.h compatibility header to hex package so that host MacOS builds work again.

v1.2.1 - 2023-03-20

  • Fixes
    • Detect I2C controllers that don't support 0-byte writes and revert to the old detection heuristic. This fixes an issue on Beaglebones (AM335x) that caused devices to be missed and kernel warnings to be logged.

v1.2.0 - 2023-03-17

  • Changes
    • Improve device detection by using 0-byte writes on some I2C addresses and 1-byte reads on others. This matches the i2c-tools heuristic and detects at least on more device that wasn't detected before.
    • Simplified NIF by deleting a lot of flexibility that didn't end up being useful. Also moved functionality around so that it could be implemented more simply.
Commits

Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

Bumps [circuits_i2c](https://github.com/elixir-circuits/circuits_i2c) from 1.1.0 to 2.0.1.
- [Release notes](https://github.com/elixir-circuits/circuits_i2c/releases)
- [Changelog](https://github.com/elixir-circuits/circuits_i2c/blob/main/CHANGELOG.md)
- [Commits](elixir-circuits/circuits_i2c@v1.1.0...v2.0.1)

---
updated-dependencies:
- dependency-name: circuits_i2c
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file elixir Pull requests that update Elixir code labels Oct 23, 2023
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Sep 8, 2025

Superseded by #29.

@dependabot dependabot bot closed this Sep 8, 2025
@dependabot dependabot bot deleted the dependabot/hex/circuits_i2c-2.0.1 branch September 8, 2025 16:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file elixir Pull requests that update Elixir code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants