interplane.Get Omega
Read in your language

aienux

Aienux, the AienOS kernel: boot, scheduling, IPC and capability boundaries. Pre-alpha; host, emulator and physical evidence are labelled separately.

Brought by drakestapleton

branch main Branches Tags History

aienux / vendor / der / CHANGELOG.md

471 lines · 15934 bytes Raw Blame History Rendered
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.10 (2024-04-18)
8### Fixed
9- append in `Encode::encode_to_vec` (backport [#1760])
10
11[#1760]: https://github.com/RustCrypto/formats/pull/1760
12
13## 0.7.9 (2024-04-01)
14### Changed
15- ignore RUSTSEC-2023-0071 (backport [#1276])
16- make sure der is comptatible with potential language breaking changed (backport [#1374])
17
18[#1276]: https://github.com/RustCrypto/formats/pull/1276
19[#1374]: https://github.com/RustCrypto/formats/pull/1374
20
21## 0.7.8 (2023-08-07)
22### Added
23- `bytes` feature ([#1156])
24- impl `RefToOwned`/`OwnedToRef` for `&[u8]`/`Box<[u8]>` ([#1188])
25- `BmpString` ([#1164])
26
27### Changed
28- no-panic cleanup ([#1169])
29- Bump `der_derive` dependency to v0.7.2 ([#1192])
30
31[#1156]: https://github.com/RustCrypto/formats/pull/1156
32[#1164]: https://github.com/RustCrypto/formats/pull/1164
33[#1169]: https://github.com/RustCrypto/formats/pull/1169
34[#1188]: https://github.com/RustCrypto/formats/pull/1188
35[#1192]: https://github.com/RustCrypto/formats/pull/1192
36
37## 0.7.7 (2023-06-29)
38### Added
39- `TryFrom<String>` impl for strings based on `StrOwned` ([#1064])
40
41[#1064]: https://github.com/RustCrypto/formats/pull/1064
42
43## 0.7.6 (2023-05-16)
44### Added
45- `SetOfVec::{extend, from_iter}` methods ([#1065])
46- `SetOf(Vec)::{insert, insert_ordered}` methods ([#1067])
47
48### Changed
49- Deprecate `SetOf(Vec)::add` ([#1067])
50
51### Fixed
52- Off-by-one error in `BMPString` tag ([#1037])
53- Handling of non-unique items in `SetOf`(Vec) ([#1066])
54
55[#1037]: https://github.com/RustCrypto/formats/pull/1037
56[#1065]: https://github.com/RustCrypto/formats/pull/1065
57[#1066]: https://github.com/RustCrypto/formats/pull/1066
58[#1067]: https://github.com/RustCrypto/formats/pull/1067
59
60## 0.7.5 (2023-04-24)
61### Added
62- adds support for `DateTime::INFINITY` ([#1026])
63
64[#1026]: https://github.com/RustCrypto/formats/pull/1026
65
66## 0.7.4 (2023-04-19)
67### Added
68- `Decode` and `Encode` impls for `PhantomData` ([#1009])
69- `ValueOrd` and `DerOrd` impls for `PhantomData` ([#1012])
70
71### Changed
72- Bump `hex-literal` dependency to v0.4.1 ([#999])
73- Bump `der_derive` dependency to v0.7.1 ([#1016])
74
75[#1009]: https://github.com/RustCrypto/formats/pull/1009
76[#1012]: https://github.com/RustCrypto/formats/pull/1012
77[#1016]: https://github.com/RustCrypto/formats/pull/1016
78
79## 0.7.3 (2023-04-06)
80### Added
81- `UtcTime::MAX_YEAR` associated constant ([#989])
82
83[#989]: https://github.com/RustCrypto/formats/pull/989
84
85## 0.7.2 (2023-04-04)
86### Added
87- Expose `NestedReader ([#925])
88- `From<ObjectIdentifier>` impl for `Any` ([#965])
89- `Any::null` helper ([#969])
90- `Any::encode_from` ([#976])
91
92[#925]: https://github.com/RustCrypto/formats/pull/925
93[#965]: https://github.com/RustCrypto/formats/pull/965
94[#969]: https://github.com/RustCrypto/formats/pull/969
95[#976]: https://github.com/RustCrypto/formats/pull/976
96
97## 0.7.1 (2023-03-07)
98### Changed
99- Make `zeroize`'s `alloc` feature conditional ([#920])
100
101[#920]: https://github.com/RustCrypto/formats/pull/920
102
103## 0.7.0 (2023-02-26) [YANKED]
104### Added
105- `OwnedtoRef`/`RefToOwned` traits; MSRV 1.65 ([#797])
106- `OctetStringRef::decode_into` ([#817])
107- `Int` and `IntRef` types ([#823])
108- `IndefiniteLength` type ([#830])
109- `Any::value` accessor ([#833])
110- Buffered PEM reader ([#839])
111- `OctetString::into_bytes` ([#845])
112- Blanket impls on `Box<T>` for `DecodeValue`, `EncodeValue`, and `Sequence` ([#860])
113
114### Changed
115- Rename `UIntRef` => `UintRef` ([#786])
116- Replace use of `dyn Writer` with `impl Writer` ([#828])
117- Rename `AnyRef::decode_into` -> `::decode_as` ([#829])
118- Bump `pem-rfc7468` dependency to v0.7 ([#894])
119- Rename `Encode::to_vec` => `::to_der` ([#898])
120
121### Removed
122- `Sequence::fields` method ([#828])
123- Inherent `AnyRef` decoding methods ([#829])
124
125[#786]: https://github.com/RustCrypto/formats/pull/786
126[#797]: https://github.com/RustCrypto/formats/pull/797
127[#817]: https://github.com/RustCrypto/formats/pull/817
128[#823]: https://github.com/RustCrypto/formats/pull/823
129[#828]: https://github.com/RustCrypto/formats/pull/828
130[#829]: https://github.com/RustCrypto/formats/pull/829
131[#830]: https://github.com/RustCrypto/formats/pull/830
132[#833]: https://github.com/RustCrypto/formats/pull/833
133[#839]: https://github.com/RustCrypto/formats/pull/839
134[#845]: https://github.com/RustCrypto/formats/pull/845
135[#860]: https://github.com/RustCrypto/formats/pull/860
136[#894]: https://github.com/RustCrypto/formats/pull/894
137[#898]: https://github.com/RustCrypto/formats/pull/898
138
139## 0.6.1 (2022-12-05)
140### Added
141- Rudimentary implementation of `TeletexString` and `VideotexString` ([#691])
142- Impl `ValueOrd` for `FlagSet<T>` and `UIntRef` ([#723])
143
144### Changed
145- Eliminate some boilerplate code by using `Deref` ([#697])
146
147[#691]: https://github.com/RustCrypto/formats/pull/691
148[#697]: https://github.com/RustCrypto/formats/pull/697
149[#723]: https://github.com/RustCrypto/formats/pull/723
150
151## 0.6.0 (2022-05-08)
152### Added
153- Impl `ValueOrd` for `SetOf` and `SetOfVec` ([#362])
154- `SequenceRef` type ([#374])
155- Support for `SetOf` sorting on heapless `no_std` targets ([#401])
156- Support for mapping `BitString` to/from a `FlagSet` ([#412])
157- `DecodeOwned` marker trait ([#529])
158- Support for the ASN.1 `REAL` type ([#346])
159- `DecodePem` and `EncodePem` traits ([#571])
160- `Document` and `SecretDocument` types ([#571])
161- `EncodeRef`/`EncodeValueRef` wrapper types ([#604])
162- `Writer` trait ([#605])
163- `Reader` trait ([#606])
164- Streaming on-the-fly `PemReader` and `PemWriter` ([#618], [#636])
165- Owned `BitString` ([#636])
166- Owned `Any` and `OctetString` types ([#640])
167
168### Changed
169- Pass `Header` to `DecodeValue` ([#392])
170- Bump `const-oid` dependency to v0.9 ([#507])
171- Renamed `Decodable`/`Encodable` => `Decode`/`Encode` ([#523])
172- Enable arithmetic, casting, and panic `clippy` lints ([#556], [#579])
173- Use `&mut dyn Writer` as output for `Encode::encode` and `EncodeValue::encode_value` ([#611])
174- Bump `pem-rfc7468` dependency to v0.6 ([#620])
175- Use `Reader<'a>` as input for `Decode::decode` and `DecodeValue::decode_value` ([#633])
176- Renamed `Any` => `AnyRef` ([#637])
177- Renamed `BitString` => `BitStringRef` ([#637])
178- Renamed `Ia5String` => `Ia5StringRef` ([#637])
179- Renamed `OctetString` => `OctetStringRef` ([#637])
180- Renamed `PrintableString` => `PrintableStringRef` ([#637])
181- Renamed `Utf8String` => `Utf8StringRef` ([#637])
182- Renamed `UIntBytes` => `UIntRef` ([#637])
183- Renamed `Decoder` => `SliceReader` ([#651])
184- Renamed `Encoder` => `SliceWriter` ([#651])
185
186### Fixed
187- Handling of oversized unsigned `INTEGER` inputs ([#447])
188
189### Removed
190- `bigint` feature ([#344])
191- `OrdIsValueOrd` trait ([#359])
192- `Document` trait ([#571])
193- `OptionalRef` ([#604])
194- Decode-time SET OF ordering checks ([#625])
195
196[#344]: https://github.com/RustCrypto/formats/pull/344
197[#346]: https://github.com/RustCrypto/formats/pull/346
198[#359]: https://github.com/RustCrypto/formats/pull/359
199[#362]: https://github.com/RustCrypto/formats/pull/362
200[#374]: https://github.com/RustCrypto/formats/pull/374
201[#392]: https://github.com/RustCrypto/formats/pull/392
202[#401]: https://github.com/RustCrypto/formats/pull/401
203[#412]: https://github.com/RustCrypto/formats/pull/412
204[#447]: https://github.com/RustCrypto/formats/pull/447
205[#507]: https://github.com/RustCrypto/formats/pull/507
206[#523]: https://github.com/RustCrypto/formats/pull/523
207[#529]: https://github.com/RustCrypto/formats/pull/529
208[#556]: https://github.com/RustCrypto/formats/pull/556
209[#571]: https://github.com/RustCrypto/formats/pull/571
210[#579]: https://github.com/RustCrypto/formats/pull/579
211[#604]: https://github.com/RustCrypto/formats/pull/604
212[#605]: https://github.com/RustCrypto/formats/pull/605
213[#606]: https://github.com/RustCrypto/formats/pull/606
214[#611]: https://github.com/RustCrypto/formats/pull/611
215[#618]: https://github.com/RustCrypto/formats/pull/618
216[#620]: https://github.com/RustCrypto/formats/pull/620
217[#625]: https://github.com/RustCrypto/formats/pull/625
218[#633]: https://github.com/RustCrypto/formats/pull/633
219[#636]: https://github.com/RustCrypto/formats/pull/636
220[#637]: https://github.com/RustCrypto/formats/pull/637
221[#640]: https://github.com/RustCrypto/formats/pull/640
222[#651]: https://github.com/RustCrypto/formats/pull/651
223
224## 0.5.1 (2021-11-17)
225### Added
226- `Any::NULL` constant ([#226])
227
228[#226]: https://github.com/RustCrypto/formats/pull/226
229
230## 0.5.0 (2021-11-15) [YANKED]
231### Added
232- Support for `IMPLICIT` mode `CONTEXT-SPECIFIC` fields ([#61])
233- `DecodeValue`/`EncodeValue` traits ([#63])
234- Expose `DateTime` through public API ([#75])
235- `SEQUENCE OF` support for `[T; N]` ([#90])
236- `SequenceOf` type ([#95])
237- `SEQUENCE OF` support for `Vec` ([#96])
238- `Document` trait ([#117])
239- Basic integration with `time` crate ([#129])
240- `Tag::NumericString` ([#132])
241- Support for unused bits to `BitString` ([#141])
242- `Decoder::{peek_tag, peek_header}` ([#142])
243- Type hint in `encoder `sequence` method ([#147])
244- `Tag::Enumerated` ([#153])
245- `ErrorKind::TagNumberInvalid` ([#156])
246- `Tag::VisibleString` and `Tag::BmpString` ([#160])
247- Inherent constants for all valid `TagNumber`s ([#165])
248- `DerOrd` and `ValueOrd` traits ([#190])
249- `ContextSpecificRef` type ([#199])
250
251### Changed
252- Make `ContextSpecific` generic around an inner type ([#60])
253- Removed `SetOf` trait; rename `SetOfArray` => `SetOf` ([#97])
254- Rename `Message` trait to `Sequence` ([#99])
255- Make `GeneralizedTime`/`UtcTime` into `DateTime` newtypes ([#102])
256- Rust 2021 edition upgrade; MSRV 1.56 ([#136])
257- Replace `ErrorKind::Truncated` with `ErrorKind::Incomplete` ([#143])
258- Rename `ErrorKind::UnknownTagMode` => `ErrorKind::TagModeUnknown` ([#155])
259- Rename `ErrorKind::UnexpectedTag` => `ErrorKind::TagUnexpected` ([#155])
260- Rename `ErrorKind::UnknownTag` => `ErrorKind::TagUnknown` ([#155])
261- Consolidate `ErrorKind::{Incomplete, Underlength}` ([#157])
262- Rename `Tagged` => `FixedTag`; add new `Tagged` trait ([#189])
263- Use `DerOrd` for `SetOf*` types ([#200])
264- Switch `impl From<BitString> for &[u8]` to `TryFrom` ([#203])
265- Bump `crypto-bigint` dependency to v0.3 ([#215])
266- Bump `const-oid` dependency to v0.7 ([#216])
267- Bump `pem-rfc7468` dependency to v0.3 ([#217])
268- Bump `der_derive` dependency to v0.5 ([#221])
269
270### Removed
271- `Sequence` struct ([#98])
272- `Tagged` bound on `ContextSpecific::decode_implicit` ([#161])
273- `ErrorKind::DuplicateField` ([#162])
274
275[#60]: https://github.com/RustCrypto/formats/pull/60
276[#61]: https://github.com/RustCrypto/formats/pull/61
277[#63]: https://github.com/RustCrypto/formats/pull/63
278[#75]: https://github.com/RustCrypto/formats/pull/75
279[#90]: https://github.com/RustCrypto/formats/pull/90
280[#95]: https://github.com/RustCrypto/formats/pull/95
281[#96]: https://github.com/RustCrypto/formats/pull/96
282[#97]: https://github.com/RustCrypto/formats/pull/97
283[#98]: https://github.com/RustCrypto/formats/pull/98
284[#99]: https://github.com/RustCrypto/formats/pull/99
285[#102]: https://github.com/RustCrypto/formats/pull/102
286[#117]: https://github.com/RustCrypto/formats/pull/117
287[#129]: https://github.com/RustCrypto/formats/pull/129
288[#132]: https://github.com/RustCrypto/formats/pull/132
289[#136]: https://github.com/RustCrypto/formats/pull/136
290[#141]: https://github.com/RustCrypto/formats/pull/141
291[#142]: https://github.com/RustCrypto/formats/pull/142
292[#143]: https://github.com/RustCrypto/formats/pull/143
293[#147]: https://github.com/RustCrypto/formats/pull/147
294[#153]: https://github.com/RustCrypto/formats/pull/153
295[#155]: https://github.com/RustCrypto/formats/pull/155
296[#156]: https://github.com/RustCrypto/formats/pull/156
297[#157]: https://github.com/RustCrypto/formats/pull/157
298[#160]: https://github.com/RustCrypto/formats/pull/160
299[#161]: https://github.com/RustCrypto/formats/pull/161
300[#162]: https://github.com/RustCrypto/formats/pull/162
301[#165]: https://github.com/RustCrypto/formats/pull/165
302[#189]: https://github.com/RustCrypto/formats/pull/189
303[#190]: https://github.com/RustCrypto/formats/pull/190
304[#199]: https://github.com/RustCrypto/formats/pull/199
305[#200]: https://github.com/RustCrypto/formats/pull/200
306[#203]: https://github.com/RustCrypto/formats/pull/203
307[#215]: https://github.com/RustCrypto/formats/pull/215
308[#216]: https://github.com/RustCrypto/formats/pull/216
309[#217]: https://github.com/RustCrypto/formats/pull/217
310[#221]: https://github.com/RustCrypto/formats/pull/221
311
312## 0.4.5 (2021-12-01)
313### Fixed
314- Backport [#147] type hint fix for WASM platforms to 0.4.x
315
316## 0.4.4 (2021-10-06)
317### Removed
318- Accidentally checked-in `target/` directory ([#66])
319
320[#66]: https://github.com/RustCrypto/formats/pull/66
321
322## 0.4.3 (2021-09-15)
323### Added
324- `Tag::unexpected_error` ([#33])
325
326[#33]: https://github.com/RustCrypto/formats/pull/33
327
328## 0.4.2 (2021-09-14)
329### Changed
330- Moved to `formats` repo ([#2])
331
332### Fixed
333- ASN.1 `SET` type now flagged with the constructed bit
334
335[#2]: https://github.com/RustCrypto/formats/pull/2
336
337## 0.4.1 (2021-08-08)
338### Fixed
339- Encoding `UTCTime` for dates with `20xx` years
340
341## 0.4.0 (2021-06-07)
342### Added
343- `TagNumber` type
344- Const generic integer de/encoders with support for all of Rust's integer
345 primitives
346- `crypto-bigint` support
347- `Tag` number helpers
348- `Tag::octet`
349- `ErrorKind::Value` helpers
350- `SequenceIter`
351
352### Changed
353- Bump `const-oid` crate dependency to v0.6
354- Make `Tag` structured
355- Namespace ASN.1 types in `asn1` module
356- Refactor context-specific field decoding
357- MSRV 1.51
358- Rename `big-uint` crate feature to `bigint`
359- Rename `BigUInt` to `UIntBytes`
360- Have `Decoder::error()` return an `Error`
361
362### Removed
363- Deprecated methods replaced by associated constants
364
365## 0.3.5 (2021-05-24)
366### Added
367- Helper methods for context-specific fields
368- `ContextSpecific` field wrapper
369- Decoder position tracking for errors during `Any<'a>` decoding
370
371### Fixed
372- `From` conversion for `BitString` into `Any`
373
374## 0.3.4 (2021-05-16)
375### Changed
376- Support `Length` of up to 1 MiB
377
378## 0.3.3 (2021-04-15)
379### Added
380- `Length` constants
381
382### Changed
383- Deprecate `const fn` methods replaced by `Length` constants
384
385## 0.3.2 (2021-04-15)
386### Fixed
387- Non-critical bug allowing `Length` to exceed the max invariant
388
389## 0.3.1 (2021-04-01) [YANKED]
390### Added
391- `PartialOrd` + `Ord` impls to all ASN.1 types
392
393## 0.3.0 (2021-03-22) [YANKED]
394### Added
395- Impl `Decode`/`Encoded`/`Tagged` for `String`
396- `Length::one` and `Length::for_tlv`
397- `SET OF` support with `SetOf` trait and `SetOfRef`
398
399### Changed
400- Rename `Decodable::from_bytes` => `Decodable::from_der`
401- Separate `sequence` and `message`
402- Rename `ErrorKind::Oid` => `ErrorKind::MalformedOid`
403- Auto-derive `From` impls for variants when deriving `Choice`
404- Make `Length` use `u32` internally
405- Make `Sequence` constructor private
406- Bump `const_oid` to v0.5
407- Bump `der_derive` to v0.3
408
409### Removed
410- Deprecated methods
411- `BigUIntSize`
412
413## 0.2.10 (2021-02-28)
414### Added
415- Impl `From<ObjectIdentifier>` for `Any`
416
417### Changed
418- Bump minimum `const-oid` dependency to v0.4.4
419
420## 0.2.9 (2021-02-24)
421### Added
422- Support for `IA5String`
423
424## 0.2.8 (2021-02-22)
425### Added
426- `Choice` trait
427
428## 0.2.7 (2021-02-20)
429### Added
430- Export `Header` publicly
431- Make `Encoder::reserve` public
432
433## 0.2.6 (2021-02-19)
434### Added
435- Make the unit type an encoding of `NULL`
436
437## 0.2.5 (2021-02-18)
438### Added
439- `ErrorKind::UnknownOid` variant
440
441## 0.2.4 (2021-02-16)
442### Added
443- `Any::is_null` method
444
445### Changed
446- Deprecate `Any::null` method
447
448## 0.2.3 (2021-02-15)
449### Added
450- Additional `rustdoc` documentation
451
452## 0.2.2 (2021-02-12)
453### Added
454- Support for `UTCTime` and `GeneralizedTime`
455
456## 0.2.1 (2021-02-02)
457### Added
458- Support for `PrintableString` and `Utf8String`
459
460## 0.2.0 (2021-01-22)
461### Added
462- `BigUInt` type
463- `i16` support
464- `u8` and `u16` support
465- Integer decoder helper methods
466
467### Fixed
468- Handle leading byte of `BIT STRING`s
469
470## 0.1.0 (2020-12-21)
471- Initial release