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

build(deps): bump the all-dependencies group with 3 updates #27

Closed

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 10, 2024

Bumps the all-dependencies group with 3 updates: github.com/ipfs/boxo, github.com/libp2p/go-libp2p and go.sia.tech/renterd.

Updates github.com/ipfs/boxo from 0.24.3 to 0.25.0

Release notes

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

v0.25.0

Added

  • routing/http/server: added built-in Prometheus instrumentation to http delegated /routing/v1/ endpoints, with custom buckets for response size and duration to match real world data observed at the delegated-ipfs.dev instance. #718 #724
  • routing/http/server: added configurable routing timeout (DefaultRoutingTimeout being 30s) to prevent indefinite hangs during content/peer routing. Set custom duration via WithRoutingTimeout. #720
  • routing/http/server: exposes Prometheus metrics on prometheus.DefaultRegisterer and a custom one can be provided via WithPrometheusRegistry #722
  • gateway: NewCacheBlockStore and NewCarBackend will use prometheus.DefaultRegisterer when a custom one is not specified via WithPrometheusRegistry #722
  • filestore: added opt-in WithMMapReader option to FileManager to enable memory-mapped file reads #665
  • bitswap/routing ProviderQueryManager does not require calling Startup separate from New. #741
  • bitswap/routing ProviderQueryManager does not use liftcycle context.

Changed

  • bitswap, routing, exchange (#641):

    • ✨ Bitswap is no longer in charge of providing blocks to the newtork: providing functionality is now handled by a exchange/providing.Exchange, meant to be used with provider.System so that all provides follow the same rules (multiple parts of the code where handling provides) before.
    • 🛠 bitswap/client/internal/providerquerymanager has been moved to routing/providerquerymanager where it belongs. In order to keep compatibility, Bitswap now receives a routing.ContentDiscovery parameter which implements FindProvidersAsync(...) and uses it to create a providerquerymanager with the default settings as before. Custom settings can be used by using a custom providerquerymanager to manually wrap a ContentDiscovery object and pass that in as ContentDiscovery on initialization while setting bitswap.WithDefaultProviderQueryManager(false) (to avoid re-wrapping it again).
    • The renovated providedQueryManager will trigger lookups until it manages to connect to MaxProviders. Before it would lookup at most MaxInProcessRequests*MaxProviders and connection failures may have limited the actual number of providers found.
    • 🛠 We have aligned our routing-related interfaces with the libp2p routing ones, including in the reprovider.System.
    • In order to obtain exactly the same behaviour as before (i.e. particularly ensuring that new blocks are still provided), what was done like:
    	bswapnet := network.NewFromIpfsHost(host, contentRouter)
    	bswap := bitswap.New(p.ctx, bswapnet, blockstore)
    	bserv = blockservice.New(blockstore, bswap)
    • becomes:
    	// Create network: no contentRouter anymore
    	bswapnet := network.NewFromIpfsHost(host)
    	// Create Bitswap: a new "discovery" parameter, usually the "contentRouter"
    	// which does both discovery and providing.
    	bswap := bitswap.New(p.ctx, bswapnet, discovery, blockstore)
    	// A provider system that handles concurrent provides etc. "contentProvider"
    	// is usually the "contentRouter" which does both discovery and providing.
    	// "contentProvider" could be used directly without wrapping, but it is recommended
    	// to do so to provide more efficiently.
    	provider := provider.New(datastore, provider.Online(contentProvider)
    	// A wrapped providing exchange using the previous exchange and the provider.
    	exch := providing.New(bswap, provider)
    // Finally the blockservice
    bserv := blockservice.New(blockstore, exch)
    ...

    • The above is only necessary if content routing is needed. Otherwise:
    	// Create network: no contentRouter anymore

... (truncated)

Changelog

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

[v0.25.0]

Added

  • routing/http/server: added built-in Prometheus instrumentation to http delegated /routing/v1/ endpoints, with custom buckets for response size and duration to match real world data observed at the delegated-ipfs.dev instance. #718 #724
  • routing/http/server: added configurable routing timeout (DefaultRoutingTimeout being 30s) to prevent indefinite hangs during content/peer routing. Set custom duration via WithRoutingTimeout. #720
  • routing/http/server: exposes Prometheus metrics on prometheus.DefaultRegisterer and a custom one can be provided via WithPrometheusRegistry #722
  • gateway: NewCacheBlockStore and NewCarBackend will use prometheus.DefaultRegisterer when a custom one is not specified via WithPrometheusRegistry #722
  • filestore: added opt-in WithMMapReader option to FileManager to enable memory-mapped file reads #665
  • bitswap/routing ProviderQueryManager does not require calling Startup separate from New. #741
  • bitswap/routing ProviderQueryManager does not use liftcycle context.

Changed

  • bitswap, routing, exchange (#641):

    • ✨ Bitswap is no longer in charge of providing blocks to the newtork: providing functionality is now handled by a exchange/providing.Exchange, meant to be used with provider.System so that all provides follow the same rules (multiple parts of the code where handling provides) before.
    • 🛠 bitswap/client/internal/providerquerymanager has been moved to routing/providerquerymanager where it belongs. In order to keep compatibility, Bitswap now receives a routing.ContentDiscovery parameter which implements FindProvidersAsync(...) and uses it to create a providerquerymanager with the default settings as before. Custom settings can be used by using a custom providerquerymanager to manually wrap a ContentDiscovery object and pass that in as ContentDiscovery on initialization while setting bitswap.WithDefaultProviderQueryManager(false) (to avoid re-wrapping it again).
    • The renovated providedQueryManager will trigger lookups until it manages to connect to MaxProviders. Before it would lookup at most MaxInProcessRequests*MaxProviders and connection failures may have limited the actual number of providers found.
    • 🛠 We have aligned our routing-related interfaces with the libp2p routing ones, including in the reprovider.System.
    • In order to obtain exactly the same behaviour as before (i.e. particularly ensuring that new blocks are still provided), what was done like:
    	bswapnet := network.NewFromIpfsHost(host, contentRouter)
    	bswap := bitswap.New(p.ctx, bswapnet, blockstore)
    	bserv = blockservice.New(blockstore, bswap)
    • becomes:
    	// Create network: no contentRouter anymore
    	bswapnet := network.NewFromIpfsHost(host)
    	// Create Bitswap: a new "discovery" parameter, usually the "contentRouter"
    	// which does both discovery and providing.
    	bswap := bitswap.New(p.ctx, bswapnet, discovery, blockstore)
    	// A provider system that handles concurrent provides etc. "contentProvider"
    	// is usually the "contentRouter" which does both discovery and providing.
    	// "contentProvider" could be used directly without wrapping, but it is recommended
    	// to do so to provide more efficiently.
    	provider := provider.New(datastore, provider.Online(contentProvider)
    	// A wrapped providing exchange using the previous exchange and the provider.
    	exch := providing.New(bswap, provider)
    // Finally the blockservice
    bserv := blockservice.New(blockstore, exch)
    ...

    • The above is only necessary if content routing is needed. Otherwise:

... (truncated)

Commits

Updates github.com/libp2p/go-libp2p from 0.37.0 to 0.37.2

Release notes

Sourced from github.com/libp2p/go-libp2p's releases.

v0.37.2

What's Changed

  • 908b0bd1 Release v0.37.2
  • 368d5f6b chore: bump go-multiaddr-dns (#3066)
  • 008d62da chore: bump quic-go to v0.48.2 (#3064)
  • 6fa87f62 fix(swarm): check after we split for empty multiaddr (#3063)
  • 75538efb fix(libp2phttp): Return ErrServerClosed on Close (#3050)

Full Changelog: libp2p/go-libp2p@v0.37.1...v0.37.2

v0.37.1

Bug Fixes

  • Fixes an issue with webrtc-direct listeners where the short handshake queue dropped some connection requests. For more details see: #3040
  • Fixes a race condition when multistream lazy negotiation was used with rust-libp2p or js-libp2p for write only streams. See libp2p/go-libp2p#3038 for details

What's Changed

  • 0606295e refactor(libp2phttp): don't require specific port for the HTTP host example (#3047)
  • ae0d78aa fix: Defer resource usage cleanup until the very end (#3042)
  • df02f4d0 chore: update go-multistream to v0.6.0 (#3041)
  • 09ae1790 fix: obsaddr: do not record observations over relayed conn (#3043)
  • 2404f75d webrtc: handshake more connections in parallel (#3040)
  • 994b69e4 fix: basichost: Use NegotiationTimeout as fallback timeout for NewStream (#3020)

Full Changelog: libp2p/go-libp2p@v0.37.0...dont-delete/release-v0371

Commits

Updates go.sia.tech/renterd from 1.0.8 to 1.1.0

Release notes

Sourced from go.sia.tech/renterd's releases.

v1.1.0

What's Changed

... (truncated)

Commits

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 <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Dec 10, 2024
@dependabot dependabot bot force-pushed the dependabot/go_modules/all-dependencies-145bd97dd1 branch from d0c1798 to 72c354c Compare December 16, 2024 23:25
Bumps the all-dependencies group with 3 updates: [github.com/ipfs/boxo](https://github.com/ipfs/boxo), [github.com/libp2p/go-libp2p](https://github.com/libp2p/go-libp2p) and [go.sia.tech/renterd](https://github.com/SiaFoundation/renterd).


Updates `github.com/ipfs/boxo` from 0.24.3 to 0.25.0
- [Release notes](https://github.com/ipfs/boxo/releases)
- [Changelog](https://github.com/ipfs/boxo/blob/main/CHANGELOG.md)
- [Commits](ipfs/boxo@v0.24.3...v0.25.0)

Updates `github.com/libp2p/go-libp2p` from 0.37.0 to 0.37.2
- [Release notes](https://github.com/libp2p/go-libp2p/releases)
- [Changelog](https://github.com/libp2p/go-libp2p/blob/master/CHANGELOG.md)
- [Commits](libp2p/go-libp2p@v0.37.0...v0.37.2)

Updates `go.sia.tech/renterd` from 1.0.8 to 1.1.0
- [Release notes](https://github.com/SiaFoundation/renterd/releases)
- [Commits](SiaFoundation/renterd@v1.0.8...v1.1.0)

---
updated-dependencies:
- dependency-name: github.com/ipfs/boxo
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-dependencies
- dependency-name: github.com/libp2p/go-libp2p
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all-dependencies
- dependency-name: go.sia.tech/renterd
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/go_modules/all-dependencies-145bd97dd1 branch from 72c354c to 9881bad Compare December 18, 2024 10:10
@pcfreak30
Copy link

pcfreak30 commented Dec 22, 2024

FYI, I just hit breaking changes on compile in CI on 0.25.0 (in lume) I think and downgraded to 0.21 until I can sort out what needs to be done.

This should probably be reviewed closer.

Copy link
Contributor Author

dependabot bot commented on behalf of github Dec 23, 2024

Superseded by #29.

@dependabot dependabot bot closed this Dec 23, 2024
@dependabot dependabot bot deleted the dependabot/go_modules/all-dependencies-145bd97dd1 branch December 23, 2024 23:20
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant