From a12549859516b6854e267057413ce9fc4628381a Mon Sep 17 00:00:00 2001 From: John Nunley Date: Wed, 9 Aug 2023 19:15:28 -0700 Subject: [PATCH] v2.8.0 Signed-off-by: John Nunley --- CHANGELOG.md | 10 ++++++++++ Cargo.toml | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 63dbe13..3c15e21 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,13 @@ +# Version 2.8.0 + +- Fix a bug where the `SemaphoreGuard::acquire_arc` future would busy wait under certain conditions (#42). +- Add a `Semaphore::add_permits()` function to increase the number of available permits on the semaphore (#44). +- Make `RwLockReadGuard` covariant over its lifetime (#45) +- Add `RwLockReadGuardArc`, `RwLockWriteGuardArc`, and other reference counted guards for the `RwLock` type (#47). +- Loosen the `Send`/`Sync` bounds on certain future types (#48). +- 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. +- Fix a bug where this crate would not compile properly on `wasm64` (#51). + # Version 2.7.0 - Replace some `async` blocks with manual futures (#34) diff --git a/Cargo.toml b/Cargo.toml index 82ab302..86205d0 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,7 +3,7 @@ name = "async-lock" # When publishing a new version: # - Update CHANGELOG.md # - Create "v2.x.y" git tag -version = "2.7.0" +version = "2.8.0" authors = ["Stjepan Glavina "] edition = "2018" rust-version = "1.48"