Skip to content

Releases: brokenhandsio/leaf-error-middleware

4.1.1

Choose a tag to compare

@0xTim 0xTim released this 25 Jul 14:40
fe1dc23

Set the correct dependency version of Vapor to use AsyncMigration

4.1.0

Choose a tag to compare

@0xTim 0xTim released this 02 Jul 02:08
272cc7b

What's Changed

New Contributors

Full Changelog: 4.0.0...4.1.0

4.0.0

Choose a tag to compare

@0xTim 0xTim released this 20 Dec 16:44
bd4d565

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

Choose a tag to compare

@0xTim 0xTim released this 08 Sep 13:01
f2f7f54

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

3.0.0

Choose a tag to compare

@0xTim 0xTim released this 11 May 13:35
a2b5fca

Leaf Error Middleware 3.0.0

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

2.0.0

Choose a tag to compare

@0xTim 0xTim released this 17 Nov 08:14
2756d47

Leaf Error Middleware 2.0.0

Updates for Vapor 4! See the README for usage details

2.0.0 Beta 2

2.0.0 Beta 2 Pre-release
Pre-release

Choose a tag to compare

@0xTim 0xTim released this 06 Apr 23:09
4548515

LeafErrorMiddleware no longer takes an environment in its initialiser.

Pass a reason to the templates if we have one

2.0.0 Beta 1

2.0.0 Beta 1 Pre-release
Pre-release

Choose a tag to compare

@0xTim 0xTim released this 06 Apr 22:44
ddea49a

Updated for Vapor 4!

1.3.0

Choose a tag to compare

@0xTim 0xTim released this 22 Feb 08:02
ec012da

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

1.2.0

Choose a tag to compare

@0xTim 0xTim released this 11 Sep 11:56
63dba34

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