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/boxo from 0.17.0 to 0.18.0 #2345

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 26, 2024

Bumps github.com/ipfs/boxo from 0.17.0 to 0.18.0.

Release notes

Sourced from github.com/ipfs/boxo's releases.

v0.18.0

Added

  • blockservice now has ContextWithSession and EmbedSessionInContext functions, which allows to embed a session in a context. Future calls to BlockGetter.GetBlock, BlockGetter.GetBlocks and NewSession will use the session in the context.
  • blockservice.NewWritethrough deprecated function has been removed, instead you can do blockservice.New(..., ..., WriteThrough()) like previously.
  • gateway: a new header configuration middleware has been added to replace the existing header configuration, which can be used more generically.
  • namesys now has a WithMaxCacheTTL option, which allows you to define a maximum TTL that will be used for caching IPNS entries.

Fixed

  • 🛠 boxo/gateway: when making a trustless CAR request with the "entity-bytes" parameter, using a negative index greater than the underlying entity length could trigger reading more data than intended
  • 🛠 boxo/gateway: the header configuration Config.Headers and AddAccessControlHeaders has been replaced by the new middleware provided by NewHeaders.
  • 🛠 routing/http/client: the default HTTP client is no longer a global singleton. Therefore, using WithUserAgent won't modify the user agent of existing routing clients. This will also prevent potential race conditions. In addition, incompatible options will now return errors instead of silently failing.

What's Changed

New Contributors

Full Changelog: ipfs/boxo@v0.16.0...v0.18.0

Changelog

Sourced from github.com/ipfs/boxo's changelog.

[v0.18.0]

Added

  • blockservice now has ContextWithSession and EmbedSessionInContext functions, which allows to embed a session in a context. Future calls to BlockGetter.GetBlock, BlockGetter.GetBlocks and NewSession will use the session in the context.
  • blockservice.NewWritethrough deprecated function has been removed, instead you can do blockservice.New(..., ..., WriteThrough()) like previously.
  • gateway: a new header configuration middleware has been added to replace the existing header configuration, which can be used more generically.
  • namesys now has a WithMaxCacheTTL option, which allows you to define a maximum TTL that will be used for caching IPNS entries.

Fixed

  • 🛠 boxo/gateway: when making a trustless CAR request with the "entity-bytes" parameter, using a negative index greater than the underlying entity length could trigger reading more data than intended
  • 🛠 boxo/gateway: the header configuration Config.Headers and AddAccessControlHeaders has been replaced by the new middleware provided by NewHeaders.
  • 🛠 routing/http/client: the default HTTP client is no longer a global singleton. Therefore, using WithUserAgent won't modify the user agent of existing routing clients. This will also prevent potential race conditions. In addition, incompatible options will now return errors instead of silently failing.
Commits
  • c336fc9 Merge pull request #581 from ipfs/release-v0.18.0
  • 4f5b2c0 chore: bump version to v0.18.0
  • 28f1c40 docs: prepare changelog for v0.18.0
  • 39f4588 routing/http/client: avoid race by not using global http.Client
  • 79cb4e2 gateway: tests for simpler superfluous namespace handling (#572)
  • 89bceff chore: Update .github/workflows/stale.yml [skip ci]
  • fdfcfcc namesys: add WithMaxCacheTTL
  • bf34cd0 fix(gw): entity-bytes with negative indexes beyond file size (#523)
  • 3d57bce gateway: extract CORS to headers middleware
  • 4c3a1f2 gateway: remove dead, unexported lazySeek
  • 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 show <dependency name> 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)

Bumps [github.com/ipfs/boxo](https://github.com/ipfs/boxo) from 0.17.0 to 0.18.0.
- [Release notes](https://github.com/ipfs/boxo/releases)
- [Changelog](https://github.com/ipfs/boxo/blob/main/CHANGELOG.md)
- [Commits](ipfs/boxo@v0.17.0...v0.18.0)

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Related to dependencies label Feb 26, 2024
Copy link

codecov bot commented Feb 26, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 74.80%. Comparing base (727c883) to head (e2fc294).

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff             @@
##           develop    #2345      +/-   ##
===========================================
+ Coverage    74.61%   74.80%   +0.19%     
===========================================
  Files          256      256              
  Lines        25254    25254              
===========================================
+ Hits         18842    18889      +47     
+ Misses        5115     5080      -35     
+ Partials      1297     1285      -12     
Flag Coverage Δ
all-tests 74.80% <ø> (+0.19%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

see 13 files with indirect coverage changes


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 727c883...e2fc294. Read the comment docs.

shahzadlone added a commit that referenced this pull request Feb 28, 2024
✅ This PR was created by combining the following PRs:
#2350 bot: Bump @types/react from 18.2.56 to 18.2.58 in /playground
#2349 bot: Bump vite from 5.1.3 to 5.1.4 in /playground
#2348 bot: Bump swagger-ui-react from 5.11.7 to 5.11.8 in /playground
#2347 bot: Bump eslint from 8.56.0 to 8.57.0 in /playground
#2346 bot: Bump @typescript-eslint/eslint-plugin from 7.0.1 to 7.0.2 in
/playground
#2345 bot: Bump github.com/ipfs/boxo from 0.17.0 to 0.18.0
#2344 bot: Bump google.golang.org/grpc from 1.61.1 to 1.62.0
#2343 bot: Bump go.opentelemetry.io/otel/sdk/metric from 1.23.1 to
1.24.0

⚠️ The following PRs were resolved manually due to merge conflicts:
#2342 bot: Bump go.opentelemetry.io/otel/metric from 1.23.1 to 1.24.0
#2341 bot: Bump go.uber.org/zap from 1.26.0 to 1.27.0

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Shahzad Lone <[email protected]>
Copy link
Contributor Author

dependabot bot commented on behalf of github Feb 28, 2024

Looks like github.com/ipfs/boxo is up-to-date now, so this is no longer needed.

@dependabot dependabot bot closed this Feb 28, 2024
@dependabot dependabot bot deleted the dependabot/go_modules/github.com/ipfs/boxo-0.18.0 branch February 28, 2024 00:48
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.

0 participants