Vapor 3.0 is here! 🎉
Stay tuned for the full release article + benchmarks.
Docs:
https://docs.vapor.codes/3.0/vapor/getting-started/
API Docs:
https://api.vapor.codes/vapor/latest/Vapor
Upgrading:
https://docs.vapor.codes/3.0/version/upgrading/#24-to-30
Changes since last release candidate:
New:
Logger.reportError(...)
is now public.- New convenience methods for encoding
Content
with status/headers (#1587). AbortError
now supports adding headers (#1397).
Fixed:
- All APIs are now documented with doc blocks.
- API surface minimized (everything made internal that can be).
HEAD
requests are now properly handled (#1617).ContentContainer
is now more powerful (#1648).map
/flatMap
now support implicit return types (#1606).FileMiddleware
is now non-blocking (#1586).- Bind to port
8080
even in production (#1455). - Tons of other small bug fixes and improvements.
Milestone:
3.0.0