Skip to content

Commit 07fbf2e

Browse files
committed
v0.3.0 release
1 parent 7e3a596 commit 07fbf2e

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

CHANGELOG.md

+13
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,18 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

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+
820
## [0.2.3] - 2024-01-16
921

1022
### Changed
@@ -82,6 +94,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
8294
### Added
8395
- Initial release
8496

97+
[0.3.0]: https://github.com/elixir-sensors/sht4x/compare/v0.2.3..v0.3.0
8598
[0.2.3]: https://github.com/elixir-sensors/sht4x/compare/v0.2.2..v0.2.3
8699
[0.2.2]: https://github.com/elixir-sensors/sht4x/compare/v0.2.1..v0.2.2
87100
[0.2.1]: https://github.com/elixir-sensors/sht4x/compare/v0.2.0..v0.2.1

mix.exs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
defmodule SHT4X.MixProject do
22
use Mix.Project
33

4-
@version "0.2.3"
4+
@version "0.3.0"
55
@source_url "https://github.com/elixir-sensors/sht4x"
66
@sht4x_datasheet_url "https://developer.sensirion.com/fileadmin/user_upload/customers/sensirion/Dokumente/2_Humidity_Sensors/Datasheets/Sensirion_Humidity_Sensors_SHT4x_Datasheet.pdf"
77

0 commit comments

Comments
 (0)