]> git.lizzy.rs Git - enumset.git/blob - RELEASES.md
Update changelog.
[enumset.git] / RELEASES.md
1 # Version 0.4.0 (2019-05-06)
2 * Removed outdated macros and attributes.
3 * All attributes for the custom derive are now written as `#[enumset(...)]`
4 * Implemented `#[enumset(serialize_deny_unknown)]`
5 * Implemented `#[enumset(serialize_repr="...")]`
6 * `#[derive(EnumSetType)]` now only implements `Copy`, `Clone`, `PartialEq` and `Eq` automatically.
7
8 # Version 0.3.19 (2019-05-02)
9 * Fix a bug when deserializing enums containing invalid bits set.
10
11 # Version 0.3.18 (2019-03-11)
12 * Fix an off-by-one error causing enums with 9, 17, 33, etc variants to behave
13   unexpectedly.
14
15 # Version 0.3.17 (2019-03-11)
16 * Add an `#[enumset_serialize_as_list]` attribute to cause the `Deserialize`
17   and `Serialize` implementations for `EnumSet<T>` to serialize it as a seq
18   of `T`s rather than an integer bitmask.
19
20 # Version 0.3.16 (2019-02-04)
21 * Added `Default` implementation for `EnumSet<T>` that returns an empty map.
22
23 # Version 0.3.15 (2019-01-08)
24 * Added optional `serde` support.
25
26 # Version 0.3.14 (2018-11-09)
27
28 * Deprecated the `enum_set_type!` macro in favor of a custom derive.
29 * Added a way to avoid the automatic operator overloads derived from
30   EnumSetTypes.
31 * Fixed a major issue that would have prevented `enumset` from being used in
32   `#[no_std]` crates.
33 * Minimum required version is now 1.30.0+. There should be no more need to bump
34   the minimum Rust version in the forseeable future.
35
36 # Prior versions
37
38 No release notes were kept for prior versions.