Skip to content

Releases: quinn-rs/quinn

0.8.0

14 Nov 21:42
@djc djc
Compare
Choose a tag to compare

We are happy to announce the release of 0.8.0 of Quinn, our pure-Rust implementation of the QUIC transport protocol, a next-generation TCP successor specified by the IETF.

After 8 months of development since the release of 0.7.0, we finally have a new release. This release is the first to support QUIC v1 as specified in RFC 9000, in addition to supporting draft versions 29 to 32 (inclusive). The configuration API has been substantially simplified in part to work with the new rustls 0.20 configuration builders, two modern congestion controller implementations are now available, Quinn types are no longer parametrized with the crypto session type, and performance has been significantly improved.

Important changes:

  • Update to rustls 0.20, which necessitated numerous changes to configuration APIs (#1150)
  • Use dyn Session for crypto session types, simplifying the API and reducing compile times (#1201)
  • Add support for multiple QUIC versions (#1232)

Functional improvements

  • Add an implementation of the CUBIC congestion controller (#1122, thanks to @FrankSpitulski)
  • Make the Cubic congestion controller the default (#1165)
  • Add an implementation of the BBR congestion controller (#1151, thanks to @FrankSpitulski)
  • Add must_use warnings for all types that implement Future (#1139, thanks to @lberrymage)
  • Drop outgoing packets on permission errors during transmission (#1157, thanks to @Matthias247)
  • Log (with rate limiting), then ignore transmission errors (#1172, thanks to @Matthias247)
  • Make TransportConfig setters infallible (#1177, thanks to @connec)
  • Allow dynamically changing an Endpoint's ServerConfig (#1191, thanks to @BiagioFesta)
  • Send ping on rebind to ensure peers notice migration (#1217)
  • Improve persistent congestion handling to allow faster recovery (#1223)
  • Relax anti-amplification checks to be less strict (#1148, thanks to @Matthias247)

Performance improvements

Bug fixes

  • Reduce default size of datagrams in order to comply with the spec (#1156, thanks to @BiagioFesta)
  • Apply (QUIC) datagram frame size to entire frame (#1229)
  • Fix cases of spurious transmit readiness (#1227)
  • Remove incorrect spurious migration handling (#1144)
  • Prevent incorrect end-of-stream result when reading into empty slice (#1159)
  • Account received data for the most recent path (#1143, thanks to @Matthias247)
  • Disable generic segmentation offload (GSO) after encountering EIO on send (#1210)

Other improvements

  • Reduce dependencies on futures-rs crates (#1175, thanks to @xMAC94x)
  • Disable unused default features for various crates (#1184, thanks to @some-dood)
  • Extract quinn-udp crate for reuse in different projects (#1180, thanks to @kpp)
  • Remove unused ConfigError variant (#1181, thanks to @connec)
  • Improved bulk data benchmarks (#1193, thanks to @Matthias247)

While we don't always have large amounts of pre-defined good first issues setup due to the fast moving development, we're also always happy to mentor new contributors, independent of their prior level of Rust experience! We tend to respond to issues and PRs pretty quickly, and we have a responsive Gitter/Matrix channel.

0.7.0

02 Mar 20:23
@djc djc
Compare
Choose a tag to compare

We are happy to announce the release of 0.7.0 of Quinn, our pure-Rust implementation of the QUIC protocol, the next generation TCP replacement protocol currently being standardized at the IETF.

After 10 months of development since the release of 0.6.0, we finally have a new release which upgrades the protocol to drafts 29 through 32. It has additionally received many performance improvements (especially on Linux), is much more robust, provides a number of new APIs to inspect connection state, and traits that can be used to customize behavior. Our quinn crate has been updated to depend on tokio 1.

The focus of our HTTP/3 implementation work has shifted to the h3 crate.

Important changes:

  • Update to Tokio 1, rustls 0.19 and bytes 1 (#873, with fixes in #995 thanks to @geieredgar)
  • Update to draft 29 with support for draft 32 (#812, #879)
  • Adopted 1.45 as the minimum supported Rust version for now (#985, #988)
  • Substantial performance improvements (many contributed by @Matthias247)
  • Work towards support for Generic Send Offload on Linux (#960 and #1024, thanks to @Matthias247)

Functional improvements:

  • Zero-copy read and write APIs (#1013, thanks to @Matthias247, and #952)
  • Pluggable congestion control and congestion controller bugfixes (#759)
  • Add support for exporting keying material (#850, thanks to @kwantam)
  • Support customized connection ID generation (#851 and #925, thanks to @liwenjieQu)
  • Implement packet pacing support (#852, thanks to @DemiMarie)
  • Proactive connection ID rotation (#860, thanks to @liwenjieQu)
  • Add connection-level statistics (#884, #957, #973, #974; thanks to @Matthias247)
  • Expose access to round-trip time estimate (#889, thanks to @jamadazi)
  • Improve fairness on stream transmissions (#949, thanks to @Matthias247)
  • Accept certificates in PEM format (#829, thanks to @SSebo)
  • Encrypt Retry tokens (#833, thanks to @kansi)
  • Use the incoming IP address for sending outgoing packets (#967, thanks to @Matthias247)
  • Update datagram extension to support one-way semantics (#757)
  • Reduce connection task wake-ups while reading (#992, thanks to @geieredgar)
  • Improve defragmentation algorithm to reduce overhead (#1000, thanks to @geieredgar)

Bug fixes:

  • Remove unsound assumptions about IP address layout (#987, thanks to @est31)
  • Separate ECN counters per packet space (#798)
  • Reject connections on ALPN failure (#779)
  • Deduplicate buffers when switching to unordered mode (#1014, thanks to @geieredgar)
  • Return UnknownStream from Connection::reset for closed/reset streams (#778)
  • Proactively discard data on stopped streams (#777)
  • Fix socket options on iOS (#849, thanks to @SSebo)
  • Stop issuing redundant flow control credit (#758)
  • Don't block application writes on congestion (#710)

Other improvements:

  • Initial implementation of fuzz testing (#831 and #855, thanks to @jafow)
  • Expose some quinn-proto APIs in quinn (#809, thanks to @SoftwareSheriff)
  • Reexport ReadUnordered (#837, thanks to @Imberflur)
  • Implement Debug for TlsSession and SessionKind (#843, thanks to @imp)
  • Don't try to run code coverage on PRs (#824, thanks to @DemiMarie)

Documentation improvements:

Quinn has been proven to function well in real-world scenarios, so if you're interested in QUIC, now would be a good time to start testing. The QUIC v1 spec is stabilizing; we expect it will be published as an RFC within the next month.

While we don't always have large amounts of pre-defined good first issues setup due to the fast moving development, we're also always happy to mentor new contributors, independent of their prior level of Rust experience! We tend to respond to issues and PRs pretty quickly, and we have an active Gitter channel. Additionally @djc can now offer commercial support for Quinn, contact him for more details.

0.6.1

04 Apr 20:45
@djc djc
Compare
Choose a tag to compare

quinn 0.6.1 is a maintenance release with a number of significant bug fixes:

  • Fix initial data limit for remotely initiated bidirectional streams (fixes #694)
  • Fix bug that retired active CID on duplicate NEW_CONNECTION_ID (fixes #689)
  • Fix issuing of excess CIDs
  • Fix busy-hang when tokio and proto disagree on timer expiry

Anyone using the 0.6.0 release is advised to upgrade to this release. Thanks to @demimarie-parity and @SriRamanujam for providing detailed bug reports and working with us on reproduction and testing!

0.6.0

12 Mar 20:40
@djc djc
Compare
Choose a tag to compare

We are happy to announce the release of 0.6.0 of Quinn, our pure-Rust implementation of the QUIC protocol, the next generation TCP replacement protocol currently being standardized at the IETF.

After 4 months of development since the release of 0.5.0 (and several bugfix releases), we have a new release which upgrades the protocol to draft-27. It has additionally received many robustness improvements, smaller bug fixes, improved documentation and API refinements. Much of this work was triggered by the work at Parity to extend libp2p with QUIC support based on quinn-proto -- thanks to @demimarie-parity.

While our quinn-h3 implementation of HTTP 3 has not yet been released to crates.io, it has also undergone significant improvements in this release cycle, focusing in particular on improving interoperability with other implementations.

High level overview:

  • Improved API for inspecting crypto session (TLS) negotiated data (thanks to @kim)
  • Make rustls dependency optional at the quinn level
  • Refined APIs for datagrams (draft extension)
  • Cleaned up clippy warnings throughout all crates
  • Many bug fixes and improved robustness
  • Much improved documentation, particularly for the quinn-proto crate

Thanks to @demimarie-parity, @alecmocatta and @lionel1704 for their contributions.

Quinn has been proven to function well in real-world scenarios, so if you're interested in QUIC, now would be a good time to start testing. The QUIC v1 spec is stabilizing; we expect it will be published as an RFC in the next 6 months.

While we don't always have large amounts of pre-defined good first issues setup due to the fast moving development, we're also always happy to mentor new contributors, independent of their prior level of Rust experience! We tend to respond to issues and PRs pretty quickly, and we have an active Gitter channel.

quinn 0.5.3

01 Feb 21:40
@djc djc
Compare
Choose a tag to compare

quinn 0.5.3 is a quick maintenance release to solve a single bug:

  • Re-export tls::ParseError (#620, backported in #623)

quinn 0.5.1

09 Dec 08:40
@djc djc
Compare
Choose a tag to compare

quinn 0.5.1 is a quick maintenance release to solve a single bug:

  • Wake up the connection after a datagram send completes (#553, backported in #554)

This is only relevant if you're using the datagram extension (new in 0.5).

0.5.0

03 Dec 19:03
@djc djc
Compare
Choose a tag to compare

We are happy to announce the release of 0.5.0 of Quinn, our pure-Rust implementation of the QUIC protocol, the next generation TCP replacement protocol currently being standardized at the IETF.

After 3 months of development since the release of 0.4.0, Quinn has been upgraded to the latest draft (draft 24) protocols and has been migrated to std::future::Futures and tokio 0.2. Quinn 0.5.0 is a highly conformant implementation of the latest QUIC draft, according to the interoperability testing data maintained by implementers participating in the QUIC working group.

  • Implemented preliminary support for the (draft) datagram extension
  • Migrated from slog to tracing
  • Improved documentation
  • Many smaller bug fixes and refactoring to improve Quinn's internals

Thanks to @jean-airoldie, @NULLx76, @TimonPost, @demimarie-parity and @daxpedda for their contributions.

Quinn has been proven to function well in real-world scenarios, so if you're interested in QUIC, now would be a good time to start testing. The QUIC v1 spec is stabilizing and we expect it will be published as an RFC in the next 6 months.

While we don't always have large amounts of pre-defined good first issues setup due to the fast moving development, we're also always happy to mentor new contributors, independent of their prior level of Rust experience! We tend to respond to issues and PRs pretty quickly, and we have an active Gitter channel.

0.4.0

09 Sep 07:40
@djc djc
Compare
Choose a tag to compare

We are happy to announce the release of 0.4.0 of Quinn, our pure-Rust implementation of the QUIC protocol, the next generation TCP replacement protocol currently being standardized at the IETF.

After 5 months of development since the release of 0.3.0, Quinn has been upgraded to the latest draft (draft 22) protocols. We have created a trait-based abstraction over our use of rustls and ring, so that it will be possible to use Quinn with any TLS implementation implementing these traits, or even alternative non-standard cryptographic protocols. Quinn 0.4.0 is a highly conformant implementation of the latest QUIC draft, according to the interoperability testing data maintained by implementers participating in the QUIC working group.

  • A number of improvements to the high-level API to improve usability
  • Make it possible to build lower-level quinn-proto crate without rustls/ring
  • Moved CI to Azure, which means we now test Windows in addition to Linux and macOS
  • Implement coalescing of outgoing packets, reducing handshake overhead
  • Allow connection migration to be disabled
  • Improved documentation
  • Many smaller bug fixes and refactoring to improve Quinn's internals

Note that we plan to merge our branch using std::future::Future and async/await oriented interfaces soon after this release is published, since support for this syntax is stabilizing soon. Therefore, the next release will be designed for use with async and await; we will consider pushing out maintenance releases for 0.4 using "old" futures if there is demand.

Quinn has been proven to function well in real-world scenarios, so if you're interested in QUIC, now would be a good time to start testing. The QUIC v1 spec is stabilizing and we expect it will be published as an RFC in the next 6 months.

While we don't always have large amounts of pre-defined good first issues setup due to the fast moving development, we're also always happy to mentor new contributors, independent of their prior level of Rust experience! We tend to respond to issues and PRs pretty quickly, and we have an active Gitter channel.

0.3.0

18 Apr 15:51
@djc djc
Compare
Choose a tag to compare

We are happy to announce the release of 0.3.0 of Quinn, our pure-Rust implementation of the QUIC protocol, the next generation TCP replacement protocol currently being standardized at the IETF.

After 3 months of development since the release of 0.2.0, 0.3.0 is starting to see some real-world use. Quinn 0.3.0 is a highly conformant implementations of the latest QUIC draft (draft 19), according to the interoperability testing data maintained by implementers participating in the QUIC working group.

  • High-level API types are now Send and Sync for use on multi-threaded runtimes
  • Extensive refactoring to make the code more maintainable and approachable
  • Improved documentation for low-level quinn-proto crate
  • Updated protocol support to draft 19
  • 0-RTT data exchange is now supported
  • Fixed some QUIC-specific issues in rustls (thanks to @ctz for reviewing)
  • QPACK and partial HTTP 3 support has been implemented, but is unreleased for now
  • Work started to abstract the use of rustls to enable use of other TLS implementations
  • Initial benchmarks show 1+ Gbps, with lots of low-hanging optimization fruit still left
  • Example code for different use cases (thanks to @povilasb)
  • Worked around a networking regression (login only) in macOS 10.14

At this point, we expect the high-level API to only change in minor ways and Quinn has been proven to function well in real-world scenarios (see below), so if you're interested in QUIC, now would be a good time to start testing. The QUIC v1 spec is scheduled to be published as an RFC some time this summer.

We're grateful for the work @ustulation, @nbaksalyar and @povilasb from @maidsafe have contributed to this release. @maidsafe has replaced their internally developed UDP-based protocol with QUIC and Quinn, and in the process contributed a number of bugfixes, added examples and tests. Thanks also to @newpavlov for their contributions. We're happy that @stammw joined the Quinn team as main author of our unreleased quinn-h3 crate.

While we don't always have large amounts of pre-defined good first issues setup due to the fast moving development, we're also always happy to mentor new contributors, independent of their prior level of Rust experience! We tend to respond to issues and PRs pretty quickly, and we have an active Gitter channel.

0.2.0

21 Jan 19:28
@djc djc
Compare
Choose a tag to compare

We (@djc and @Ralith) are happy to announce the release of 0.2.0 of Quinn, our pure-Rust implementation of the QUIC protocol, the next generation TCP replacement protocol currently being standardized at the IETF.

After 3 months of development since the release of 0.1.0, 0.2.0 is much more complete. First and foremost, Quinn 0.2.0 is among the most conformant implementations of the latest QUIC draft (draft 17), according to the interoperability testing data maintained by implementers participating in the QUIC working group. It now supports:

  • Stateless retries
  • Explicit congestion notification (only Linux support so far -- contributions welcome!)
  • Connection migration

These features are currently being worked on:

  • 0-RTT data has largely been implemented but still needs tweaking of the API
  • HTTP 3 support has been started and is being worked on by our awesome contributor @stammw

We've worked to make Quinn even more modular. It consists of the quinn-proto crate, which contains deterministic protocol logic without touching any I/O APIs, and a quinn crate which leverages tokio to deliver a high-level asynchronous API. (Additionally, we maintain an experimental branch with async/await support.)

We're also grateful for the work @imp, @est31, @psiphi75, and @kryptan have contributed to this release. While we don't always have large amounts of pre-defined good first issues setup due to the fast moving development, we're always happy to mentor new contributors, independent of their prior level of Rust experience!

Finally, we would like to thank the community for their support. To support this release, we've contributed work to libc, tokio, rustls and ring. We'd also like to call out @est31's new rcgen crate, which makes self-signed certificate support easier to use. Quinn would not be possible without the support of the Rust ecosystem.

We're excited to see what's coming for QUIC and Quinn in 2019.