diff --git a/CHANGELOG.md b/CHANGELOG.md index bb403ab..8e8d5fe 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,11 +7,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [unreleased] +## [0.4.0] + +### Changed + +- `NamedLockGuard` is now an owned and sendable type ([#9](https://github.com/oblique/named-lock/pull/9)) +- Migrate from `winapi` to `windows-rs` + ## [0.3.0] ### Changed -- `NamedLock::create` now rejects names that contain `\0` character ([#5]) +- `NamedLock::create` now rejects names that contain `\0` character ([#5](https://github.com/oblique/named-lock/issues/5)) - `NamedLock::create` now rejects empty names - Upgrade all dependencies @@ -19,22 +26,27 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added -- Added `NamedLock::with_path` on UNIX ([#2], [#4]) +- Added `NamedLock::with_path` on UNIX ( + [#2](https://github.com/oblique/named-lock/issues/2), + [#4](https://github.com/oblique/named-lock/issues/4) + ) ### Changed -- `NamedLock::create` on UNIX respects `TMPDIR` environment variable ([#1], [#4]) -- `NamedLock::create` now rejects names that contain `/` or `\` characters ([#2], [#4]) +- `NamedLock::create` on UNIX respects `TMPDIR` environment variable ( + [#1](https://github.com/oblique/named-lock/issues/1), + [#2](https://github.com/oblique/named-lock/issues/2) + ) +- `NamedLock::create` now rejects names that contain `/` or `\` characters ( + [#2](https://github.com/oblique/named-lock/issues/2), + [#4](https://github.com/oblique/named-lock/issues/4) + ) - `NamedLock::create` on Windows explicitly creates a global mutex - `Error::CreateFailed` now has the source of the error - Upgrade all dependencies -[unreleased]: https://github.com/oblique/named-lock/compare/0.3.0...HEAD -[0.2.0]: https://github.com/oblique/named-lock/compare/0.1.1...0.2.0 +[unreleased]: https://github.com/oblique/named-lock/compare/0.4.0...HEAD +[0.4.0]: https://github.com/oblique/named-lock/compare/0.3.0...0.4.0 [0.3.0]: https://github.com/oblique/named-lock/compare/0.2.0...0.3.0 - -[#5]: https://github.com/oblique/named-lock/issues/5 -[#4]: https://github.com/oblique/named-lock/issues/4 -[#2]: https://github.com/oblique/named-lock/issues/2 -[#1]: https://github.com/oblique/named-lock/issues/1 +[0.2.0]: https://github.com/oblique/named-lock/compare/0.1.1...0.2.0 diff --git a/Cargo.toml b/Cargo.toml index d38053d..3cd738f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "named-lock" -version = "0.3.0" +version = "0.4.0" authors = ["oblique "] edition = "2018" license = "MIT"