File tree Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change 11# Changelog
22
3+ ## v2.0.0-pre.0 - 2023-05-30
4+
5+ This is a major update to Circuits.I2C that removes the requirement to use
6+ Nerves or Linux. The API is almost the same and the default is to compile and
7+ use the Linux backend, so changes may not be needed.
8+
9+ This is a prerelease so APIs may still change before the v2.0.0 release.
10+
11+ * Changes
12+ * Support alternative backends for different operating systems or for
13+ simulated hardware
14+ * For the Linux NIF, support passing a ` :retry ` count to ` Circuits.I2C.open/2 `
15+ that will apply to all I2C operations. This simplifies dealing with devices
16+ with flaky connections.
17+ * Defer loading the Linux NIF until ` Circuits.I2C.open/2 ` is called
18+ * Return error on ` Circuits.I2C.open/2 ` if the device isn't a real I2C device.
19+ This was previously detected on the first operation.
20+ * For the Linux NIF, return errno numbers rather than their ` strerr ` strings
21+ when they're unknown. It turned out that the strings could be more confusing
22+ that the numbers.
23+
324## v1.2.2 - 2023-03-24
425
526* Fixes
You can’t perform that action at this time.
0 commit comments