@@ -4,6 +4,83 @@ All notable changes to this project will be documented in this file.
44The format is based on [ Keep a Changelog] ( https://keepachangelog.com/en/1.0.0/ ) ,
55and this project adheres to [ Semantic Versioning] ( https://semver.org/spec/v2.0.0.html ) .
66
7+ ## 0.8.0 (UNRELEASED)
8+
9+ ### Added
10+ - ` EncodingRules ` enum ([ #1321 ] )
11+ - Custom error types support to the ` Decode ` and ` DecodeValue ` traits ([ #1055 ] )
12+ - ` Decode::from_ber ` ([ #1389 ] )
13+ - Documentation for field-level ` tag_mode ` attribute ([ #1401 ] )
14+ - ` Hash ` implementation for ` AlgorithmIdentifier ` ([ #1414 ] )
15+ - ` SequenceRef::as_bytes ` and ` AsRef<[u8]> ` impl ([ #1454 ] )
16+ - ` Reader::peek_into ` ([ #1478 ] )
17+ - ` GeneralString ` variant to ` Tag ` ([ #1512 ] )
18+ - conversions from ` OctetString(Ref) ` to ` Vec ` /` Bytes ` ([ #1540 ] )
19+ - Custom error types in derive macros. ([ #1560 ] )
20+ - Support for tags beyond 30 ([ #1651 ] )
21+ - const ` ::new ` to ` Length ` , ` BytesRef ` , and ` AnyRef ` ([ #1713 ] )
22+ - const ` GeneralizedTime::from_date_time ` ([ #1718 ] )
23+ - ` Decode::from_der_partial ` (#1725 )
24+ - conversions between ` BitStringRef ` /` OctetStringRef ` and ` [u8; N] ` ([ #1731 ] )
25+ - add class bits consts for Application and Private tag support ([ #1721 ] )
26+ - conversions between ` heapless:Vec<u8> ` and ` OctetStringRef ` ([ #1735 ] )
27+ - impl ` Hash ` for ` SetOf ` ([ #1764 ] )
28+ - implement ` Uint ` /` Int ` conversions from native types ([ #1762 ] )
29+
30+ ### Changed
31+ - Bump ` const-oid ` to v0.10 ([ #1676 ] )
32+ - Return ` Tag::Integer.length_error() ` on empty ints ([ #1400 ] )
33+ - have ` Reader::peek* ` methods take ` &mut self ` ([ #1418 ] )
34+ - allow all blanket impls on ` ?Sized ` types ([ #1451 ] )
35+ - refactor ` Tag::peek ` ([ #1479 ] )
36+ - refactor ` Header::peek ` ([ #1480 ] )
37+ - use ` core::error::Error ` ([ #1553 ] )
38+ - Use 2024 edition, bump MSRV to 1.85 ([ #1670 ] )
39+ - Reject zero lengths reads ([ #1716 ] )
40+ - deprecate ` TagNumber::new ` ([ #1727 ] )
41+
42+ ### Fixed
43+ - fix append in ` Encode::encode_to_vec ` ([ #1760 ] )
44+ - fix derive optional OCTET/BIT STRING on ` Option<&[u8]> ` ([ #1737 ] )
45+
46+ ### Removed
47+ - ` TagNumber::N0..N30 ` consts (#1724 )
48+ - 256MiB limit on ` Length ` ([ #1726 ] )
49+
50+ [ #1055 ] : https://github.com/RustCrypto/formats/pull/1055
51+ [ #1321 ] : https://github.com/RustCrypto/formats/pull/1321
52+ [ #1389 ] : https://github.com/RustCrypto/formats/pull/1389
53+ [ #1400 ] : https://github.com/RustCrypto/formats/pull/1400
54+ [ #1401 ] : https://github.com/RustCrypto/formats/pull/1401
55+ [ #1414 ] : https://github.com/RustCrypto/formats/pull/1414
56+ [ #1418 ] : https://github.com/RustCrypto/formats/pull/1418
57+ [ #1451 ] : https://github.com/RustCrypto/formats/pull/1451
58+ [ #1454 ] : https://github.com/RustCrypto/formats/pull/1454
59+ [ #1478 ] : https://github.com/RustCrypto/formats/pull/1478
60+ [ #1479 ] : https://github.com/RustCrypto/formats/pull/1479
61+ [ #1480 ] : https://github.com/RustCrypto/formats/pull/1480
62+ [ #1512 ] : https://github.com/RustCrypto/formats/pull/1512
63+ [ #1540 ] : https://github.com/RustCrypto/formats/pull/1540
64+ [ #1553 ] : https://github.com/RustCrypto/formats/pull/1553
65+ [ #1560 ] : https://github.com/RustCrypto/formats/pull/1560
66+ [ #1651 ] : https://github.com/RustCrypto/formats/pull/1651
67+ [ #1670 ] : https://github.com/RustCrypto/formats/pull/1670
68+ [ #1676 ] : https://github.com/RustCrypto/formats/pull/1676
69+ [ #1713 ] : https://github.com/RustCrypto/formats/pull/1713
70+ [ #1716 ] : https://github.com/RustCrypto/formats/pull/1716
71+ [ #1718 ] : https://github.com/RustCrypto/formats/pull/1718
72+ [ #1721 ] : https://github.com/RustCrypto/formats/pull/1721
73+ [ #1724 ] : https://github.com/RustCrypto/formats/pull/1724
74+ [ #1725 ] : https://github.com/RustCrypto/formats/pull/1725
75+ [ #1726 ] : https://github.com/RustCrypto/formats/pull/1726
76+ [ #1727 ] : https://github.com/RustCrypto/formats/pull/1727
77+ [ #1731 ] : https://github.com/RustCrypto/formats/pull/1731
78+ [ #1735 ] : https://github.com/RustCrypto/formats/pull/1735
79+ [ #1737 ] : https://github.com/RustCrypto/formats/pull/1737
80+ [ #1760 ] : https://github.com/RustCrypto/formats/pull/1760
81+ [ #1762 ] : https://github.com/RustCrypto/formats/pull/1762
82+ [ #1764 ] : https://github.com/RustCrypto/formats/pull/1764
83+
784## 0.7.10 (2024-04-18)
885### Fixed
986- append in ` Encode::encode_to_vec ` (backport [ #1760 ] )
0 commit comments