logging-effect-extra 1.2.2 → 2.0.0
raw patch · 5 files changed
+22/−17 lines, 5 filesdep +prettyprinterdep −wl-pprint-textdep ~basedep ~logging-effectdep ~logging-effect-extra-filePVP ok
version bump matches the API change (PVP)
Dependencies added: prettyprinter
Dependencies removed: wl-pprint-text
Dependency ranges changed: base, logging-effect, logging-effect-extra-file, logging-effect-extra-handler
API changes (from Hackage documentation)
+ Control.Monad.Log.Extra: data Doc ann
Files
- CHANGELOG.md +5/−0
- executable/log-extra.hs +1/−1
- library/Control/Monad/Log/Extra.hs +2/−2
- logging-effect-extra.cabal +8/−8
- package.yaml +6/−6
CHANGELOG.md view
@@ -1,5 +1,10 @@ # Change log +## 2.0.0++* Bump upper bounds on base to 4.12 and logging-effect to 1.4+* Replace wl-pprint-text with prettyprinter 1.2.*+ ## 1.2.2 * Bumped min version of `logging-effect-extra-handler` to 1.1.2 (to include its relaxed upper bound on `time`)
executable/log-extra.hs view
@@ -7,7 +7,7 @@ import Control.Monad.Log.Extra (Doc, WithFile, MonadLog, WithSeverity) import qualified Control.Monad.Log.Extra as Log -app :: MonadLog (WithSeverity (WithFile Doc)) m => m ()+app :: MonadLog (WithSeverity (WithFile (Doc ann))) m => m () app = do $(Log.logEmergencyTH) "GAH! All systems are down!!!" $(Log.logAlertTH) "Red alert!"
library/Control/Monad/Log/Extra.hs view
@@ -5,10 +5,10 @@ , module Control.Monad.Log.Extra.Handler -- * Re-exports- , module Text.PrettyPrint.Leijen.Text+ , module Data.Text.Prettyprint.Doc ) where import Control.Monad.Log import Control.Monad.Log.Extra.File import Control.Monad.Log.Extra.Handler-import Text.PrettyPrint.Leijen.Text (Doc)+import Data.Text.Prettyprint.Doc (Doc)
logging-effect-extra.cabal view
@@ -2,10 +2,10 @@ -- -- see: https://github.com/sol/hpack ----- hash: 5d36b8d84eb9fda71f9a411f793533691c2be4b7442ca2f11e718451600cc5a2+-- hash: 6f9892fcab62f0047e8f2dfb9d90203dc5206ee895f3921eb69cedefdfa4dbdc name: logging-effect-extra-version: 1.2.2+version: 2.0.0 synopsis: Supplemental packages for `logging-effect`. description: Supplemental packages for `logging-effect`. category: Other@@ -32,11 +32,11 @@ library ghc-options: -Wall build-depends:- base >=4.8 && <4.11- , logging-effect >=1.1.0 && <1.3- , logging-effect-extra-file >=1.1.0 && <1.2.0- , logging-effect-extra-handler >=1.1.2 && <1.2.0- , wl-pprint-text >=1.1.0.4 && <1.2+ base >=4.8 && <4.12+ , logging-effect >=1.1.0 && <1.4+ , logging-effect-extra-file >=2.0.0 && <2.1.0+ , logging-effect-extra-handler >=2.0.0 && <2.1.0+ , prettyprinter ==1.2.* exposed-modules: Control.Monad.Log.Extra other-modules:@@ -49,7 +49,7 @@ executable ghc-options: -Wall -rtsopts -threaded -with-rtsopts=-N build-depends:- base >=4.8 && <4.11+ base >=4.8 && <4.12 , logging-effect-extra other-modules: Paths_logging_effect_extra
package.yaml view
@@ -1,7 +1,7 @@ author: Jason Shipman category: Other dependencies:-- base >=4.8 && <4.11+- base >=4.8 && <4.12 description: Supplemental packages for `logging-effect`. executables: log-extra:@@ -22,13 +22,13 @@ github: jship/logging-effect-extra library: dependencies:- - logging-effect >= 1.1.0 && <1.3- - logging-effect-extra-file >= 1.1.0 && <1.2.0- - logging-effect-extra-handler >= 1.1.2 && <1.2.0- - wl-pprint-text >=1.1.0.4 && <1.2+ - logging-effect >= 1.1.0 && <1.4+ - logging-effect-extra-file >= 2.0.0 && <2.1.0+ - logging-effect-extra-handler >= 2.0.0 && <2.1.0+ - prettyprinter == 1.2.* source-dirs: library license: MIT maintainer: Jason Shipman name: logging-effect-extra synopsis: Supplemental packages for `logging-effect`.-version: '1.2.2'+version: '2.0.0'