Skip to content

Commit d085364

Browse files
committed
v1.1.0 release
1 parent d316d9c commit d085364

File tree

2 files changed

+72
-64
lines changed

2 files changed

+72
-64
lines changed

CHANGELOG.md

Lines changed: 71 additions & 63 deletions
Original file line numberDiff line numberDiff line change
@@ -1,57 +1,65 @@
11
# Changelog
22

3+
## v1.1.0
4+
5+
This release will work with Elixir 1.7. Support for Elixir versions before 1.6 has been dropped.
6+
7+
* Improvements
8+
* Add `:start_value` to initialize a GPIO. Thanks to @jjcarstens for this
9+
feature.
10+
311
## v1.0.3
412

5-
* Bug fixes
6-
* Remove catchall receive handlers that would capture GenServer.call
7-
messages when functions were called by multiple threads
8-
* Timeout all port calls just in case. This hasn't been observed to my
9-
knowledge, but seems like a sensable precaution. The timeout is absurdly
10-
long (500 ms) so it shouldn't trigger.
11-
* Pass errors detected by C code to Elixir rather than crashing
13+
* Bug fixes
14+
* Remove catchall receive handlers that would capture GenServer.call
15+
messages when functions were called by multiple threads
16+
* Timeout all port calls just in case. This hasn't been observed to my
17+
knowledge, but seems like a sensable precaution. The timeout is absurdly
18+
long (500 ms) so it shouldn't trigger.
19+
* Pass errors detected by C code to Elixir rather than crashing
1220

1321
## v1.0.2
1422

15-
* Bug fixes
16-
* Fix memory overrun when using large I2C transfers. This only affected a
17-
few devices since most devices maxed out at much smaller sizes. Also add
18-
compile-time check to prevent this from happening again.
23+
* Bug fixes
24+
* Fix memory overrun when using large I2C transfers. This only affected a
25+
few devices since most devices maxed out at much smaller sizes. Also add
26+
compile-time check to prevent this from happening again.
1927

20-
* Improvements
21-
* Increase max SPI transfer size to 4096. This aligns it with py-spidev and
22-
enables communication with the Unicorn Hat HD.
28+
* Improvements
29+
* Increase max SPI transfer size to 4096. This aligns it with py-spidev and
30+
enables communication with the Unicorn Hat HD.
2331

2432
## v1.0.1
2533

26-
* Bug fixes
27-
* Fixed typespec for `set_int/2`. Thanks to tmecklem for catching the
28-
ommission.
34+
* Bug fixes
35+
* Fixed typespec for `set_int/2`. Thanks to tmecklem for catching the
36+
ommission.
2937

30-
* Improvements
31-
* Various documentation and code formatting updates
38+
* Improvements
39+
* Various documentation and code formatting updates
3240

3341
## v1.0.0
3442

35-
* Same as v0.7.0.
43+
* Same as v0.7.0.
3644

3745
## v0.7.0
3846

39-
* New features
40-
* Added and improved helper functions for finding I2C devices and I2C and
41-
SPI buses.
47+
* New features
48+
* Added and improved helper functions for finding I2C devices and I2C and
49+
SPI buses.
4250

4351
## v0.6.2
4452

45-
* Bug fixes
46-
* Fix message buffer size that was too small for really large I2C transfers
47-
* Many documentation improvements from Axel Clark.
53+
* Bug fixes
54+
* Fix message buffer size that was too small for really large I2C transfers
55+
* Many documentation improvements from Axel Clark.
4856

4957
## v0.6.1
5058

51-
* Bug fixes
52-
* Enlarge I2C buffer size to support some OLED displays
53-
* Support compilation on non-Linux platforms. It won't work, but this makes
54-
it possible to have unconditional deps on elixir_ale in projects.
59+
* Bug fixes
60+
* Enlarge I2C buffer size to support some OLED displays
61+
* Support compilation on non-Linux platforms. It won't work, but this makes
62+
it possible to have unconditional deps on elixir_ale in projects.
5563

5664
## v0.6.0
5765

@@ -64,70 +72,70 @@ You may want to `alias ElixirALE.I2C`.
6472

6573
## v0.5.7
6674

67-
* Bug fixes
68-
* Clean up warnings especially the Elixir 1.4 bare function ones
75+
* Bug fixes
76+
* Clean up warnings especially the Elixir 1.4 bare function ones
6977

7078
## v0.5.6
7179

72-
* Bug fixes
73-
* I2C transfers may now be up to 512 bytes. Thanks to bendiken for this fix.
74-
See https://github.com/fhunleth/elixir_ale/pull/21.
80+
* Bug fixes
81+
* I2C transfers may now be up to 512 bytes. Thanks to bendiken for this fix.
82+
See https://github.com/fhunleth/elixir_ale/pull/21.
7583

7684
## v0.5.5
7785

78-
* New features
79-
* `true` and `false` can now be passed to `Gpio.write/2`
86+
* New features
87+
* `true` and `false` can now be passed to `Gpio.write/2`
8088

81-
* Bug fixes
82-
* Include i2c-dev.h to avoid incompatible version on Raspbian 8. This also
83-
avoids errors on systems that don't have the header file for whatever
84-
reason.
85-
* Include asm/ioctl.h for a MIPS platform that doesn't include it
86-
automatically.
89+
* Bug fixes
90+
* Include i2c-dev.h to avoid incompatible version on Raspbian 8. This also
91+
avoids errors on systems that don't have the header file for whatever
92+
reason.
93+
* Include asm/ioctl.h for a MIPS platform that doesn't include it
94+
automatically.
8795

8896
## v0.5.4
8997

90-
* Bump version of elixir_make to workaround OTP 19 ports issue
98+
* Bump version of elixir_make to workaround OTP 19 ports issue
9199

92100
## v0.5.3
93101

94-
* Use elixir_make instead of custom mix task
102+
* Use elixir_make instead of custom mix task
95103

96104
## v0.5.2
97105

98-
* Fix typo in v0.5.1
106+
* Fix typo in v0.5.1
99107

100108
## v0.5.1
101109

102-
* Bug fixes
103-
* Fixed race condition when calling `Gpio.read/1` with interrupts
104-
enabled
110+
* Bug fixes
111+
* Fixed race condition when calling `Gpio.read/1` with interrupts
112+
enabled
105113

106114
## v0.5.0
107115

108-
* New features
109-
* Add `I2c.detect_devices/1` to scan the I2C bus
110-
* Add `I2c.read_device/3`, etc. to support devices on more than one I2C
111-
address without needing to create multiple I2c servers
116+
* New features
117+
* Add `I2c.detect_devices/1` to scan the I2C bus
118+
* Add `I2c.read_device/3`, etc. to support devices on more than one I2C
119+
address without needing to create multiple I2c servers
112120

113121
## v0.4.1
114122

115-
* Bug fixes
116-
* Previous fix for `priv` directory in v0.4.0 was insufficient. This
117-
release has what is believe to be the correct fix.
123+
* Bug fixes
124+
* Previous fix for `priv` directory in v0.4.0 was insufficient. This
125+
release has what is believe to be the correct fix.
118126

119127
## v0.4.0
120128

121-
* Bug fixes
122-
* Fix issue where `priv` directory symlink wasn't created with `mix`
123-
* Add support for retries when bringing up GPIO interfaces. This should be a
124-
permanent fix for the export/open race condition on Raspberry Pi 2s.
129+
* Bug fixes
130+
* Fix issue where `priv` directory symlink wasn't created with `mix`
131+
* Add support for retries when bringing up GPIO interfaces. This should be a
132+
permanent fix for the export/open race condition on Raspberry Pi 2s.
125133

126134
## v0.3.0
127135

128-
* New features
129-
* Use I2C RDWR ioctl so that write/read combinations are atomic. See
130-
I2c.write_read/3.
136+
* New features
137+
* Use I2C RDWR ioctl so that write/read combinations are atomic. See
138+
I2c.write_read/3.
131139

132140
## v0.2.0
133141

mix.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ defmodule ElixirAle.MixProject do
44
def project do
55
[
66
app: :elixir_ale,
7-
version: "1.0.3",
7+
version: "1.1.0",
88
elixir: "~> 1.6",
99
name: "elixir_ale",
1010
description: description(),

0 commit comments

Comments
 (0)