v0.17.0
Thanks to byron and pksunkara for the collaboration between cargo-release
, cargo-smart-release
, and cargo-workspace-publish
that contributed to this release.
Features
- Pre-built binaries
- Add
allow-branch
config setting to limit what branches a release can happen from - Run
cargo publish
during dry-runs to help catch publish-specific errors - Support
Cargo.toml
sworkspace.metadata
- Support
~/.config/cargo-release/release.toml
Fixed
- In theory, finally fixed it so we properly wait between publishing of crates in a workspace
- Correctly update dependents on post-release version bump.
- Specifying
--package
should switch us to opt-in - Don't warn a user about releasing a crate without changes if a dependency changed
- Notify for all
[[bin]]
crates onCargo.lock
change, rather than just the root crate - Made clearer what are fatal errors during dry-run (since dry-run doesn't stop for them)
- Gracefully handle path-only dependencies which are especially important for cycles.
- Log what was dirty about a repo to make it easier for people to report problems
- Allow pushing even when there isn't a tracking branch
Breaking Changes
--dry-run
is now the default. Pass--execute
to perform the release.exclude-paths
config setting was removed; we now rely oncargo package --list
to know which files to check for changes.