packages feed

ngx-export-log 1.6.2.1 → 1.6.2.2

raw patch · 3 files changed

+8/−3 lines, 3 filesdep ~bytestringPVP: major bump suggested

API removals or changes: PVP suggests a major version bump

Dependency ranges changed: bytestring

API changes (from Hackage documentation)

- NgxExport.Log: logAlert :: ByteString -> IO ByteString
+ NgxExport.Log: logAlert :: ByteString -> IO LazyByteString
- NgxExport.Log: logAlertR :: ByteString -> IO ByteString
+ NgxExport.Log: logAlertR :: ByteString -> IO LazyByteString
- NgxExport.Log: logCrit :: ByteString -> IO ByteString
+ NgxExport.Log: logCrit :: ByteString -> IO LazyByteString
- NgxExport.Log: logCritR :: ByteString -> IO ByteString
+ NgxExport.Log: logCritR :: ByteString -> IO LazyByteString
- NgxExport.Log: logDebug :: ByteString -> IO ByteString
+ NgxExport.Log: logDebug :: ByteString -> IO LazyByteString
- NgxExport.Log: logDebugR :: ByteString -> IO ByteString
+ NgxExport.Log: logDebugR :: ByteString -> IO LazyByteString
- NgxExport.Log: logEmerg :: ByteString -> IO ByteString
+ NgxExport.Log: logEmerg :: ByteString -> IO LazyByteString
- NgxExport.Log: logEmergR :: ByteString -> IO ByteString
+ NgxExport.Log: logEmergR :: ByteString -> IO LazyByteString
- NgxExport.Log: logErr :: ByteString -> IO ByteString
+ NgxExport.Log: logErr :: ByteString -> IO LazyByteString
- NgxExport.Log: logErrR :: ByteString -> IO ByteString
+ NgxExport.Log: logErrR :: ByteString -> IO LazyByteString
- NgxExport.Log: logInfo :: ByteString -> IO ByteString
+ NgxExport.Log: logInfo :: ByteString -> IO LazyByteString
- NgxExport.Log: logInfoR :: ByteString -> IO ByteString
+ NgxExport.Log: logInfoR :: ByteString -> IO LazyByteString
- NgxExport.Log: logNotice :: ByteString -> IO ByteString
+ NgxExport.Log: logNotice :: ByteString -> IO LazyByteString
- NgxExport.Log: logNoticeR :: ByteString -> IO ByteString
+ NgxExport.Log: logNoticeR :: ByteString -> IO LazyByteString
- NgxExport.Log: logStderr :: ByteString -> IO ByteString
+ NgxExport.Log: logStderr :: ByteString -> IO LazyByteString
- NgxExport.Log: logStderrR :: ByteString -> IO ByteString
+ NgxExport.Log: logStderrR :: ByteString -> IO LazyByteString
- NgxExport.Log: logWarn :: ByteString -> IO ByteString
+ NgxExport.Log: logWarn :: ByteString -> IO LazyByteString
- NgxExport.Log: logWarnR :: ByteString -> IO ByteString
+ NgxExport.Log: logWarnR :: ByteString -> IO LazyByteString

Files

Changelog.md view
@@ -1,3 +1,7 @@+### 1.6.2.2++- Use type synonym *LazyByteString* from *bytestring ≥ 0.11.2.0*.+ ### 1.6.2.1  - Revert to using C stubs with HLS via CPP macro *\_\_GHCIDE\_\_*.
NgxExport/Log/Gen.hs view
@@ -8,6 +8,7 @@ import           Control.Arrow import           Data.ByteString (ByteString) import qualified Data.ByteString.Lazy as L+import           Data.ByteString.Lazy (LazyByteString) import           Data.List import           Data.Char @@ -36,7 +37,7 @@         concatMap         (\((con, fn), f) ->              let fl = mkName fn-             in [sigD fl [t|ByteString -> IO L.ByteString|]+             in [sigD fl [t|ByteString -> IO LazyByteString|]                 ,FUND fl [clause [varP $ mkName "msg"]                              (normalB                                  [|$(varE f) $(conE con) msg >> return L.empty|]
ngx-export-log.cabal view
@@ -1,5 +1,5 @@ name:                  ngx-export-log-version:               1.6.2.1+version:               1.6.2.2 synopsis:    Native Nginx logging from configuration files and Haskell handlers description: Native Nginx logging from configuration files and Haskell handlers.         .@@ -27,7 +27,7 @@                      , template-haskell >= 2.11.0                      , ngx-export >= 1.7.1                      , ngx-export-tools >= 0.4.9.0-                     , bytestring+                     , bytestring >= 0.11.2.0    exposed-modules:     NgxExport.Log   other-modules:       NgxExport.Log.Base