don't patch but minor version bump isntead
This commit is contained in:
parent
9648ccf79f
commit
710adc7329
@ -1,6 +1,6 @@
|
|||||||
# ChangeLog for yesod-core
|
# ChangeLog for yesod-core
|
||||||
|
|
||||||
## 1.6.23.2
|
## 1.6.24.0
|
||||||
|
|
||||||
* Make catching exceptions configurable [#1772](https://github.com/yesodweb/yesod/pull/1772).
|
* Make catching exceptions configurable [#1772](https://github.com/yesodweb/yesod/pull/1772).
|
||||||
|
|
||||||
|
|||||||
@ -73,7 +73,7 @@ class RenderRoute site => Yesod site where
|
|||||||
approot :: Approot site
|
approot :: Approot site
|
||||||
approot = guessApproot
|
approot = guessApproot
|
||||||
|
|
||||||
-- | @since 1.6.23.2
|
-- | @since 1.6.24.0
|
||||||
-- Should we catch an exception, or rethrow it.
|
-- Should we catch an exception, or rethrow it.
|
||||||
-- Rethrowing an exception lets the webserver deal with it
|
-- Rethrowing an exception lets the webserver deal with it
|
||||||
-- (usually warp).
|
-- (usually warp).
|
||||||
|
|||||||
@ -169,7 +169,7 @@ newtype WaiSubsite = WaiSubsite { runWaiSubsite :: W.Application }
|
|||||||
-- @since 1.4.34
|
-- @since 1.4.34
|
||||||
newtype WaiSubsiteWithAuth = WaiSubsiteWithAuth { runWaiSubsiteWithAuth :: W.Application }
|
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)
|
data CatchBehavior = Rethrow -- ^ Rethrow an exception and let the webserver deal with it (usually warp)
|
||||||
| Catch -- ^ catch an exception and render in yesod
|
| Catch -- ^ catch an exception and render in yesod
|
||||||
|
|
||||||
@ -190,7 +190,7 @@ data RunHandlerEnv child site = RunHandlerEnv
|
|||||||
-- Since 1.2.0
|
-- Since 1.2.0
|
||||||
, rheMaxExpires :: !Text
|
, rheMaxExpires :: !Text
|
||||||
|
|
||||||
-- | @since 1.6.23.2
|
-- | @since 1.6.24.0
|
||||||
-- should we catch an exception, or rethrow it.
|
-- should we catch an exception, or rethrow it.
|
||||||
, rheShouldCatch :: !(SomeException -> CatchBehavior)
|
, rheShouldCatch :: !(SomeException -> CatchBehavior)
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
name: yesod-core
|
name: yesod-core
|
||||||
version: 1.6.23.2
|
version: 1.6.24.0
|
||||||
license: MIT
|
license: MIT
|
||||||
license-file: LICENSE
|
license-file: LICENSE
|
||||||
author: Michael Snoyman <michael@snoyman.com>
|
author: Michael Snoyman <michael@snoyman.com>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user