Skip to content

Releases: hummingbird-project/hummingbird

v2.19.0

01 Jan 17:23
daf66bf

Choose a tag to compare

Minor release changes

  • Require v1.3.0 of swift-distributed-tracing
  • Require v1.30.0 of async-http-client
  • Add swift-configuration initializer for HummingbirdHTTP2.TLSChannelConfiguration. #762 from @sidepelican

Patch release changes

  • Add SplitStringSequence to reduce allocations during router resolution. #760 from @atacan
  • Use SplitStringSequence to reduce allocations while parsing URL encoded forms. #768
  • Add SplitStringMaxSplitsSequence and use alongside SplitStringSequence to reduce allocations during cookie parsing. #768

Other changes

  • Remove unused environment variables in GitHub actions. #764 from @sidepelican
  • Remove unnecessary #if compiler(>6.0) checks. #765 from @sidepelican
  • Move benchmarks into main Package.swift to make it easier to test in CI. #767

v2.18.3

19 Dec 11:19
e98b279

Choose a tag to compare

Patch release changes

  • Removed environment variable controlling traits. #757
  • Fixed setting port when using ConfigReader. #759 from @natanrolnik

Other changes

  • Fixed up links in SECURITY.md and removed support for Hummingbird v1.x.x

v2.18.2

16 Dec 14:54
bdfe78c

Choose a tag to compare

Patch release changes

  • Don't enable all traits if environment variable CI is set. #755
  • Add [email protected] to make it clear what Package.swift will be used with swift 6.1. #754
  • Should set default traits regardless of whether enableAllTraits is set to false. #756

v2.18.1

13 Dec 16:44
4ab53c5

Choose a tag to compare

  • Revert platform requirement changes that somehow slipped through into v2.18.0

v2.18.0

13 Dec 16:21
415a313

Choose a tag to compare

Minor release change

  • Added support for swift-configuration. PR #743
  • Add Application.addServices(_ : some Sequence<any Service>). PR #746
  • Fix conflict when creating type from Parameters that conforms to both LosslessStringConvertible and RawRepresentable. Prefer RawRepresentable over LosslessStringConvertible. PR #748, #751

v2.17.0

22 Oct 10:33
63689a5

Choose a tag to compare

Minor release changes

  • Update TracingMiddleware to follow updated OTel conventions. #736 from @slashmo
  • Add upcoming feature ExistentialAny. #740
  • Add upcoming feature MemberImportVisibility. #741
  • Add upcoming feature InternalImportsByDefault. #741

## Patch release changes

  • Make HTTP2 state machine non-copyable to avoid array copies. #717
  • Update to use Swift Testing. #718

Other changes

  • Fix typo in docc comment. #744 from @ole
  • Update docc comments about Middleware application. #745
  • Improve contribution guidelines. #734
  • Fix code sample in README. #738 from @kattouf

v2.16.0

25 Aug 14:06
3ae359b

Choose a tag to compare

Minor release changes

  • Require swift-nio-http2 1.38.0. #729
  • Add Cookie.validated to create a cookie whose contents have been validated. #727

Patch release changes

  • FileMiddleware returns a redirect for file paths that don't include a "/" suffix. #731

v2.15.0

01 Jul 07:11
afb173a

Choose a tag to compare

Minor release changes

  • Add fixes for new SendableMetatype protocol in Swift 6.2. #712

Patch release changes

  • Fix issue with graceful shutdown of active HTTP2 channels. #723
  • Fix TestClient so it returns the correct error. #719

v2.14.1

04 Jun 21:56
65ace78

Choose a tag to compare

Patch release changes

  • Conform MediaType to Codable. #709
  • Don't override logLevel when LOG_LEVEL environment variable is not set. #711 from @Cyberbeni
  • Add support for optional arrays and maps in URLEncodedFormDecoder. #715 from @nicksloan
  • Fix errors thrown by URLEncodedFormDecoder. #716

v2.14.0

12 May 15:17
de2ff82

Choose a tag to compare

Minor release changes

  • Require swift-nio v2.83.0

Patch release changes

  • Fix flushing of outbound body when closing connection #708. This fix along with related fixes in swift-nio 2.83.0 should mean we always finish writing the response body before closing the connection.