go-ipfs-api
go-ipfs-api copied to clipboard
build(deps): bump github.com/libp2p/go-libp2p-core from 0.6.1 to 0.9.0
Bumps github.com/libp2p/go-libp2p-core from 0.6.1 to 0.9.0.
Release notes
Sourced from github.com/libp2p/go-libp2p-core's releases.
v0.9.0
In this release, we removed a number functions and types that have long been deprecated:
crypto/KeyStretcherandcrypto.StretchedKeys(#203)Bytesmethod from thecrypto.Keyinterface (#204)peer.IDB58Decode,peer.IDB58Encode,peer.IdHexDecode,peer.IdHexEncode(#205)insecure.Newconstructor for the insecure transport (#206)v0.8.6
No release notes provided.
v0.8.5
Introduces a context option to signify simultaneous connect for hole punching.
v0.8.4
Introduces an Event to detect TCP & UDP NAT Device Type.
v0.8.3
Adds support for forcing a direct connection with a peer even if we already have a relayed connection.
v0.8.2
- #175 -- Adds support for transient connections.
v0.8.1
- Introduce a
sec.SecureMuxerinterface which can select security protocols and open outbound connections with simultaneous open. It is a wrapper around theSecureTransportinterface.v0.8.0 introduces a BREAKING interface change:
MuxedConn.OpenStreamandConn.NewStreamnow both take acontext.Context. This allows stream multiplexer implementations to unblockOpenStreamwhen requested to do so.Release v0.7.0
This is release includes a significant BREAKING CHANGE to the stream interface.
Previously,
Close()closed streams for writing, but left them open for reading. Unfortunately, this meant streams would not be garbage collected until either (a) an EOF had been read on the stream or (b)Resethad been called. While technically documented, this behavior was extraordinarily surprising and most libp2p applications end up misusing and leaking streams (leading to memory leaks).A
CloseReadfunction has been introduced to close a stream for reading only (writing is still allowed).
- Any in-progress
Readcalls will be interrupted with a non-EOF error.- No further calls to
Readwill succeed.- The handling of new incoming data on the stream after calling close is implementation defined. Currently,
- Yamux and Mplex will throw away incoming data on a closed stream.
- QUIC will return an error to the sender.
Closenow closes the stream for both reading and writing.Closeis equivalent to callingCloseReadandCloseWrite. Importantly,Closewill not wait for any form of acknowledgment. If acknowledgment is required, the caller must callCloseWrite, then wait on the stream for a response (or an EOF), then callClose()to free the stream object.When done with a stream, the user must call either
Close()orReset()to discard the stream, even after callingCloseRead()and/orCloseWrite().
Commits
ea6cbf9feat: remove unused metrics (#208)6e24b97feat: keep addresses for longer (#207)1262f60remove deprecated key stretching struct / function (#203)d28ef63remove deprecated Bytes method from the Key interface (#204)6cef973remove deprecated functions in the peer package (#205)e952b37remove deprecated constructor for the insecure transport (#206)8c04ed1feat: add helper functions for working with addr infos (#202)ef6e277fix: make timestamps strictly increasing (#201)e5b6740ci: use github-actions for compatibility testing (#200)aec4faasync: update CI config files (#189)- Additional commits viewable in compare view
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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major versionwill 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 versionwill 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 dependencywill 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 labelswill set the current labels as the default for future PRs for this repo and language@dependabot use these reviewerswill set the current reviewers as the default for future PRs for this repo and language@dependabot use these assigneeswill set the current assignees as the default for future PRs for this repo and language@dependabot use this milestonewill set the current milestone as the default for future PRs for this repo and language@dependabot badge mewill 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:
- 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 ignore this dependency