Skip to content

Commit 4c6ba9f

Browse files
Release packages (#1748)
> [!IMPORTANT] > Merging this pull request will create these releases # knope 0.22.2 (2026-02-03) ## Features ### Add `[changes]` config section with `ignore_conventional_commits` setting Adds a new top-level `[changes]` configuration section to control how Knope processes changes. The first setting in this section is `ignore_conventional_commits`, which when set to `true`, makes Knope ignore conventional commits and only use changesets for determining version bumps and changelog entries. This replaces the deprecated step-level `ignore_conventional_commits` option on the `PrepareRelease` step. Use `knope --upgrade` to automatically migrate from the old format to the new one. **Example configuration:** ```toml [changes] ignore_conventional_commits = true [package] versioned_files = ["Cargo.toml"] changelog = "CHANGELOG.md" ``` See the [changes config documentation](https://knope.tech/reference/config-file/changes) for more details. ## Fixes - add help text to release and document-change workflows # config 0.4.1 (2026-02-03) ## Features ### Add `[changes]` config section with `ignore_conventional_commits` setting Adds a new top-level `[changes]` configuration section to control how Knope processes changes. The first setting in this section is `ignore_conventional_commits`, which when set to `true`, makes Knope ignore conventional commits and only use changesets for determining version bumps and changelog entries. This replaces the deprecated step-level `ignore_conventional_commits` option on the `PrepareRelease` step. Use `knope --upgrade` to automatically migrate from the old format to the new one. **Example configuration:** ```toml [changes] ignore_conventional_commits = true [package] versioned_files = ["Cargo.toml"] changelog = "CHANGELOG.md" ``` See the [changes config documentation](https://knope.tech/reference/config-file/changes) for more details. Co-authored-by: knope-bot-test[bot] <150975753+knope-bot-test[bot]@users.noreply.github.com>
1 parent 59b24b4 commit 4c6ba9f

11 files changed

Lines changed: 62 additions & 40 deletions

.changeset/add_changes_config_section.md

Lines changed: 0 additions & 23 deletions
This file was deleted.

.changeset/add_help_text_to_release_and_document_change_workflows.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,33 @@ 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.22.2 (2026-02-03)
14+
15+
### Features
16+
17+
#### Add `[changes]` config section with `ignore_conventional_commits` setting
18+
19+
Adds a new top-level `[changes]` configuration section to control how Knope processes changes. The first setting in this section is `ignore_conventional_commits`, which when set to `true`, makes Knope ignore conventional commits and only use changesets for determining version bumps and changelog entries.
20+
21+
This replaces the deprecated step-level `ignore_conventional_commits` option on the `PrepareRelease` step. Use `knope --upgrade` to automatically migrate from the old format to the new one.
22+
23+
**Example configuration:**
24+
25+
```toml
26+
[changes]
27+
ignore_conventional_commits = true
28+
29+
[package]
30+
versioned_files = ["Cargo.toml"]
31+
changelog = "CHANGELOG.md"
32+
```
33+
34+
See the [changes config documentation](https://knope.tech/reference/config-file/changes) for more details.
35+
36+
### Fixes
37+
38+
- add help text to release and document-change workflows
39+
1340
## 0.22.1 (2026-01-20)
1441

1542
### Features

Cargo.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
token: ${{ secrets.PAT }}
4343
- uses: knope-dev/action@v2.1.0 # Install Knope
4444
with:
45-
version: 0.22.1
45+
version: 0.22.2
4646
- run: knope release
4747
env:
4848
GITHUB_TOKEN: ${{ secrets.PAT }}

crates/knope-config/CHANGELOG.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,26 @@
1+
## 0.4.1 (2026-02-03)
2+
3+
### Features
4+
5+
#### Add `[changes]` config section with `ignore_conventional_commits` setting
6+
7+
Adds a new top-level `[changes]` configuration section to control how Knope processes changes. The first setting in this section is `ignore_conventional_commits`, which when set to `true`, makes Knope ignore conventional commits and only use changesets for determining version bumps and changelog entries.
8+
9+
This replaces the deprecated step-level `ignore_conventional_commits` option on the `PrepareRelease` step. Use `knope --upgrade` to automatically migrate from the old format to the new one.
10+
11+
**Example configuration:**
12+
13+
```toml
14+
[changes]
15+
ignore_conventional_commits = true
16+
17+
[package]
18+
versioned_files = ["Cargo.toml"]
19+
changelog = "CHANGELOG.md"
20+
```
21+
22+
See the [changes config documentation](https://knope.tech/reference/config-file/changes) for more details.
23+
124
## 0.4.0 (2026-01-20)
225

326
### Breaking Changes

crates/knope-config/Cargo.toml

Lines changed: 1 addition & 1 deletion
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.4.0"
4+
version = "0.4.1"
55
authors = ["Dylan Anthony <contact@dylananthony.com>"]
66
edition = "2024"
77
license = "MIT"

crates/knope/Cargo.toml

Lines changed: 2 additions & 2 deletions
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.22.1"
4+
version = "0.22.2"
55
authors = ["Dylan Anthony <contact@dylananthony.com>"]
66
edition = "2024"
77
license = "MIT"
@@ -33,7 +33,7 @@ inquire = { version = "0.9.0", default-features = false, features = [
3333
"crossterm",
3434
] }
3535
itertools = { workspace = true }
36-
knope-config = { path = "../knope-config", version = "0.4.0" }
36+
knope-config = { path = "../knope-config", version = "0.4.1" }
3737
knope-versioning = { workspace = true, features = ["miette"] }
3838
miette = { workspace = true, features = ["fancy"] }
3939
relative-path = { workspace = true }

docs/src/content/docs/installation.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,5 +183,5 @@ There is an official [GitHub action](https://github.com/marketplace/actions/inst
183183
- name: Install Knope
184184
uses: knope-dev/action@v2.1.0
185185
with:
186-
version: 0.22.1
186+
version: 0.22.2
187187
```

docs/src/content/docs/recipes/1-preview-releases-with-pull-requests.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ jobs:
143143
git config user.email github-actions@github.com
144144
- uses: knope-dev/action@v2.1.0
145145
with:
146-
version: 0.22.1
146+
version: 0.22.2
147147
- run: knope prepare-release --verbose
148148
env:
149149
GITHUB_TOKEN: ${{ secrets.PAT }}
@@ -219,7 +219,7 @@ release:
219219
merge-multiple: true
220220
- uses: knope-dev/action@v2.1.0
221221
with:
222-
version: 0.22.1
222+
version: 0.22.2
223223
- run: knope release
224224
env:
225225
GITHUB_TOKEN: ${{ secrets.PAT }}
@@ -311,7 +311,7 @@ jobs:
311311
merge-multiple: true
312312
- uses: knope-dev/action@v2.1.0
313313
with:
314-
version: 0.22.1
314+
version: 0.22.2
315315
- run: knope release
316316
env:
317317
GITHUB_TOKEN: ${{ secrets.PAT }}

0 commit comments

Comments
 (0)