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