# 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.4.0 (2026-12-05)
### Added
- Re-export `ssh-cipher`, `ssh-encoding`, and `ssh-key` as `cipher`, `encoding`, and `key`,
with common types and traits such as `Cipher`, `Encode`, `Decode`, `PrivateKey`, and
`PublicKey` at the crate root. Disable default features for `no_std` builds and
enable `alloc` separately when an allocator is available ([#236])
- Re-export `Decoder` at the crate root ([#618])
- Add `kex::Kex` for two-message key exchange methods and `kex::Transcript` for computing
the SSH exchange hash incrementally ([#675])
- Add the optional `mlkem768x25519-sha256` feature for the RFC 10042 hybrid key exchange.
Both client and server work without `std` or `alloc` ([#675])
### Changed
- Switch to the Rust 2024 edition ([#354])
- Gate the crate-root `Certificate` and `Signature` re-exports on `alloc`, which the
default `std` feature enables ([#362])
- Raise the minimum supported Rust version to 1.87 ([#610])
- `Decode::decode` now takes `&mut Decoder<impl Reader>`. Use `Decoder::from_bytes`
to decode a byte slice ([#618], [#663])
- Use `ssh-encoding` 0.4, `ssh-cipher` 0.4, and `ssh-key` 0.7. For composite signatures
through `key`, enable `mldsa44-ed25519` or `mldsa87-p384` on `ssh-key` ([#668], [#669], [#670])
- Require `ssh-encoding` 0.4.1 for the `#[ssh(crate = encoding)]` derives on the KEX
wire types ([#676], [#678])
[#236]: https://github.com/RustCrypto/SSH/pull/236
[#354]: https://github.com/RustCrypto/SSH/pull/354
[#362]: https://github.com/RustCrypto/SSH/pull/362
[#610]: https://github.com/RustCrypto/SSH/pull/610
[#618]: https://github.com/RustCrypto/SSH/pull/618
[#663]: https://github.com/RustCrypto/SSH/pull/663
[#668]: https://github.com/RustCrypto/SSH/pull/668
[#669]: https://github.com/RustCrypto/SSH/pull/669
[#670]: https://github.com/RustCrypto/SSH/pull/670
[#675]: https://github.com/RustCrypto/SSH/pull/675
[#676]: https://github.com/RustCrypto/SSH/pull/676
[#678]: https://github.com/RustCrypto/SSH/pull/678