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

bot: Bump github.com/ipfs/go-cid from 0.3.2 to 0.4.0 #1200

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 20, 2023

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

Release notes

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

v0.4.0

What's Changed

New Contributors

Full Changelog: ipfs/go-cid@v0.3.2...v0.4.0

Commits
  • 8098d66 chore: version 0.4.0
  • b98e249 feat: wrap parsing errors into ErrInvalidCid
  • 85c4236 build(deps): bump golang.org/x/crypto
  • 197da0b build(deps): bump golang.org/x/sys
  • 06fe289 fix: use crypto/rand.Read
  • a1630a3 update .github/workflows/release-check.yml
  • 225f5db update .github/workflows/go-check.yml
  • c2c040d update .github/workflows/go-test.yml
  • b729e38 bump go.mod to Go 1.19 and run go fix
  • 823c6b8 Fix README.md example error (#146)
  • See full diff 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)

@dependabot dependabot bot added the dependencies Related to dependencies label Mar 20, 2023
@dependabot dependabot bot force-pushed the dependabot/go_modules/github.com/ipfs/go-cid-0.4.0 branch 3 times, most recently from a07fdcd to e7e75f7 Compare March 20, 2023 16:20
Bumps [github.com/ipfs/go-cid](https://github.com/ipfs/go-cid) from 0.3.2 to 0.4.0.
- [Release notes](https://github.com/ipfs/go-cid/releases)
- [Commits](ipfs/go-cid@v0.3.2...v0.4.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 force-pushed the dependabot/go_modules/github.com/ipfs/go-cid-0.4.0 branch from e7e75f7 to 9cdde02 Compare March 20, 2023 16:55
@@ -35,7 +35,7 @@ func TestQuerySimpleWithInvalidCidAndInvalidDocKey(t *testing.T) {
}`,
},
},
ExpectedError: "invalid CID",
ExpectedError: "failed to propagate VersionFetcher span: invalid cid: selected encoding not supported",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm unsure about whether we should change the expected error message or have the request error differently.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The first part of that error feels unnecessary to return to the user. Do you mind checking if you can easily remove it from the returned error?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I simplified it, IMO it was too specific before. That said, the CID could be validated before that specific step. That would be for a different PR.

@codecov
Copy link

codecov bot commented Mar 20, 2023

Codecov Report

Merging #1200 (e54eb59) into develop (0718860) will decrease coverage by 0.02%.
The diff coverage is 100.00%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop    #1200      +/-   ##
===========================================
- Coverage    68.56%   68.54%   -0.02%     
===========================================
  Files          181      181              
  Lines        17126    17123       -3     
===========================================
- Hits         11742    11737       -5     
- Misses        4425     4426       +1     
- Partials       959      960       +1     
Impacted Files Coverage Δ
planner/select.go 80.38% <100.00%> (-0.23%) ⬇️

... and 1 file with indirect coverage changes

@source-devs
Copy link

Benchmark Results

Summary

  • 0 Benchmarks successfully compared.
  • 0 Benchmarks were ✅ Better.
  • 0 Benchmarks were ❌ Worse .
  • 0 Benchmarks were ✨ Unchanged.
✅ See Better Results...
time/opdelta
 
❌ See Worse Results...
time/opdelta
 
✨ See Unchanged Results...
time/opdelta
 
🐋 See Full Results...

@orpheuslummis orpheuslummis requested a review from a team March 20, 2023 17:57
@@ -224,10 +223,7 @@ func (n *selectNode) initSource() ([]aggregateNode, error) {
if n.parsed.Cid.HasValue() {
c, err := cid.Decode(n.parsed.Cid.Value())
if err != nil {
return nil, errors.Wrap(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

praise: Thanks for removing this :)

Copy link
Contributor

@AndrewSisley AndrewSisley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM :)

@source-devs
Copy link

Benchmark Results

Summary

  • 0 Benchmarks successfully compared.
  • 0 Benchmarks were ✅ Better.
  • 0 Benchmarks were ❌ Worse .
  • 0 Benchmarks were ✨ Unchanged.
✅ See Better Results...
time/opdelta
 
❌ See Worse Results...
time/opdelta
 
✨ See Unchanged Results...
time/opdelta
 
🐋 See Full Results...

1 similar comment
@source-devs
Copy link

Benchmark Results

Summary

  • 0 Benchmarks successfully compared.
  • 0 Benchmarks were ✅ Better.
  • 0 Benchmarks were ❌ Worse .
  • 0 Benchmarks were ✨ Unchanged.
✅ See Better Results...
time/opdelta
 
❌ See Worse Results...
time/opdelta
 
✨ See Unchanged Results...
time/opdelta
 
🐋 See Full Results...

@orpheuslummis orpheuslummis merged commit 0077635 into develop Mar 20, 2023
@orpheuslummis orpheuslummis deleted the dependabot/go_modules/github.com/ipfs/go-cid-0.4.0 branch March 20, 2023 18:32
shahzadlone pushed a commit that referenced this pull request Apr 13, 2023
Bumps [github.com/ipfs/go-cid](https://github.com/ipfs/go-cid) from 0.3.2 to 0.4.0.
- [Release notes](https://github.com/ipfs/go-cid/releases)
- [Commits](ipfs/go-cid@v0.3.2...v0.4.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]>

* fix: handle the changes in errors

* simplify error message

* oops 1 line was missing in previous commit

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Orpheus Lummis <[email protected]>
shahzadlone pushed a commit to shahzadlone/defradb that referenced this pull request Feb 23, 2024
)

Bumps [github.com/ipfs/go-cid](https://github.com/ipfs/go-cid) from 0.3.2 to 0.4.0.
- [Release notes](https://github.com/ipfs/go-cid/releases)
- [Commits](ipfs/go-cid@v0.3.2...v0.4.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]>

* fix: handle the changes in errors

* simplify error message

* oops 1 line was missing in previous commit

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Orpheus Lummis <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Related to dependencies
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants