All Versions
31
Latest Version
Avg Release Cycle
66 days
Latest Release
529 days ago

Changelog History
Page 2

  • v0.10.1 Changes

    July 15, 2022

    ๐Ÿ”‹ Features

    โฌ†๏ธ upgrade

    • ๐Ÿ“Œ Note the --pinned flag when pinned dependencies are skipped

    ๐Ÿ›  Fixes

    add

    • Provide a failing command to tell people how to get it
  • v0.10.0 Changes

    July 14, 2022

    ๐Ÿ’ฅ Breaking changes

    • Many programmatic APIs changed
    • ๐Ÿšš cargo add remove in favor of the version included with cargo 1.62.0
    • โฌ†๏ธ cargo upgrade skips pinned dependencies by default, run with --pinned to do them all
    • โฌ†๏ธ cargo upgrade --skip-compatible is now default, run with --to-lockfile to upgrade all
    • โฌ†๏ธ cargo upgrade now accepts dependency keys rather than crate names
    • โฌ†๏ธ cargo upgrade now preserves version req precision
    • ๐Ÿš€ cargo upgrade --allow-prerelease was removed to match cargo add

    ๐Ÿ›  Fixes

    All

    • Align console messages
    • ๐Ÿ‘ Allow using --manifest-path with --pkgid
    • ๐Ÿ‘ Allow relative paths with --manifest-path

    โฌ†๏ธ upgrade

    • โฌ†๏ธ Positional arguments are now dependency keys, allowing forcing of renamed dependencies to upgrade
    • โฌ†๏ธ Make compatible upgrades and precision preservation work together
    • Cleaned up output
    • Preserve user formatting of dependencies
    • Don't confuse dependencies

    ๐Ÿ”‹ Features

    โฌ†๏ธ upgrade

    • Always preserve version req precision
    • โฌ†๏ธ With --verbose, see why dependencies didn't upgrade
    • โฌ†๏ธ Error if upgrades possible with --locked
    • ๐Ÿ‘ Allow multiple occurrences of --pkgid

    rm

    • โž• Add --target flag
    • โž• Add --dry-run flag
  • v0.9.1 Changes

    May 17, 2022

    ๐Ÿ›  Fixes

    set-version

    • โšก๏ธ Don't overwrite updated dependencies with stale data when modifying multiple packages
  • v0.9.0 Changes

    March 28, 2022

    ๐Ÿš€ In large part, this release is a test-bed for changes proposed as part of the ๐Ÿ‘€ path to merging cargo-add into cargo. See ๐Ÿ”€ internals for more background on the changes.

    ๐Ÿ’ฅ Breaking Changes

    • Many programmatic APIs changed
    • ๐Ÿ”‹ Feature flag vendored-libgit2 is activated by default

    cargo-add

    • โœ‚ Removed --upgrade <policy>
    • โœ‚ Removed --sort
    • โœ‚ Removed --allow-prerelease
    • โœ‚ Removed cargo add <git-url>, requiring cargo add --git <git-url>
    • โœ‚ Removed --path <path> in favor of cargo add <path>
    • โœ‚ Removed --vers <version-req> in favor of cargo add <name>@<version-req>
    • ๐Ÿ‘ --git support is now feature gated as we work out how to expose it

    ๐Ÿ”‹ Features

    cargo-add

    • Lists available features
    • Warn when adding non-existent features
    • ๐Ÿ‘ git --tag and --rev support
    • โšก๏ธ --default-features flag for when updating an existing entry
    • โšก๏ธ --no-optional flag for when updating an existing entry
    • ๐Ÿ‘ Allow , to separate --features
    • โž• Added -F short flag for --features
    • cargo add serde +derive feature activation
    • ๐Ÿ‘ --dry-run support

    ๐Ÿ›  Fixes

    General

    • ๐Ÿ“œ TOML 1.0 compliant parser
    • ๐Ÿ‘‰ Use stderr for user messages
    • ๐Ÿ‘Œ Improve detection for enabling colored output
    • ๐Ÿ– Handle empty cargo config source table

    cargo-add

    • ๐Ÿ‘ Allow --registry with name@version and path dependencies
    • Don't panic on --target= (ie empty target)
    • Cleaned up "Adding" message
    • ๐Ÿ‘Œ Improve overwrite behavior (re-adding the same dependency)
    • ๐Ÿ‘ Allow using both --manifest-path and --package
    • โœ‚ Remove invalid dependency activation
    • When adding an existing dependency to another table, reuse the existing source information (e.g. version requirement)

    cargo-rm

    • Don't create empty feature tables
    • โœ‚ Remove dep activation when no longer optional

    โฌ†๏ธ cargo-upgrade

    • Preserve version requirement precision (behind a feature flag)

    cargo-set-version

    • ๐Ÿ‘ Allow --metadata to override version metadata
    • ๐Ÿ‘Œ Improve dependent detection
  • v0.8.0 Changes

    September 22, 2021

    ๐Ÿ’ฅ Breaking Changes

    Many programmatic APIs changed

    cargo-add

    • Dependency paths are now relative to current working directory, rather than affect crate root (#497)
    • 0๏ธโƒฃ Sane defaults when adding a dependency from within the workspace (#504)

    ๐Ÿ”‹ Features

    • ๐Ÿ†• New vendored-openssl crate feature (#447)
    • ๐Ÿ†• New vendored-libgit2 crate feature (#488)
    • ๐Ÿ‘Œ Support for dotted keys in TOML (#491)

    cargo-set-version

    • ๐Ÿ†• New command to bump crate versions (#482)
    • โšก๏ธ Automatically update all workspace dependents (#506)

    โฌ†๏ธ cargo-upgrade

    • โž• Add --exclude (#446)

    ๐Ÿ›  Fixes

    • ๐Ÿ›  Fixed various bugs when interacting with the registry (e.g. #433, #484)
    • Read config files with extensions as added with Rust 1.39 (#439)
    • rustsec
      • Removed unmaintained dirs dependency (#440)
      • Remove dependency on old hyper v0.13 (#431)
    • โšก๏ธ Respect --quiet when updating the index (#462)
    • Lookup pkg id's relative to --manifest-path rather than current working directory (#505)

    cargo-add

    • Look up versions after updating the index (#483)
    • ๐Ÿ‘ Allow optional build dependencies (#494)
    • Dependency paths are now relative to current working directory, rather than affect crate root (#497)
    • Prevent cargo add . from working (#501)
    • 0๏ธโƒฃ Sane defaults when adding a dependency from within the workspace (#504)

    โฌ†๏ธ cargo-upgrade

    • โšก๏ธ Update optional dependencies with --to-lockfile (#427)
    • โฌ†๏ธ Actually report upgrade when package key is used (#409)

    cargo-rm

    • โœ‚ Remove references among features to crate being removed (#500)
  • v0.7.0 Changes

    October 03, 2020

    ๐Ÿ†• New features:

    • Keep dependencies in sorted order if they were already sorted (#421 by @joshtriplett)

    ๐Ÿ›  Fixes:

  • v0.6.0 Changes

    March 19, 2020

    ๐Ÿ†• New features:

    • You can now specify a branch for git dependencies (#379 by @struktured)
    • ๐Ÿฑ A long awaited feature to support -p flag in the workspace is finally there ๐ŸŽ‰ ` (#390 by @pwoolcoc)

    ๐Ÿ›  Fixes:

    • ๐Ÿ—„ --all flag is now deprecated in favor of --workspace to match cargo (#392 by @pwoolcoc)
  • v0.5.0 Changes

    January 19, 2020

    ๐Ÿš€ This is a minor release that updates the dependencies so that it's easier to use cargo-edit as a library.

    ๐Ÿ›  Fixes:

    • โž• Adding a dependency that was renamed previously (#351 by @stiiifff)

    Full changes: v0.4.2...v0.5.0

  • v0.4.2 Changes

    December 05, 2019

    ๐Ÿ†• New features:

    โž• Add a --skip-compatible flag to cargo upgrade (#360)

    โฌ†๏ธ This flag will make cargo upgrade ignore upgrades where the old
    ๐Ÿ”– version is semver compatible with the new one. This is useful in cases
    where you don't want to churn the Cargo.toml files in the whole project
    knowing that the lockfile is already forcing the versions to be up to date.

    Other:

    • Bunch of internal clean-ups
  • v0.4.1 Changes

    October 28, 2019

    ๐Ÿ†• 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)