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.
v0.7.2
Revert a yamux optimization that could, in very rare cases, send data on a stream before opening it.
v0.7.1
Updates some dependencies.
Fixes a bug in the AutoNATService support that prevent it from actually starting the service.
v0.7.0
Use the NAT status events to trigger changes in AutoRelay instead of polling. This should result in faster AutoRelay setup.
Update to a unified (i.e., unified client+server) and improved AutoNAT service.
Avoid running any services on the AutoNAT dialer (no identify, ping, etc.).
Fix a regression in 0.6 where the in-memory peerstore wasn't getting properly closed on shutdown.
Emit events on the event bus when the local addresses change.
New options for AutoNAT:
WithReachability can force libp2p to start as "reachable" or "unreachable" and not try to autodetect reachability.
EnableNATService can be passed to make this node act as an AutoNAT server.
v0.6.1
Updates a bunch of dependencies.
v0.6.0
Go-LibP2P 0.6.0
This release includes several important changes you should be aware of.
PrivateNetwork Option [BREAKING]
The PrivateNetwork option has changed to directly take a pre-shared key. This option used to take an object implementing the protector interface. Unfortunately, the protector interface assumes stream transports and doesn't extend well to packet-based transports like QUIC.
In this release, stream multiplexers now coalesce multiple writes from multiple streams into a single write to the underlying transport. This slightly increases packet latency but significantly reduces the number of packets libp2p sends which should improve performance and reduce bandwidth overall.
Unfortunately, this optimization that will crash peers running go-libp2p versions prior to v0.0.20 (April 2019) and go-ipfs versions prior to 0.4.21 (May 2019).
Address Advertisements
Libp2p no longer advertises localhost addresses to peers not running on localhost. This could, in theory, make it harder to dial a peer on the same host. However, this should never be an issue in real-world scenarios.
Zap Logging
... (truncated)
Commits
7097641 Merge pull request #869 from libp2p/chore/update-deps
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.5.2 to 0.7.4.
Release notes
Sourced from github.com/libp2p/go-libp2p's releases.
Commits
7097641
Merge pull request #869 from libp2p/chore/update-depsd14fdba
chore: update deps again4181f43
Merge pull request #867 from libp2p/disable-write-coalescing79f13c0
chore: update the rest of the depsec2907e
disable write coalescing85060e8
Merge pull request #861 from libp2p/dependabot/go_modules/github.com/libp2p/g...f8e12fc
build(deps): bump github.com/libp2p/go-libp2p-peerstore7342175
Merge pull request #859 from libp2p/dependabot/go_modules/github.com/libp2p/g...82d957e
build(deps): bump github.com/libp2p/go-libp2p-yamux from 0.2.5 to 0.2.6f72f751
Merge pull request #856 from libp2p/chore/update-depsDependabot 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)