packages feed

monad-logger-aeson 0.4.1.2 → 0.4.1.3

raw patch · 7 files changed

+44/−46 lines, 7 filesdep ~timePVP: major bump suggested

API removals or changes: PVP suggests a major version bump

Dependency ranges changed: time

API changes (from Hackage documentation)

- Control.Monad.Logger.Aeson.Internal: instance Data.Aeson.Types.ToJSON.KeyValue Control.Monad.Logger.Aeson.Internal.SeriesElem
+ Control.Monad.Logger.Aeson.Internal: instance Data.Aeson.Types.ToJSON.KeyValue Data.Aeson.Encoding.Internal.Encoding Control.Monad.Logger.Aeson.Internal.SeriesElem
- Control.Monad.Logger.Aeson: (.=) :: (KeyValue kv, ToJSON v) => Key -> v -> kv
+ Control.Monad.Logger.Aeson: (.=) :: (KeyValue e kv, ToJSON v) => Key -> v -> kv
- Control.Monad.Logger.Aeson: class ToLogStr msg
+ Control.Monad.Logger.Aeson: class () => ToLogStr msg
- Control.Monad.Logger.Aeson: data Loc
+ Control.Monad.Logger.Aeson: data () => Loc
- Control.Monad.Logger.Aeson: data LogLevel
+ Control.Monad.Logger.Aeson: data () => LogLevel
- Control.Monad.Logger.Aeson: data LogStr
+ Control.Monad.Logger.Aeson: data () => LogStr
- Control.Monad.Logger.Aeson: newtype LoggingT (m :: Type -> Type) a
+ Control.Monad.Logger.Aeson: newtype () => LoggingT (m :: Type -> Type) a
- Control.Monad.Logger.Aeson: newtype NoLoggingT (m :: Type -> Type) a
+ Control.Monad.Logger.Aeson: newtype () => NoLoggingT (m :: Type -> Type) a
- Control.Monad.Logger.Aeson: newtype WriterLoggingT (m :: Type -> Type) a
+ Control.Monad.Logger.Aeson: newtype () => WriterLoggingT (m :: Type -> Type) a
- Control.Monad.Logger.Aeson.Internal: data Key
+ Control.Monad.Logger.Aeson.Internal: data () => Key
- Control.Monad.Logger.Aeson.Internal: data KeyMap v
+ Control.Monad.Logger.Aeson.Internal: data () => KeyMap v

Files

CHANGELOG.md view
@@ -1,5 +1,9 @@ # Change log +## 0.4.1.3++* Relax upper bound on `time`: 1.14 -> 1.15+ ## 0.4.1.2  * Support GHC 9.8 by relaxing upper bound on `text`: 2.1 -> 2.2 (@rickowens)
+ LICENSE view
@@ -0,0 +1,21 @@+MIT License++Copyright (c) 2022 Jason Shipman++Permission is hereby granted, free of charge, to any person obtaining a copy+of this software and associated documentation files (the "Software"), to deal+in the Software without restriction, including without limitation the rights+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell+copies of the Software, and to permit persons to whom the Software is+furnished to do so, subject to the following conditions:++The above copyright notice and this permission notice shall be included in all+copies or substantial portions of the Software.++THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE+SOFTWARE.
− LICENSE.md
@@ -1,23 +0,0 @@-[The MIT License (MIT)][]--Copyright (c) 2022 Jason Shipman--Permission is hereby granted, free of charge, to any person obtaining a copy of-this software and associated documentation files (the "Software"), to deal in-the Software without restriction, including without limitation the rights to-use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies-of the Software, and to permit persons to whom the Software is furnished to do-so, subject to the following conditions:--The above copyright notice and this permission notice shall be included in all-copies or substantial portions of the Software.--THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE-SOFTWARE.--[The MIT License (MIT)]: https://opensource.org/licenses/MIT
README.md view
@@ -1,6 +1,5 @@-# [monad-logger-aeson][]+# monad-logger-aeson -[![Build badge][]][build] [![Version badge][]][version]  ## Synopsis@@ -168,11 +167,8 @@ the principles described previously should provide good performance, please note that benchmarks do not yet exist for this library.  Caveat emptor! -[monad-logger-aeson]: https://github.com/jship/monad-logger-aeson-[Build badge]: https://github.com/jship/monad-logger-aeson/workflows/CI/badge.svg-[build]: https://github.com/jship/monad-logger-aeson/actions [Version badge]: https://img.shields.io/hackage/v/monad-logger-aeson?color=brightgreen&label=version&logo=haskell [version]: https://hackage.haskell.org/package/monad-logger-aeson [Haddocks]: https://hackage.haskell.org/package/monad-logger-aeson-[announcement blog post]: https://jship.github.io/posts/2022-05-17-announcing-monad-logger-aeson/+[announcement blog post]: https://jasonpshipman.com/posts/2022-05-17-announcing-monad-logger-aeson/ [reverse dependency list]: https://packdeps.haskellers.com/reverse/monad-logger
library/Control/Monad/Logger/Aeson.hs view
@@ -560,5 +560,5 @@ -- For additional detail on the library, please see the remainder of these -- Haddocks and the following external resources: ----- * [README](https://github.com/jship/monad-logger-aeson/blob/main/monad-logger-aeson/README.md)--- * [Announcement blog post](https://jship.github.io/posts/2022-05-17-announcing-monad-logger-aeson/)+-- * [README](https://git.sr.ht/~jship/monad-logger-aeson/tree/main/item/README.md)+-- * [Announcement blog post](https://jasonpshipman.com/posts/2022-05-17-announcing-monad-logger-aeson/)
monad-logger-aeson.cabal view
@@ -1,11 +1,11 @@ cabal-version: 1.12 --- This file has been generated from package.yaml by hpack version 0.35.2.+-- This file has been generated from package.yaml by hpack version 0.36.0. -- -- see: https://github.com/sol/hpack  name:           monad-logger-aeson-version:        0.4.1.2+version:        0.4.1.3 synopsis:       JSON logging using monad-logger interface description:    @monad-logger-aeson@ provides structured JSON logging using @monad-logger@'s                 interface.@@ -13,23 +13,22 @@                 Specifically, it is intended to be a (largely) drop-in replacement for                 @monad-logger@'s "Control.Monad.Logger.CallStack" module. category:       System-homepage:       https://github.com/jship/monad-logger-aeson#readme-bug-reports:    https://github.com/jship/monad-logger-aeson/issues+homepage:       https://sr.ht/~jship/monad-logger-aeson/ author:         Jason Shipman maintainer:     Jason Shipman copyright:      2022 (c) Jason Shipman license:        MIT-license-file:   LICENSE.md+license-file:   LICENSE build-type:     Simple extra-source-files:     package.yaml     README.md-    LICENSE.md+    LICENSE     CHANGELOG.md  source-repository head   type: git-  location: https://github.com/jship/monad-logger-aeson+  location: https://git.sr.ht/~jship/monad-logger-aeson/  library   exposed-modules:@@ -49,7 +48,7 @@     , fast-logger >=2.4.11 && <3.3.0     , monad-logger >=0.3.30 && <0.4.0     , text >=1.2.3.1 && <1.3.0.0 || >=2.0 && <2.2-    , time >=1.8.0.2 && <1.14+    , time >=1.8.0.2 && <1.15     , unordered-containers >=0.2.10.0 && <0.3.0.0   default-language: Haskell2010 @@ -153,5 +152,5 @@     , hspec >=2.7.9 && <2.12     , monad-logger >=0.3.30 && <0.4.0     , monad-logger-aeson-    , time >=1.8.0.2 && <1.14+    , time >=1.8.0.2 && <1.15   default-language: Haskell2010
package.yaml view
@@ -1,8 +1,9 @@ name: monad-logger-aeson-version: '0.4.1.2'-github: "jship/monad-logger-aeson"+version: '0.4.1.3'+homepage: https://sr.ht/~jship/monad-logger-aeson/+git: https://git.sr.ht/~jship/monad-logger-aeson/ license: MIT-license-file: LICENSE.md+license-file: LICENSE copyright: 2022 (c) Jason Shipman author: "Jason Shipman" maintainer: "Jason Shipman"@@ -18,7 +19,7 @@ extra-source-files: - package.yaml - README.md-- LICENSE.md+- LICENSE - CHANGELOG.md  ghc-options:@@ -37,7 +38,7 @@   - fast-logger >=2.4.11 && <3.3.0   - monad-logger >=0.3.30 && <0.4.0   - text >=1.2.3.1 && <1.3.0.0 || >=2.0 && <2.2-  - time >=1.8.0.2 && <1.14+  - time >=1.8.0.2 && <1.15   - unordered-containers >=0.2.10.0 && <0.3.0.0   source-dirs: library @@ -56,7 +57,7 @@     - hspec >=2.7.9 && <2.12     - monad-logger >=0.3.30 && <0.4.0     - monad-logger-aeson-    - time >=1.8.0.2 && <1.14+    - time >=1.8.0.2 && <1.15  executables:   readme-example: