Fix a data race in the websocket transport when setting deadlines.
Fix a bug in the circuit transport where we might stop listening on the transport when a single connection aborts.
v0.8.2
Fixes two tricky bugs:
Ensures we don't forget addresses observed by connected peers. Previously, this wasn't so bad because our peers would know our addresses, and would be able to direct new peers towards us. However, we'll now tell all of our peers our new address set, so they'll also forget our address :(.
Harden logic around identifying connections.
Note: 2 means that all new streams now wait for identify to complete. Previously, only Connect did this. In practice, this should save time as:
Identify is always one RTT.
Identify starts as soon as we get the connection.
Once identify has completed, all streams can skip the negotiation step.
Otherwise, streams trying to negotiate one of multiple protocols may have to spend several round-trips negotiating.
v0.8.1
Fix a noisy log line.
Add a missing ticker.Stop() to avoid leaking a timer on shutdown.
v0.8.0
Important changes:
The TLS security transport has been added to the default security transports, alongside SECIO. SECIO will still be preferred for the moment.
The WithReachability option included in the previous release has been split into ForceReachabilityPrivate() and ForceReachabilityPublic() to make it clear what this option does.
Other:
Expose AutoNAT throttling options.
Remove use of goprocess from the libp2p host.
v0.7.4
Patch release to update some dependencies. This patch also fixes libp2p/go-libp2p#841.
v0.7.3
Re-disables stream write coalescing until we have a chance to profile it.
Upgrades the swarm.
Commits
c833e2c Merge pull request #876 from libp2p/dependabot/go_modules/github.com/libp2p/g...
9cc9d5c Merge pull request #893 from libp2p/dependabot/go_modules/github.com/libp2p/g...
6dc5d50 Merge pull request #892 from libp2p/dependabot/go_modules/github.com/libp2p/g...
3486758 Merge pull request #895 from libp2p/dependabot/go_modules/github.com/libp2p/g...
75a1225 Merge pull request #896 from libp2p/dependabot/go_modules/github.com/libp2p/g...
2d308cd Merge pull request #901 from libp2p/dependabot/go_modules/github.com/libp2p/g...
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)
Bumps github.com/libp2p/go-libp2p from 0.7.2 to 0.8.3.
Release notes
Sourced from github.com/libp2p/go-libp2p's releases.
Commits
c833e2c
Merge pull request #876 from libp2p/dependabot/go_modules/github.com/libp2p/g...9cc9d5c
Merge pull request #893 from libp2p/dependabot/go_modules/github.com/libp2p/g...6dc5d50
Merge pull request #892 from libp2p/dependabot/go_modules/github.com/libp2p/g...3486758
Merge pull request #895 from libp2p/dependabot/go_modules/github.com/libp2p/g...75a1225
Merge pull request #896 from libp2p/dependabot/go_modules/github.com/libp2p/g...2d308cd
Merge pull request #901 from libp2p/dependabot/go_modules/github.com/libp2p/g...408e4d1
build(deps): bump github.com/libp2p/go-libp2p-circuitef1cfe7
Merge pull request #899 from libp2p/fix/obserations84b923c
fix: address code review06d9fc7
fix: keep observed addrs alive as long as their associated connections are aliveDependabot 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)