Skip to content

Commit

Permalink
release: v0.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
pedromfedricci committed Jul 29, 2024
1 parent 628c974 commit ff456f5
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 8 deletions.
44 changes: 39 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,31 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

[Unreleased]: https://github.com/pedromfedricci/mcslock/compare/v0.2.0..HEAD
[Unreleased]: https://github.com/pedromfedricci/mcslock/compare/v0.3.0..HEAD

## [0.2.0] - 2024-04-09
## [0.3.0] - 2024-07-29

### 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]).

[#14]: https://github.com/pedromfedricci/mcslock/pull/14
[#15]: https://github.com/pedromfedricci/mcslock/pull/15
[#16]: https://github.com/pedromfedricci/mcslock/pull/16

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

### Yanked

- Please use 0.3.0, see [#14].

### Added

Expand All @@ -23,7 +45,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

[#12]: https://github.com/pedromfedricci/mcslock/pull/12

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

### Yanked

- Please use 0.3.0, see [#11] and [#14].

### Added

Expand All @@ -37,7 +63,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

[`fda47a7`]: https://github.com/pedromfedricci/mcslock/commit/fda47a7195d0a74f215cfa8fd0d41f1ffd0c9bea

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

### Yanked

- Please use 0.3.0, see [#11] and [#14].

### Added

Expand All @@ -46,7 +76,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

[#9]: https://github.com/pedromfedricci/mcslock/pull/9

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

### Yanked

- Please use 0.3.0, see [#11] and [#14].

### Added

Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ An implementation of Mellor-Crummey and Scott contention-free
spin-lock for mutual exclusion, referred to as MCS lock.
"""
name = "mcslock"
version = "0.2.0"
version = "0.3.0"
edition = "2021"
# NOTE: Rust 1.65 is required for GATs and let-else statements.
rust-version = "1.65.0"
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ Or add a entry under the `[dependencies]` section in your `Cargo.toml`:

[dependencies]
# Available features: `yield`, `barging`, `thread_local` and `lock_api`.
mcslock = { version = "0.2", features = ["barging"] }
mcslock = { version = "0.3", features = ["barging"] }
```

## Documentation
Expand Down Expand Up @@ -218,7 +218,7 @@ Licensed under either of
- Apache License, Version 2.0 ([LICENSE-APACHE](LICENSE-APACHE) or <http://apache.org/licenses/LICENSE-2.0>)
- MIT license ([LICENSE-MIT](LICENSE-MIT) or <http://opensource.org/licenses/MIT>)

## Contribution
## Contributing

Unless you explicitly state otherwise, any contribution intentionally submitted
for inclusion in the work by you, as defined in the Apache-2.0 license, shall
Expand Down

0 comments on commit ff456f5

Please sign in to comment.