diff --git a/CHANGELOG.md b/CHANGELOG.md index eea162e..ac08ed9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,7 +5,8 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -## [Unreleased] + +## [1.5.0] - 2025-06-08 ### Added - `no_drop` item-level option to `ZeroizeOnDrop` which does not implement @@ -140,7 +141,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added - Initial release. -[unreleased]: https://github.com/ModProg/derive-where/compare/v1.4.0...HEAD +[unreleased]: https://github.com/ModProg/derive-where/compare/v1.5.0...HEAD +[1.5.0]: https://github.com/ModProg/derive-where/compare/v1.4.0...v1.5.0 [1.4.0]: https://github.com/ModProg/derive-where/compare/v1.3.0...v1.4.0 [1.3.0]: https://github.com/ModProg/derive-where/compare/v1.2.7...v1.3.0 [1.2.7]: https://github.com/ModProg/derive-where/compare/v1.2.6...v1.2.7 diff --git a/Cargo.toml b/Cargo.toml index a7ad76b..ae1efc1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -15,7 +15,7 @@ name = "derive-where" readme = "README.md" repository = "https://github.com/ModProg/derive-where" rust-version = "1.57" -version = "1.4.0" +version = "1.5.0" [lib] proc-macro = true @@ -53,3 +53,19 @@ targets = [] [workspace.metadata.typos] default.extend-words.wheres = "wheres" + +[[package.metadata.release.pre-release-replacements]] +file = "CHANGELOG.md" +search = '## \[Unreleased\]' +replace = """ + +## [{{version}}] - {{date}}\ +""" + +[[package.metadata.release.pre-release-replacements]] +file = "CHANGELOG.md" +search = '\[unreleased\]: (.*)/(v.*)\.\.\.HEAD' +replace = """ +[unreleased]: $1/{{tag_name}}...HEAD +[{{version}}]: $1/$2...{{tag_name}}\ +"""