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.2.4 (2023-07-25)
8
9### Added
10- `add_attribute` to `RequestBuilder` ([#1137])
11
12### Changed
13- bump `serde_json` from 1.0.97 to 1.0.99 ([#1122])
14- use the shortest name when looking attr OID ([#1130])
15- bump `serde_json` from 1.0.100 to 1.0.103 ([#1158])
16
17### Fixed
18- RDN string representation ([#1126])
19- `Arbitrary` for certificates ([#1150])
20
21[#1122]: https://github.com/RustCrypto/formats/pull/1122
22[#1126]: https://github.com/RustCrypto/formats/pull/1126
23[#1130]: https://github.com/RustCrypto/formats/pull/1130
24[#1137]: https://github.com/RustCrypto/formats/pull/1137
25[#1150]: https://github.com/RustCrypto/formats/pull/1150
26[#1158]: https://github.com/RustCrypto/formats/pull/1158
27
28## 0.2.3 (2023-05-30)
29
30### Added
31- Added `TryFrom` for `RelativeDistinguishedName` ([#1092])
32- Load a chain of certificates from a slice ([#1081])
33
34[#1092]: https://github.com/RustCrypto/formats/pull/1092
35[#1081]: https://github.com/RustCrypto/formats/pull/1081
36
37## 0.2.2 (2023-05-19)
38
39### Added
40- Certificate builder ([#764])
41- Support for `RandomizedSigner` in builder ([#1007])
42- Provide parsing profiles ([#987])
43- Support for `Time::INFINITY` ([#1024])
44- Conversion from `std::net::IpAddr` ([#1035])
45- `CertReq` builder ([#1034])
46- missing extension implementations ([#1050])
47- notes about `UTCTime` range being 1970-2049 ([#1052])
48- consume the `SignatureBitStringEncoding` trait ([#1048])
49
50### Changed
51- use `ErrorKind::Value` for overlength serial ([#988])
52- Bump `hex-literal` to v0.4.1 ([#999])
53- Builder updates ([#1001])
54- better debug info when `zlint` isn't installed ([#1018])
55- make SKI optional in leaf certificate ([#1028])
56- bump rsa from 0.9.0-pre.2 to 0.9.0 ([#1033])
57- bump rsa from 0.9.1 to 0.9.2 ([#1056])
58
59### Fixed
60- fix `KeyUsage` bit tests ([#993])
61- extraneous PhantomData in `TbsCertificate` ([#1017])
62- CI flakiness ([#1042])
63- usage of ecdsa signer ([#1043])
64
65[#764]: https://github.com/RustCrypto/formats/pull/764
66[#987]: https://github.com/RustCrypto/formats/pull/987
67[#988]: https://github.com/RustCrypto/formats/pull/988
68[#993]: https://github.com/RustCrypto/formats/pull/993
69[#999]: https://github.com/RustCrypto/formats/pull/999
70[#1001]: https://github.com/RustCrypto/formats/pull/1001
71[#1007]: https://github.com/RustCrypto/formats/pull/1007
72[#1017]: https://github.com/RustCrypto/formats/pull/1017
73[#1018]: https://github.com/RustCrypto/formats/pull/1018
74[#1024]: https://github.com/RustCrypto/formats/pull/1024
75[#1028]: https://github.com/RustCrypto/formats/pull/1028
76[#1033]: https://github.com/RustCrypto/formats/pull/1033
77[#1034]: https://github.com/RustCrypto/formats/pull/1034
78[#1035]: https://github.com/RustCrypto/formats/pull/1035
79[#1042]: https://github.com/RustCrypto/formats/pull/1042
80[#1043]: https://github.com/RustCrypto/formats/pull/1043
81[#1048]: https://github.com/RustCrypto/formats/pull/1048
82[#1050]: https://github.com/RustCrypto/formats/pull/1050
83[#1052]: https://github.com/RustCrypto/formats/pull/1052
84[#1056]: https://github.com/RustCrypto/formats/pull/1056
85
86## 0.2.1 (2023-03-26)
87### Added
88- `FromStr` impls for `RdnSequence` (`Name`), `RelativeDistinguishedName`, and
89  `AttributeTypeAndValue` ([#949])
90
91### Changed
92- Deprecate `encode_from_string` functions ([#951])
93
94[#949]: https://github.com/RustCrypto/formats/pull/949
95[#951]: https://github.com/RustCrypto/formats/pull/951
96
97## 0.2.0 (2023-03-18)
98### Added
99- Feature-gated `Arbitrary` impl for `Certificate` ([#761])
100- Allow request to be serialized to PEM ([#819])
101- `Display` impl for `SerialNumber` ([#820])
102- `std` feature implies `const-oid/std` ([#874])
103
104### Changed
105- Serial numbers are formatted as `PrintableString` ([#794])
106- `SerialNumber` is now a specialized object ([#795])
107- MSRV 1.65 ([#805])
108- Make types owned instead of reference-based ([#806], [#841])
109- Bump `der` to v0.7 ([#899])
110- Bump `spki` to v0.7 ([#900])
111
112### Fixed
113- Handling of negative serial numbers ([#823], [#831])
114
115### Removed
116- `alloc` feature: now unconditionally required ([#841])
117
118[#761]: https://github.com/RustCrypto/formats/pull/761
119[#794]: https://github.com/RustCrypto/formats/pull/794
120[#795]: https://github.com/RustCrypto/formats/pull/795
121[#805]: https://github.com/RustCrypto/formats/pull/805
122[#806]: https://github.com/RustCrypto/formats/pull/806
123[#819]: https://github.com/RustCrypto/formats/pull/819
124[#820]: https://github.com/RustCrypto/formats/pull/820
125[#823]: https://github.com/RustCrypto/formats/pull/823
126[#831]: https://github.com/RustCrypto/formats/pull/831
127[#841]: https://github.com/RustCrypto/formats/pull/841
128[#874]: https://github.com/RustCrypto/formats/pull/874
129[#899]: https://github.com/RustCrypto/formats/pull/899
130[#900]: https://github.com/RustCrypto/formats/pull/900
131
132## 0.1.1 (2022-12-10)
133### Added
134- Support `TeletexString` in `DirectoryString` ([#692])
135- Re-export `spki` ([#701])
136- `PemLabel` impl for `Certificate` ([#763])
137- `ValueOrd` impl for `Version` and other derived types ([#723])
138
139### Fixed
140-  `countryName` should always be `PrintableString` ([#760])
141
142[#692]: https://github.com/RustCrypto/formats/pull/692
143[#701]: https://github.com/RustCrypto/formats/pull/701
144[#723]: https://github.com/RustCrypto/formats/pull/723
145[#760]: https://github.com/RustCrypto/formats/pull/760
146[#763]: https://github.com/RustCrypto/formats/pull/763
147
148## 0.1.0 (2022-07-23)
149- Initial release
150