• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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.2 (2023-08-07)
8### Changed
9- fix doc typo and use a valid tag number ([#1184])
10- remove proc-macro-error dependency ([#1180])
11
12[#1180]: https://github.com/RustCrypto/formats/pull/1180
13[#1184]: https://github.com/RustCrypto/formats/pull/1184
14
15## 0.7.1 (2023-04-19)
16### Added
17 - Support for type generics in `Sequence` macro ([#1014])
18
19[#1014]: https://github.com/RustCrypto/formats/pull/1014
20
21## 0.7.0 (2023-02-26)
22### Changed
23- Eliminate dynamism from encoding ([#828])
24
25[#828]: https://github.com/RustCrypto/formats/pull/828
26
27## 0.6.1 (2022-12-05)
28### Added
29- Support for deriving `ValueOrd` on `Choice` enums ([#723])
30
31[#723]: https://github.com/RustCrypto/formats/pull/723
32
33## 0.6.0 (2022-05-08)
34### Added
35- Support for Context-Specific fields with default values ([#246])
36- Context-Specific tags on `#[derive(Sequence)]` ([#349])
37- `#[asn1(constructed = "true")]` ([#398])
38
39### Changed
40- Have `Sequence` macro derive `DecodeValue` ([#375])
41- Pass `Header` to `DecodeValue` ([#392])
42- Have `Choice` macro derive `EncodeValue` ([#395])
43- Only emit `.try_into()?` when a type is specified ([#397])
44- Use type's tag by default on `derive(Choice)` ([#416])
45
46### Fixed
47- Length calculation for explicit tags ([#400])
48
49### Removed
50- Static lifetime from ENUMERATED's derived `DecodeValue` ([#367])
51
52[#246]: https://github.com/RustCrypto/formats/pull/246
53[#349]: https://github.com/RustCrypto/formats/pull/349
54[#367]: https://github.com/RustCrypto/formats/pull/367
55[#375]: https://github.com/RustCrypto/formats/pull/375
56[#392]: https://github.com/RustCrypto/formats/pull/392
57[#395]: https://github.com/RustCrypto/formats/pull/395
58[#397]: https://github.com/RustCrypto/formats/pull/397
59[#398]: https://github.com/RustCrypto/formats/pull/398
60[#400]: https://github.com/RustCrypto/formats/pull/400
61[#416]: https://github.com/RustCrypto/formats/pull/416
62
63## 0.5.0 (2021-11-15)
64### Added
65- `asn1(tag_mode = "...")` derive attribute ([#150])
66- `asn1(context_specific = "...")` derive attribute ([#150])
67- `Enumerated` custom derive macro ([#171])
68- `asn1(tag_mode = "...")` attribute ([#197])
69- Support for handling `DEFAULT` values of `SEQUENCE`s ([#202])
70- `ValueOrd` custom derive macro ([#206])
71- `CONTEXT-SPECIFIC` support for `Sequence` custom derive ([#220])
72
73### Changed
74- Rename `Message` trait to `Sequence` ([#99])
75- Rust 2021 edition upgrade; MSRV 1.56 ([#136])
76
77### Removed
78- Don't automatically derive `From` impls for `Choice` ([#168])
79
80[#99]: https://github.com/RustCrypto/formats/pull/99
81[#136]: https://github.com/RustCrypto/formats/pull/136
82[#150]: https://github.com/RustCrypto/formats/pull/150
83[#168]: https://github.com/RustCrypto/formats/pull/150
84[#171]: https://github.com/RustCrypto/formats/pull/171
85[#197]: https://github.com/RustCrypto/formats/pull/197
86[#202]: https://github.com/RustCrypto/formats/pull/202
87[#206]: https://github.com/RustCrypto/formats/pull/206
88[#220]: https://github.com/RustCrypto/formats/pull/220
89
90## 0.4.1 (2021-09-14)
91### Changed
92- Moved to `formats` repo ([#2])
93
94[#2]: https://github.com/RustCrypto/formats/pull/2
95
96## 0.4.0 (2021-06-07)
97### Changed
98- Update generated code to support the corresponding `der` crate changes
99
100## 0.3.0 (2021-03-21)
101### Added
102- `choice::Alternative` and duplicate tracking
103- Auto-derive `From` impls for variants when deriving `Choice`
104
105## 0.2.2 (2021-02-22)
106### Added
107- Custom derive support for the `Choice` trait
108
109## 0.2.1 (2021-02-15)
110### Added
111- Custom derive support for enums
112
113## 0.2.0 (2021-02-02)
114### Added
115- Support for `PrintableString` and `Utf8String`
116
117## 0.1.0 (2020-12-21)
118- Initial release
119