Skip to content

Releases: brokenhandsio/leaf-error-middleware

4.1.1

25 Jul 14:40
fe1dc23
Compare
Choose a tag to compare

Set the correct dependency version of Vapor to use AsyncMigration

4.1.0

02 Jul 02:08
272cc7b
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 4.0.0...4.1.0

4.0.0

20 Dec 16:44
bd4d565
Compare
Choose a tag to compare

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

08 Sep 13:01
f2f7f54
Compare
Choose a tag to compare

Fixes the typo in LeafErorrMiddlewareDefaultGenerator. This is now deprecated and you should use LeafErrorMiddlewareDefaultGenerator instead

3.0.0

11 May 13:35
a2b5fca
Compare
Choose a tag to compare

Leaf Error Middleware 3.0.0

Allow custom contexts to be used for error pages. See the README for more details.

2.0.0

17 Nov 08:14
2756d47
Compare
Choose a tag to compare

Leaf Error Middleware 2.0.0

Updates for Vapor 4! See the README for usage details

2.0.0 Beta 2

06 Apr 23:09
4548515
Compare
Choose a tag to compare
2.0.0 Beta 2 Pre-release
Pre-release

LeafErrorMiddleware no longer takes an environment in its initialiser.

Pass a reason to the templates if we have one

2.0.0 Beta 1

06 Apr 22:44
ddea49a
Compare
Choose a tag to compare
2.0.0 Beta 1 Pre-release
Pre-release

Updated for Vapor 4!

1.3.0

22 Feb 08:02
ec012da
Compare
Choose a tag to compare

Makes the middleware useful by logging the actual error instead of swallowing it (#14)! 🥳

1.2.0

11 Sep 11:56
63dba34
Compare
Choose a tag to compare

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