packages feed

eventuo11y-batteries 0.2.1.0 → 0.2.1.1

raw patch · 4 files changed

+30/−25 lines, 4 filesdep +eventuo11y-jsondep +safe-exceptionsdep −exceptionsdep ~basedep ~bytestringdep ~eventuo11yPVP: major bump suggested

API removals or changes: PVP suggests a major version bump

Dependencies added: eventuo11y-json, safe-exceptions

Dependencies removed: exceptions

Dependency ranges changed: base, bytestring, eventuo11y, text

API changes (from Hackage documentation)

- Observe.Event.Crash: withScheduleCrash :: MonadMask m => EventBackend m r Crashing -> DoCrash m -> (ScheduleCrash m r -> m a) -> m a
+ Observe.Event.Crash: withScheduleCrash :: MonadCleanup m => EventBackend m r Crashing -> DoCrash m -> (ScheduleCrash m r -> m a) -> m a

Files

CHANGELOG.md view
@@ -1,5 +1,9 @@ # Revision history for eventuo11y-batteries +## 0.2.1.0 -- 2022-10-23++Update for eventu11y 0.5.0.0+ ## 0.2.1.0 -- 2022-10-04  Fixing missing scheduleCrash export
eventuo11y-batteries.cabal view
@@ -1,6 +1,6 @@ cabal-version:      3.0 name:               eventuo11y-batteries-version:            0.2.1.0+version:            0.2.1.1 synopsis:           Grab bag of eventuo11y-enriched functionality description:   Miscellaneous helpers for instrumenting with [eventuo11y](https://hackage.haskell.org/package/eventuo11y) and 3rd-party packages.@@ -13,7 +13,7 @@ copyright:          Copyright 2022 Shea Levy. category:           Observability extra-source-files: CHANGELOG.md-tested-with:        GHC ==8.10.7 || ==9.0.2 || ==9.2.2+tested-with:        GHC == { 8.10.7, 9.2.4 }  source-repository head   type:     git@@ -26,26 +26,27 @@     Observe.Event.Wai    build-depends:-    , aeson                ^>=2.0-    , base                 >=4.14 && <4.17-    , binary               ^>=0.8-    , bytestring           >=0.10 && <0.12-    , case-insensitive     ^>=1.2-    , containers           ^>=0.6-    , eventuo11y           >=0.2  && <0.4-    , exceptions           ^>=0.10-    , http-media           ^>=0.8-    , http-types           ^>=0.12-    , monad-control        ^>=1.0-    , mtl                  ^>=2.2-    , network              ^>=3.1-    , semigroupoids        ^>=5.3-    , servant-client       ^>=0.19-    , servant-client-core  ^>=0.19-    , text                 >=1.2  && <2.1-    , transformers-base    ^>=0.4-    , wai                  ^>=3.2-    , warp                 ^>=3.3+    , base                 ^>= { 4.14, 4.16 }+    , aeson                ^>= 2.0+    , binary               ^>= 0.8+    , bytestring           ^>= { 0.10, 0.11 }+    , case-insensitive     ^>= 1.2+    , containers           ^>= 0.6+    , eventuo11y           ^>= 0.5+    , eventuo11y-json      ^>= 0.1+    , http-media           ^>= 0.8+    , http-types           ^>= 0.12+    , monad-control        ^>= 1.0+    , mtl                  ^>= 2.2+    , network              ^>= 3.1+    , safe-exceptions      ^>= 0.1+    , semigroupoids        ^>= 5.3+    , servant-client       ^>= 0.19+    , servant-client-core  ^>= 0.19+    , text                 ^>= 1.2+    , transformers-base    ^>= 0.4+    , wai                  ^>= 3.2+    , warp                 ^>= 3.3    hs-source-dirs:   src   default-language: Haskell2010
src/Observe/Event/Crash.hs view
@@ -28,7 +28,7 @@   ) where -import Control.Monad.Catch+import Control.Monad.Cleanup import Data.Void import Observe.Event import Observe.Event.BackendModification@@ -36,7 +36,7 @@  -- | Run an action with a 'ScheduleCrash' that can be called to crash the application. withScheduleCrash ::-  (MonadMask m) =>+  (MonadCleanup m) =>   EventBackend m r Crashing ->   -- | Actually perform the crash.   DoCrash m ->
src/Observe/Event/Servant/Client.hs view
@@ -34,8 +34,8 @@   ) where +import Control.Exception.Safe import Control.Monad.Base-import Control.Monad.Catch import Control.Monad.Except import Control.Monad.Reader import Control.Monad.Trans.Control