Releases: brokenhandsio/leaf-error-middleware
Releases · brokenhandsio/leaf-error-middleware
4.1.1
Set the correct dependency version of Vapor to use AsyncMigration
4.0.0
What's Changed
- Add support for Swift 5.5 and async/await by @ptoffy in #21
New Contributors
Full Changelog: 3.1.0...4.0.0
3.1.0
Fixes the typo in LeafErorrMiddlewareDefaultGenerator
. This is now deprecated and you should use LeafErrorMiddlewareDefaultGenerator
instead
3.0.0
Leaf Error Middleware 3.0.0
Allow custom contexts to be used for error pages. See the README for more details.
2.0.0
Leaf Error Middleware 2.0.0
Updates for Vapor 4! See the README for usage details
2.0.0 Beta 2
LeafErrorMiddleware
no longer takes an environment
in its initialiser.
Pass a reason
to the templates if we have one
1.3.0
Makes the middleware useful by logging the actual error instead of swallowing it (#14)! 🥳
1.2.0
Leaf Error Middleware 1.2.0
New features:
- #10 - allows
Abort.redirect(to:)
to pass through and redirect instead of catching it in the middleware