libp2p / go-libp2p-examples

Example libp2p applications
MIT License
339 stars 145 forks source link

Bump github.com/libp2p/go-libp2p from 0.5.2 to 0.6.1 #129

Closed dependabot-preview[bot] closed 4 years ago

dependabot-preview[bot] commented 4 years ago

Bumps github.com/libp2p/go-libp2p from 0.5.2 to 0.6.1.

Release notes

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

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.

When you upgrade, you'll need to use github.com/libp2p/go-libp2p-core/pnet.DecodeV1PSK to decode your pre-shared key, then pass this key into libp2p using the libp2p.PrivateNetwork option.

Write Coalescing

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

Libp2p has switched to the zap logging backend by default. To get JSON-encoded Zap logging output, set the GOLOG_LOG_FMT=json environment variable.

QUIC

The libp2p QUIC transport (not enabled by default) now implements QUIC draft 27. We expect this to be the final draft before we stabilize and enable this transport by default.

Commits
  • 76c1f95 Merge pull request #846 from libp2p/chore/dep-update
  • 7b280dd chore: update yamux
  • 891aeda Merge pull request #843 from libp2p/dependabot/go_modules/github.com/libp2p/g...
  • 71e2d4e build(deps): bump github.com/libp2p/go-libp2p-yamux from 0.2.2 to 0.2.4
  • 463fa2a Merge pull request #838 from libp2p/dependabot/go_modules/github.com/multifor...
  • ca57cf9 build(deps): bump github.com/multiformats/go-multiaddr-net
  • 9ad477b Merge pull request #836 from libp2p/feat/reliable-mock-notif
  • 5f75aa2 feat(mock): reliable notifications
  • 4bbf43e Merge pull request #835 from libp2p/fix/autorelay-doc
  • 6163463 Merge pull request #833 from libp2p/dependabot/go_modules/github.com/libp2p/g...
  • 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

Superseded by #133.