rtic/rtic-time/CHANGELOG.md

45 lines
1.2 KiB
Markdown
Raw Normal View History

2023-01-28 11:15:59 +01:00
# Change Log
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).
For each category, *Added*, *Changed*, *Fixed* add new entries at the top!
## Unreleased
### Added
### Changed
- Using `embedded-hal` 1.0.
### Fixed
## v1.2.0 - 2023-12-06
### Changed
- Docs: Add sanity check to `half_period_counter` code example
- Deprecate `Monotonic::should_dequeue_check` as it was erroneous
### Fixed
- Fix race condition in `half_period_counter::calculate_now`.
This sadly required a minor API change.
## v1.1.0 - 2023-12-04
2023-01-28 11:15:59 +01:00
### Added
- `half_period_counter` containing utilities for implementing a half-period-counter based monotonic.
- `should_dequeue_check` to the `Monotonic` trait to handle bugged timers.
2023-04-01 20:48:23 +02:00
2023-01-28 11:15:59 +01:00
### Changed
### Fixed
- **Soundness fix:** `TimerQueue` did not wait long enough in `Duration` based delays. Fixing this sadly required adding a `const TICK_PERIOD` to the `Monotonic` trait, which requires updating all existing implementations.
- If the queue was non-empty and a new instant was added that was earlier than `head`, then the queue would no pend the monotonic handler. This would cause the new `head` to be dequeued at the wrong time.
## v1.0.0 - 2023-05-31