chore(deps): bump github.com/ipfs/go-cid from 0.0.4 to 0.3.0 #15

Closed
dependabot[bot] wants to merge 1 commits from dependabot/go_modules/github.com/ipfs/go-cid-0.3.0 into main
dependabot[bot] commented 2022-08-30 19:56:33 +00:00 (Migrated from github.com)

Bumps github.com/ipfs/go-cid from 0.0.4 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: https://github.com/ipfs/go-cid/compare/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.0.4 to 0.3.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/ipfs/go-cid/releases">github.com/ipfs/go-cid's releases</a>.</em></p> <blockquote> <h2>v0.3.0</h2> <h2>What's Changed</h2> <ul> <li>Add MustParse by <a href="https://github.com/mg98"><code>@​mg98</code></a> in <a href="https://github-redirect.dependabot.com/ipfs/go-cid/pull/139">ipfs/go-cid#139</a></li> <li>fix: return nil Bytes() if the Cid in undef. by <a href="https://github.com/Jorropo"><code>@​Jorropo</code></a> in <a href="https://github-redirect.dependabot.com/ipfs/go-cid/pull/141">ipfs/go-cid#141</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/mg98"><code>@​mg98</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/ipfs/go-cid/pull/139">ipfs/go-cid#139</a></li> <li><a href="https://github.com/Jorropo"><code>@​Jorropo</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/ipfs/go-cid/pull/141">ipfs/go-cid#141</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/ipfs/go-cid/compare/v0.2.0...v0.3.0">https://github.com/ipfs/go-cid/compare/v0.2.0...v0.3.0</a></p> <h2>v0.2.0</h2> <h2>What's Changed</h2> <ul> <li>avoid double alloc in NewCidV1 by <a href="https://github.com/mvdan"><code>@​mvdan</code></a> in <a href="https://github-redirect.dependabot.com/ipfs/go-cid/pull/132">ipfs/go-cid#132</a></li> <li>benchmark existing ways to check for <code>IDENTITY</code> CIDs by <a href="https://github.com/masih"><code>@​masih</code></a> in <a href="https://github-redirect.dependabot.com/ipfs/go-cid/pull/135">ipfs/go-cid#135</a></li> <li>fix: remove invalid multicodec2string mappings by <a href="https://github.com/lidel"><code>@​lidel</code></a> in <a href="https://github-redirect.dependabot.com/ipfs/go-cid/pull/137">ipfs/go-cid#137</a></li> <li>sync: update CI config files by <a href="https://github.com/web3-bot"><code>@​web3-bot</code></a> in <a href="https://github-redirect.dependabot.com/ipfs/go-cid/pull/131">ipfs/go-cid#131</a>, <a href="https://github-redirect.dependabot.com/ipfs/go-cid/pull/136">ipfs/go-cid#136</a>, <a href="https://github-redirect.dependabot.com/ipfs/go-cid/pull/138">ipfs/go-cid#138</a></li> </ul> <h2>BREAKING CHANGE</h2> <p>Converting code to string and vice versa will no longer be done with go-cid (<a href="https://github-redirect.dependabot.com/ipfs/go-cid/issues/137">#137</a>), go-multicodec should be used instead.</p> <p><strong>NOTE:</strong> old mapping was invalid, and switching to go-multicodec will change the meaning of code <code>0x70</code> and <code>0x71</code> and strings <code>cbor</code> and <code>protobuf</code>:</p> <ul> <li><code>protobuf</code> string now correctly points at code <code>0x50</code> (was <code>0x70</code>, which is <code>dag-pb</code>) <ul> <li><code>0x70</code> code is mapped to <code>dag-pb</code> (was <code>protobuf</code> before)</li> </ul> </li> <li><code>cbor</code> string now correctly points at code <code>0x51</code> (was <code>0x71</code>, which is <code>dag-cbor</code>) <ul> <li><code>0x71</code> code is now mapped to <code>dag-cbor</code> (was <code>cbor</code> before)</li> </ul> </li> </ul> <h3>Refactor guide</h3> <h4>Old way (go-cid &lt; 0.2.0)</h4> <pre lang="go"><code> cid &quot;github.com/ipfs/go-cid&quot; <p>// string → code code := cid.Codecs[&quot;libp2p-key&quot;]</p> <p>// code → string string := cid.CodecToStr[code] </code></pre></p> <h4>New way (with go-multicodec)</h4> <pre lang="go"><code>mc &quot;github.com/multiformats/go-multicodec&quot; <p>&lt;/tr&gt;&lt;/table&gt; </code></pre></p> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/ipfs/go-cid/commit/085afa84d09420f9f3911b94b9a4b3e40bb05b3a"><code>085afa8</code></a> chore: release v0.3.0</li> <li><a href="https://github.com/ipfs/go-cid/commit/0052a6219058cc1b5d68d0e21d0f67e04e4bc7e6"><code>0052a62</code></a> fix: return nil Bytes() if the Cid in undef</li> <li><a href="https://github.com/ipfs/go-cid/commit/802b45594e1aed5be3a5b99f00991e9fa8198bfa"><code>802b455</code></a> chore: Update .github/workflows/stale.yml [skip ci]</li> <li><a href="https://github.com/ipfs/go-cid/commit/8f7d7ac18e1c6ba7602c58dd02d99a8ace106fc3"><code>8f7d7ac</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/ipfs/go-cid/issues/139">#139</a> from mg98/feat/must-parse</li> <li><a href="https://github.com/ipfs/go-cid/commit/b106e0883a01fe631ae34db65ca0e00868599f94"><code>b106e08</code></a> Update .github/workflows/stale.yml</li> <li><a href="https://github.com/ipfs/go-cid/commit/386c6cc18a4c1b560ff4b3c3b9e0bdb5fade07b3"><code>386c6cc</code></a> Add MustParse</li> <li><a href="https://github.com/ipfs/go-cid/commit/f4b3e6699332cce4aa19e4f36ba2f80a6871ba26"><code>f4b3e66</code></a> Add .github/workflows/stale.yml</li> <li><a href="https://github.com/ipfs/go-cid/commit/b2064d74a8b098193b316689a715cdf4e4934805"><code>b2064d7</code></a> fix: remove invalid multicodec2string mappings (<a href="https://github-redirect.dependabot.com/ipfs/go-cid/issues/137">#137</a>)</li> <li><a href="https://github.com/ipfs/go-cid/commit/ddd9ef72488e6567362d29c74b755d6939762c5a"><code>ddd9ef7</code></a> update .github/workflows/go-check.yml</li> <li><a href="https://github.com/ipfs/go-cid/commit/6be8b631d02ca08b6aba4bc43598749f403b5f38"><code>6be8b63</code></a> update .github/workflows/go-test.yml</li> <li>Additional commits viewable in <a href="https://github.com/ipfs/go-cid/compare/v0.0.4...v0.3.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github.com/ipfs/go-cid&package-manager=go_modules&previous-version=0.0.4&new-version=0.3.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> 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) </details>
dependabot[bot] commented 2022-08-30 20:00:18 +00:00 (Migrated from github.com)

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.

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](https://docs.github.com/en/code-security/supply-chain-security/configuration-options-for-dependency-updates#ignore) 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.

Pull request closed

Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: cerc-io/laconicd#15
No description provided.