Swiftpack.co - Package - vapor/http

Github

link
Stars: 130
Help us keep the lights on

Releases

3.0.1 - Apr 19, 2018

New:

  • Adopted new APIs from Swift NIO 1.5.0 (#276).

Milestone: 3.0.1

3.0.0 - Apr 18, 2018

HTTP 3.0 is here! 🎉 🚀 Non-blocking, event-driven HTTP for Swift built on Swift NIO.

Docs: https://docs.vapor.codes/3.0/http/getting-started/

API Docs: https://api.vapor.codes/http/latest/HTTP/

Engine has been renamed to HTTP for version 3.0.0, WebSockets is in its own package now.


Changes since last RC:

New:

  • Added remotePeer property to HTTPMessage.
  • HTTPMessage now contains on optional channel reference.
  • Added accept property to HTTPMessage for determining preferred content types.
  • mediaType property is now contentType

Fixed:

  • Added doc blocks to all APIs
  • Reduced public API where possible

Milestone: 3.0.0

3.0.0-rc.2.4 - Apr 16, 2018

Fixed:

  • Moves URLFormEncoded to its own repo.

3.0.0-rc.2.1 - Mar 24, 2018

New:

Fixed:

  • Fixed an issue where FormURLDecoder was not properly handling percent-encoded data.

API Docs: https://api.vapor.codes/engine/3.0.0-rc.2.1/HTTP https://api.vapor.codes/engine/3.0.0-rc.2.1/FormURLEncoded

Milestone: 3.0.0-rc.2.1

3.0.0-rc.2 - Mar 21, 2018

New:

  • Vapor is now running on Swift NIO!
  • This package in particular has been mostly replaced by Swift NIO. It now serves as a convenience/wrapper package around NIO to make things even easier to use. Creating an HTTP sever with vapor/engine is ~3 lines of code where as with NIO it's ~30. Vapor will continue to rely on vapor/engine as a wrapper around NIO.

screen shot 2018-03-21 at 4 41 30 pm >11K lines of code deleted

Milestone