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 7 updates #34

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 24, 2025

Bumps the all-dependencies group with 5 updates in the / directory:

Package From To
github.com/ipfs/boxo 0.24.3 0.27.4
github.com/ipfs/go-cid 0.4.1 0.5.0
github.com/ipfs/go-datastore 0.6.0 0.7.0
github.com/multiformats/go-multiaddr 0.14.0 0.15.0
go.sia.tech/renterd 1.0.8 1.1.1

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

Release notes

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

v0.27.4

What's Changed

Fixed

  • Fix memory leaks due to not cleaning up wantlists #829, #833
  • ipns: Improved interop with legacy clients by restoring support for []byte CID in Value field. Value() will convert it to a valid path.Path. Empty Value() will produce NoopPath (/ipfs/bafkqaaa) to avoid breaking existing code that expects a valid record to always produce a valid content path. #830

Full Changelog: ipfs/boxo@v0.27.3...v0.27.4

v0.27.3

What's Changed

Added

  • provider: Added ReprovideInterval and LastRun stats to the Reprovider #815

Removed

  • bitswap/cllient: Remove unused tracking of CID for interested sessions. #821

Fixed

  • bitswap/client: Fix runaway goroutine creation under high load. Under high load conditions, goroutines are created faster than they can complete and the more goroutines creates the slower them complete. This creates a positive feedback cycle that ends in OOM. The fix dynamically adjusts message send scheduling to avoid the runaway condition. #817
  • bitswap/cllient: Fix resource leak caused by recording the presence of blocks that no session cares about. #822

Full Changelog: ipfs/boxo@v0.27.2...v0.27.3

v0.27.2

What's Changed

Fixed

  • bitswap/client: Reverted attempt to send cancels with excluded peer due to additional issues with wantlist accounting #809

Full Changelog: ipfs/boxo@v0.27.1...v0.27.2

v0.27.1

What's Changed

Fixed

  • bitswap/client: Fixed fix sending cancels when excluding peer #805

Full Changelog: ipfs/boxo@v0.27.0...v0.27.1

v0.27.0

What's Changed

... (truncated)

Changelog

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

[v0.27.4]

Fixed

  • Fix memory leaks due to not cleaning up wantlists #829, #833
  • ipns: Improved interop with legacy clients by restoring support for []byte CID in Value field. Value() will convert it to a valid path.Path. Empty Value() will produce NoopPath (/ipfs/bafkqaaa) to avoid breaking existing code that expects a valid record to always produce a valid content path. #830
  • gateway/blocks-backend: Removed IPLD decoding in GetBlock funciton in gateway's BlocksBackend. Now it's querying the blockService directly instead of dagService. #845

[v0.27.3]

Added

  • provider: Added ReprovideInterval and LastRun stats to the Reprovider #815

Removed

  • bitswap/cllient: Remove unused tracking of CID for interested sessions. #821

Fixed

  • bitswap/client: Fix runaway goroutine creation under high load. Under high load conditions, goroutines are created faster than they can complete and the more goroutines creates the slower them complete. This creates a positive feedback cycle that ends in OOM. The fix dynamically adjusts message send scheduling to avoid the runaway condition. #817
  • bitswap/cllient: Fix resource leak caused by recording the presence of blocks that no session cares about. #822

[v0.27.2]

Fixed

  • bitswap/client: Reverted attempt to send cancels with excluded peer due to additional issues with wantlist accounting #809

[v0.27.1]

Fixed

  • bitswap/client: Fixed fix sending cancels when excluding peer #805

[v0.27.0]

Added

  • gateway Support for custom DNSLink / DoH resolvers on localhost to simplify integration with non-ICANN DNS systems #645

Changed

  • gateway: The default DNSLink resolver for .eth TLD changed to https://dns.eth.limo/dns-query #781
  • gateway: The default DNSLink resolver for .crypto TLD changed to https://resolver.unstoppable.io/dns-query #782
  • upgrade to go-libp2p-kad-dht v0.28.2

... (truncated)

Commits

Updates github.com/ipfs/go-cid from 0.4.1 to 0.5.0

Release notes

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

v0.5.0

What's Changed

New Contributors

Full Changelog: ipfs/go-cid@v0.4.1...v0.5.0

Commits
  • 5cddba5 v0.5.0 bump (#172)
  • c38d1ef chore(deps): bump golang.org/x/crypto from 0.17.0 to 0.31.0
  • 7f61b44 move _rsrch/cidiface into an internal package
  • 13ed68d chore!: bump go.mod to Go 1.22 and run go fix (#167)
  • b655a59 Merge pull request #166 from ipfs/uci/copy-templates
  • 81bd42a chore: add or force update .github/workflows/tagpush.yml
  • 23af06e chore: add or force update .github/workflows/release-check.yml
  • 5265301 chore: add or force update .github/workflows/releaser.yml
  • 11e146d chore: add or force update .github/workflows/go-check.yml
  • 91f1b23 chore: add or force update .github/workflows/go-test.yml
  • Additional commits viewable in compare view

Updates github.com/ipfs/go-datastore from 0.6.0 to 0.7.0

Release notes

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

v0.7.0

What's Changed

New Contributors

Full Changelog: ipfs/go-datastore@v0.6.0...v0.7.0

v0.6.1

What's Changed

New Contributors

Full Changelog: ipfs/go-datastore@v0.6.0...v0.6.1

Commits

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

Release notes

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

v0.38.2

What's Changed

a4433e70 Release v0.38.2 9e08a027 tcpreuse: fix rcmgr accounting when tcp metrics are enabled (#3142) 6735dd57 fix(net/nat): data race problem of extAddr (#3140) 1ebb404d test: fix failing test (#3141) 8f09a3e1 nat: ignore mapping if external port is 0 (#3094) 15299451 tcpreuse: error on using tcpreuse with pnet (#3129) 7397e65e chore: Update contribution guidelines (#3134) 05b4afe5 tcp: fix metrics test build directive (#3052) 1a2387c1 ci: get back on the main release track of release checker (#3117) 051fe112 webtransport: fix docstring comment for getCurrentBucketStartTime

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

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]

... (truncated)

Commits
  • 6d93e73 Release v0.38.2 (#3147)
  • dd592c3 chore: release v0.38.1
  • 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)
  • Additional commits viewable in compare view

Updates github.com/libp2p/go-libp2p-kad-dht from 0.28.1 to 0.28.2

Release notes

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

v0.28.2

What's Changed

New Contributors

Full Changelog: libp2p/go-libp2p-kad-dht@v0.28.1...v0.28.2

Commits

Updates github.com/multiformats/go-multiaddr from 0.14.0 to 0.15.0

Release notes

Sourced from github.com/multiformats/go-multiaddr's releases.

v0.15.0

Breaking Changes

  • There is no Multiaddr interface type.
  • Multiaddr is now a concrete type of []Component. Not an interface.
  • Empty Multiaddrs should be checked len(ma) == 0, exactly how slices should be checked with len(s) == 0 rather than s == nil.
  • Components do not implement Multiaddr as there is no Multiaddr to implement. The do implement a Multiaddrer interface that lets them convert to Multiaddrs.
  • Multiaddr can no longer be a key in a Map. If you want unique Multiaddrs, use string(Multiaddr.Bytes()) or Multiaddr.String() as the key, otherwise you can use the pointer value *Multiaddr.

Why?

This library has had multiple issues related to Multiaddr being an interface. Many methods use and return nil as the zero value, which behaves poorly when the user forgets to do a nil check on every returned value and attempts to call a method on the nil pointer. For example, using Split to split a Multiaddr and then using Join to rebuild the original Multiaddr historically would panic in case one side of the split was nil. Using an interface also leads to incorrect usages of == to check if two Multiaddrs were equal (would only work for pointer equality) and, likewise, incorrectly using Multiaddr as a key for a map.

Using an interface is typically done to provide a consistent API surface for multiple implementing types. In practice however, the Multiaddr interface was only implemented for multiaddr and component (with arguably some awkwardness when using a component as a Multiaddr).

The better approach is to use a concrete type for a Multiaddr. This lets pointer receiver methods work even if the pointer is nil, since the compiler already knows which function to call. Most methods now take a value rather than a pointer which avoids the issue of a nil pointer dereference completely.

What's changed

v0.15 refactors the codebase to make it much harder to hit nil pointer dereference panics.

It does so by taking a different approach to how we've treated multiaddrs in the past. Instead of attempting to make them a general datastructure, we focus on treating them as just an encoding scheme. Users of multiaddrs are expected to parse the multiaddr into some struct that is suitable for their use case, and use the multiaddr form when interoperating. By treating Multiaddrs as just an encoding scheme we can make a number of simplifications in the codebase. Specifically we now:

  • Remove the Multiaddr interface.
  • Make Multiaddr a concrete type of []Component

Migration

Refer to ./v015-MIGRATION.md for breaking changes and migration tips

Full Changelog: multiformats/go-multiaddr@v0.14.0...v0.15.0

Commits
  • 30b45fb chore: release v0.15.0 (#266)
  • 4d1f355 refactor: Backwards compatible Encapsulate/Decapsulate/Join/NewComponent (#272)
  • 2ac523b refactor: keep same api as v0.14.0 for SplitFirst/SplitLast (#271)
  • 4abf520 Merge pull request #268 from multiformats/uci/update-go
  • e41d519 chore!: bump go.mod to Go 1.23 and run go fix
  • 46805b0 refactor: Follows up on #261 (#264)
  • 1ef63b5 refactor!: make the API harder to misuse (#261)
  • d19cf5d build(deps): bump golang.org/x/crypto from 0.18.0 to 0.31.0 (#259)
  • See full diff 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

…7 updates

Bumps the all-dependencies group with 5 updates in the / directory:

| Package | From | To |
| --- | --- | --- |
| [github.com/ipfs/boxo](https://github.com/ipfs/boxo) | `0.24.3` | `0.27.4` |
| [github.com/ipfs/go-cid](https://github.com/ipfs/go-cid) | `0.4.1` | `0.5.0` |
| [github.com/ipfs/go-datastore](https://github.com/ipfs/go-datastore) | `0.6.0` | `0.7.0` |
| [github.com/multiformats/go-multiaddr](https://github.com/multiformats/go-multiaddr) | `0.14.0` | `0.15.0` |
| [go.sia.tech/renterd](https://github.com/SiaFoundation/renterd) | `1.0.8` | `1.1.1` |



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

Updates `github.com/ipfs/go-cid` from 0.4.1 to 0.5.0
- [Release notes](https://github.com/ipfs/go-cid/releases)
- [Commits](ipfs/go-cid@v0.4.1...v0.5.0)

Updates `github.com/ipfs/go-datastore` from 0.6.0 to 0.7.0
- [Release notes](https://github.com/ipfs/go-datastore/releases)
- [Commits](ipfs/go-datastore@v0.6.0...v0.7.0)

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

Updates `github.com/libp2p/go-libp2p-kad-dht` from 0.28.1 to 0.28.2
- [Release notes](https://github.com/libp2p/go-libp2p-kad-dht/releases)
- [Commits](libp2p/go-libp2p-kad-dht@v0.28.1...v0.28.2)

Updates `github.com/multiformats/go-multiaddr` from 0.14.0 to 0.15.0
- [Release notes](https://github.com/multiformats/go-multiaddr/releases)
- [Commits](multiformats/go-multiaddr@v0.14.0...v0.15.0)

Updates `go.sia.tech/renterd` from 1.0.8 to 1.1.1
- [Release notes](https://github.com/SiaFoundation/renterd/releases)
- [Changelog](https://github.com/SiaFoundation/renterd/blob/master/CHANGELOG.md)
- [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/ipfs/go-cid
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-dependencies
- dependency-name: github.com/ipfs/go-datastore
  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: github.com/libp2p/go-libp2p-kad-dht
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all-dependencies
- dependency-name: github.com/multiformats/go-multiaddr
  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] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Feb 24, 2025
bitswapNet := bnetwork.NewFromIpfsHost(host, frt)
bitswap := bitswap.New(ctx, bitswapNet, bs, bitswapOpts...)
bitswapNet := bnetwork.NewFromIpfsHost(host)
bitswap := bitswap.New(ctx, bitswapNet, frt, bs, bitswapOpts...)
Copy link
Member

Choose a reason for hiding this comment

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

@n8maninger not sure what I did here makes is sane but the interface changed

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