Skip to content

Commit d6fce91

Browse files
committed
v2.0.0-pre.0 release
1 parent 9cc1ecb commit d6fce91

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

CHANGELOG.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,26 @@
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

0 commit comments

Comments
 (0)