Releases: knope-dev/knope
knope 0.18.1 (2024-09-15)
Features
Support glob patterns for package assets
You can now provide a glob pattern when defining package assets instead of specifying each file individually in a list.
This is especially useful when your asset names are dynamic (containing a version, date, or hash, for example) or
when different releases have different assets.
Knope will not error if the glob pattern doesn't match any files.
You can't combine glob patterns with individual file names.
[package]
assets = "assets/*"
config 0.2.0 (2024-09-15)
Breaking Changes
- Changed type of
Package::assets
toAssets
enum
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
as part of versioned_files
.
Features
Support for Cargo.lock
in versioned_files
Dependencies within a Cargo.lock
can now be updated.
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,
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.
Support for dependencies within Cargo.toml
Dependencies within a Cargo.toml
file can now be updated
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.
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
as part of versioned_files
.
versioning 0.2.0 (2024-08-10)
Breaking Changes
- Move HeaderLevel to internal, parse with Changelog::new
versioning 0.1.0 (2024-08-04)
Breaking Changes
Everything has changed
And hopefully it won't break anyone since this crate isn't ready for external consumers yet!
Features
- Add handling of changes (conventional commits, changesets)
knope 0.17.0 (2024-08-04)
Breaking Changes
Forge date now matches CHANGELOG date
If you prepare a release and generate a changelog Markdown file in one workflow, then create a forge (GitHub or Gitea) release in a separate workflow, the forge release date will now match the changelog date (if any). Previously, the forge release got the current date (at the time of running the workflow).
Match scope-filtering behavior to docs
The docs state, in regard to a package.scopes
config, "if not defined, Knope will consider all scopes."
This is the intended behavior, but wasn't true until now. The actual behavior, for multi-package repos, was that if
any package had scopes defined, all would start filtering scopes.
This has been corrected, packages are now more independent in their scope filtering behavior.
Properly use case insensitivity when checking conventional commits
Per the conventional commits spec all units of a
conventional commit are case-insensitive.
Until now, Knope was treating commit footers and scopes as case-sensitive. This has been corrected, which may result
in different behavior for some projects.
config 0.0.1 (2024-08-04)
Features
- Initial release
versioning 0.0.1 (2024-04-14)
Features
- Initial release