github vapor/vapor 3.0.0-beta.4
Vapor 3.0.0 Beta 4

latest releases: 4.106.3, 4.106.2, 4.106.1...
pre-release6 years ago

New:

  • Middleware can now be configured lazily:
router.grouped(DateMiddleware.self).get("date") { ... }
  • Each event loop now gets its own copy of each middleware. This will allow factory-initialized middleware to store and access local variables without worrying about thread-safety.
  • JSON dates are now serialized using ISO 8601 format by default.
  • Dictionary and Array now conform to Content when their contents also conform.

Fixed:

  • Fixed an issue with FileMiddleware not serving files
  • Fixed a misleading error message in Multipart form decode.
  • Fixed an issue where partial Leaf views could be returned.
  • Fixed a bunch of other stuff in other packages.

Milestone

Don't miss a new vapor release

NewReleases is sending notifications on new releases.