don't patch but minor version bump isntead

This commit is contained in:
Jappie Klooster 2022-07-07 11:15:40 +02:00
parent 9648ccf79f
commit 710adc7329
4 changed files with 5 additions and 5 deletions

View File

@ -1,6 +1,6 @@
# ChangeLog for yesod-core
## 1.6.23.2
## 1.6.24.0
* Make catching exceptions configurable [#1772](https://github.com/yesodweb/yesod/pull/1772).

View File

@ -73,7 +73,7 @@ class RenderRoute site => Yesod site where
approot :: Approot site
approot = guessApproot
-- | @since 1.6.23.2
-- | @since 1.6.24.0
-- Should we catch an exception, or rethrow it.
-- Rethrowing an exception lets the webserver deal with it
-- (usually warp).

View File

@ -169,7 +169,7 @@ newtype WaiSubsite = WaiSubsite { runWaiSubsite :: W.Application }
-- @since 1.4.34
newtype WaiSubsiteWithAuth = WaiSubsiteWithAuth { runWaiSubsiteWithAuth :: W.Application }
-- | @since 1.6.23.2
-- | @since 1.6.24.0
data CatchBehavior = Rethrow -- ^ Rethrow an exception and let the webserver deal with it (usually warp)
| Catch -- ^ catch an exception and render in yesod
@ -190,7 +190,7 @@ data RunHandlerEnv child site = RunHandlerEnv
-- Since 1.2.0
, rheMaxExpires :: !Text
-- | @since 1.6.23.2
-- | @since 1.6.24.0
-- should we catch an exception, or rethrow it.
, rheShouldCatch :: !(SomeException -> CatchBehavior)
}

View File

@ -1,5 +1,5 @@
name: yesod-core
version: 1.6.23.2
version: 1.6.24.0
license: MIT
license-file: LICENSE
author: Michael Snoyman <michael@snoyman.com>