libp2p / go-libp2p-circuit

Circuit Switching for libp2p
MIT License
48 stars 16 forks source link

Bump github.com/libp2p/go-libp2p-swarm from 0.2.2 to 0.2.3 #106

Closed dependabot-preview[bot] closed 4 years ago

dependabot-preview[bot] commented 4 years ago

Bumps github.com/libp2p/go-libp2p-swarm from 0.2.2 to 0.2.3.

Release notes

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

v0.2.3

  • Implement the Timeout interface on dial errors. It's now possible to check if a dial error is due to a timeout by casting to an interface implementing Timeout() bool and calling Timeout().
  • Improve errors when the context is canceled and/or the swarm shuts down.
  • Fire listener close events.
  • Don't cancel outbound dials when we receive an inbound connection. When this happens in practice, it can cause both sides to cancel outbound dials. Fixes libp2p/go-libp2p-swarm#79.
  • Don't return an error from InterfaceListenAddresses if we aren't listening on any addresses. Instead, simply return no addresses.
  • Backoff multiaddrs instead of entire peers. That way, if we learn better addresses for a peer, we'll try dialing them again.
  • Expire backoffs instead of leaking them.
Commits
  • 7694d47 Merge pull request #193 from libp2p/feat/backoff-cleanup
  • b5d7068 don't expire backoffs until 2x backoff period
  • 1c0adc3 Merge pull request #192 from libp2p/fix/simplify-backoff
  • aa270de chore: slightly simplify backoff logic
  • 6711d98 Merge pull request #191 from libp2p/feat/addrbackoff
  • b49b1c4 simplify data structure
  • a68f7ae add background cleanup task
  • b1c2f90 change backoffs to per-address
  • b6831d4 Merge pull request #171 from libp2p/dependabot/go_modules/github.com/libp2p/g...
  • 0cf53d6 Merge pull request #190 from libp2p/fix/189
  • 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 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 use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Pull request limits (per update run and/or open at any time) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired)
dependabot-preview[bot] commented 4 years ago

Looks like github.com/libp2p/go-libp2p-swarm is up-to-date now, so this is no longer needed.