1# Changelog
2All notable changes to this project will be documented in this file.
3
4The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
5and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
7## 0.7.3 (2023-11-28)
8### Added
9- public key to `SubjectPublicKeyInfoOwned` helper ([#1269])
10
11[#1269]: https://github.com/RustCrypto/formats/pull/1269
12
13## 0.7.2 (2023-05-04)
14
15### Added
16- `AlgorithmIdentifierWithOid` trait ([#986])
17- `SignatureBitStringEncoding` trait ([#1047])
18
19### Changed
20-  Bump `hex-literal` to v0.4.1 ([#999])
21
22[#986]: https://github.com/RustCrypto/formats/pull/986
23[#999]: https://github.com/RustCrypto/formats/pull/999
24[#1047]: https://github.com/RustCrypto/formats/pull/1047
25
26
27## 0.7.1 (2023-04-04)
28### Added
29- `AssociatedAlgorithmIdentifier` trait ([#962], [#966])
30- `DynAssociatedAlgorithmIdentifier` trait ([#962])
31- `SignatureAlgorithmIdentifier` trait ([#967])
32- `DynSignatureAlgorithmIdentifier` trait ([#967])
33
34### Changed
35- Bump `der` dependency to v0.7.2 ([#979])
36
37[#962]: https://github.com/RustCrypto/formats/pull/962
38[#966]: https://github.com/RustCrypto/formats/pull/966
39[#967]: https://github.com/RustCrypto/formats/pull/967
40[#979]: https://github.com/RustCrypto/formats/pull/979
41
42## 0.7.0 (2023-02-26)
43### Changed
44- Make `AlgorithmIdentifier` generic around `Params` ([#769])
45- Use blanket impls for `Decode*` traits ([#785])
46- Make `SubjectPublicKeyInfo` own the public key ([#790])
47- Rename `to_owned` method ([#835])
48- Bump `der` dependency to v0.7 ([#899])
49
50[#769]: https://github.com/RustCrypto/formats/pull/769
51[#785]: https://github.com/RustCrypto/formats/pull/785
52[#790]: https://github.com/RustCrypto/formats/pull/790
53[#835]: https://github.com/RustCrypto/formats/pull/835
54[#899]: https://github.com/RustCrypto/formats/pull/899
55
56## 0.6.0 (2022-05-08)
57### Added
58- `AlgorithmIdentifier::oids()` helper function ([#443])
59- Impl `PartialOrd` for `AlgorithmIdentifier` ([#476])
60- Impl `DecodeValue` for `AlgorithmIdentifier` ([#449])
61- Impl `ValueOrd` for `SubjectPublicKeyInfo` ([#522])
62
63### Changed
64- Replace `PublicKeyDocument` with `der` crate's `Document` type ([#571])
65- Streaming fingerprint builder ([#616])
66- Bump `der` crate dependency to v0.6 ([#653])
67
68### Removed
69- `PublicKeyDocument` ([#571])
70
71[#443]: https://github.com/RustCrypto/formats/pull/443
72[#449]: https://github.com/RustCrypto/formats/pull/449
73[#476]: https://github.com/RustCrypto/formats/pull/476
74[#522]: https://github.com/RustCrypto/formats/pull/522
75[#571]: https://github.com/RustCrypto/formats/pull/571
76[#616]: https://github.com/RustCrypto/formats/pull/616
77[#653]: https://github.com/RustCrypto/formats/pull/653
78
79## 0.5.4 (2022-01-05)
80### Added
81- `Error::KeyMalformed` variant ([#318])
82
83[#318]: https://github.com/RustCrypto/formats/pull/318
84
85## 0.5.3 (2021-12-19)
86### Added
87- Impl `ValueOrd` for `AlgorithmIdentifier` ([#289])
88
89[#289]: https://github.com/RustCrypto/formats/pull/289
90
91## 0.5.2 (2021-11-17)
92### Changed
93- Relax `base64ct` version requirement to `^1` ([#239])
94
95[#239]: https://github.com/RustCrypto/formats/pull/239
96
97## 0.5.1 (2021-11-17)
98### Changed
99- Replace `from_spki` with `TryFrom` ([#231])
100
101[#231]: https://github.com/RustCrypto/formats/pull/231
102
103## 0.5.0 (2021-11-15) [YANKED]
104### Added
105- SPKI fingerprint support ([#36])
106- `PublicKeyDocument` type originally from `pkcs8` crate ([#118])
107- `Error` type ([#143])
108
109### Changed
110- Rename `From/ToPublicKey` => `DecodePublicKey`/`EncodePublicKey` ([#119])
111- Use `der::Document` to impl `PublicKeyDocument` ([#134])
112- Rust 2021 edition upgrade; MSRV 1.56 ([#136])
113- Bump `der` dependency to v0.5 ([#222])
114
115[#36]: https://github.com/RustCrypto/formats/pull/36
116[#118]: https://github.com/RustCrypto/formats/pull/118
117[#119]: https://github.com/RustCrypto/formats/pull/119
118[#134]: https://github.com/RustCrypto/formats/pull/134
119[#136]: https://github.com/RustCrypto/formats/pull/136
120[#143]: https://github.com/RustCrypto/formats/pull/143
121[#222]: https://github.com/RustCrypto/formats/pull/222
122
123## 0.4.1 (2021-09-14)
124### Changed
125- Moved to `formats` repo ([#2])
126
127[#2]: https://github.com/RustCrypto/formats/pull/2
128
129## 0.4.0 (2021-06-07)
130### Added
131- `AlgorithmIdentifier::assert_oids`
132
133### Changed
134- Bump `der` to v0.4
135
136## 0.3.0 (2021-03-22)
137### Changed
138- Bump `der` to v0.3
139
140### Removed
141- `AlgorithmParameters` enum
142
143## 0.2.1 (2021-02-22)
144### Added
145- Impl `Choice` for `AlgorithmParameters`
146
147## 0.2.0 (2021-02-18)
148### Changed
149- Return `Result` from `AlgorithmIdentifier::params_*`
150
151## 0.1.0 (2021-02-16)
152- Initial release
153