diff --git a/yesod-core/ChangeLog.md b/yesod-core/ChangeLog.md index 917fa5a0..197dd2c0 100644 --- a/yesod-core/ChangeLog.md +++ b/yesod-core/ChangeLog.md @@ -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). diff --git a/yesod-core/src/Yesod/Core/Class/Yesod.hs b/yesod-core/src/Yesod/Core/Class/Yesod.hs index 78419f82..e205ba7a 100644 --- a/yesod-core/src/Yesod/Core/Class/Yesod.hs +++ b/yesod-core/src/Yesod/Core/Class/Yesod.hs @@ -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). diff --git a/yesod-core/src/Yesod/Core/Types.hs b/yesod-core/src/Yesod/Core/Types.hs index bcf3b96e..c93dc2d6 100644 --- a/yesod-core/src/Yesod/Core/Types.hs +++ b/yesod-core/src/Yesod/Core/Types.hs @@ -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) } diff --git a/yesod-core/yesod-core.cabal b/yesod-core/yesod-core.cabal index d7b4b929..e99d0337 100644 --- a/yesod-core/yesod-core.cabal +++ b/yesod-core/yesod-core.cabal @@ -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