Skip to content

Commit a125498

Browse files
authored
v2.8.0
Signed-off-by: John Nunley <[email protected]>
1 parent 8045684 commit a125498

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
# Version 2.8.0
2+
3+
- Fix a bug where the `SemaphoreGuard::acquire_arc` future would busy wait under certain conditions (#42).
4+
- Add a `Semaphore::add_permits()` function to increase the number of available permits on the semaphore (#44).
5+
- Make `RwLockReadGuard` covariant over its lifetime (#45)
6+
- Add `RwLockReadGuardArc`, `RwLockWriteGuardArc`, and other reference counted guards for the `RwLock` type (#47).
7+
- Loosen the `Send`/`Sync` bounds on certain future types (#48).
8+
- Fix UB caused by the `MutexGuardArc::source` function allowing the user to drop an object in a different thread than the one it was acquired in (#50). This is a breaking change, but in the name of soundness. Therefore it doesn't break any valid behavior.
9+
- Fix a bug where this crate would not compile properly on `wasm64` (#51).
10+
111
# Version 2.7.0
212

313
- Replace some `async` blocks with manual futures (#34)

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "async-lock"
33
# When publishing a new version:
44
# - Update CHANGELOG.md
55
# - Create "v2.x.y" git tag
6-
version = "2.7.0"
6+
version = "2.8.0"
77
authors = ["Stjepan Glavina <[email protected]>"]
88
edition = "2018"
99
rust-version = "1.48"

0 commit comments

Comments
 (0)