6.0 KiB
Changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
0.10.3 (2024-10-09)
Added
0.10.2 (2024-09-20)
Added
- Impl
DeserializeforSecretString(#1220)
0.10.1 (2024-09-18)
Added
- Impl
CloneforSecretString(#1217)
0.10.0 (2024-09-17)
This release represents a significant redesign of the secrecy crate. We will update this section
with upgrade instructions based on feedback from people upgrading, as it's been a long time since
the previous release, and this release includes a number of breaking changes.
The most notable change is the generic Secret<T> type has been removed: instead use SecretBox<T>
which stores secrets on the heap instead of the stack. Many of the other changes fall out of this
change and things which were previously type aliases of Secret<T> are now type aliases of
SecretBox<T>.
This unfortunately means this crate no longer has support for "heapless" no_std targets. We don't
have a good solution for these targets, which was a motivation for this change in the first place.
Added
SecretBox::{init_with, try_init_with}(#1212)SecretBox::init_with_mut(#1213)?Sizedbounds forSecretBox(#1213)SecretSlice<T>(#1214)
Changed
- Rust 2021 edition upgrade (#889)
- MSRV 1.60 (#1105)
SecretBox<T>is now a newtype rather than a type alias of `Secret<Box> (#1140)SecretStringis now a type alias forSecretBox<str>(#1213)- Disable
serdedefault features (#1194)
Removed
allocfeature: now a hard dependency (#1140)bytescrate integration: no replacement (#1140)DebugSecrettrait: no replacement (#1140)Secret<T>: useSecretBox<T>instead (#1140)
0.9.0 (Skipped)
0.8.0 (2021-07-18)
NOTE: This release includes an MSRV bump to Rust 1.56. Please use secrecy = "0.7.0"
if you would like to support older Rust versions.
Added
- impl
From<T>forSecret(#482)
Changed
0.7.0 (2020-07-08)
Added
Changed
Fixed
- Use
SerializableSecretinSerializebounds (#463)
0.6.0 (2019-12-12)
- Impl
CloneableSecretforSecret<[T; N]>whereT: Clone(#311) - Impl
DebugSecretfor[T; N]whereN<= 64 (#310) - Impl
FromStrforSecretString(#309) - Upgrade to
bytesv0.5 (#301, #308, #312)
0.5.2 (2019-12-18)
- Backport Impl
FromStrforSecretString(#309)
0.5.1 (2019-11-30)
- Change default
DebugSecretstring to[REDACTED](#290)
0.5.0 (2019-10-13)
- Upgrade to
zeroizev1.0.0 (#279)
0.4.1 (2019-10-13)
- Upgrade to
zeroizev1.0.0-pre (#268)
0.4.0 (2019-09-03)
0.3.1 (2019-08-26)
- Impl
CloneableSecretforString(#256)
0.3.0 (2019-08-20)
- Add support for
alloctypes (#253) zeroizev0.10.0 (#248)- Add a default impl for
DebugSecrettrait (#241)
0.2.2 (2019-06-28)
- README.md: add Gitter badges; update image links (#221)
0.2.1 (2019-06-04)
zeroizev0.9.0 (#215)
0.2.0 (2019-05-29)
- Add
CloneableSecretmarker trait (#210)
0.1.0 (2019-05-23)
- Initial release