Skip to content

Commit

Permalink
Release 0.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
oblique committed Feb 28, 2024
1 parent 4e9f9c7 commit 41a58ff
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 12 deletions.
34 changes: 23 additions & 11 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,34 +7,46 @@ 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` ([#10](https://github.com/oblique/named-lock/pull/10))

## [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

## [0.2.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
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "named-lock"
version = "0.3.0"
version = "0.4.0"
authors = ["oblique <[email protected]>"]
edition = "2018"
license = "MIT"
Expand Down

0 comments on commit 41a58ff

Please sign in to comment.