Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(deps): update multihash requirement from 0.18 to 0.19 #95

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jun 6, 2023

Updates the requirements on multihash to permit the latest version.

Changelog

Sourced from multihash's changelog.

(2023-06-06)

⚠ BREAKING CHANGES

  • the Serde serialization format changed
  • split crates into multiple to isolate breaking changes
  • identity hasher was removed

See the migration section below for help on upgrading.

Features

  • codetable: remove identity hasher (#289) (8473e2f)
  • Serde serialize Multihash in bytes representation (#302) (1023226)

Bug Fixes

  • avoid possible panic in error handling code (#277) (5dc1dfa)
  • don't panic on non minimal varints (#291) (6ef6040), closes #282
  • expose MultihashDigest trait in codetable (#304) (50b43cd)

Code Refactoring

  • split crates into multiple to isolate breaking changes (#272) (954e523)

Migrating

When upgrading to v0.19, consider the following:

  • Code has moved from multihash::Code to multihash_codetable::Code. It's strongly recommended to define your own code table using multihash_derive. Check the custom codetable example on how to use it. For the simplest migration, use the multihash_codetable::Code.

    Before

    use multihash::{Code, MultihashDigest};
    fn main() {
    let hash = Code::Sha2_256.digest(b"hello, world!");
    println!("{:?}", hash);
    }

    After

    use multihash_codetable::{Code, MultihashDigest};

... (truncated)

Commits
  • 16e68d8 chore: prepare 0.19 release (#324)
  • abfcd94 docs: mention identity example in migration guide (#323)
  • 4386c97 chore(deps): update criterion requirement from 0.4.0 to 0.5.1 (#313)
  • bd37d2e chore(deps): bump actions/checkout from 2 to 3 (#300)
  • faa0e08 docs: make README not terribly outdated (#319)
  • a5e3a5c docs: write migration docs (#321)
  • d379447 docs: explain multihash-derive and multihash-codetable (#320)
  • 15a790f chore: don't activate features for MSRV check (#318)
  • 3b9ca6c chore(.github): add semver-checks (#316)
  • f49ec21 chore: update release instructions (#314)
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Updates the requirements on [multihash](https://github.com/multiformats/rust-multihash) to permit the latest version.
- [Changelog](https://github.com/multiformats/rust-multihash/blob/master/CHANGELOG.md)
- [Commits](multiformats/rust-multihash@v0.18.0...v0.19.0)

---
updated-dependencies:
- dependency-name: multihash
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust Pull requests that update Rust code labels Jun 6, 2023
@thomaseizinger
Copy link
Contributor

Done in #83.

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Jun 6, 2023

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot bot deleted the dependabot/cargo/multihash-0.19 branch June 6, 2023 18:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file rust Pull requests that update Rust code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant