Skip to content
This repository has been archived by the owner on Mar 23, 2023. It is now read-only.

build(deps): bump github.com/ipfs/go-cid from 0.1.0 to 0.3.2 #226

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 5, 2022

Bumps github.com/ipfs/go-cid from 0.1.0 to 0.3.2.

Release notes

Sourced from github.com/ipfs/go-cid's releases.

v0.3.1

What's Changed

Full Changelog: ipfs/go-cid@v0.3.0...v0.3.1

v0.3.0

What's Changed

New Contributors

Full Changelog: ipfs/go-cid@v0.2.0...v0.3.0

v0.2.0

What's Changed

BREAKING CHANGE

Converting code to string and vice versa will no longer be done with go-cid (#137), go-multicodec should be used instead.

NOTE: old mapping was invalid, and switching to go-multicodec will change the meaning of code 0x70 and 0x71 and strings cbor and protobuf:

  • protobuf string now correctly points at code 0x50 (was 0x70, which is dag-pb)
    • 0x70 code is mapped to dag-pb (was protobuf before)
  • cbor string now correctly points at code 0x51 (was 0x71, which is dag-cbor)
    • 0x71 code is now mapped to dag-cbor (was cbor before)

Refactor guide

Old way (go-cid < 0.2.0)

cid "github.com/ipfs/go-cid"
// string → code
code := cid.Codecs["libp2p-key"]
// code → string
string := cid.CodecToStr[code]
</tr></table>

... (truncated)

Commits
  • 350d6af chore: release v0.3.2
  • 68090a8 Revert "fix: bring back, but deprecate CodecToStr and Codecs"
  • 69784e9 chore: release v0.2.1
  • 548365f fix: bring back, but deprecate CodecToStr and Codecs
  • 5da2800 update .github/workflows/go-check.yml
  • 7f6771b update .github/workflows/go-test.yml
  • 5b6a9dc run gofmt -s
  • 890f55d bump go.mod to Go 1.18 and run go fix
  • 085afa8 chore: release v0.3.0
  • 0052a62 fix: return nil Bytes() if the Cid in undef
  • Additional commits viewable in compare view

Dependabot compatibility score

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)

Bumps [github.com/ipfs/go-cid](https://github.com/ipfs/go-cid) from 0.1.0 to 0.3.2.
- [Release notes](https://github.com/ipfs/go-cid/releases)
- [Commits](ipfs/go-cid@v0.1.0...v0.3.2)

---
updated-dependencies:
- dependency-name: github.com/ipfs/go-cid
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Sep 5, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
dependencies Pull requests that update a dependency file go Pull requests that update Go code size/XS
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants