Skip to content

Commit a6c5a29

Browse files
authored
der+der_derive: changelog with links 0.8.0 (#2216)
1 parent 8c5876d commit a6c5a29

File tree

2 files changed

+96
-10
lines changed

2 files changed

+96
-10
lines changed

der/CHANGELOG.md

Lines changed: 67 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -24,20 +24,21 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2424
- conversions between `BitStringRef`/`OctetStringRef` and `[u8; N]` ([#1731])
2525
- add class bits consts for Application and Private tag support ([#1721])
2626
- conversions between `heapless:Vec<u8>` and `OctetStringRef` ([#1735])
27+
- `IsConstructed` trait, impl'ed on any `FixedTag` ([#1744])
2728
- impl `Hash` for `SetOf` ([#1764])
2829
- implement `Uint`/`Int` conversions from native types ([#1762])
29-
- add support for `APPLICATION`, `CONTEXT-SPECIFIC` and `PRIVATE` tags ([#1819]) ([#1825]) ([#1944])
30+
- support for `APPLICATION`, `CONTEXT-SPECIFIC` and `PRIVATE` tags ([#1819]) ([#1825]) ([#1944])
3031
- support `Cow<[u8]>` in derive(Sequence) ([#1850])
31-
- add `diagnostic::on_unimplemented` attributes ([#1876])
32-
- add `Reader::read_value`, auto-nest `DecodeValue` ([#1877]) ([#1895]) ([#1897]) ([#1901])
32+
- `diagnostic::on_unimplemented` attributes ([#1876])
33+
- `Reader::read_value`, auto-nest `DecodeValue` ([#1877]) ([#1895]) ([#1897]) ([#1901])
3334
- indefinite length support ([#1884]) ([#1885]) ([#1894]) ([#1900]) ([#1902]) ([#1910])
3435
- constructed OctetString support ([#1899]) ([#1922])
35-
- add string conversions, predicate methods for EncodingRules ([#1903]) ([#1953])
36-
- add fn `Any::header` ([#1935])
37-
- add `Tag::RelativeOid` ([#1942])
38-
- add ber feature ([#1948]) ([#1950])
39-
- add Hash derive for StringOwned and Ia5String ([#1973])
40-
- add impl `DecodeValue/EncodeValue/Tagged` for `Cow` ([#2093])
36+
- string conversions, predicate methods for EncodingRules ([#1903]) ([#1953])
37+
- fn `Any::header` ([#1935])
38+
- `Tag::RelativeOid` ([#1942])
39+
- ber feature ([#1948]) ([#1950])
40+
- Hash derive for StringOwned and Ia5String ([#1973])
41+
- impl `DecodeValue/EncodeValue/Tagged` for `Cow` ([#2093])
4142

4243
### Changed
4344
- Bump `const-oid` to v0.10 ([#1676])
@@ -51,7 +52,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
5152
- Reject zero lengths reads ([#1716])
5253
- deprecate `TagNumber::new` ([#1727])
5354
- use strict context-specific skipping condition (equal tag numbers only) ([#1740])
54-
- add `IsConstructed` trait, impl'ed on any `FixedTag` ([#1744])
5555
- const `Any::to_ref`, `BytesOwned::to_ref` ([#1797])
5656
- return `ErrorKind::Noncanonical` in `EXPLICIT` when primitive ([#1818])
5757
- use `read_nested` to check length of `IMPLICIT` types ([#1739])
@@ -67,6 +67,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
6767
- add doc examples of `EncodeValue`, `Encode`, `DecodeValue`, `Decode`, `Error`, `ErrorKind`, `Tagged`, `FixedTag`, `IsConstructed`, `Tag`, `Length`, `Header` ([#2075]) ([#2071]) ([#2070]) ([#2064]) ([#2058]) ([#2052]) ([#2053]) ([#2051])
6868
- rename variable encoder -> writer and improve example ([#2078])
6969
- have `PemReader` decode to `Cow::Owned` ([#2094])
70+
- only sort `SET OF` types with `EncodingRules::Der` ([#2219])
7071

7172
### Fixed
7273
- fix append in `Encode::encode_to_vec` ([#1760])
@@ -78,11 +79,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7879
- fix panic in `value_cmp`: add `Iterator::size_hint` ([#1830])
7980
- error position tracking improvements ([#1889]) ([#2080]) ([#2079])
8081
- bound `Decode(Value)::Error` on `core::error::Error` ([#2137])
82+
- have `SetOf(Vec)::insert` check for duplicates ([#2217])
8183

8284
### Removed
8385
- `TagNumber::N0..N30` consts ([#1724])
8486
- 256MiB limit on `Length` ([#1726])
8587
- remove generic `<T>` from `Reader::finish` ([#1833])
88+
- `SequenceOf` and `SetOf` ([#2220])
8689

8790
[#1055]: https://github.com/RustCrypto/formats/pull/1055
8891
[#1321]: https://github.com/RustCrypto/formats/pull/1321
@@ -129,6 +132,60 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
129132
[#1825]: https://github.com/RustCrypto/formats/pull/1825
130133
[#1828]: https://github.com/RustCrypto/formats/pull/1828
131134
[#1830]: https://github.com/RustCrypto/formats/pull/1830
135+
[#1833]: https://github.com/RustCrypto/formats/pull/1833
136+
[#1840]: https://github.com/RustCrypto/formats/pull/1840
137+
[#1850]: https://github.com/RustCrypto/formats/pull/1850
138+
[#1851]: https://github.com/RustCrypto/formats/pull/1851
139+
[#1876]: https://github.com/RustCrypto/formats/pull/1876
140+
[#1877]: https://github.com/RustCrypto/formats/pull/1877
141+
[#1880]: https://github.com/RustCrypto/formats/pull/1880
142+
[#1883]: https://github.com/RustCrypto/formats/pull/1883
143+
[#1884]: https://github.com/RustCrypto/formats/pull/1884
144+
[#1885]: https://github.com/RustCrypto/formats/pull/1885
145+
[#1886]: https://github.com/RustCrypto/formats/pull/1886
146+
[#1889]: https://github.com/RustCrypto/formats/pull/1889
147+
[#1894]: https://github.com/RustCrypto/formats/pull/1894
148+
[#1895]: https://github.com/RustCrypto/formats/pull/1895
149+
[#1897]: https://github.com/RustCrypto/formats/pull/1897
150+
[#1899]: https://github.com/RustCrypto/formats/pull/1899
151+
[#1900]: https://github.com/RustCrypto/formats/pull/1900
152+
[#1901]: https://github.com/RustCrypto/formats/pull/1901
153+
[#1902]: https://github.com/RustCrypto/formats/pull/1902
154+
[#1903]: https://github.com/RustCrypto/formats/pull/1903
155+
[#1910]: https://github.com/RustCrypto/formats/pull/1910
156+
[#1919]: https://github.com/RustCrypto/formats/pull/1919
157+
[#1920]: https://github.com/RustCrypto/formats/pull/1920
158+
[#1921]: https://github.com/RustCrypto/formats/pull/1921
159+
[#1922]: https://github.com/RustCrypto/formats/pull/1922
160+
[#1930]: https://github.com/RustCrypto/formats/pull/1930
161+
[#1931]: https://github.com/RustCrypto/formats/pull/1931
162+
[#1935]: https://github.com/RustCrypto/formats/pull/1935
163+
[#1942]: https://github.com/RustCrypto/formats/pull/1942
164+
[#1944]: https://github.com/RustCrypto/formats/pull/1944
165+
[#1948]: https://github.com/RustCrypto/formats/pull/1948
166+
[#1950]: https://github.com/RustCrypto/formats/pull/1950
167+
[#1953]: https://github.com/RustCrypto/formats/pull/1953
168+
[#1973]: https://github.com/RustCrypto/formats/pull/1973
169+
[#1997]: https://github.com/RustCrypto/formats/pull/1997
170+
[#1998]: https://github.com/RustCrypto/formats/pull/1998
171+
[#2137]: https://github.com/RustCrypto/formats/pull/2137
172+
[#2040]: https://github.com/RustCrypto/formats/pull/2040
173+
[#2051]: https://github.com/RustCrypto/formats/pull/2051
174+
[#2052]: https://github.com/RustCrypto/formats/pull/2052
175+
[#2053]: https://github.com/RustCrypto/formats/pull/2053
176+
[#2058]: https://github.com/RustCrypto/formats/pull/2058
177+
[#2064]: https://github.com/RustCrypto/formats/pull/2064
178+
[#2070]: https://github.com/RustCrypto/formats/pull/2070
179+
[#2071]: https://github.com/RustCrypto/formats/pull/2071
180+
[#2075]: https://github.com/RustCrypto/formats/pull/2075
181+
[#2078]: https://github.com/RustCrypto/formats/pull/2078
182+
[#2079]: https://github.com/RustCrypto/formats/pull/2079
183+
[#2080]: https://github.com/RustCrypto/formats/pull/2080
184+
[#2093]: https://github.com/RustCrypto/formats/pull/2093
185+
[#2094]: https://github.com/RustCrypto/formats/pull/2094
186+
[#2217]: https://github.com/RustCrypto/formats/pull/2217
187+
[#2219]: https://github.com/RustCrypto/formats/pull/2219
188+
[#2220]: https://github.com/RustCrypto/formats/pull/2220
132189

133190
## 0.7.10 (2024-04-18)
134191
### Fixed

der_derive/CHANGELOG.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,35 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
8+
## 0.8.0 (UNRELEASED)
9+
10+
### Added
11+
- `Sequence`, `Enumerated` and `Choice` macros now support `#[asn1(error = Ty)]` attribute that provides a custom error type for `Decode`/`DecodeValue` implementations ([#1560])
12+
- `BitString` macro ([#1720]) ([#1733])
13+
- `DecodeValue`, `EncodeValue` macros ([#1722])
14+
- impl DecodeValue for Choice ([#1986])
15+
- derive support for `APPLICATION` and `PRIVATE` tags ([#1825])
16+
17+
### Changed
18+
- move `der/derive` => `der_derive` ([#1457])
19+
- use `TryFrom` conversions for `asn1(type = ...)` ([#1562])
20+
- rewrite `EncodeValue::value_len` as simple addition ([#1810])
21+
- change OctetStringRef `&` handling due to der type changes ([#2043]) ([#2040]) ([#1998])
22+
23+
[#1457]: https://github.com/RustCrypto/formats/pull/1457
24+
[#1560]: https://github.com/RustCrypto/formats/pull/1560
25+
[#1562]: https://github.com/RustCrypto/formats/pull/1562
26+
[#1720]: https://github.com/RustCrypto/formats/pull/1720
27+
[#1722]: https://github.com/RustCrypto/formats/pull/1722
28+
[#1733]: https://github.com/RustCrypto/formats/pull/1733
29+
[#1825]: https://github.com/RustCrypto/formats/pull/1825
30+
[#1810]: https://github.com/RustCrypto/formats/pull/1810
31+
[#1986]: https://github.com/RustCrypto/formats/pull/1986
32+
[#1998]: https://github.com/RustCrypto/formats/pull/1998
33+
[#2040]: https://github.com/RustCrypto/formats/pull/2040
34+
[#2043]: https://github.com/RustCrypto/formats/pull/2043
35+
736
## 0.7.3 (2024-07-09)
837
### Changed
938
- avoid type inference when using default ([#1443])

0 commit comments

Comments
 (0)