Debian Codegraph @

debian/rust-vendor/crossbeam-utils/CHANGELOG.md

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