2023-04-13 21:03:21 +00:00
|
|
|
# Changelog
|
|
|
|
|
|
|
|
All notable changes to this project will be documented in this file.
|
|
|
|
|
|
|
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
|
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
|
|
|
2024-04-07 22:39:58 +00:00
|
|
|
## Unreleased
|
|
|
|
|
2024-07-27 09:49:02 +00:00
|
|
|
- Add LazyLock sync primitive.
|
2024-10-05 11:39:27 +00:00
|
|
|
- Add `clear`, `len`, `is_empty` and `is_full` functions to `zerocopy_channel`.
|
2024-10-07 11:41:15 +00:00
|
|
|
- Add `capacity`, `free_capacity`, `clear`, `len`, `is_empty` and `is_full` functions to `channel::{Sender, Receiver}`.
|
2024-07-27 09:49:02 +00:00
|
|
|
|
2024-05-29 10:09:55 +00:00
|
|
|
## 0.6.0 - 2024-05-29
|
|
|
|
|
2024-05-22 12:54:09 +00:00
|
|
|
- Add `capacity`, `free_capacity`, `clear`, `len`, `is_empty` and `is_full` functions to `Channel`.
|
|
|
|
- Add `capacity`, `free_capacity`, `clear`, `len`, `is_empty` and `is_full` functions to `PriorityChannel`.
|
|
|
|
- Add `capacity`, `free_capacity`, `clear`, `len`, `is_empty` and `is_full` functions to `PubSubChannel`.
|
2024-05-20 13:38:28 +00:00
|
|
|
- Made `PubSubBehavior` sealed
|
2024-05-20 13:52:32 +00:00
|
|
|
- If you called `.publish_immediate(...)` on the queue directly before, then now call `.immediate_publisher().publish_immediate(...)`
|
2024-05-29 10:21:41 +00:00
|
|
|
- Add OnceLock sync primitive.
|
|
|
|
- Add constructor for DynamicChannel
|
|
|
|
- Add ready_to_receive functions to Channel and Receiver.
|
2024-04-07 22:39:58 +00:00
|
|
|
|
2023-12-04 12:53:04 +00:00
|
|
|
## 0.5.0 - 2023-12-04
|
|
|
|
|
|
|
|
- Add a PriorityChannel.
|
|
|
|
- Remove nightly and unstable-traits features in preparation for 1.75.
|
|
|
|
- Upgrade heapless to 0.8.
|
|
|
|
- Upgrade static-cell to 2.0.
|
|
|
|
|
2023-10-31 08:18:00 +00:00
|
|
|
## 0.4.0 - 2023-10-31
|
|
|
|
|
|
|
|
- Re-add impl_trait_projections
|
|
|
|
- switch to `embedded-io 0.6`
|
|
|
|
|
2023-09-14 16:26:00 +00:00
|
|
|
## 0.3.0 - 2023-09-14
|
|
|
|
|
2023-10-31 08:18:00 +00:00
|
|
|
- switch to `embedded-io 0.5`
|
2023-09-14 16:26:00 +00:00
|
|
|
- add api for polling channels with context
|
|
|
|
- standardise fn names on channels
|
|
|
|
- add zero-copy channel
|
|
|
|
|
2023-04-13 21:03:21 +00:00
|
|
|
## 0.2.0 - 2023-04-13
|
|
|
|
|
|
|
|
- pubsub: Fix messages not getting popped when the last subscriber that needed them gets dropped.
|
|
|
|
- pubsub: Move instead of clone messages when the last subscriber pops them.
|
|
|
|
- pubsub: Pop messages which count is 0 after unsubscribe.
|
|
|
|
- Update `embedded-io` from `0.3` to `0.4` (uses `async fn` in traits).
|
|
|
|
- impl `Default` for `WakerRegistration`
|
|
|
|
- impl `Default` for `Signal`
|
|
|
|
- Remove unnecessary uses of `atomic-polyfill`
|
|
|
|
- Add `#[must_use]` to all futures.
|
|
|
|
|
|
|
|
## 0.1.0 - 2022-08-26
|
|
|
|
|
2023-09-14 16:26:00 +00:00
|
|
|
- First release
|