]> git.lizzy.rs Git - enumset.git/blobdiff - RELEASES.md
Bump version to 1.0.9
[enumset.git] / RELEASES.md
index e7ce84a03787ea33a05159098d09b130c237b40a..d69194def0b0f5e75895c910e5e826f219c1560e 100644 (file)
@@ -1,3 +1,35 @@
+# Version 1.0.9 (2022-04-04)
+* Disable unused default features for the `darling` crate. (Thanks @glandium)
+* Add a new `#[enumset(no_super_impls)]` feature which prevents
+  `#[derive(EnumSetType)]` from automatically generating implementations of
+  `Copy`, `Clone`, `Eq`, or `PartialEq`. (Thanks @ahcodedthat)
+* Suppressed several clippy warnings.
+* Implemented `DoubleEndedIterator` for `EnumSetIter`.
+* `#[derive(EnumSetType)]` now uses `proc-macro-crate` to find the path of the
+  `enumset` crate instead of relying on the user to manually specify it, 
+  making it easier to use when the crate has been renamed via cargo.
+* Minimum required Rust version is now 1.36+, due to updates in dependencies.
+
+# Version 1.0.8 (2021-11-04)
+* Optimized `EnumSet` iteration. (Thanks @MinusKelvin)
+
+# Version 1.0.7 (2021-07-05)
+* Added the `#[repr(transparent)]` flag to `EnumSet<T>` to allow for safe usage
+  in FFI code. Note that invalid bits being set in the bitset causes UB, so
+  this should be done with care. (Thanks @Riey)
+
+# Version 1.0.6 (2021-02-27)
+* Fix an unneeded warning in the output for `enum_set!` for a single value.
+
+# Version 1.0.5 (2021-02-24)
+* Implemented `core::iter::Sum` for `EnumSet<T>`.
+* Properly acknowledge that the minimum required Rust version is actually 1.34+
+  and not 1.31+. An retroactive changelog entry has been added to 1.0.0.
+
+# Version 1.0.4 (2021-02-07)
+* Fixes a bug that caused `enumset_derive` to require an import of `EnumSet`
+  in the scope to function.
+
 # Version 1.0.3 (2021-01-27)
 * (This version contains no code changes.)
 * Redirected badges in the README to point at travis-ci.com instead of .org
 
 # Version 1.0.2 (2021-01-25)
 * Fixed critical error compiling on newer versions of `syn` caused by a
-  mistaken import from a private module.
+  mistaken import from a private module. (Thanks @ocboogie)
 
 # Version 1.0.1 (2020-08-09)
-* Implemented `ExactSizeIterator` for `EnumSetIter`.
+* Implemented `ExactSizeIterator` for `EnumSetIter`. (Thanks @dmarcuse)
 
 # Version 1.0.0 (2020-04-06)
 
@@ -21,6 +53,7 @@
 * `EnumSet::bit_width` and `EnumSet::variant_count` now return a `u32` instead
   of a `u8` for future-proofing.
 * Removed `nightly` feature flag, as it is no longer required.
+* Minimum required Rust version is now 1.34+.
 
 ## New features
 * Added a series of functions like `as_u128`/`from_u128` for other unsigned
@@ -30,7 +63,7 @@
 * Added variants of `as_u128`/`from_u128` that truncate unknown bits instead
   of panicking.
 * Implemented `Extend<EnumSet<T>>` and `FromIterator<EnumSet<T>>` for
-  `EnumSet<T>`.
+  `EnumSet<T>`. (Thanks @manuthambi)
 * Added an `#[enumset(crate_name = "renamed_enumset")]` annotation for
   handling renamed crates.
 
@@ -54,7 +87,7 @@
 * Fixed a bug preventing empty enums and enums with one value from compiling.
 
 # Version 0.4.1 (2019-09-27)
-* Fixed bug in `EnumSetIter::size_hint`.
+* Fixed bug in `EnumSetIter::size_hint`. (Thanks @manuthambi)
 
 # Version 0.4.0 (2019-05-06)
 * Removed outdated macros and attributes.
 
 # Version 0.3.16 (2019-02-04)
 * Added `Default` implementation for `EnumSet<T>` that returns an empty map.
+  (Thanks @boxdot)
 
 # Version 0.3.15 (2019-01-08)
 * Added optional `serde` support.