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 across 1 directory with 3 updates #29

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 Dec 23, 2024

Bumps the all-dependencies group with 2 updates in the / directory: github.com/ipfs/boxo and go.sia.tech/renterd.

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

Release notes

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

v0.26.0

What's Changed

Added

  • bitswap/client: Improved timeout configuration for block requests
    • Exposed DontHaveTimeoutConfig to hold configuration values for dontHaveTimeoutMgr which controls how long to wait for requested block before emitting a synthetic DontHave response
    • Added DefaultDontHaveTimeoutConfig() to return a DontHaveTimeoutConfig populated with default values
    • Added optional WithDontHaveTimeoutConfig to allow passing a custom DontHaveTimeoutConfig
    • Setting SetSendDontHaves(false) works the same as before. Behind the scenes, it will disable dontHaveTimeoutMgr by passing a nil onDontHaveTimeout to newDontHaveTimeoutMgr.

Changed

  • 🛠 blockstore and blockservice's WriteThrough() option now takes an "enabled" parameter: WriteThrough(enabled bool).
  • Replaced unmaintained mock time implementation uses in tests: from => to
  • bitswap/client: if a libp2p connection has a context, use context.AfterFunc to cleanup the connection.
  • upgrade to go-libp2p-kad-dht v0.28.1
  • upgrade to go-libp2p v0.38.1
  • blockstore/blockservice: change option to WriteThrough(enabled bool) #749
  • mfs: improve mfs republisher #754

Fixed

  • mfs: directory cache is now cleared on Flush(), liberating the memory used by the otherwise ever-growing cache. References to directories and sub-directories should be renewed after flushing.
  • bitswap/client: Fix leak due to cid queue never getting cleaned up #756
  • bitswap: Drop stream references on Close/Reset 760

Full Changelog: ipfs/boxo@v0.25.0...v0.26.0

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:

... (truncated)

Changelog

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

[v0.26.0]

Added

  • bitswap/client: Improved timeout configuration for block requests
    • Exposed DontHaveTimeoutConfig to hold configuration values for dontHaveTimeoutMgr which controls how long to wait for requested block before emitting a synthetic DontHave response
    • Added DefaultDontHaveTimeoutConfig() to return a DontHaveTimeoutConfig populated with default values
    • Added optional WithDontHaveTimeoutConfig to allow passing a custom DontHaveTimeoutConfig
    • Setting SetSendDontHaves(false) works the same as before. Behind the scenes, it will disable dontHaveTimeoutMgr by passing a nil onDontHaveTimeout to newDontHaveTimeoutMgr.

Changed

  • 🛠 blockstore and blockservice's WriteThrough() option now takes an "enabled" parameter: WriteThrough(enabled bool).
  • Replaced unmaintained mock time implementation uses in tests: from => to
  • bitswap/client: if a libp2p connection has a context, use context.AfterFunc to cleanup the connection.
  • upgrade to go-libp2p-kad-dht v0.28.1
  • upgrade to go-libp2p v0.38.1
  • blockstore/blockservice: change option to WriteThrough(enabled bool) #749
  • mfs: improve mfs republisher #754

Fixed

  • mfs: directory cache is now cleared on Flush(), liberating the memory used by the otherwise ever-growing cache. References to directories and sub-directories should be renewed after flushing.
  • bitswap/client: Fix leak due to cid queue never getting cleaned up #756
  • bitswap: Drop stream references on Close/Reset 760

[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 lifecycle context.

Changed

  • bitswap, routing, exchange (#641):

    • ✨ Bitswap is no longer in charge of providing blocks to the network: 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 behavior as before (i.e. particularly ensuring that new blocks are still provided), what was done like:
    	bswapnet := network.NewFromIpfsHost(host, contentRouter)

... (truncated)

Commits

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

Release notes

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

v0.38.1

What's Changed

Refer the the release notes in v0.38.0 for all things new in v0.38.

Full Changelog: libp2p/go-libp2p@v0.38.0...v0.38.1

v0.38.0

Highlights

  • You can now use the same port for TCP and WebSocket. Refer to the TestSharedTCPAddr for an example on how to enable this. Currently this is opt-in. In a future release, we may enable this as default behavior when you leave the port unspecified or when you explicitly set the same port.

  • The eventbus will now log error messages when it detects slow consumers. It's important for slow consumers to not stall the eventbus, as this can cause the core libp2p node to stall. Previously this was visible via metrics. This should help identify hard-to-debug issues without requiring metrics to be configured.

What's changed

  • peerstore: remove sync.Pool for expiringAddrs (#3093) [sukun]
  • webtransport: close quic conn on dial error (#3104) [sukun]
  • peerstore: fix addressbook benchmark timing (#3092) [sukun]
  • swarm: record conn metrics only once (#3091) [sukun]
  • fix(sampledconn): Correctly handle slow bytes and closed conns (#3080) [Marco Munizaga]
  • fix(peerstore): pass options to addrbook constructor (#3090) [sukun]
  • fix(swarm): remove stray print stmt (#3086) [sukun]
  • feat(swarm): delay /webrtc-direct dials by 1 second (#3078) [sukun]
  • ci: free disk space for interop tests (#3084) [Piotr Galar]
  • chore: Update dependencies and fix deprecated function in relay example (#3023) [Reymon]
  • chore: fix broken link to record envelope protobuf file (#3070) [hishope]
  • chore(core): fix function name in interface comment (#3056) [wangjingcun]
  • basichost: avoid modifying slice returned by AddrsFactory (#3068) [Ivan Shvedunov]
  • feat(addrbook): allow passing options to memoryAddrBook (#3062) [Daniel Norman]
  • chore(dashboard/alertmanager): update api version from v1 to v2 (#3054) [Carlos Peliciari]
  • fix(tcpreuse): handle connection that failed to be sampled (#3036) [Adin Schmahmann]
  • fix(tcpreuse): remove windows specific code (#3039) [Marco Munizaga]
  • refactor(core/routing): split ContentRouting interface (#3048) [Hector Sanjuan]
  • fix(holepunch/tracer): replace inline peer struct with peerInfo type (#3049) [Carlos Peliciari]
  • fix(eventbus): Idempotent wildcardSub close (#3045) [Marco Munizaga]
  • fix(identify): push should not dial a new connection (#3035) [Marco Munizaga]
  • eventbus: dont panic on closing Subscription twice (#3034) [sukun]
  • fix(swarm): incorrect error message format order (#3037) [未月]
  • feat: eventbus: log error on slow consumers (#3031) [Marco Munizaga]

... (truncated)

Commits
  • 7ce9c50 chore: release v0.38.1 (#3114)
  • a0a498e fix(httpauth): Correctly handle concurrent requests on server (#3111)
  • b07e3aa ci: Install specific protoc version when generating protobufs (#3112)
  • aa7c048 fix(autorelay): Move relayFinder peer disconnect cleanup to separate goroutin...
  • 88ae979 chore: Release v0.38.0 (#3106)
  • e959b3c peerstore: remove sync.Pool for expiringAddrs (#3093)
  • d80b1da webtransport: close quic conn on dial error (#3104)
  • ba1703f peerstore: fix addressbook benchmark timing (#3092)
  • 37fbd7e swarm: record conn metrics only once (#3091)
  • 4e85c96 fix(sampledconn): Correctly handle slow bytes and closed conns (#3080)
  • Additional commits viewable in compare view

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

Release notes

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

v1.1.1

  • Fixed a segmentation violation caused by DNS lookups using the local DNS resolver rather than Go's native one

Full Changelog: SiaFoundation/renterd@v1.1.0...v1.1.1

v1.1.0

What's Changed

... (truncated)

Commits
  • c23a044 docker: move dockerfile to package root
  • 8b8a0ec ci: use publish workflow
  • 5c7e857 Remove directories table (#1683)
  • 149f2fe Update hostd/core/coreutils deps (#1682)
  • f0ce445 Update core dependencies (#1652)
  • 9c8b9ff autopilot: add logging
  • 5a53660 autopilot: use keepContract
  • 8068de9 autopilot: don't consider hosts bad when we have a contract with them and 'sc...
  • 1b506ab accounts: log success in refillAccount
  • 101ec52 stores: fix settings and pricetable scan
  • Additional commits viewable in compare view

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

…3 updates

Bumps the all-dependencies group with 2 updates in the / directory: [github.com/ipfs/boxo](https://github.com/ipfs/boxo) and [go.sia.tech/renterd](https://github.com/SiaFoundation/renterd).


Updates `github.com/ipfs/boxo` from 0.24.3 to 0.26.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.26.0)

Updates `github.com/libp2p/go-libp2p` from 0.37.0 to 0.38.1
- [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.38.1)

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

---
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-minor
  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] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Dec 23, 2024
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.

0 participants