Skip to content
This repository was 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.0 #221

Closed

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 26, 2022

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

Release notes

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

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]

New way (with go-multicodec)

mc "github.com/multiformats/go-multicodec"
</tr></table>

... (truncated)

Commits
  • 085afa8 chore: release v0.3.0
  • 0052a62 fix: return nil Bytes() if the Cid in undef
  • 802b455 chore: Update .github/workflows/stale.yml [skip ci]
  • 8f7d7ac Merge pull request #139 from mg98/feat/must-parse
  • b106e08 Update .github/workflows/stale.yml
  • 386c6cc Add MustParse
  • f4b3e66 Add .github/workflows/stale.yml
  • b2064d7 fix: remove invalid multicodec2string mappings (#137)
  • ddd9ef7 update .github/workflows/go-check.yml
  • 6be8b63 update .github/workflows/go-test.yml
  • 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.0.
- [Release notes](https://github.com/ipfs/go-cid/releases)
- [Commits](ipfs/go-cid@v0.1.0...v0.3.0)

---
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 Aug 26, 2022
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Sep 5, 2022

Superseded by #226.

@dependabot dependabot bot closed this Sep 5, 2022
@dependabot dependabot bot deleted the dependabot/go_modules/github.com/ipfs/go-cid-0.3.0 branch September 5, 2022 12:12
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