Skip to content

Commit a40dfc7

Browse files
committed
docs: Update changelog
1 parent a877a73 commit a40dfc7

File tree

5 files changed

+41
-3
lines changed

5 files changed

+41
-3
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
77
<!-- next-header -->
88
## [Unreleased] - ReleaseDate
99

10+
### Compatibility
11+
12+
- `color` feature no longer conditionally applies color. Instead color will be applied when formatting as `{:#}`
13+
- `color-auto` feature was removed
14+
- Update MSRV to 1.64.0
15+
1016
## [2.1.5] - 2022-12-29
1117

1218
### Gixes

crates/core/CHANGELOG.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,14 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](http://keepachangelog.com/)
55
and this project adheres to [Semantic Versioning](http://semver.org/).
66

7-
## [Unreleased] - Unreleased
7+
<!-- next-header -->
8+
## [Unreleased] - ReleaseDate
9+
10+
### Compatibility
11+
12+
- Update MSRV to 1.64.0
13+
14+
## [1.0.5]
815

916
### Compatibility
1017

@@ -21,5 +28,6 @@ Update MSRV to 1.60
2128
### Changed
2229
- Predicates must also implement `PredicateReflection`
2330

31+
<!-- next-url -->
2432
[Unreleased]: https://github.com/assert-rs/predicates-rs/compare/v0.9.0...HEAD
2533
[0.9.0]: https://github.com/assert-rs/predicates-rs/compare/v0.5.2...v0.9.0

crates/core/Cargo.toml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,13 @@ license.workspace = true
1313
edition.workspace = true
1414
rust-version.workspace = true
1515
include.workspace = true
16+
17+
[package.metadata.release]
18+
pre-release-replacements = [
19+
{file="CHANGELOG.md", search="Unreleased", replace="{{version}}", min=1},
20+
{file="CHANGELOG.md", search="\\.\\.\\.HEAD", replace="...{{tag_name}}", exactly=1},
21+
{file="CHANGELOG.md", search="ReleaseDate", replace="{{date}}", min=1},
22+
{file="CHANGELOG.md", search="<!-- next-header -->", replace="<!-- next-header -->\n## [Unreleased] - ReleaseDate\n", exactly=1},
23+
{file="CHANGELOG.md", search="<!-- next-url -->", replace="<!-- next-url -->\n[Unreleased]: https://github.com/assert-rs/predicates-rs/compare/{{tag_name}}...HEAD", exactly=1},
24+
]
25+

crates/tree/CHANGELOG.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,15 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](http://keepachangelog.com/)
55
and this project adheres to [Semantic Versioning](http://semver.org/).
66

7-
## [Unreleased] - Unreleased
7+
<!-- next-header -->
8+
## [Unreleased] - ReleaseDate
89

910
### Compatibility
1011

11-
Update MSRV to 1.60
12+
- Updated to predicates v3
13+
- Update MSRV to 1.64.0
14+
15+
## [1.0.7]
1216

1317
### Fixes
1418

@@ -19,5 +23,6 @@ Update MSRV to 1.60
1923
### Added
2024
- Support for rendering a predicate as a tree.
2125

26+
<!-- next-url -->
2227
[Unreleased]: https://github.com/assert-rs/predicates-rs/compare/v0.9.0...HEAD
2328
[0.9.0]: https://github.com/assert-rs/predicates-rs/compare/v0.5.2...v0.9.0

crates/tree/Cargo.toml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,15 @@ edition.workspace = true
1414
rust-version.workspace = true
1515
include.workspace = true
1616

17+
[package.metadata.release]
18+
pre-release-replacements = [
19+
{file="CHANGELOG.md", search="Unreleased", replace="{{version}}", min=1},
20+
{file="CHANGELOG.md", search="\\.\\.\\.HEAD", replace="...{{tag_name}}", exactly=1},
21+
{file="CHANGELOG.md", search="ReleaseDate", replace="{{date}}", min=1},
22+
{file="CHANGELOG.md", search="<!-- next-header -->", replace="<!-- next-header -->\n## [Unreleased] - ReleaseDate\n", exactly=1},
23+
{file="CHANGELOG.md", search="<!-- next-url -->", replace="<!-- next-url -->\n[Unreleased]: https://github.com/assert-rs/predicates-rs/compare/{{tag_name}}...HEAD", exactly=1},
24+
]
25+
1726
[dependencies]
1827
predicates-core = { version = "1.0", path = "../core" }
1928
termtree = "0.4.1"

0 commit comments

Comments
 (0)