Skip to content

Releases: quinn-rs/quinn

0.11.1

08 May 22:23
Compare
Choose a tag to compare

This release addresses two regressions in 0.11:

Fixes

  • Fix corruption of trailing packet in truncated GSO batch by @ylht in #1853
  • Suppress ACK-only packet sanity-check when datagrams are queued by @Ralith in #1854

New Contributors

Full Changelog: 0.11.0...0.11.1

0.11.0

06 May 21:46
@djc djc
Compare
Choose a tag to compare

A year after the release of 0.10.0 of Quinn, our popular community-oriented pure-Rust implementation of QUIC, we have a slew of improvements. The highlights are an upgrade to rustls 0.23 and ring 0.17 (which unfortunately got delayed by incompatibilities introduced in the rustls 0.22), a new API to triage incoming connections and a number of performance improvements. The quinn-udp crate has seen a lot of improvements, including much improved Windows support.

We've recently started an OpenCollective account which we hope commercial organizations relying on Quinn will donate to in order to support ongoing development and maintenance of the project. Since the previous major release, we've also started a Discord channel which has become the preferred (synchronous/ephemeral) communication channel for the project.

This release supports Rust 1.66 and newer.

Thanks to all contributors on behalf of the Quinn team, @Ralith and @djc!

Notable changes

Performance

  • Transmit directly from connection tasks by @Ralith in #1729
  • #729: proto: write outgoing packets to caller-supplied memory by @lmpn in #1697
  • udp: add support for ECN, local addrs, GSO, and GRO on Windows by @stormshield-damiend in #1701
  • Don't allocate an endpoint response buffer for every driver wakeup by @Ralith in #1730
  • Defer initial packet payload decryption until after accept by @Ralith in #1804
  • Perform early first-packet validation before decryption by @Ralith in #1789
  • Allocate Incoming response buffers as needed by @Ralith in #1811
  • Match GSO segment size to the first datagram, not the MTU by @Ralith in #1837

Features

Fixes

  • Use boxed AsyncUdpSocket when creating abstract endpoint by @tthebst in #1595
  • fix: Make new_with_abstract public again by @tthebst in #1596
  • Preserve the tracing span in the EndpointDriver task by @flub in #1616
  • Mitigate optimistic ACK attacks by @Ralith in #1613
  • set may_fragment based on whether setting IP_DONTFRAG fails with ENOPROTOOPT. by @jieliangma in #1626
  • udp: don't log EMSGSIZE errors by @Ralith in #1635
  • Propagate current tracing span to spawned connection drivers by @Ralith in #1632
  • proto: Fix double-boxing of congestion::ControllerFactory by @Ralith in #1641
  • proto: don't panic when draining an unknown connection by @Ralith in #1645
  • Require explicit timestamp for Endpoint::connect(), Rust 1.72 by @djc in #1649
  • Add missing export for proto::AckFrequencyConfig. by @stormshield-damiend in #1651
  • silent an info message related to ack frequency. by @stormshield-damiend in #1652
  • Generalize UdpStats::transmits to ios by @Ralith in #1655
  • Send ACK_FREQUENCY frames intelligently rather than spamming IMMEDIATE_ACK by @Ralith in #1656
  • Pass byte read count to FinishEarly by @rom1v in #1666
  • Fix ACK frequency extension corner case by @Ralith in #1672
  • Yield protocol violation for packets without frames by @djc in #1693
  • Make quinn-proto::{Connection, Endpoint} deterministic by @michael-yxchen in #1691
  • proto: add a way to configure the minimum MTU change needed to stop the binary search used during the MTU discovery phase. by @stormshield-damiend in #1702
  • Validate 0-RTT frames based on packet type, not handshake progress by @Ralith in #1722
  • proto: yield transport error for Initial packets with no CRYPTO by @djc in #1721
  • Send path validation responses to the correct remote by @Ralith in #1746
  • fix(quinn-udp): use TOS for IPv4-mapped IPv6 dst addrs by @mxinden in #1765
  • Improve reliability of Close delivery during handshakes by @Ralith in #1767
  • Don't double-count buffer consumption in close length checks by @Ralith in #1768
  • Improve behavior when only one peer sends ACK-eliciting packets by @Ralith in #1761
  • Fix constant of frame_type IMMEDIATE_ACK by @nemethf in #1774
  • Bound memory use in RETIRE_CONNECTION_ID frame queue by @Ralith in #1787
  • Add missing transport parameter validation checks by @Ralith in #1791
  • Rate-limit stateless resets by @Ralith in #1794
  • Use the correct MTU for prev_path by @nemethf in #1776
  • Break linkability on client-side after planned migration by @nemethf in #1800
  • Allow packets with impossible CIDs to be ignored rather than reset by @Ralith in #1796
  • Make quinn_proto::Connection and quinn_proto::Endpoint impl Sync by @Pixelstormer in #1769
  • Refuse incoming/forbid outgoing connections after endpoint is closed by @Ralith in #1829
  • Socket rebind: drain old socket by @nemethf in #1801
  • Accept connections with unrecognized address validation tokens by @Ralith in #1790
  • Fix race condition between 0-RTT and Incoming by @gretchenfrage in #1821
  • Fix minor datagram send bugs by @Ralith in #1836

Miscellaneous

Read more

0.10.6

26 Apr 08:45
@djc djc
0.10.6
Compare
Choose a tag to compare

What's Changed

Full Changelog: 0.10.5...0.10.6

0.10.5

26 Apr 08:45
@djc djc
0.10.5
Compare
Choose a tag to compare

What's Changed

Full Changelog: 0.10.4...0.10.5

0.10.4

26 Apr 08:44
@djc djc
Compare
Choose a tag to compare

What's Changed

  • Backport robust reset detection to 0.10 by @Ralith in #1647

Full Changelog: 0.10.3...0.10.4

0.10.3

26 Apr 08:44
@djc djc
Compare
Choose a tag to compare

What's Changed

Full Changelog: 0.10.2...0.10.3

0.10.2

26 Apr 08:44
@djc djc
Compare
Choose a tag to compare

What's Changed

Full Changelog: 0.10.1...0.10.2

0.9.4

26 Apr 08:45
@djc djc
e07003e
Compare
Choose a tag to compare

What's Changed

Full Changelog: 0.10.6...0.9.4

0.10.1

26 Apr 08:43
@djc djc
Compare
Choose a tag to compare

What's Changed

Full Changelog: 0.10.0...0.10.1

0.10.0

11 May 07:21
@djc djc
Compare
Choose a tag to compare

We are happy to announce the release of 0.10.0 of Quinn, our pure-Rust implementation of QUIC. This release introduces MTU discovery, updates to the latest version of rustls, improves platform support, and introduces a variety of new features, performance improvements, and bugfixes.

Improvements

  • Initial support for PLPMTUD (#1510 with followup in #1529, thanks to @aochagavia)
  • Bump rustls to 0.21.0 (#1515, thanks to @cpu)
  • Fix: build and tests on FreeBSD 13.2 (#1555, thanks to @Tirka)
  • Fail FreeBSD CI if any step fails (#1557, thanks to @Tirka)
  • Fragmentation handling improvements (#1547)
  • Add missing exports of stats types (#1546)
  • Rename config option to min_mtu for clarity (#1552)
  • Duplicate Transmit and EcnCodepoint across -proto and -udp (#1541)
  • quinn: take Arc<dyn Runtime> directly (#1534)
  • Support external crypto implementations (#1496, thanks to @nmittler)
  • Do not require &mut self in AsyncUdpSocket::poll_send (#1519, thanks to @dignifiedquire)
  • Getters for stream concurrency metrics and related documentation (#1518, thanks to @FlorianUekermann)
  • Fallback to not using ECN if IP_TOS is not supported (#1516, thanks to @link2xt)
  • Implement fallback for sendmmsg and recvmmsg (#1504, thanks to @link2xt)
  • Borrow self in read_to_end, rather than consuming (#1502)
  • Improve error when connecting with an unsupported version (#1482)
  • Fix racy Endpoint::wait_idle (#1477)
  • Re-export udp::{RecvMeta, UdpState} for AsyncUdpSocket (#1476, thanks to @XOR-op)
  • Route logs via log crate by default when tracing isn't used (#1473)
  • Fail gracefully on attempts to connect to an unspecified IP address (#1474)
  • add FreeBSD IP_RECVDSTADDR support (#1447, thanks to @lucifer9)

Documentation

  • Allow initial MTU to be specified in bulk benchmark (#1456)
  • Document how to close a stream correctly (#1493, thanks to @flub)
  • Update wording about QUIC being a draft (#1468, thanks to @zicklag)
  • Clarify async runtime support (#1497, thanks to @mxinden)
  • Fix usage message (#1484, thanks to @dzvon)

Internal improvements

On behalf of the Quinn team, @djc and @Ralith, thanks to all contributors!