Skip to content
This repository has been archived by the owner on Apr 7, 2022. It is now read-only.

Releases: vapor/http

SameSite Attribute support none, default = lax

27 Jul 17:33
0464b71
Compare
Choose a tag to compare

Adds the none attribute to SameSite cookies (#376). This resolves vapor/vapor#375.

鈿狅笍 This contains an additional case in a public enum which may cause a breaking change if you're switching on it

HTTP 3.3.2

10 Feb 18:13
fba1329
Compare
Choose a tag to compare

HTTP 3.2.1

19 Jun 18:36
Compare
Choose a tag to compare

Fixed:

  • HTTPClient no longer overrides User-Agent and Host headers. (#365)

HTTP 3.2.0

04 Apr 14:31
Compare
Choose a tag to compare

New:

  • Publicize HTTPMessageDecoder.decode extension. (#359)
  • Added support for decoding jsonAPI media type. (#359)

HTTP 3.1.11

26 Mar 20:49
8da7d47
Compare
Choose a tag to compare

Fixed:

  • Silenced a Swift 5 warning. (#351)

HTTP 3.1.10

14 Mar 01:52
24282b0
Compare
Choose a tag to compare

Fixed:

  • Fixed an issue that could cause unnecessary re-allocations during large file uploads. (#346)

HTTP 3.1.9

13 Mar 19:43
Compare
Choose a tag to compare

Fixed:

  • Fixed a bug that could cause cookies to be duplicated if added one-by-one. (#343)

HTTP 3.1.8

06 Feb 19:55
Compare
Choose a tag to compare

Fixed:

  • HTTP upgrade requests now forward bytes buffered during upgrade. (#324)

HTTP 3.1.7

25 Jan 23:33
4c8c655
Compare
Choose a tag to compare

Fixed:

  • HTTPScheme.https now enables certificate verification by default. (#328)

Note: This may cause HTTPClient to fail with NIOOpenSSLError.unableToValidateCertificate if the remote you are connecting to does not have a verifiable certificate. To work around this, use the new HTTPScheme.customHTTPS(_:) method.

let res = try HTTPClient.connect(
    scheme: .customHTTPS(.forClient(certificateVerification: .none)),
    hostname: "127.0.0.1"
).send(req).wait()
  • HTTPScheme.https now configures SNI. (#314)

HTTP 3.1.6

31 Oct 19:15
6973bf5
Compare
Choose a tag to compare

Fixed:

  • Improved HTTPProtocolUpgrader's error handling (leaking promise assertion). (#316, #315)