polysemy-log 0.2.1.0 → 0.2.2.0
raw patch · 3 files changed
+5/−8 lines, 3 filesdep −asyncdep −stmdep −stm-chansPVP ok
version bump matches the API change (PVP)
Dependencies removed: async, stm, stm-chans
API changes (from Hackage documentation)
Files
- Changelog.md +3/−0
- lib/Polysemy/Log/Format.hs +1/−1
- polysemy-log.cabal +1/−7
Changelog.md view
@@ -1,3 +1,6 @@+# 0.2.1.0+* add naive stderr interpreters for `DataLog` and `Log`.+ # 0.2.0.0 * `DataLog` got a second constructor, `Local`. It takes a higher-order `Sem` and a transformation function, the latter
lib/Polysemy/Log/Format.hs view
@@ -41,7 +41,7 @@ maybe "<unknown loc>" format . listToMaybe . getCallStack where format (_, SrcLoc {..}) =- [qt|#{shortModule (toText srcLocModule)}##{srcLocStartLine}|]+ [qt|#{shortModule (toText srcLocModule)}\##{srcLocStartLine}|] -- |Default formatter for the default message type. formatLogEntry :: LogEntry LogMessage -> Text
polysemy-log.cabal view
@@ -5,7 +5,7 @@ -- see: https://github.com/sol/hpack name: polysemy-log-version: 0.2.1.0+version: 0.2.2.0 synopsis: Polysemy effects for logging description: See <https://hackage.haskell.org/package/polysemy-log/docs/Polysemy-Log.html> category: Logging@@ -108,14 +108,11 @@ ghc-options: -flate-specialise -fspecialise-aggressively -Wall -Wredundant-constraints build-depends: ansi-terminal >=0.10.0 && <0.11- , async , base ==4.* , polysemy >=1.3 && <1.6 , polysemy-conc >=0.1.0.0 && <0.2 , polysemy-time >=0.1.1.0 && <0.2 , relude >=0.5 && <0.8- , stm- , stm-chans , string-interpolate >=0.2.1 , template-haskell , text@@ -197,7 +194,6 @@ ghc-options: -flate-specialise -fspecialise-aggressively -Wall -Wredundant-constraints -threaded -rtsopts -with-rtsopts=-N build-depends: ansi-terminal >=0.10.0 && <0.11- , async , base ==4.* , hedgehog , polysemy >=1.3 && <1.6@@ -206,8 +202,6 @@ , polysemy-test , polysemy-time >=0.1.1.0 && <0.2 , relude >=0.5 && <0.8- , stm- , stm-chans , string-interpolate >=0.2.1 , tasty , tasty-hedgehog