diff --git a/CHANGELOG.md b/CHANGELOG.md index 86732e0..af899e5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,7 +6,17 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] -[Unreleased]: https://github.com/trussed-dev/ctap-types/compare/0.3.1...HEAD +[Unreleased]: https://github.com/trussed-dev/ctap-types/compare/0.3.2...HEAD + +- + +## [0.3.2] 2024-10-24 + +[0.3.2]: https://github.com/trussed-dev/ctap-types/compare/0.3.1...0.3.2 + +### Changed + +- Update `cbor-smol` dependency to v0.5.0 ## [0.3.1] 2024-10-18 diff --git a/Cargo.toml b/Cargo.toml index 33c4f69..e3a43cf 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ctap-types" -version = "0.3.1" +version = "0.3.2" authors = ["Nicolas Stalder ", "The Trussed developers"] edition = "2021" license = "Apache-2.0 OR MIT" @@ -10,7 +10,7 @@ repository = "https://github.com/trussed-dev/ctap-types" [dependencies] arbitrary = { version = "1.3.2", features = ["derive"], optional = true } bitflags = "1.3" -cbor-smol = "0.4" +cbor-smol = { version = "0.5", features = ["heapless-bytes-v0-3"] } cosey = "0.3.1" delog = "0.1" heapless = { version = "0.7", default-features = false, features = ["serde"] } diff --git a/src/ctap2.rs b/src/ctap2.rs index 3ff7258..8136be2 100644 --- a/src/ctap2.rs +++ b/src/ctap2.rs @@ -242,8 +242,7 @@ impl<'a, A: SerializeAttestedCredentialData, E: serde::Serialize> AuthenticatorD // the extensions data if let Some(extensions) = self.extensions.as_ref() { - cbor_smol::cbor_serialize_extending_bytes(extensions, &mut bytes) - .map_err(|_| Error::Other)?; + cbor_smol::cbor_serialize_to(extensions, &mut bytes).map_err(|_| Error::Other)?; } Ok(bytes)