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.