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.
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.
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.8.0.
Release notes
Sourced from github.com/libp2p/go-libp2p's releases.
Commits
6f4961b
Merge pull request #887 from libp2p/feat/betterMockAddresses81302e9
remote mock addresses won't be unspecified. deprioritize those3d825d8
Merge pull request #884 from libp2p/feat/support-tlseb76a02
feat: support TLS by defaulta0f66ec
Merge pull request #882 from libp2p/feat/throttleOptionc08993b
switch bool to enum5473f0e
clarify nat options97be7d6
Expose option for setting autonat throttlingfee77aa
Merge pull request #878 from libp2p/bug/natoptions4438723
Merge pull request #880 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)