| 1 | # Changelog |
| 2 | All notable changes to this project will be documented in this file. |
| 3 | |
| 4 | The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), |
| 5 | and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). |
| 6 | |
| 7 | ## 0.10.2 (2026-01-07) |
| 8 | ### Added |
| 9 | - `ObjectIdentifier::from_bytes_sized` which ensures OIDs use all available space in the backing |
| 10 | array ([#1852]) |
| 11 | - Microsoft and Kerberos OIDs ([#2035]) |
| 12 | |
| 13 | ### Fixed |
| 14 | - Switch from `doc_auto_cfg` to `doc_cfg` ([#2072]) |
| 15 | |
| 16 | [#1852]: https://github.com/RustCrypto/formats/pull/1852 |
| 17 | [#2035]: https://github.com/RustCrypto/formats/pull/2035 |
| 18 | [#2072]: https://github.com/RustCrypto/formats/pull/2072 |
| 19 | |
| 20 | ## 0.10.1 (2025-04-08) |
| 21 | ### Added |
| 22 | - RFC9688 OIDs ([#1692]) |
| 23 | |
| 24 | ### Fixed |
| 25 | - Encoder `base128_len` calculation ([#1753]) |
| 26 | |
| 27 | [#1692]: https://github.com/RustCrypto/formats/pull/1692 |
| 28 | [#1753]: https://github.com/RustCrypto/formats/pull/1753 |
| 29 | |
| 30 | ## 0.10.0 (2025-02-24) |
| 31 | ### Added |
| 32 | - `ObjectIdentifier::starts_with` ([#964]) |
| 33 | - SHA-3 OIDs ([#1000]) |
| 34 | - RFC6962 OIDs ([#1094]) |
| 35 | - RFC2985 OIDS for PKCS#9 ([#1248]) |
| 36 | - `ObjectIdentifierRef` type ([#1305], [#1308]) |
| 37 | - RFC7693 OIDs for BLAKE2 ([#1261]) |
| 38 | - TPM-related OIDs ([#1337]) |
| 39 | - STB (Belarus standards) OIDs ([#1394]) |
| 40 | - RFC3161 OIDs ([#1407]) |
| 41 | - OIDs for ML-DSA and SLH-DSA ([#1541]) |
| 42 | - RFC5753 OIDs ([#1547]) |
| 43 | - RFC7292 OIDs for PKCS#12 ([#1568]) |
| 44 | - Brainpool RFC5639 OIDs ([#1636]) |
| 45 | - Support for X.509 `GN` as an alias to `givenName` ([#1648]) |
| 46 | |
| 47 | ### Changed |
| 48 | - Return all matched names when looking up OID ([#1129]) |
| 49 | - Make `ObjectIdentifier`'s size const generic ([#1300]) |
| 50 | - Upgrade to 2024 edition; MSRV 1.85 ([#1670]) |
| 51 | |
| 52 | ### Fixed |
| 53 | - Off-by-one error in `Encoder` size check ([#1304]) |
| 54 | - Large arc handling ([#1522], [#1592]) |
| 55 | - Handling of repeated dot characters in input ([#1595]) |
| 56 | - Bugs in Base 128 encoder ([#1600]) |
| 57 | |
| 58 | ### Removed |
| 59 | - `std` feature ([#1535]) |
| 60 | |
| 61 | [#964]: https://github.com/RustCrypto/formats/pull/964 |
| 62 | [#1000]: https://github.com/RustCrypto/formats/pull/1000 |
| 63 | [#1094]: https://github.com/RustCrypto/formats/pull/1094 |
| 64 | [#1248]: https://github.com/RustCrypto/formats/pull/1248 |
| 65 | [#1261]: https://github.com/RustCrypto/formats/pull/1261 |
| 66 | [#1300]: https://github.com/RustCrypto/formats/pull/1300 |
| 67 | [#1304]: https://github.com/RustCrypto/formats/pull/1304 |
| 68 | [#1305]: https://github.com/RustCrypto/formats/pull/1305 |
| 69 | [#1337]: https://github.com/RustCrypto/formats/pull/1337 |
| 70 | [#1394]: https://github.com/RustCrypto/formats/pull/1394 |
| 71 | [#1407]: https://github.com/RustCrypto/formats/pull/1407 |
| 72 | [#1522]: https://github.com/RustCrypto/formats/pull/1522 |
| 73 | [#1535]: https://github.com/RustCrypto/formats/pull/1535 |
| 74 | [#1541]: https://github.com/RustCrypto/formats/pull/1541 |
| 75 | [#1547]: https://github.com/RustCrypto/formats/pull/1547 |
| 76 | [#1568]: https://github.com/RustCrypto/formats/pull/1568 |
| 77 | [#1592]: https://github.com/RustCrypto/formats/pull/1529 |
| 78 | [#1595]: https://github.com/RustCrypto/formats/pull/1595 |
| 79 | [#1600]: https://github.com/RustCrypto/formats/pull/1600 |
| 80 | [#1636]: https://github.com/RustCrypto/formats/pull/1636 |
| 81 | [#1648]: https://github.com/RustCrypto/formats/pull/1648 |
| 82 | [#1670]: https://github.com/RustCrypto/formats/pull/1670 |
| 83 | |
| 84 | ## 0.9.6 (2023-12-15) |
| 85 | ### Added |
| 86 | - RFC6962 (Certificate Transparency) OIDs ([#1134]) |
| 87 | |
| 88 | [#1134]: https://github.com/RustCrypto/formats/pull/1134 |
| 89 | |
| 90 | ## 0.9.5 (2023-08-02) |
| 91 | ### Added |
| 92 | - RFC8410 (curve25519) OIDs ([#867]) |
| 93 | |
| 94 | [#867]: https://github.com/RustCrypto/formats/pull/867 |
| 95 | |
| 96 | ## 0.9.4 (2023-07-10) |
| 97 | ### Added |
| 98 | - RFC8894 (SCEP) OIDs ([#1114]) |
| 99 | |
| 100 | [#1114]: https://github.com/RustCrypto/formats/pull/1114 |
| 101 | |
| 102 | ## 0.9.3 (2023-06-29) |
| 103 | ### Added |
| 104 | - `Database::find_names_for_oid` ([#1129]) |
| 105 | |
| 106 | [#1129]: https://github.com/RustCrypto/formats/pull/1129 |
| 107 | |
| 108 | ## 0.9.2 (2023-02-26) |
| 109 | ### Added |
| 110 | - `arbitrary` crate feature ([#895]) |
| 111 | |
| 112 | [#895]: https://github.com/RustCrypto/formats/pull/895 |
| 113 | |
| 114 | ## 0.9.1 (2022-11-12) |
| 115 | ### Added |
| 116 | - clippy lints for checked arithmetic and panics ([#561]) |
| 117 | - `DynAssociatedOid` trait ([#758]) |
| 118 | |
| 119 | [#561]: https://github.com/RustCrypto/formats/pull/561 |
| 120 | [#758]: https://github.com/RustCrypto/formats/pull/758 |
| 121 | |
| 122 | ## 0.9.0 (2022-03-11) |
| 123 | ### Added |
| 124 | - Fallible `const fn` parser + `::new_unwrap` ([#458], [#459]) |
| 125 | - OID database gated under the `db` feature ([#451], [#453], [#456], [#488]) |
| 126 | - `AssociatedOid` trait ([#479]) |
| 127 | - `ObjectIdentifier::push_arc` ([#504]) |
| 128 | - `ObjectIdentifier::parent` ([#505]) |
| 129 | |
| 130 | ### Changed |
| 131 | - `ObjectIdentifier::new` now returns a `Result` ([#458]) |
| 132 | |
| 133 | [#451]: https://github.com/RustCrypto/formats/pull/451 |
| 134 | [#453]: https://github.com/RustCrypto/formats/pull/453 |
| 135 | [#456]: https://github.com/RustCrypto/formats/pull/456 |
| 136 | [#458]: https://github.com/RustCrypto/formats/pull/458 |
| 137 | [#459]: https://github.com/RustCrypto/formats/pull/459 |
| 138 | [#479]: https://github.com/RustCrypto/formats/pull/479 |
| 139 | [#488]: https://github.com/RustCrypto/formats/pull/488 |
| 140 | [#504]: https://github.com/RustCrypto/formats/pull/504 |
| 141 | [#505]: https://github.com/RustCrypto/formats/pull/505 |
| 142 | |
| 143 | ## 0.8.0 (2022-01-17) |
| 144 | ### Changed |
| 145 | - Leverage `const_panic`; MSRV 1.57 ([#341]) |
| 146 | |
| 147 | [#341]: https://github.com/RustCrypto/formats/pull/341 |
| 148 | |
| 149 | ## 0.7.1 (2021-11-30) |
| 150 | ### Changed |
| 151 | - Increase `MAX_SIZE` to 39 ([#258]) |
| 152 | |
| 153 | [#258]: https://github.com/RustCrypto/formats/pull/258 |
| 154 | |
| 155 | ## 0.7.0 (2021-11-14) [YANKED] |
| 156 | ### Changed |
| 157 | - Rust 2021 edition upgrade; MSRV 1.56 ([#136]) |
| 158 | - Rename `MAX_LENGTH` to `MAX_SIZE`; bump to `31` ([#174]) |
| 159 | - Make `length` the first field of `ObjectIdentifier` ([#178]) |
| 160 | |
| 161 | ### Fixed |
| 162 | - `debug_assert!` false positive on large arc ([#180]) |
| 163 | |
| 164 | [#136]: https://github.com/RustCrypto/formats/pull/136 |
| 165 | [#174]: https://github.com/RustCrypto/formats/pull/174 |
| 166 | [#178]: https://github.com/RustCrypto/formats/pull/178 |
| 167 | [#180]: https://github.com/RustCrypto/formats/pull/180 |
| 168 | |
| 169 | ## 0.6.2 (2021-10-14) |
| 170 | ### Fixed |
| 171 | - Off-by-one error parsing large BER arcs ([#84]) |
| 172 | |
| 173 | [#84]: https://github.com/RustCrypto/formats/pull/84 |
| 174 | |
| 175 | ## 0.6.1 (2021-09-14) [YANKED] |
| 176 | ### Changed |
| 177 | - Moved to `formats` repo ([#2]) |
| 178 | |
| 179 | [#2]: https://github.com/RustCrypto/formats/pull/2 |
| 180 | |
| 181 | ## 0.6.0 (2021-06-03) [YANKED] |
| 182 | ### Changed |
| 183 | - Modernize and remove deprecations; MSRV 1.51+ |
| 184 | |
| 185 | ## 0.5.2 (2021-04-20) |
| 186 | ### Added |
| 187 | - Expand README.md |
| 188 | |
| 189 | ## 0.5.1 (2021-04-15) |
| 190 | ### Added |
| 191 | - `ObjectIdentifier::MAX_LENGTH` constant |
| 192 | |
| 193 | ### Changed |
| 194 | - Deprecate `ObjectIdentifier::max_len()` function |
| 195 | |
| 196 | ## 0.5.0 (2021-03-21) |
| 197 | ### Added |
| 198 | - `TryFrom<&[u8]>` impl on `ObjectIdentifier` |
| 199 | |
| 200 | ## Changed |
| 201 | - MSRV 1.47+ |
| 202 | - Renamed the following methods: |
| 203 | - `ObjectIdentifier::new` => `ObjectIdentifier::from_arcs` |
| 204 | - `ObjectIdentifier::parse` => `ObjectIdentifier::new` |
| 205 | - `ObjectIdentifier::from_ber` => `ObjectIdentifier::from_bytes` |
| 206 | |
| 207 | ### Removed |
| 208 | - Deprecated methods |
| 209 | - `alloc` feature - only used by aforementioned deprecated methods |
| 210 | - `TryFrom<&[Arc]>` impl on `ObjectIdentifier` - use `::from_arcs` |
| 211 | |
| 212 | ## 0.4.5 (2021-03-04) |
| 213 | ### Added |
| 214 | - `Hash` and `Ord` impls on `ObjectIdentifier` |
| 215 | |
| 216 | ## 0.4.4 (2021-02-28) |
| 217 | ### Added |
| 218 | - `ObjectIdentifier::as_bytes` method |
| 219 | |
| 220 | ### Changed |
| 221 | - Internal representation changed to BER/DER |
| 222 | - Deprecated `ObjectIdentifier::ber_len`, `::write_ber`, and `::to_ber` |
| 223 | |
| 224 | ## 0.4.3 (2021-02-24) |
| 225 | ### Added |
| 226 | - Const-friendly OID string parser |
| 227 | |
| 228 | ## 0.4.2 (2021-02-19) |
| 229 | ### Fixed |
| 230 | - Bug in root arc calculation |
| 231 | |
| 232 | ## 0.4.1 (2020-12-21) |
| 233 | ### Fixed |
| 234 | - Bug in const initializer |
| 235 | |
| 236 | ## 0.4.0 (2020-12-16) |
| 237 | ### Added |
| 238 | - `Arcs` iterator |
| 239 | |
| 240 | ### Changed |
| 241 | - Rename "nodes" to "arcs" |
| 242 | - Layout optimization |
| 243 | - Refactor and improve length limits |
| 244 | |
| 245 | ## 0.3.5 (2020-12-12) |
| 246 | ### Added |
| 247 | - `ObjectIdentifier::{write_ber, to_ber}` methods |
| 248 | |
| 249 | ## 0.3.4 (2020-12-06) |
| 250 | ### Changed |
| 251 | - Documentation improvements |
| 252 | |
| 253 | ## 0.3.3 (2020-12-05) |
| 254 | ### Changed |
| 255 | - Improve description in Cargo.toml/README.md |
| 256 | |
| 257 | ## 0.3.2 (2020-12-05) |
| 258 | ### Changed |
| 259 | - Documentation improvements |
| 260 | |
| 261 | ## 0.3.1 (2020-12-05) |
| 262 | ### Added |
| 263 | - Impl `TryFrom<&[u32]>` for ObjectIdentifier |
| 264 | |
| 265 | ## 0.3.0 (2020-12-05) [YANKED] |
| 266 | ### Added |
| 267 | - Byte and string parsers |
| 268 | |
| 269 | ## 0.2.0 (2020-09-05) |
| 270 | ### Changed |
| 271 | - Validate OIDs are well-formed; MSRV 1.46+ |
| 272 | |
| 273 | ## 0.1.0 (2020-08-04) |
| 274 | - Initial release |