Skip to content

Releases: crate-ci/cargo-release

v0.18.8

31 Dec 13:31
Compare
Choose a tag to compare

[0.18.8] - 2021-12-31

Features

  • --dump-config flag to see defaults and debug config layering

v0.18.7

27 Dec 16:25
Compare
Choose a tag to compare

[0.18.7] - 2021-12-27

Fixed

  • Don't error out when excluding workspace packages that would be downgraded by the current run

v0.18.6

08 Dec 14:58
Compare
Choose a tag to compare

[0.18.6] - 2021-12-08

Fixed

  • Consider optional dependencies when evaluating release order

v0.18.5

16 Nov 17:08
Compare
Choose a tag to compare

[0.18.5] - 2021-11-16

Features

  • Warn users when skipping crates in a workspace that have no changes

Fixed

  • Use static crt on Windows
  • Tweak log levels to avoid needing to show all traces to see whats happening

v0.18.4

30 Oct 13:51
Compare
Choose a tag to compare

[0.18.4] - 2021-10-30

Fixed

  • Vendor libgit2 for a more consistent experience

v0.18.2

11 Oct 19:25
Compare
Choose a tag to compare

[0.18.2] - 2021-10-11

Fixed

  • Crash when setting publish = false in Cargo.toml and` in a config file / commandline

v0.18.1

10 Oct 00:25
Compare
Choose a tag to compare

[0.18.1] - 2021-10-09

Fixed

  • Introduced cargo publish fix for workspaces that was meant to be in before 0.18

v0.18.0

08 Oct 16:21
Compare
Choose a tag to compare

[0.18.0] - 2021-10-08

v0.17.1

25 Aug 01:25
Compare
Choose a tag to compare

[0.17.1] - 2021-08-24

Fixed

  • Correctly detect changes for crates outside of the root

v0.17.0

23 Aug 15:30
Compare
Choose a tag to compare

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.tomls workspace.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 on Cargo.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 on cargo package --list to know which files to check for changes.