Skip to content

Commit 76dec81

Browse files
Release packages (#1518)
> [!IMPORTANT] > Merging this pull request will create these releases # knope 0.21.3 (2025-08-16) ## Fixes ### Fix pre-release versioning when there are no previous stable versions Previously, if there was not a Git tag containing a previous stable version, Knope would default to "0.0.0". Because of the special 1.0.0 rules, this also meant there was _no_ way to start a project at a pre-release of 1.0.0 with no prior releases. Now, if there are no previous stable releases, Knope will use the version in your files instead of calculating a version based on "0.0.0". Fixes #1515, thanks for the report @hazre! # versioning 0.5.2 (2025-08-16) ## Fixes ### Fix pre-release versioning when there are no previous stable versions Previously, if there was not a Git tag containing a previous stable version, Knope would default to "0.0.0". Because of the special 1.0.0 rules, this also meant there was _no_ way to start a project at a pre-release of 1.0.0 with no prior releases. Now, if there are no previous stable releases, Knope will use the version in your files instead of calculating a version based on "0.0.0". Fixes #1515, thanks for the report @hazre! Co-authored-by: knope-bot-test[bot] <150975753+knope-bot-test[bot]@users.noreply.github.com>
1 parent aefe593 commit 76dec81

File tree

7 files changed

+35
-20
lines changed

7 files changed

+35
-20
lines changed

.changeset/fix_pre_release_versioning_when_there_are_no_previous_stable_versions.md

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

CHANGELOG.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,21 @@ 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.21.3 (2025-08-16)
14+
15+
### Fixes
16+
17+
#### Fix pre-release versioning when there are no previous stable versions
18+
19+
Previously, if there was not a Git tag containing a previous stable version, Knope would default to "0.0.0".
20+
Because of the special 1.0.0 rules, this also meant there was _no_ way to start a project at a pre-release of 1.0.0
21+
with no prior releases.
22+
23+
Now, if there are no previous stable releases, Knope will use the version in your files instead of calculating a version
24+
based on "0.0.0".
25+
26+
Fixes #1515, thanks for the report @hazre!
27+
1328
## 0.21.2 (2025-08-10)
1429

1530
### 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.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ strip = true
1010
changesets = "0.4.0"
1111
indexmap = { version = "2", features = ["serde"] }
1212
itertools = "0.14.0"
13-
knope-versioning = { path = "crates/knope-versioning", version = "0.5.1" }
13+
knope-versioning = { path = "crates/knope-versioning", version = "0.5.2" }
1414
miette = "7.2.0"
1515
relative-path = { version = "2.0.0", features = ["serde"] }
1616
serde = { version = "1.0.200", features = ["derive"] }

crates/knope-versioning/CHANGELOG.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
## 0.5.2 (2025-08-16)
2+
3+
### Fixes
4+
5+
#### Fix pre-release versioning when there are no previous stable versions
6+
7+
Previously, if there was not a Git tag containing a previous stable version, Knope would default to "0.0.0".
8+
Because of the special 1.0.0 rules, this also meant there was _no_ way to start a project at a pre-release of 1.0.0
9+
with no prior releases.
10+
11+
Now, if there are no previous stable releases, Knope will use the version in your files instead of calculating a version
12+
based on "0.0.0".
13+
14+
Fixes #1515, thanks for the report @hazre!
15+
116
## 0.5.1 (2025-08-10)
217

318
### Features

crates/knope-versioning/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-versioning"
33
description = "A library for handling all the versioned files supported by Knope"
4-
version = "0.5.1"
4+
version = "0.5.2"
55
authors = ["Dylan Anthony <[email protected]>"]
66
edition = "2024"
77
license = "MIT"

crates/knope/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"
33
description = "A command line tool for automating common development tasks"
4-
version = "0.21.2"
4+
version = "0.21.3"
55
authors = ["Dylan Anthony <[email protected]>"]
66
edition = "2024"
77
license = "MIT"

0 commit comments

Comments
 (0)