Skip to content

Commit 2a320d6

Browse files
dbantyGitHub
and
GitHub
authored
chore: prepare releases (#1132)
This PR was created by Knope. Merging it will create a new release --------- Co-authored-by: GitHub <[email protected]> Co-authored-by: Dylan Anthony <[email protected]>
1 parent 04d082f commit 2a320d6

14 files changed

+53
-59
lines changed

.changeset/add_handling_of_changes_conventional_commits_changesets.md

-5
This file was deleted.

.changeset/everything_has_changed.md

-7
This file was deleted.

.changeset/forge_date_now_matches_changelog_date.md

-9
This file was deleted.

.changeset/initial_release.md

-5
This file was deleted.

.changeset/match_scope_filtering_behavior_to_docs.md

-12
This file was deleted.

.changeset/properly_use_case_insensitivity_when_checking_conventional_commits.md

-10
This file was deleted.

CHANGELOG.md

+26
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,32 @@ The results are changes to the current directory, calls to external commands, an
1010
Notably, anything written to standard output or standard error
1111
(what you see in the terminal) is _not_ considered part of the public API and may change between any versions.
1212

13+
## 0.17.0 (2024-08-04)
14+
15+
### Breaking Changes
16+
17+
#### Forge date now matches CHANGELOG date
18+
19+
If you prepare a release and generate a changelog Markdown file in one workflow, then create a forge release in a
20+
separate workflow, the forge release date will now match the changelog date (if any). Previously, the forge release got
21+
the current date (at the time of running the workflow).
22+
23+
#### Match scope-filtering behavior to docs
24+
25+
The docs state, in regard to a `package.scopes` config, "if not defined, Knope will consider all scopes."
26+
27+
This is the intended behavior, but wasn't true until now. The actual behavior, for multi-package repos, was that if
28+
_any_ package had scopes defined, _all_ would start filtering scopes.
29+
30+
This has been corrected, packages are now more independent in their scope filtering behavior.
31+
32+
#### Properly use case insensitivity when checking conventional commits
33+
34+
Per the [conventional commits spec](https://www.conventionalcommits.org/en/v1.0.0/#specification) all units of a
35+
conventional commit are case-insensitive.
36+
Until now, Knope was treating commit footers and scopes as case-sensitive. This has been corrected, which may result
37+
in different behavior for some projects.
38+
1339
## 0.16.2 (2024-04-14)
1440

1541
### Features

Cargo.lock

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ strip = true
99
[workspace.dependencies]
1010
changesets = { version = "0.3.0" }
1111
itertools = "0.13.0"
12+
knope-versioning = { path = "crates/knope-versioning", version = "0.1.0" }
1213
miette = "7.2.0"
1314
relative-path = { version = "1.9.3", features = ["serde"] }
1415
serde = { version = "1.0.200", features = ["derive"] }

crates/knope-config/CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
## 0.0.1 (2024-08-04)
2+
3+
### Features
4+
5+
- Initial release

crates/knope-config/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "knope-config"
33
description = "A library for handling common configuration of Knope"
4-
version = "0.0.0"
4+
version = "0.0.1"
55
authors = ["Dylan Anthony <[email protected]>"]
66
edition = "2021"
77
license = "MIT"
@@ -10,7 +10,7 @@ rust-version = "1.71.1"
1010
readme = "README.md"
1111

1212
[dependencies]
13-
knope-versioning = { path = "../knope-versioning", version = "0.0.1" }
13+
knope-versioning = { workspace = true }
1414
relative-path = { workspace = true }
1515
serde = { workspace = true, features = ["derive"] }
1616
thiserror = { workspace = true }

crates/knope-versioning/CHANGELOG.md

+12
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
## 0.1.0 (2024-08-04)
2+
3+
### Breaking Changes
4+
5+
#### Everything has changed
6+
7+
And hopefully it won't break anyone since this crate isn't ready for external consumers yet!
8+
9+
### Features
10+
11+
- Add handling of changes (conventional commits, changesets)
12+
113
## 0.0.1 (2024-04-14)
214

315
### Features

crates/knope-versioning/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "knope-versioning"
33
description = "A library for handling all the versioned files supported by Knope"
4-
version = "0.0.1"
4+
version = "0.1.0"
55
authors = ["Dylan Anthony <[email protected]>"]
66
edition = "2021"
77
license = "MIT"

crates/knope/Cargo.toml

+3-5
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "knope"
33
description = "A command line tool for automating common development tasks"
4-
version = "0.16.2"
4+
version = "0.17.0"
55
authors = ["Dylan Anthony <[email protected]>"]
66
edition = "2021"
77
license = "MIT"
@@ -30,10 +30,8 @@ inquire = { version = "0.7.5", default-features = false, features = [
3030
"crossterm",
3131
] }
3232
itertools = { workspace = true }
33-
knope-config = { path = "../knope-config", version = "0.0.0" }
34-
knope-versioning = { path = "../knope-versioning", version = "0.0.1", features = [
35-
"miette",
36-
] }
33+
knope-config = { path = "../knope-config", version = "0.0.1" }
34+
knope-versioning = { workspace = true, features = ["miette"] }
3735
miette = { workspace = true, features = ["fancy"] }
3836
platform-dirs = "0.3.0"
3937
relative-path = { workspace = true }

0 commit comments

Comments
 (0)