mirror of
https://github.com/embassy-rs/embassy.git
synced 2024-11-22 06:42:32 +00:00
49 lines
1.7 KiB
Markdown
49 lines
1.7 KiB
Markdown
# 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).
|
|
|
|
## Unreleased
|
|
|
|
- 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`.
|
|
- Made `PubSubBehavior` sealed
|
|
- If you called `.publish_immediate(...)` on the queue directly before, then now call `.immediate_publisher().publish_immediate(...)`
|
|
|
|
## 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.
|
|
|
|
## 0.4.0 - 2023-10-31
|
|
|
|
- Re-add impl_trait_projections
|
|
- switch to `embedded-io 0.6`
|
|
|
|
## 0.3.0 - 2023-09-14
|
|
|
|
- switch to `embedded-io 0.5`
|
|
- add api for polling channels with context
|
|
- standardise fn names on channels
|
|
- add zero-copy channel
|
|
|
|
## 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
|
|
|
|
- First release
|