dariusc93 / rust-ipfs

The InterPlanetary File System (IPFS), implemented in Rust.
Apache License 2.0
42 stars 8 forks source link

deps: bump multihash from 0.18.1 to 0.19.1 #258

Closed dependabot[bot] closed 4 months ago

dependabot[bot] commented 4 months ago

Bumps multihash from 0.18.1 to 0.19.1.

Changelog

Sourced from multihash's changelog.

(2023-09-06)

Bug Fixes

  • make Serde (de)serialization no_std compatible (#337) (7ad5161), closes 336#. This was a regression introduced in v0.19.0.

(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); }

... (truncated)

Commits
  • 8adf8c0 chore: prepare 0.19.1 release (#341)
  • 1a33810 chore(deps): bump actions/checkout from 3 to 4 (#340)
  • 7ad5161 fix: make Serde (de)serialization no_std compatible (#337)
  • 93ffba3 chore(deps): bump actions/checkout from 3 to 4 (#339)
  • 452a933 chore: Update .github/dependabot.yml [skip ci]
  • 9b8d623 chore: switch sha-1 package name to sha1 (#328)
  • f78d455 chore: update github actions
  • 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)
  • Additional commits viewable in compare view


Dependabot compatibility score

You can trigger a rebase of this PR 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 show ignore conditions` will show all of the ignore conditions of the specified dependency - `@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)
dependabot[bot] commented 4 months ago

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.