File tree 2 files changed +14
-1
lines changed
2 files changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,18 @@ All notable changes to this project will be documented in this file.
5
5
The format is based on [ Keep a Changelog] ( https://keepachangelog.com/en/1.0.0/ ) ,
6
6
and this project adheres to [ Semantic Versioning] ( https://semver.org/spec/v2.0.0.html ) .
7
7
8
+ ## [ 0.3.0] - 2024-02-11
9
+
10
+ ### Changed
11
+
12
+ * Changed error returns to return ` {:error, reason} ` rather than just ` :error ` .
13
+ This is a backwards incompatible change if your code matches on ` :error ` .
14
+ * Changed retry semantics to only retry on CRC mismatch errors. Previously, CRC
15
+ mismatches were not retried and retries were done at the I2C transaction
16
+ level. Retrying on the I2C level wasn't effective and ended up causing long
17
+ delays. So far, CRC errors are the ones worth retrying since they happen rare
18
+ enough that a retry is pretty much guaranteed to work.
19
+
8
20
## [ 0.2.3] - 2024-01-16
9
21
10
22
### Changed
@@ -82,6 +94,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
82
94
### Added
83
95
- Initial release
84
96
97
+ [ 0.3.0 ] : https://github.com/elixir-sensors/sht4x/compare/v0.2.3..v0.3.0
85
98
[ 0.2.3 ] : https://github.com/elixir-sensors/sht4x/compare/v0.2.2..v0.2.3
86
99
[ 0.2.2 ] : https://github.com/elixir-sensors/sht4x/compare/v0.2.1..v0.2.2
87
100
[ 0.2.1 ] : https://github.com/elixir-sensors/sht4x/compare/v0.2.0..v0.2.1
Original file line number Diff line number Diff line change 1
1
defmodule SHT4X.MixProject do
2
2
use Mix.Project
3
3
4
- @ version "0.2.3 "
4
+ @ version "0.3.0 "
5
5
@ source_url "https://github.com/elixir-sensors/sht4x"
6
6
@ sht4x_datasheet_url "https://developer.sensirion.com/fileadmin/user_upload/customers/sensirion/Dokumente/2_Humidity_Sensors/Datasheets/Sensirion_Humidity_Sensors_SHT4x_Datasheet.pdf"
7
7
You can’t perform that action at this time.
0 commit comments