| 1 | # Version 0.8.21 |
| 2 | |
| 3 | - Improve implementation of `CachePadded`. (#1152) |
| 4 | |
| 5 | # Version 0.8.20 |
| 6 | |
| 7 | - Implement `Display` for `CachePadded`. (#1097) |
| 8 | |
| 9 | # Version 0.8.19 |
| 10 | |
| 11 | - Remove dependency on `cfg-if`. (#1072) |
| 12 | |
| 13 | # Version 0.8.18 |
| 14 | |
| 15 | - Relax the minimum supported Rust version to 1.60. (#1056) |
| 16 | - Improve scalability of `AtomicCell` fallback. (#1055) |
| 17 | |
| 18 | # Version 0.8.17 |
| 19 | |
| 20 | - Bump the minimum supported Rust version to 1.61. (#1037) |
| 21 | - Improve support for targets without atomic CAS or 64-bit atomic. (#1037) |
| 22 | - Always implement `UnwindSafe` and `RefUnwindSafe` for `AtomicCell`. (#1045) |
| 23 | - Improve compatibility with Miri, TSan, and loom. (#995, #1003) |
| 24 | - Improve compatibility with unstable `oom=panic`. (#1045) |
| 25 | - Improve implementation of `CachePadded`. (#1014, #1025) |
| 26 | - Update `loom` dependency to 0.7. |
| 27 | |
| 28 | # Version 0.8.16 |
| 29 | |
| 30 | - Improve implementation of `CachePadded`. (#967) |
| 31 | |
| 32 | # Version 0.8.15 |
| 33 | |
| 34 | - Add `#[clippy::has_significant_drop]` to `ShardedLock{Read,Write}Guard`. (#958) |
| 35 | - Improve handling of very large timeout. (#953) |
| 36 | - Soft-deprecate `thread::scope()` in favor of the more efficient `std::thread::scope` that stabilized in Rust 1.63. (#954) |
| 37 | |
| 38 | # Version 0.8.14 |
| 39 | |
| 40 | - Fix build script bug introduced in 0.8.13. (#932) |
| 41 | |
| 42 | # Version 0.8.13 |
| 43 | |
| 44 | **Note:** This release has been yanked due to regression fixed in 0.8.14. |
| 45 | |
| 46 | - Improve support for custom targets. (#922) |
| 47 | |
| 48 | # Version 0.8.12 |
| 49 | |
| 50 | - Removes the dependency on the `once_cell` crate to restore the MSRV. (#913) |
| 51 | - Work around [rust-lang#98302](https://github.com/rust-lang/rust/issues/98302), which causes compile error on windows-gnu when LTO is enabled. (#913) |
| 52 | |
| 53 | # Version 0.8.11 |
| 54 | |
| 55 | - Bump the minimum supported Rust version to 1.38. (#877) |
| 56 | |
| 57 | # Version 0.8.10 |
| 58 | |
| 59 | - Fix unsoundness of `AtomicCell` on types containing niches. (#834) |
| 60 | This fix contains breaking changes, but they are allowed because this is a soundness bug fix. See #834 for more. |
| 61 | |
| 62 | # Version 0.8.9 |
| 63 | |
| 64 | - Replace lazy_static with once_cell. (#817) |
| 65 | |
| 66 | # Version 0.8.8 |
| 67 | |
| 68 | - Fix a bug when unstable `loom` support is enabled. (#787) |
| 69 | |
| 70 | # Version 0.8.7 |
| 71 | |
| 72 | - Add `AtomicCell<{i*,u*}>::{fetch_max,fetch_min}`. (#785) |
| 73 | - Add `AtomicCell<{i*,u*,bool}>::fetch_nand`. (#785) |
| 74 | - Fix unsoundness of `AtomicCell<{i,u}64>` arithmetics on 32-bit targets that support `Atomic{I,U}64` (#781) |
| 75 | |
| 76 | # Version 0.8.6 |
| 77 | |
| 78 | **Note:** This release has been yanked. See [GHSA-qc84-gqf4-9926](https://github.com/crossbeam-rs/crossbeam/security/advisories/GHSA-qc84-gqf4-9926) for details. |
| 79 | |
| 80 | - Re-add `AtomicCell<{i,u}64>::{fetch_add,fetch_sub,fetch_and,fetch_or,fetch_xor}` that were accidentally removed in 0.8.0 on targets that do not support `Atomic{I,U}64`. (#767) |
| 81 | - Re-add `AtomicCell<{i,u}128>::{fetch_add,fetch_sub,fetch_and,fetch_or,fetch_xor}` that were accidentally removed in 0.8.0. (#767) |
| 82 | |
| 83 | # Version 0.8.5 |
| 84 | |
| 85 | **Note:** This release has been yanked. See [GHSA-qc84-gqf4-9926](https://github.com/crossbeam-rs/crossbeam/security/advisories/GHSA-qc84-gqf4-9926) for details. |
| 86 | |
| 87 | - Add `AtomicCell::fetch_update`. (#704) |
| 88 | - Support targets that do not have atomic CAS on stable Rust. (#698) |
| 89 | |
| 90 | # Version 0.8.4 |
| 91 | |
| 92 | **Note:** This release has been yanked. See [GHSA-qc84-gqf4-9926](https://github.com/crossbeam-rs/crossbeam/security/advisories/GHSA-qc84-gqf4-9926) for details. |
| 93 | |
| 94 | - Bump `loom` dependency to version 0.5. (#686) |
| 95 | |
| 96 | # Version 0.8.3 |
| 97 | |
| 98 | **Note:** This release has been yanked. See [GHSA-qc84-gqf4-9926](https://github.com/crossbeam-rs/crossbeam/security/advisories/GHSA-qc84-gqf4-9926) for details. |
| 99 | |
| 100 | - Make `loom` dependency optional. (#666) |
| 101 | |
| 102 | # Version 0.8.2 |
| 103 | |
| 104 | **Note:** This release has been yanked. See [GHSA-qc84-gqf4-9926](https://github.com/crossbeam-rs/crossbeam/security/advisories/GHSA-qc84-gqf4-9926) for details. |
| 105 | |
| 106 | - Deprecate `AtomicCell::compare_and_swap`. Use `AtomicCell::compare_exchange` instead. (#619) |
| 107 | - Add `Parker::park_deadline`. (#563) |
| 108 | - Improve implementation of `CachePadded`. (#636) |
| 109 | - Add unstable support for `loom`. (#487) |
| 110 | |
| 111 | # Version 0.8.1 |
| 112 | |
| 113 | **Note:** This release has been yanked. See [GHSA-qc84-gqf4-9926](https://github.com/crossbeam-rs/crossbeam/security/advisories/GHSA-qc84-gqf4-9926) for details. |
| 114 | |
| 115 | - Make `AtomicCell::is_lock_free` always const fn. (#600) |
| 116 | - Fix a bug in `seq_lock_wide`. (#596) |
| 117 | - Remove `const_fn` dependency. (#600) |
| 118 | - `crossbeam-utils` no longer fails to compile if unable to determine rustc version. Instead, it now displays a warning. (#604) |
| 119 | |
| 120 | # Version 0.8.0 |
| 121 | |
| 122 | **Note:** This release has been yanked. See [GHSA-qc84-gqf4-9926](https://github.com/crossbeam-rs/crossbeam/security/advisories/GHSA-qc84-gqf4-9926) for details. |
| 123 | |
| 124 | - Bump the minimum supported Rust version to 1.36. |
| 125 | - Remove deprecated `AtomicCell::get_mut()` and `Backoff::is_complete()` methods. |
| 126 | - Remove `alloc` feature. |
| 127 | - Make `CachePadded::new()` const function. |
| 128 | - Make `AtomicCell::is_lock_free()` const function at 1.46+. |
| 129 | - Implement `From<T>` for `AtomicCell<T>`. |
| 130 | |
| 131 | # Version 0.7.2 |
| 132 | |
| 133 | - Fix bug in release (yanking 0.7.1) |
| 134 | |
| 135 | # Version 0.7.1 |
| 136 | |
| 137 | - Bump `autocfg` dependency to version 1.0. (#460) |
| 138 | - Make `AtomicCell` lockfree for u8, u16, u32, u64 sized values at 1.34+. (#454) |
| 139 | |
| 140 | # Version 0.7.0 |
| 141 | |
| 142 | - Bump the minimum required version to 1.28. |
| 143 | - Fix breakage with nightly feature due to rust-lang/rust#65214. |
| 144 | - Apply `#[repr(transparent)]` to `AtomicCell`. |
| 145 | - Make `AtomicCell::new()` const function at 1.31+. |
| 146 | |
| 147 | # Version 0.6.6 |
| 148 | |
| 149 | - Add `UnwindSafe` and `RefUnwindSafe` impls for `AtomicCell`. |
| 150 | - Add `AtomicCell::as_ptr()`. |
| 151 | - Add `AtomicCell::take()`. |
| 152 | - Fix a bug in `AtomicCell::compare_exchange()` and `AtomicCell::compare_and_swap()`. |
| 153 | - Various documentation improvements. |
| 154 | |
| 155 | # Version 0.6.5 |
| 156 | |
| 157 | - Rename `Backoff::is_complete()` to `Backoff::is_completed()`. |
| 158 | |
| 159 | # Version 0.6.4 |
| 160 | |
| 161 | - Add `WaitGroup`, `ShardedLock`, and `Backoff`. |
| 162 | - Add `fetch_*` methods for `AtomicCell<i128>` and `AtomicCell<u128>`. |
| 163 | - Expand documentation. |
| 164 | |
| 165 | # Version 0.6.3 |
| 166 | |
| 167 | - Add `AtomicCell`. |
| 168 | - Improve documentation. |
| 169 | |
| 170 | # Version 0.6.2 |
| 171 | |
| 172 | - Add `Parker`. |
| 173 | - Improve documentation. |
| 174 | |
| 175 | # Version 0.6.1 |
| 176 | |
| 177 | - Fix a soundness bug in `Scope::spawn()`. |
| 178 | - Remove the `T: 'scope` bound on `ScopedJoinHandle`. |
| 179 | |
| 180 | # Version 0.6.0 |
| 181 | |
| 182 | - Move `AtomicConsume` to `atomic` module. |
| 183 | - `scope()` returns a `Result` of thread joins. |
| 184 | - Remove `spawn_unchecked`. |
| 185 | - Fix a soundness bug due to incorrect lifetimes. |
| 186 | - Improve documentation. |
| 187 | - Support nested scoped spawns. |
| 188 | - Implement `Copy`, `Hash`, `PartialEq`, and `Eq` for `CachePadded`. |
| 189 | - Add `CachePadded::into_inner()`. |
| 190 | |
| 191 | # Version 0.5.0 |
| 192 | |
| 193 | - Reorganize sub-modules and rename functions. |
| 194 | |
| 195 | # Version 0.4.1 |
| 196 | |
| 197 | - Fix a documentation link. |
| 198 | |
| 199 | # Version 0.4.0 |
| 200 | |
| 201 | - `CachePadded` supports types bigger than 64 bytes. |
| 202 | - Fix a bug in scoped threads where unitialized memory was being dropped. |
| 203 | - Minimum required Rust version is now 1.25. |
| 204 | |
| 205 | # Version 0.3.2 |
| 206 | |
| 207 | - Mark `load_consume` with `#[inline]`. |
| 208 | |
| 209 | # Version 0.3.1 |
| 210 | |
| 211 | - `load_consume` on ARM and AArch64. |
| 212 | |
| 213 | # Version 0.3.0 |
| 214 | |
| 215 | - Add `join` for scoped thread API. |
| 216 | - Add `load_consume` for atomic load-consume memory ordering. |
| 217 | - Remove `AtomicOption`. |
| 218 | |
| 219 | # Version 0.2.2 |
| 220 | |
| 221 | - Support Rust 1.12.1. |
| 222 | - Call `T::clone` when cloning a `CachePadded<T>`. |
| 223 | |
| 224 | # Version 0.2.1 |
| 225 | |
| 226 | - Add `use_std` feature. |
| 227 | |
| 228 | # Version 0.2.0 |
| 229 | |
| 230 | - Add `nightly` feature. |
| 231 | - Use `repr(align(64))` on `CachePadded` with the `nightly` feature. |
| 232 | - Implement `Drop` for `CachePadded<T>`. |
| 233 | - Implement `Clone` for `CachePadded<T>`. |
| 234 | - Implement `From<T>` for `CachePadded<T>`. |
| 235 | - Implement better `Debug` for `CachePadded<T>`. |
| 236 | - Write more tests. |
| 237 | - Add this changelog. |
| 238 | - Change cache line length to 64 bytes. |
| 239 | - Remove `ZerosValid`. |
| 240 | |
| 241 | # Version 0.1.0 |
| 242 | |
| 243 | - Old implementation of `CachePadded` from `crossbeam` version 0.3.0 |