-
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
> [!IMPORTANT] > Merging this pull request will create these releases # versioning 0.3.0 (2024-08-18) ## Breaking Changes ### Support for dependencies within `Cargo.toml` Dependencies within a `Cargo.toml` file [can now be updated](https://knope.tech/reference/config-file/packages/) as part of `versioned_files`. ## Features ### Support for `Cargo.lock` in `versioned_files` Dependencies within a `Cargo.lock` [can now be updated](https://knope.tech/reference/config-file/packages#cargolock). # config 0.1.0 (2024-08-18) ## Breaking Changes ### Support for dependencies within `Cargo.toml` Dependencies within a `Cargo.toml` file [can now be updated](https://knope.tech/reference/config-file/packages/) as part of `versioned_files`. # knope 0.18.0 (2024-08-18) ## Breaking Changes ### Auto-update Cargo workspace dependencies when using default config If using the Cargo workspace [default configuration](https://knope.tech/reference/default-config/#cargo-workspaces), Knope will now attempt to automatically update the version of workspace members in dependencies _and_ the workspace `Cargo.lock`. To avoid this, use `knope --generate` to create a manual config file and customize the behavior. ### Don't create _any_ go module tags that match package names Knope already avoided creating duplicate tags for Go modules which match tags that would be created by the `Release` step for the package. Now, Knope won't create a Go module tag if it matches a release tag for _any_ configured package, to avoid potential conflicts. ## Features ### Support for `Cargo.lock` in `versioned_files` Dependencies within a `Cargo.lock` [can now be updated](https://knope.tech/reference/config-file/packages#cargolock). ### Support for dependencies within `Cargo.toml` Dependencies within a `Cargo.toml` file [can now be updated](https://knope.tech/reference/config-file/packages/) as part of `versioned_files`. ## Fixes ### Deduplicate release actions Knope now collects all actions to be performed across all packages and runs them at once with deduplication. This means that if multiple packages write to the same `versioned_file`, for example, the file will only be written a single time. Changesets will also only be deleted once, files will be staged to Git only once, etc. This mostly only impacts the output during `--dry-run` or `--verbose`, but is especially important for the new dependency updating and lockfile support. Co-authored-by: knope-bot-test[bot] <150975753+knope-bot-test[bot]@users.noreply.github.com>
- Loading branch information
1 parent
0410541
commit 5ef3774
Showing
13 changed files
with
72 additions
and
58 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
8 changes: 0 additions & 8 deletions
8
.changeset/dont_create_any_go_module_tags_that_match_package_names.md
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
[package] | ||
name = "knope-config" | ||
description = "A library for handling common configuration of Knope" | ||
version = "0.0.1" | ||
version = "0.1.0" | ||
authors = ["Dylan Anthony <[email protected]>"] | ||
edition = "2021" | ||
license = "MIT" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
[package] | ||
name = "knope-versioning" | ||
description = "A library for handling all the versioned files supported by Knope" | ||
version = "0.2.0" | ||
version = "0.3.0" | ||
authors = ["Dylan Anthony <[email protected]>"] | ||
edition = "2021" | ||
license = "MIT" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
[package] | ||
name = "knope" | ||
description = "A command line tool for automating common development tasks" | ||
version = "0.17.0" | ||
version = "0.18.0" | ||
authors = ["Dylan Anthony <[email protected]>"] | ||
edition = "2021" | ||
license = "MIT" | ||
|
@@ -30,7 +30,7 @@ inquire = { version = "0.7.5", default-features = false, features = [ | |
"crossterm", | ||
] } | ||
itertools = { workspace = true } | ||
knope-config = { path = "../knope-config", version = "0.0.1" } | ||
knope-config = { path = "../knope-config", version = "0.1.0" } | ||
knope-versioning = { workspace = true, features = ["miette"] } | ||
miette = { workspace = true, features = ["fancy"] } | ||
platform-dirs = "0.3.0" | ||
|