mirror of https://github.com/eldruin/ds323x-rs
3.3 KiB
3.3 KiB
Changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
Unreleased - ReleaseDate
Added
- Added
defmtsupport behind a feature flag.
Changed
- Updated
rtccto version 0.4.0, which hasdefmtsupport.
0.6.0 - 2025-01-02
Changed
- [breaking-change] Removed
Error::Pinvariant. - [breaking-change] Update to
embedded-hal1.0.0. - Raised MSRV to version 1.75.0
0.5.1 - 2023-07-17
Fixed
- Fixed
set_daymethod. See: PR #9
Changed
- Raised MSRV to version 1.60.0
0.5.0 - 2022-02-21
Changed
- [breaking-change] Update
rtccto version 0.3. - [breaking-change] Remove
get_from all public method names to comply with the Rust API guidelines. - Raise MSRV to version 1.35.0
0.4.0 - 2021-05-22
Changed
- [breaking-change] Return
Error::InvalidDeviceStateif it was not possible to read the date and/or time from the device because the state of the device corresponds to an invalid date and/or time.
0.3.2 - 2021-02-22
Fixed
- Day bounds on the
set_day()method. Thanks to @jamesmunns. See: PR #5
0.3.1 - 2020-07-10
Added
- Added methods to set alarms 1 and 2 with a
chrono::NaiveTime:set_alarm1_hms()andset_alarm2_hm().
Changed
- Changed alarm setting methods to automatically correct invalid values to irrelevant input parameters due to the selected matching strategy.
0.3.0 - 2020-05-02
Changed
- [breaking-change] Renamed
is_busy()andis_running()methodsbusy()andrunning()due to Rust naming conventions. - Implement trait from
rtcccrate. - Changed
get_datetime()andset_datetime()parameter fromDateTimetochrono::NaiveDateTime.
Added
- Methods to set and get date and time using
chrono::NaiveDateandchrono::NaiveTime:get_time()set_time()get_date()set_date()
chrono(throughrtcc) dependency.
Removed
DateTimedata structure was replaced bychrono::NaiveDateTime.
0.2.0 - 2018-11-16
Added
- Support for configuration of alarms 1 and 2.
Changed
- [breaking-change]
clear_has_been_stopped_flag()always sets the value of the status register.
0.1.0 - 2018-10-31
This is the initial release to crates.io. All changes will be documented in this CHANGELOG.