-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(quic): Add draft-29 support #3151
Merged
Merged
Changes from 7 commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
122f370
feat(quic): Add draft-29 support
elenaf9 bbed9c0
docs(quic): add note on draft-29 support removal
elenaf9 415777d
Merge branch 'master' of github.com:libp2p/rust-libp2p into quic/draf…
elenaf9 14b4cb4
Merge branch 'master' of github.com:libp2p/rust-libp2p into quic/draf…
elenaf9 85bafc1
chore: bump version, add changelog
elenaf9 1fc87da
feat(quic): add `QuicVersion` enum
elenaf9 fa39fc6
doc(quic): link to issue about quic codepoint
elenaf9 4ebb4f6
fix(quic): fix copy-pase errors in smoke test
elenaf9 4cd494d
feat(quic): add swap_proto macro in smoke test
elenaf9 8f05e09
refactor(quic): rename QuicVersion => ProtocolVersion
elenaf9 2a83d3c
chore(quic): relase patch as 0.7.0-alpha.2
elenaf9 b0dab3b
fix(quic): fix version in CHANGELOG entry
elenaf9 885bbca
doc(quic): apply suggestions from review
elenaf9 e09a860
Merge branch 'master' into quic/draft-29
elenaf9 2204f79
Merge branch 'master' into quic/draft-29
mxinden File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ name = "libp2p" | |
edition = "2021" | ||
rust-version = "1.62.0" | ||
description = "Peer-to-peer networking library" | ||
version = "0.50.0" | ||
version = "0.50.1" | ||
authors = ["Parity Technologies <[email protected]>"] | ||
license = "MIT" | ||
repository = "https://github.com/libp2p/rust-libp2p" | ||
|
@@ -120,7 +120,7 @@ smallvec = "1.6.1" | |
libp2p-deflate = { version = "0.38.0", path = "transports/deflate", optional = true } | ||
libp2p-dns = { version = "0.38.0", path = "transports/dns", optional = true } | ||
libp2p-mdns = { version = "0.42.0", path = "protocols/mdns", optional = true } | ||
libp2p-quic = { version = "0.7.0-alpha", path = "transports/quic", optional = true } | ||
libp2p-quic = { version = "0.7.1-alpha", path = "transports/quic", optional = true } | ||
libp2p-tcp = { version = "0.38.0", path = "transports/tcp", optional = true } | ||
libp2p-tls = { version = "0.1.0-alpha", path = "transports/tls", optional = true } | ||
libp2p-webrtc = { version = "0.4.0-alpha", path = "transports/webrtc", optional = true } | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,10 @@ | ||
# 0.7.1-alpha [unreleased] | ||
|
||
- Add opt-in support for the `/quic` codepoint, interpreted as QUIC version draft-29. | ||
See [PR 3151]. | ||
|
||
[PR 3151]: https://github.com/libp2p/rust-libp2p/pull/3151 | ||
|
||
# 0.7.0-alpha | ||
|
||
- Initial alpha release. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "libp2p-quic" | ||
version = "0.7.0-alpha" | ||
version = "0.7.1-alpha" | ||
authors = ["Parity Technologies <[email protected]>"] | ||
edition = "2021" | ||
rust-version = "1.62.0" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the appropriate bump would be:
0.7.1-alpha
suggests that a0.7.0
exists and we are pre-releasing a patch version (although the non-breaking aspect of said patch version is not guaranteed, hence the alpha).We haven't even released
0.7.0
so we may as well push more alpha's out until we are happy with it.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah yes you are right! Fixed in 2a83d3c. This also means that we don't need to bump the version in the
libp2p
crate.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you will have to, I don't think alpha versions update automatically. AFAIK, they are basically major version bumps but with an "unstable" co-notation.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I could be wrong though, please test it :)