# 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).
## 0.8.2 (2022-10-29)
### Added
- `seal` and `seal_open` functions ([#66])
[#66]: https://github.com/RustCrypto/nacl-compat/pull/66
## 0.8.1 (2022-08-15)
### Changed
- Revert "select `x25519-dalek` backend automatically" ([#63])
[#63]: https://github.com/RustCrypto/nacl-compat/pull/63
## 0.8.0 (2022-08-10) [YANKED]
This release was yanked due to issues with automatically selecting the
`x25519-dalek` backend. See [#55].
### Changed
- Unpin `zeroize` version ([#41])
- Upgrade to Rust 2021 edition; MSRV 1.56 ([#42])
- Bump `chacha20` to v0.9 ([#50])
- Bump `chacha20poly1305` to v0.10 ([#50])
- Use `serdect` crate ([#51])
- Select `x25519-dalek` backend automatically ([#55])
### Removed
- `Box` type alias: use `SalsaBox` instead ([#53])
- `u32_backend` and `u64_backend` features: now selected automatically ([#55])
[#41]: https://github.com/RustCrypto/nacl-compat/pull/41
[#42]: https://github.com/RustCrypto/nacl-compat/pull/42
[#50]: https://github.com/RustCrypto/nacl-compat/pull/50
[#51]: https://github.com/RustCrypto/nacl-compat/pull/51
[#53]: https://github.com/RustCrypto/nacl-compat/pull/53
[#55]: https://github.com/RustCrypto/nacl-compat/pull/55
## 0.7.2 (2022-03-21)
### Fixed
- Building on docs.rs ([#30])
[#30]: https://github.com/RustCrypto/nacl-compat/pull/30
## 0.7.1 (2022-01-12)
### Added
- `SecretKey::as_bytes` ([#24])
- Optional `serde` support ([#27])
### Changed
- Deprecate `SecretKey::to_bytes` ([#24])
[#24]: https://github.com/RustCrypto/nacl-compat/pull/24
[#27]: https://github.com/RustCrypto/nacl-compat/pull/27
## 0.7.0 (2021-08-30)
### Changed
- MSRV 1.51 ([#8])
- Bump `chacha20poly1305` to v0.9 ([#8])
- Bump `xsalsa20poly1305` to v0.8 ([#8])
[#8]: https://github.com/RustCrypto/nacl-compat/pull/8
## 0.6.1 (2021-07-20)
### Changed
- Pin `zeroize` dependency to v1.3
## 0.6.0 (2021-04-29)
### Changed
- Bump `chacha20poly1305` crate dependency to v0.8
- Bump `xsalsa20poly1305` crate dependency to v0.7
- Bump `rand_core` crate dependency to v0.6
### SECURITY
- Fix XChaCha20Poly1305 key derivation
## 0.5.0 (2020-10-16)
### Added
- `ChaChaBox`
### Changed
- Replace `block-cipher`/`stream-cipher` with `cipher` crate
- Bump `xsalsa20poly1305` dependency to v0.6
## 0.4.0 (2020-09-17)
### Added
- Optional `std` feature; disabled by default
### Changed
- Upgrade `xsalsa20poly1305` to v0.5
## 0.3.0 (2020-08-18)
### Changed
- Bump `x25519-dalek` dependency to 1.0
## 0.2.0 (2020-06-06)
### Changed
- Bump `aead` crate dependency to v0.3; MSRV 1.41+
- Bump `xsalsa20poly1305` dependency to v0.4
## 0.1.0 (2020-02-25)
- Initial release