Skip to content

Releases: apple/swift-nio-http2

SwiftNIO HTTP/2 1.14.1

27 Aug 09:46
1e68e51
Compare
Choose a tag to compare

SemVer Patch

  • Fixed a bug where extraneous WINDOW_UPDATE frames could be emitted when a stream is closed resulting in a connection error (#233)

SwiftNIO HTTP/2 1.14.0

20 Aug 13:19
9f4eff0
Compare
Choose a tag to compare

Semver Minor

  • Bring HPACKHeaders functionality closer to HTTPHeaders from NIOHTTP1. (#232)

Semver Patch

  • Fixed an issue where autoRead in HTTP/2 child channels would not cause read to propagate through the pipeline, making it impossible to exert backpressure. (#231)

Other

  • Fixed the -f option in build_podspecs.sh. (#229) (patch credit to @MrMage)

SwiftNIO HTTP/2 1.13.0

06 Aug 15:45
e962735
Compare
Choose a tag to compare

Notable Changes

The release contains a fix for an ergonomic issue which could result in a connection error when first writing on streams in an order different to the order in which they were created. The issue is detailed in #214 and associated pull requests.

The fix required that HTTP/2 stream channels created by the local peer be assigned stream IDs when they first emit writes rather than when they are initialized. As such, HTTP/2 stream channels will now operate on HTTP2Frame.FramePayload when created using the new API. The old behaviour, where stream channels operate on HTTP2Frame, remains but is now deprecated.

The following functions were deprecated and replaced with equivalents which do not accept an HTTP2StreamID in the stream initializer closure:

  • HTTP2StreamMultiplexer.init,
  • HTTP2StreamMultiplexer.createStreamChannel,
  • Channel.configureHTTP2Pipeline,

In addition, the HTTP2 to HTTP1 codecs were also deprecated:

  • HTTP2ToHTTP1ClientCodec is deprecated in favor of HTTP2FramePayloadClientCodec
  • HTTP2ToHTTP1ServerCodec is deprecated in favor of HTTP2FramePayloadServerCodec

SemVer Minor

Other Changes

SwiftNIO HTTP/2 1.12.3

03 Jul 17:50
c76a9a5
Compare
Choose a tag to compare

SemVer Patch

  • Fix various warnings emitted by new compilers (#208, #209, #210)

SwiftNIO HTTP/2 1.12.2

10 Jun 14:58
c5d10f4
Compare
Choose a tag to compare

SemVer Patch

  • Update the podspec build script to not use exact version numbers (#206, #207)

SwiftNIO HTTP/2 1.12.1

01 Jun 10:26
c8f952d
Compare
Choose a tag to compare

Semver Patch

  • Fixed a bug where custom target window sizes were not used for remotely-initiated streams, only locally-initiated ones. (#205)
  • Better testing for HTTP/2 GREASE. (#204)

SwiftNIO HTTP/2 1.12.0

12 May 15:22
b66a08e
Compare
Choose a tag to compare

Semver Minor

  • Made HTTP2StreamMultiplexer's target inbound flow control window size configurable. (#202) (Patch credit to @johnkassebaum)

Semver Patch

  • Improved debugging output for a number of types. (#197, #198)
  • Fixed a thread-safety issue with Channel.isActive, which could not safely be called from off the event loop with HTTP/2 child channels. (#199)
  • Fixed some warnings. (#203)
  • Improved README. (#200) (Patch credit to @MaxDesiatov)
  • Fixed broken docker setup. (#196, #201)
  • Improved docs. (#195)

SwiftNIO HTTP/2 1.11.0

21 Mar 08:16
82eb3fa
Compare
Choose a tag to compare

Semver Minor

  • Made Channel.configureHTTP2SecureUpgrade public, as it was accidentally left internal. (#194, credit to @jshier)

SwiftNIO HTTP/2 1.10.0

19 Mar 17:51
6970de5
Compare
Choose a tag to compare

Semver Minor

  • Added pipeline helper for configuring a HTTP server that uses both HTTP/1 and HTTP/2. (#193, credit to @mariosangiorgio)
  • Deprecated ChannelPipeline.configureHTTP2SecureUpgrade as it was essentially unusable, replaced with Channel.configureHTTP2SecureUpgrade instead. (#193, credit to @mariosangiorgio)

Semver Patch

SwiftNIO HTTP/2 1.9.1

13 Feb 19:55
65ebab9
Compare
Choose a tag to compare

SemVer Patch

  • stream channel initialiser: allow closed & failed (#183)
  • improve docker security (#180)