Debian Codegraph @

CHANGELOG.md

raw symbols SCIP
1 # Version 5.4.2
2
3 - Add spinlock implementation to intrusive.rs.
4 - Remove slab-based implementation of event-listener. #109
5 - Fix unbounded Send/Sync implementations on StackSlot. #163
6 - Misc. internal improvements.
7
8 # Version 5.4.1
9
10 - Fix a copy-paste error in `wait_timeout` docs (#152)
11
12 # Version 5.4.0
13
14 - Add a `no_std` implementation based on the `critical-section` crate, enabled
15 via the feature of the same name. (#148)
16
17 # Version 5.3.1
18
19 - Disable some optimizations that, in rare conditions, can cause race conditions
20 causing notifications to be dropped. (#139)
21 - Ensure the portable-atomic feature is set properly. (#134)
22 - Update `portable-atomic-util` to v0.2.0. (#132)
23 - Document the std feature. (#134)
24
25 # Version 5.3.0
26
27 - Add a `loom` implementation. This feature is unstable and is not semver-supported. (#126)
28 - Make the panic message for polling the `EventListener` after it has completed more clear. (#125)
29
30 # Version 5.2.0
31
32 - Make `StackSlot` `Sync`. (#121)
33
34 # Version 5.1.0
35
36 - Make `StackSlot` `Send`. (#119)
37
38 # Version 5.0.0
39
40 - **Breaking:** Rework the API to afford better usage. (#105)
41 - The heap-based API of the v2.x line is back.
42 - However, there is a stack-based API as an alternative.
43 - Add a way to get the total number of listeners. (#114)
44
45 # Version 4.0.3
46
47 - Relax MSRV to 1.60. (#110)
48
49 # Version 4.0.2
50
51 - Avoid spinning in `wait_deadline`. (#107)
52
53 # Version 4.0.1
54
55 - Fix a use-after-move error after an `EventListener` is assigned to listen to
56 another `Event`. (#101)
57
58 # Version 4.0.0
59
60 - **Breaking:** Fix a footgun in the `EventListener` type. `EventListener::new()`
61 now no longer takes an `&Event` as an argument, and `EventListener::listen()`
62 takes the `&Event` as an argument. Hopefully this should prevent `.await`ing
63 on a listener without making sure it's listening first. (#94)
64
65 # Version 3.1.0
66
67 - Implement `UnwindSafe` and `RefUnwindSafe` for `EventListener`. This was unintentionally removed in version 3 (#96).
68
69 # Version 3.0.1
70
71 - Emphasize that `listen()` must be called on `EventListener` in documentation. (#90)
72 - Write useful output in `fmt::Debug` implementations. (#86)
73
74 # Version 3.0.0
75
76 - Use the `parking` crate instead of threading APIs (#27)
77 - Bump MSRV to 1.59 (#71)
78 - **Breaking:** Make this crate `no_std`-compatible on `default-features = false`. (#34)
79 - Create a new `event-listener-strategy` crate for abstracting over blocking/non-blocking operations. (#49)
80 - **Breaking:** Change the `EventListener` API to be `!Unpin`. (#51)
81 - Enable a feature for the `portable-atomic` crate. (#53)
82 - **Breaking:** Add a `Notification` trait which is used to enable tagged events. (#52)
83 - Add an `is_notified()` method to `Event`. (#48)
84 - **Breaking:** Make it so `notify()` returns the number of listeners notified. (#57)
85
86 # Version 2.5.3
87
88 - Fix fence on x86 and miri.
89
90 # Version 2.5.2
91
92 - Fix stacked borrows violation when `-Zmiri-tag-raw-pointers` is enabled. (#24)
93
94 # Version 2.5.1
95
96 - Replace spinlock with a mutex.
97
98 # Version 2.5.0
99
100 - Add `EventListener::discard()`.
101
102 # Version 2.4.0
103
104 - `Event::new()` is now a const fn.
105
106 # Version 2.3.3
107
108 - Fix a bug in `List::insert()` that was causing deadlocks.
109
110 # Version 2.3.2
111
112 - Optimization: use a simple spinlock and cache an `Entry` for less allocation.
113
114 # Version 2.3.1
115
116 - Optimization: don't initialize `Inner` when notifying `Event`.
117
118 # Version 2.3.0
119
120 - Implement `UnwindSafe`/`RefUnwindSafe` for `Event`/`EventListener`.
121
122 # Version 2.2.1
123
124 - Always keep the last waker in `EventListener::poll()`.
125
126 # Version 2.2.0
127
128 - Add `EventListener::same_event()`.
129
130 # Version 2.1.0
131
132 - Add `EventListener::listens_to()`.
133
134 # Version 2.0.1
135
136 - Replace `usize::MAX` with `std::usize::MAX`.
137
138 # Version 2.0.0
139
140 - Remove `Event::notify_one()` and `Event::notify_all()`.
141 - Add `Event::notify_relaxed()` and `Event::notify_additional_relaxed()`.
142 - Dropped notified `EventListener` now notifies one *or* one additional listener.
143
144 # Version 1.2.0
145
146 - Add `Event::notify_additional()`.
147
148 # Version 1.1.2
149
150 - Change a `Relaxed` load to `Acquire` load.
151
152 # Version 1.1.1
153
154 - Fix a bug in `EventListener::wait_timeout()`.
155
156 # Version 1.1.0
157
158 - Add `EventListener::notify()`.
159
160 # Version 1.0.1
161
162 - Reduce the complexity of `notify_all()` from O(n) to amortized O(1).
163 - Fix a bug where entries were notified in wrong order.
164 - Add tests.
165
166 # Version 1.0.0
167
168 - Initial version.