Skip to content

Releases: killercup/cargo-edit

v0.4.1

28 Oct 08:14
ab9b6c8
Compare
Choose a tag to compare

New features:

  • new cool feature: try passing --to-lockfile to cargo upgrade (#337 by @tofay)
  • alternative registries support (#336 by @tofay)
  • cargo add now supports --rename flag (#345)

Bug fixes:

  • cargo upgrade works correctly with renamed dependencies (#342 by @stiiifff)
  • cargo-{add, upgrade} now works with ssh auth for git (#334)
  • cargo upgrade does not downgrade prerelease dependencies (#348)

v0.4.0

17 Aug 17:58
8f8028e
Compare
Choose a tag to compare

Major changes:

  • cargo add and cargo upgrade now supports --offline mode
    and minimizes network queries (#317 by @DCjanus)
  • cargo add now accepts --sort flag to sort dependencies (#322 by @thiagoarrais)

v0.3.3

20 Jun 17:59
Compare
Choose a tag to compare
  • Update dependencies to most recent versions

v0.3.2

04 Jun 10:22
Compare
Choose a tag to compare

New features:

  • add multiple local packages (#295)
  • support for --no-default-features flag (#290)
  • rm multiple crates (#289)

Bug fixes:

  • strip semver metadata on versions (#304)

All changes

v0.3.1

25 Sep 08:13
Compare
Choose a tag to compare

Update dependencies, which fixes issues with OpenSSL 1.1.1 (#245)

Changes since 0.3.0

v0.3.0

25 Sep 08:13
Compare
Choose a tag to compare

A lot has happened since the last stable release!

The most important feature sure is that we try to not mess up your Cargo.toml files anymore!
While we are not 100% there yet, cargo add foo should give you much nicer edits now.

Other cool features:

  • Add proxy support via env variable (#179)
  • Allow simultaneous specification of both version and path
    (thanks, @dherman!)
  • Add specific error for a missing crate (thanks, @bjgill!)
  • cargo-upgrade now supports --precise, --dry-run, and has nicer output

v0.3.0 Beta 1

18 Dec 23:07
Compare
Choose a tag to compare
v0.3.0 Beta 1 Pre-release
Pre-release

Beta pre-release version to test out style (mostly) preserving TOML parser.

You can install this with cargo install cargo-edit --vers 0.3.0-beta.1 (add --force to overwrite an older version).

Changes

First time contributors

Thanks @ibabushkin!

v0.3.0 Alpha 1

15 Aug 10:09
Compare
Choose a tag to compare
v0.3.0 Alpha 1 Pre-release
Pre-release

Pre-release version to test out the new TOML pretty printing!

Changes

  • When the version of a dependency, cargo-upgrade now outputs "Upgrading crate vOld -> vNew" with the same text style as cargo update. (#143)
  • Add basic workspace support with cargo upgrade --all (#153)
  • Support selecting which binaries to install (#156) with cargo install cargo-edit --no-default-features --features "add upgrade"
  • Use the newly added toml::pretty_string to format the Cargo.toml (#163)
  • Add --allow-prerelease flag to cargo upgrade (#164)

Contributors

Thank you, @nikhotine, @vitiral, @bjgill, @ordian, and @Eijebong!

v0.2.0

24 Jul 14:34
Compare
Choose a tag to compare
  • Add cargo-upgrade, a brand new subcommand for all your upgrading needs
  • Deprecate cargo-list, use the cargo-tree crate instead
  • Refactorings and dependency updates
    • No more curl (we use reqwest now)
    • serde 1.0
    • toml 0.4 (still messing up your carefully formatted Cargo.toml files, sorry)

v0.1.6

05 Jan 13:58
Compare
Choose a tag to compare
  • From now on, cargo add will not add pre-release versions like 0.6.0-alpha by default, instead choosing the latest stable release (e.g. 0.5.2). If you want to fetch a pre-release, pass the --allow-prerelease flag. (#104 by @sebasgarcep)