github Byron/gitoxide cargo-smart-release-v0.5.1
cargo-smart-release v0.5.1

2 years ago

This release contains an important bugfix which may have caused panics when the root-package didn't have changes.

New Features

  • changelog subcommand fails if there is nothing to do

Bug Fixes

  • Fix panic due to unexpected internal state.

    When there was no change in the src/ directory of the top-level crate,
    the dependency resolution would not be able to auto-bump the version
    as no change occurred, but another part would usually detect a change
    as it wasn't confined to the top-level src/ directory.

    This could lead to a panic as an invariant wasn't upheld.

    This was fixed by letting both parts agree to use the src/ directory
    to determine changes of the top-level directory, and by making panics
    impossible while improving the messaging around this state should it
    still occur. The latter is rough, probably rare, but usable.

  • Correct the reporting of manifest changes.

    Previously even unchanged crates would trigger workspace crates
    to be recorded for manifest changes.

    Now only crates that are to receive manifest changes will be triggering
    this.

Commit Statistics

  • 6 commits contributed to the release.
  • 3 commits where understood as conventional.
  • 1 unique issue was worked on: #222

Commit Details

view details
  • #222
    • adjust changelog for release, now definitely (7133f5d)
    • correct reporting of manifest changes (6ee4f5d)
    • adjust changelog for smart-release release (210b09a)
    • changelog subcommand fails if there is nothing to do (ed8abfd)
    • panic due to unexpected internal state (ce68733)
    • crude fix to avoid version related invariants to kick in during dependency resolution (3cdebf5)

Don't miss a new gitoxide release

NewReleases is sending notifications on new releases.