Changelog for exceptions-0.10.11
0.10.11 [2025.10.13]
- Add a
rethrowMmethod to theMonadThrowclass and acatchNoPropagatemethod to theMonadCatchclass, which are available when building withbase-4.21(GHC 9.12) or later. These are likethrowMandcatch, respectively (and use them as their default implementations), but these methods do not add new backtraces (forrethrowM) or annotate the handler with the exception that was caught (forcatchNoPropagate). - Support building with MicroHs.
0.10.10 [2025.06.17]
- Replace
test-frameworkwithtastyin the test suite.
0.10.9 [2024.10.31]
- Drop support for pre-8.0 versions of GHC.
0.10.8 [2024.04.20]
- Allow building with
template-haskell-2.22.*. - Make the test suite build with GHC 9.4 and
mtl-2.3.1.
0.10.7 [2022.12.04]
-
On pre-8.0 GHCs, drop the
call-stackdependency. This dependency was introduced inexceptions-0.10.6, but it induced breakage in libraries that derived instances ofMonadThrow,MonadCatch, orMonadMaskfor newtypes without first enablingConstraintKindsandFlexibleContexts. (Later versions of GHC do not require these language extensions for derived instances, so only old GHCs were affected.) To avoid breakage,exceptionsno longer usesHasCallStackconstraints on pre-8.0 versions of GHC.Note that
exceptionsstill usesHasCallStackconstraints on GHC 8.0 and later, and as a result, these versions of GHC are unaffected by this change.
0.10.6 [2022.11.30]
- The class methods and functions in
Control.Monad.Catchnow haveHasCallStackconstraints. - Drop support for GHC 7.0 and 7.2.
0.10.5 [2022.05.07]
- Allow building with
transformers-0.6.*andmtl-2.3.*.
0.10.4 [2019.12.26]
- Allow building with
template-haskell-2.16.*. - Only depend on
transformers-compaton old versions of GHC.
0.10.3 [2019.08.27]
MonadThrowinstance for the strictSTmonad.
0.10.2 [2019.05.02]
- Allow building with
base-4.13/template-haskell-2.15.
0.10.1 [2019.03.26]
- Define a
MonadFailinstance forCatchT. - Allow
QuickCheck-2.13in the test suite.
0.10.0
- Fix a regression in 0.9.0 whereby the non-IO effects in
bracket'suseaction were not visible to thereleaseaction, and the non-IO effects in thereleaseaction were not visible after thebracketcall. - The type of
generalBracketwas changed in order to restore those non-IO effects, so if you are a library author that provides aMonadMaskinstance, you will need to update your implementation of this method. - Add
MonadMaskinstance forMaybeT - Add
onErrorfunction whose action also runs on errors which are not exceptions, such as aNothingor aLeft.
0.9.0
-
Add
generalBracketto theMonadMasktypeclass, allowing more valid instances.Note that functions such as
bracketandfinallyare now based off ofgeneralBracket, so if you are a library author that provides aMonadMaskinstance, you will need to provide an implementation of this method. -
Add
MonadMaskinstances forExceptTandErrorT
0.8.3
MonadCatchandMonadMaskinstances forEither SomeException
0.8.1
- Support for throwing in the
template-haskellQmonad - Support for
transformers0.5
0.8.0.1
- Resolved warnings on GHC 7.10 and with transformers 0.4.
0.8
- Use
transformers-compatto allow support forExceptTeven on oldertransformersversions.
0.7
stmsupport
0.6
- Split out
MonadMask - Added
transformers0.4 support
0.5
- Added instances of
MonadThrowforListT,MaybeT,ErrorTandContT.
0.4
- Factored out a separate
MonadThrow.
0.3.3.1
- QuickCheck dependency bump
0.3.3
- Relicensed under the 3-clause BSD license.
0.3.2
- Better documentation for
CatchT. - Added
handle-like analogues for parity withControl.Exception.
0.3.1
- Fixed test suite.
0.3
- Moved
CatchTtoControl.Monad.Catch.Pureto make it clear it isn't required for working withIO.
0.2.1
- Added
mask_anduninterruptibleMask_toControl.Monad.Catch.
0.2
- Added
uninterruptibleMasktoMonadCatch.
0.1.1
- Flagged
Control.Monad.CatchasTrustworthy
0.1.0.1
- License fix. We were accidentally listing both an APL and BSD3 license in the same module
0.1
- Repository initialized