]> git.lizzy.rs Git - enumset.git/blob - RELEASES.md
Update documentation for change to EnumSet::insert.
[enumset.git] / RELEASES.md
1 # Version 0.4.5 (2020-02-19)
2 * Fixed a bug where compilation failed when the `serde` flag was enabled, and
3   another trait that defined `serialize` or `deserialize` was in scope.
4
5 # Version 0.4.4 (2019-10-12)
6 * Fixed a bug where `#[enumset(serialize_as_list)]` did not work when `Result`
7   is shadowed.
8
9 # Version 0.4.3 (2019-10-08)
10 * Implemented `Extend` and `FromIterator` for `EnumSet<T>`.
11
12 # Version 0.4.2 (2019-09-28)
13 * Fixed a bug preventing empty enums and enums with one value from compiling.
14
15 # Version 0.4.1 (2019-09-27)
16 * Fixed bug in `EnumSetIter::size_hint`.
17
18 # Version 0.4.0 (2019-05-06)
19 * Removed outdated macros and attributes.
20 * All attributes for the custom derive are now written as `#[enumset(...)]`
21 * Implemented `#[enumset(serialize_deny_unknown)]`
22 * Implemented `#[enumset(serialize_repr="...")]`
23 * `#[derive(EnumSetType)]` now only implements `Copy`, `Clone`, `PartialEq` and
24   `Eq` automatically.
25
26 # Version 0.3.19 (2019-05-02)
27 * Fix a bug when deserializing enums containing invalid bits set.
28
29 # Version 0.3.18 (2019-03-11)
30 * Fix an off-by-one error causing enums with 9, 17, 33, etc variants to behave
31   unexpectedly.
32
33 # Version 0.3.17 (2019-03-11)
34 * Add an `#[enumset_serialize_as_list]` attribute to cause the `Deserialize`
35   and `Serialize` implementations for `EnumSet<T>` to serialize it as a seq
36   of `T`s rather than an integer bitmask.
37
38 # Version 0.3.16 (2019-02-04)
39 * Added `Default` implementation for `EnumSet<T>` that returns an empty map.
40
41 # Version 0.3.15 (2019-01-08)
42 * Added optional `serde` support.
43
44 # Version 0.3.14 (2018-11-09)
45
46 * Deprecated the `enum_set_type!` macro in favor of a custom derive.
47 * Added a way to avoid the automatic operator overloads derived from
48   EnumSetTypes.
49 * Fixed a major issue that would have prevented `enumset` from being used in
50   `#[no_std]` crates.
51 * Minimum required version is now 1.30.0+. There should be no more need to
52   bump the minimum Rust version in the forseeable future.
53
54 # Prior versions
55
56 No release notes were kept for prior versions.