Skip to content

Latest commit

 

History

History
115 lines (67 loc) · 3.41 KB

CHANGELOG.md

File metadata and controls

115 lines (67 loc) · 3.41 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[0.4.0] - 2024-11-04

  • This version introduces breaking changes to fix a safety issue with the current API, see: #17.

Changed [BREAKING]

  • Remove raw::MutexGuard type, raw::Mutex::lock and raw::Mutex::try_lock methods (#17)
  • Rename raw::Mutex::lock_with method to raw::Mutex::lock_then (#17)
  • Rename raw::Mutex::try_lock_with method to raw::Mutex::try_lock_then (#17)
  • Rename raw::Mutex::lock_with_local method to raw::Mutex::lock_with_local_then (#17)
  • Rename raw::Mutex::lock_with_local_unchecked method to raw::Mutex::lock_with_local_then_unchecked (#17)
  • Rename raw::Mutex::try_lock_with_local method to raw::Mutex::try_lock_with_local_then (#17)
  • Rename raw::Mutex::try_lock_with_local_unchecked method to raw::Mutex::try_lock_with_local_then_unchecked (#17)
  • Rename barging::Mutex::lock_with method to barging::Mutex::lock_then (#17)
  • Rename barging::Mutex::try_lock_with method to barging::Mutex::try_lock_then (#17)
  • Change closure parameters of raw::Mutex's then (previous with) locking methods from MutexGuard to &mut T (#17)

Added

  • Add new raw::Mutex::lock_with_then method #17
  • Add new raw::Mutex::try_lock_with_then method #17

[0.3.0] - 2024-07-29 [YANKED]

Yanked

  • Please use 0.4.0, see #17.

Changed

  • BREAKING: Require unsafe for Relax. Relax no longer requires Default. Relax now requires implementing the new function. All types under the relax module no longer implement Default (#14).

  • BREAKING: barging::Mutex has now two generic parameters for relax strategies as oppose to one: Rs and Rq (#15).

  • BREAKING: The root level lock_api module has been moved under the barging module (#16).

[0.2.0] - 2024-04-09 [YANKED]

Yanked

  • Please use 0.3.0, see #14.

Added

  • BREAKING: Add new thread_local locking design (#11).

Removed

  • BREAKING: Remove MutexNode reexports (#12).

[0.1.2] - 2024-03-24 [YANKED]

Yanked

  • Please use 0.3.0, see #11 and #14.

Added

  • Add Default impl for MutexNode (#10).

Fixed

  • Unbound R from Send/Sync when implementing Send/Sync (fda47a7).

[0.1.1] - 2024-01-05 [YANKED]

Yanked

  • Please use 0.3.0, see #11 and #14.

Added

  • New unchecked locking APIs for thread_local::Mutex (#9).
  • Track caller location when thread_local::Mutex panics (#9).

[0.1.0] - 2023-12-14 [YANKED]

Yanked

  • Please use 0.3.0, see #11 and #14.

Added

  • Initial release.