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.5 (2023-04-24)
8### Fixed
9- Import failure ([#1021])
10
11[#1021]: https://github.com/RustCrypto/formats/pull/1021
12
13## 0.7.4 (2023-04-21)
14### Changed
15- Have `alloc` feature only weakly activate `pkcs8?/alloc` ([#1013])
16- Have `pem` feature only weakly activate `pkcs8?/pem` ([#1013])
17
18[#1013]: https://github.com/RustCrypto/formats/pull/1013
19
20## 0.7.3 (2023-04-18)
21### Added
22- Provide functions to construct `RsaPss` and `RsaOaepParams` ([#1010])
23
24### Changed
25- Use `NULL` parameters for SHA `AlgorithmIdentifier`s ([#1010])
26
27[#1010]: https://github.com/RustCrypto/formats/pull/1010
28
29## 0.7.2 (2023-04-04)
30### Added
31- `RsaPssParams::SALT_LEN_DEFAULT` ([#953])
32
33[#953]: https://github.com/RustCrypto/formats/pull/953
34
35## 0.7.1 (2023-03-05)
36### Fixed
37- `DecodeRsaPublicKey` blanket impl ([#916])
38
39[#916]: https://github.com/RustCrypto/formats/pull/916
40
41## 0.7.0 (2023-02-26) [YANKED]
42### Changed
43- Make PSS/OAEP params use generic `AlgorithmIdentifier` ([#799])
44- Bump `der` dependency to v0.7 ([#899])
45- Bump `spki` dependency to v0.7 ([#900])
46- Bump `pkcs8` to v0.10 ([#902])
47
48[#799]: https://github.com/RustCrypto/formats/pull/799
49[#899]: https://github.com/RustCrypto/formats/pull/899
50[#900]: https://github.com/RustCrypto/formats/pull/900
51[#902]: https://github.com/RustCrypto/formats/pull/902
52
53## 0.6.0 (Skipped)
54- Skipped to synchronize version number with `der` and `spki`
55
56## 0.5.0 (Skipped)
57- Skipped to synchronize version number with `der` and `spki`
58
59## 0.4.1 (2022-10-10)
60### Added
61- `RsaPssParams` support ([#698])
62- `RsaOaepParams` support ([#733])
63
64[#698]: https://github.com/RustCrypto/formats/pull/698
65[#733]: https://github.com/RustCrypto/formats/pull/733
66
67## 0.4.0 (2022-05-08)
68### Changed
69- Replace document types with `doc::{Document, SecretDocument}` types ([#571])
70- Bump `der` to v0.6 ([#653])
71- Bump `pkcs8` to v0.9 ([#656])
72
73[#571]: https://github.com/RustCrypto/formats/pull/571
74[#653]: https://github.com/RustCrypto/formats/pull/653
75[#656]: https://github.com/RustCrypto/formats/pull/656
76
77## 0.3.3 (2022-01-16)
78### Added
79- Error conversion support to `pkcs8::spki::Error` ([#333])
80
81[#333]: https://github.com/RustCrypto/formats/pull/331
82
83## 0.3.2 (2022-01-16)
84### Added
85- Error conversion support to `pkcs8::Error` ([#331])
86
87[#331]: https://github.com/RustCrypto/formats/pull/331
88
89## 0.3.1 (2021-11-29)
90### Changed
91- Use `finish_non_exhaustive` in Debug impls ([#245])
92
93[#245]: https://github.com/RustCrypto/formats/pull/245
94
95## 0.3.0 (2021-11-17)
96### Added
97- Support for multi-prime RSA keys ([#115])
98- `pkcs8` feature ([#227], [#233])
99
100### Changed
101- Rename `From/ToRsa*Key` => `DecodeRsa*Key`/`EncodeRsa*Key` ([#120])
102- Use `der::Document` to impl `RsaPrivateKeyDocument` ([#131])
103- Rust 2021 edition upgrade; MSRV 1.56 ([#136])
104- Make `RsaPrivateKey::version` implicit ([#188])
105- Bump `der` crate dependency to v0.5 ([#222])
106- Activate `pkcs8/pem` when `pem` feature is enabled ([#232])
107
108### Removed
109- `*_with_le` PEM encoding methods ([#109])
110- I/O related errors ([#158])
111
112[#109]: https://github.com/RustCrypto/formats/pull/109
113[#115]: https://github.com/RustCrypto/formats/pull/115
114[#120]: https://github.com/RustCrypto/formats/pull/120
115[#131]: https://github.com/RustCrypto/formats/pull/131
116[#136]: https://github.com/RustCrypto/formats/pull/136
117[#158]: https://github.com/RustCrypto/formats/pull/158
118[#188]: https://github.com/RustCrypto/formats/pull/188
119[#222]: https://github.com/RustCrypto/formats/pull/222
120[#227]: https://github.com/RustCrypto/formats/pull/227
121[#232]: https://github.com/RustCrypto/formats/pull/232
122[#233]: https://github.com/RustCrypto/formats/pull/233
123
124## 0.2.4 (2021-09-14)
125### Changed
126- Moved to `formats` repo ([#2])
127
128[#2]: https://github.com/RustCrypto/formats/pull/2
129
130## 0.2.3 (2021-07-26)
131### Added
132- Support for customizing PEM `LineEnding`
133
134### Changed
135- Bump `pem-rfc7468` dependency to v0.2
136
137## 0.2.2 (2021-07-25)
138### Fixed
139- `Version` encoder
140
141## 0.2.1 (2021-07-25)
142### Added
143- `Error::Crypto` variant
144
145## 0.2.0 (2021-07-25)
146### Added
147- `From*`/`To*` traits for `RsaPrivateKey`/`RsaPublicKey`
148
149### Changed
150- Use `FromRsa*`/`ToRsa*` traits with `*Document` types
151
152## 0.1.1 (2021-07-24)
153### Added
154- Re-export `der` crate and `der::UIntBytes`
155
156### Changed
157- Replace `Error::{Decode, Encode}` with `Error::Asn1`
158
159## 0.1.0 (2021-07-24) [YANKED]
160- Initial release
161