packages feed

lens-aeson 1.1.2 → 1.1.3

raw patch · 3 files changed

+12/−17 lines, 3 filesdep ~basedep ~textPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: base, text

API changes (from Hackage documentation)

Files

CHANGELOG.markdown view
@@ -1,3 +1,7 @@+1.1.3 [2021.11.16]+------------------+* Drop support for pre-8.0 versions of GHC.+ 1.1.2 [2021.10.09] ------------------ * Allow building with `aeson-2.0.0.0`.
lens-aeson.cabal view
@@ -1,6 +1,6 @@ name:          lens-aeson category:      Numeric-version:       1.1.2+version:       1.1.3 license:       MIT cabal-version: >= 1.10 license-file:  LICENSE@@ -13,17 +13,14 @@   Copyright (C) 2012 Paul Wilson   Copyright (C) 2013 Edward A. Kmett build-type:    Simple-tested-with:   GHC == 7.4.2-             , GHC == 7.6.3-             , GHC == 7.8.4-             , GHC == 7.10.3-             , GHC == 8.0.2+tested-with:   GHC == 8.0.2              , GHC == 8.2.2              , GHC == 8.4.4              , GHC == 8.6.5              , GHC == 8.8.4-             , GHC == 8.10.4+             , GHC == 8.10.7              , GHC == 9.0.1+             , GHC == 9.2.1 synopsis:      Law-abiding lenses for aeson description:   Law-abiding lenses for aeson. @@ -41,7 +38,7 @@  library   build-depends:-    base                 >= 4.5       && < 5,+    base                 >= 4.9       && < 5,     lens                 >= 4.4       && < 6,     text                 >= 0.11.1.10 && < 1.3,     vector               >= 0.9       && < 0.13,@@ -56,6 +53,6 @@   exposed-modules:     Data.Aeson.Lens -  ghc-options: -Wall -fwarn-tabs -O2+  ghc-options: -Wall -Wtabs -O2   hs-source-dirs: src   default-language: Haskell2010
src/Data/Aeson/Lens.hs view
@@ -7,11 +7,9 @@ {-# LANGUAGE DeriveDataTypeable #-} {-# LANGUAGE MultiParamTypeClasses #-} {-# LANGUAGE DefaultSignatures #-}-{-# OPTIONS_GHC -fno-warn-orphans #-}-#if __GLASGOW_HASKELL__ >= 800 {-# LANGUAGE PatternSynonyms #-} {-# LANGUAGE ViewPatterns #-}-#endif+{-# OPTIONS_GHC -Wno-orphans #-} -------------------------------------------------------------------- -- | -- Copyright :  (c) Edward Kmett 2013-2019, (c) Paul Wilson 2012@@ -40,7 +38,6 @@   , AsJSON(..)   , _JSON'   -- * Pattern Synonyms-#if __GLASGOW_HASKELL__ >= 800   , pattern JSON   , pattern Value_   , pattern Number_@@ -51,7 +48,6 @@   , pattern Bool_   , pattern String_   , pattern Null_-#endif   ) where  import Control.Applicative@@ -165,7 +161,7 @@   | NumberPrim !Scientific   | BoolPrim !Bool   | NullPrim-  deriving (Eq,Ord,Show,Data,Typeable)+  deriving (Eq,Ord,Show,Data)  instance AsNumber Primitive where   _Number = prism NumberPrim $ \v -> case v of NumberPrim s -> Right s; _ -> Left v@@ -521,7 +517,6 @@ -- Pattern Synonyms ------------------------------------------------------------------------------ -#if __GLASGOW_HASKELL__ >= 800 pattern JSON :: (FromJSON a, ToJSON a, AsJSON t) => () => a -> t pattern JSON a <- (preview _JSON -> Just a) where   JSON a = _JSON # a@@ -561,4 +556,3 @@ pattern Null_ :: AsPrimitive t => t pattern Null_ <- (preview _Null -> Just ()) where   Null_ = _Null # ()-#endif