# 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]
- Implemented critical-section by forwarding to version 1.1.1
Breaking changes:
- `acquire` and `release` are only implemented if the restore-state used by
version 1.1.1 is an u8 or smaller.
- No default critical-section implementation is provided.
Those breaking changes are necessary because versions <= 0.2.7 were unsound, and that
was impossible to fix without a breaking change.
This version is meant to minimize that breaking change. However, all
users are encouraged to upgrade to critical-section 1.1.
## 0.2.7 - 2022-04-08
- Add support for AVR targets.
## 0.2.6 - 2022-04-02
- Improved docs.
## 0.2.5 - 2021-11-02
- Fix `std` implementation to allow reentrant (nested) critical sections. This would previously deadlock.
## 0.2.4 - 2021-09-24
- Add support for 32bit RISC-V targets.
## 0.2.3 - 2021-09-13
- Use correct `#[cfg]` for `wasm` targets.
## 0.2.2 - 2021-09-13
- Added support for `wasm` targets.
## 0.2.1 - 2021-05-11
- Added critical section implementation for `std`, based on a global Mutex.
## 0.2.0 - 2021-05-10
- Breaking change: use `CriticalSection<'_>` instead of `&CriticalSection<'_>`
## 0.1.0 - 2021-05-10
- First release