Skip to content

build(deps): bump github.com/ipfs/boxo from 0.29.1 to 0.30.0 #446

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

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 May 5, 2025

Bumps github.com/ipfs/boxo from 0.29.1 to 0.30.0.

Release notes

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

v0.30.0

What's Changed

Added

  • Control over UnixFS DAG Width
    • We have made some changes to allow setting custom max width of UnixFS DAGs. This enables users to produce DAGs that follow current and future community conventions (see the related discussion).
    • ipld/unixfs: DagModifier now allows specifying file DAG Width (MaxLinks) #898
    • ipld/unixfs/io/directory: We have made some changes to unixfs directory tooling #906
      • We have exposed creator methods for new BasicDirectory and HAMTDirectory, that complement the existing NewDirectory() which creates dynamic directories.
      • We have added WithCidBuilder(...), WithMaxLinks(...), WithMaxHAMTFanout(...) and WithStat(...) as options to these new methods so that empty directories can be initilized as wished from the get-go.
      • WithMaxLinks(...) and WithMaxHAMTFanout(...) are new options that allow to set a limit to the number of children that a directory DAG node can have. For details on what they exactly do for each of the directory type, please check the documentation.
    • mfs supports as well the new MaxLinks and MaxHAMTFanout options. They have been made part of the MkdirOptions object and the methods NewEmptyDirectory() and NewEmptyRoot() have been added to facilitate the initialization of MFS objects. #906
  • provider: added support for walking partial DAGs in offline mode #905
    • a KeyChanFunc that traverses DAGs from a given root (NewDAGProvider).
    • a KeyChanFunc that buffers all the CIDs in memory from another KeyChanFunc (NewBufferedProvider).
    • fetcher/impl/blockservice: new option SkipNotFound for the IPLD fetcher. It will skip not found nodes when traversing the DAG. This allows offline traversal of DAGs when using, for example, an offline blockservice.
    • This enables use case of providing lazy-loaded, partially local DAGs (like ipfs files in Kubo's MFS implementation, see kubo#10386)
  • gateway: generated HTML with UnixFS directory listings now include a button for copying CIDs of child entities #899
  • bitswap/server: Add ability to enable/disable bitswap server using WithServerEnabled bitswap option (#911)[https://redirect.github.com/feat(bitswap): add option to disable Bitswap server  ipfs/boxo#911]

Changed

  • upgrade to go-libp2p v0.41.1
  • bitswap/network: Add a new requests_in_flight metric gauge that measures how many bitswap streams are being written or read at a given time.
  • improve speed of data onboarding by batching/bufering provider queue writes #888
  • provider: providing queue is now independent from reprovides, speeding up initial provides #907
    • renamed provider.ReproviderStats.TotalProvides => provider.ReproviderStats.TotalReprovides
    • renamed provider.ReproviderStats.AvgProvideDuration => provider.ReproviderStats.AvgReprovideDuration
  • provider/queue deduplicates CIDs #910

Fixed

  • gateway: query parameters are now supported and preserved in redirects triggered by a _redirects file #886
  • provider: adjusted first reprovide timing after node reboot #890
  • gateway: validate configuration and warn when UseSubdomains=true is used with IP-based hostnames #903

Full Changelog: ipfs/boxo@v0.29.1...v0.30.0

Changelog

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

[v0.30.0]

Added

  • Control over UnixFS DAG Width
    • We have made some changes to allow setting custom max width of UnixFS DAGs. This enables users to produce DAGs that follow current and future community conventions (see the related discussion).
    • ipld/unixfs: DagModifier now allows specifying file DAG Width (MaxLinks) #898
    • ipld/unixfs/io/directory: We have made some changes to unixfs directory tooling #906
      • We have exposed creator methods for new BasicDirectory and HAMTDirectory, that complement the existing NewDirectory() which creates dynamic directories.
      • We have added WithCidBuilder(...), WithMaxLinks(...), WithMaxHAMTFanout(...) and WithStat(...) as options to these new methods so that empty directories can be initilized as wished from the get-go.
      • WithMaxLinks(...) and WithMaxHAMTFanout(...) are new options that allow to set a limit to the number of children that a directory DAG node can have. For details on what they exactly do for each of the directory type, please check the documentation.
    • mfs supports as well the new MaxLinks and MaxHAMTFanout options. They have been made part of the MkdirOptions object and the methods NewEmptyDirectory() and NewEmptyRoot() have been added to facilitate the initialization of MFS objects. #906
  • provider: added support for walking partial DAGs in offline mode #905
    • a KeyChanFunc that traverses DAGs from a given root (NewDAGProvider).
    • a KeyChanFunc that buffers all the CIDs in memory from another KeyChanFunc (NewBufferedProvider).
    • fetcher/impl/blockservice: new option SkipNotFound for the IPLD fetcher. It will skip not found nodes when traversing the DAG. This allows offline traversal of DAGs when using, for example, an offline blockservice.
    • This enables use case of providing lazy-loaded, partially local DAGs (like ipfs files in Kubo's MFS implementation, see kubo#10386)
  • gateway: generated HTML with UnixFS directory listings now include a button for copying CIDs of child entities #899
  • bitswap/server: Add ability to enable/disable bitswap server using WithServerEnabled bitswap option (#911)[https://redirect.github.com/feat(bitswap): add option to disable Bitswap server  ipfs/boxo#911]

Changed

  • upgrade to go-libp2p v0.41.1
  • bitswap/network: Add a new requests_in_flight metric gauge that measures how many bitswap streams are being written or read at a given time.
  • improve speed of data onboarding by batching/bufering provider queue writes #888
  • provider: providing queue is now independent from reprovides, speeding up initial provides #907
    • renamed provider.ReproviderStats.TotalProvides => provider.ReproviderStats.TotalReprovides
    • renamed provider.ReproviderStats.AvgProvideDuration => provider.ReproviderStats.AvgReprovideDuration
  • provider/queue deduplicates CIDs #910

Fixed

  • gateway: query parameters are now supported and preserved in redirects triggered by a _redirects file #886
  • provider: adjusted first reprovide timing after node reboot #890
  • gateway: validate configuration and warn when UseSubdomains=true is used with IP-based hostnames #903
Commits

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)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update go code labels May 5, 2025
Copy link

socket-security bot commented May 5, 2025

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatedgithub.com/​ipfs/​boxo@​v0.29.1 ⏵ v0.30.074 +1100100100100
Updatedgolang.org/​x/​exp@​v0.0.0-20250305212735-054e65f0b394 ⏵ v0.0.0-20250408133849-7e4ce0ab07d094100100100100

View full report

Copy link

github-actions bot commented May 5, 2025

New Coverage 55.0% of statements
Patch Coverage 0.0% of changed statements (0/0)

Coverage provided by https://github.com/seriousben/go-patch-cover-action

@dependabot dependabot bot force-pushed the dependabot/go_modules/github.com/ipfs/boxo-0.30.0 branch 5 times, most recently from b50c5c4 to e0f9cda Compare May 6, 2025 10:37
Bumps [github.com/ipfs/boxo](https://github.com/ipfs/boxo) from 0.29.1 to 0.30.0.
- [Release notes](https://github.com/ipfs/boxo/releases)
- [Changelog](https://github.com/ipfs/boxo/blob/main/CHANGELOG.md)
- [Commits](ipfs/boxo@v0.29.1...v0.30.0)

---
updated-dependencies:
- dependency-name: github.com/ipfs/boxo
  dependency-version: 0.30.0
  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/boxo-0.30.0 branch from e0f9cda to 4cf9da3 Compare May 6, 2025 10:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file go Pull requests that update go code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants