Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package ghc-aeson-pretty for 
openSUSE:Factory checked in at 2023-07-09 20:41:01
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-aeson-pretty (Old)
 and      /work/SRC/openSUSE:Factory/.ghc-aeson-pretty.new.23466 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc-aeson-pretty"

Sun Jul  9 20:41:01 2023 rev:20 rq:1097774 version:0.8.10

Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-aeson-pretty/ghc-aeson-pretty.changes        
2023-04-04 21:18:21.752403185 +0200
+++ 
/work/SRC/openSUSE:Factory/.ghc-aeson-pretty.new.23466/ghc-aeson-pretty.changes 
    2023-07-09 20:43:07.402134808 +0200
@@ -1,0 +2,8 @@
+Sat Jul  1 07:33:14 UTC 2023 - Peter Simons <[email protected]>
+
+- Update aeson-pretty to version 0.8.10.
+  ## 0.8.10
+   * Added support for Aeson 2.2
+   * Added support for Aeson 2.1
+
+-------------------------------------------------------------------

Old:
----
  aeson-pretty-0.8.9.tar.gz
  aeson-pretty.cabal

New:
----
  aeson-pretty-0.8.10.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ ghc-aeson-pretty.spec ++++++
--- /var/tmp/diff_new_pack.iXnZ4f/_old  2023-07-09 20:43:07.914137888 +0200
+++ /var/tmp/diff_new_pack.iXnZ4f/_new  2023-07-09 20:43:07.918137913 +0200
@@ -19,13 +19,12 @@
 %global pkg_name aeson-pretty
 %global pkgver %{pkg_name}-%{version}
 Name:           ghc-%{pkg_name}
-Version:        0.8.9
+Version:        0.8.10
 Release:        0
 Summary:        JSON pretty-printing library and command-line tool
 License:        BSD-3-Clause
 URL:            https://hackage.haskell.org/package/%{pkg_name}
 Source0:        
https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
-Source1:        
https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/2.cabal#/%{pkg_name}.cabal
 BuildRequires:  ghc-Cabal-devel
 BuildRequires:  ghc-aeson-devel
 BuildRequires:  ghc-aeson-prof
@@ -89,7 +88,6 @@
 
 %prep
 %autosetup -n %{pkg_name}-%{version}
-cp -p %{SOURCE1} %{pkg_name}.cabal
 
 %build
 %define cabal_configure_options -flib-only

++++++ aeson-pretty-0.8.9.tar.gz -> aeson-pretty-0.8.10.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/aeson-pretty-0.8.9/CHANGELOG.markdown 
new/aeson-pretty-0.8.10/CHANGELOG.markdown
--- old/aeson-pretty-0.8.9/CHANGELOG.markdown   2001-09-09 03:46:40.000000000 
+0200
+++ new/aeson-pretty-0.8.10/CHANGELOG.markdown  2001-09-09 03:46:40.000000000 
+0200
@@ -1,4 +1,8 @@
 # aeson-pretty changelog
 
+## 0.8.10
+ * Added support for Aeson 2.2
+ * Added support for Aeson 2.1
+
 ## 0.8.9
  * Added support for Aeson 2.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/aeson-pretty-0.8.9/Data/Aeson/Encode/Pretty.hs 
new/aeson-pretty-0.8.10/Data/Aeson/Encode/Pretty.hs
--- old/aeson-pretty-0.8.9/Data/Aeson/Encode/Pretty.hs  2001-09-09 
03:46:40.000000000 +0200
+++ new/aeson-pretty-0.8.10/Data/Aeson/Encode/Pretty.hs 2001-09-09 
03:46:40.000000000 +0200
@@ -62,10 +62,14 @@
 import qualified Data.Aeson.Text as Aeson
 import Data.ByteString.Lazy (ByteString)
 import Data.Function (on)
-import qualified Data.HashMap.Strict as H (toList, mapKeys)
+#if !MIN_VERSION_aeson(2,0,0)
+import qualified Data.HashMap.Strict as H (toList)
+#endif
 import Data.List (intersperse, sortBy, elemIndex)
 import Data.Maybe (fromMaybe)
+#if !MIN_VERSION_base(4,13,0)
 import Data.Semigroup ((<>))
+#endif
 import qualified Data.Scientific as S (Scientific, FPFormat(..))
 import Data.Ord (comparing)
 import Data.Text (Text)
@@ -150,7 +154,7 @@
 encodePrettyToTextBuilder :: ToJSON a => a -> Builder
 encodePrettyToTextBuilder = encodePrettyToTextBuilder' defConfig
 
--- |A variant of 'encodeToTextBuilder' that takes an additional configuration
+-- |A variant of 'Aeson.encodeToTextBuilder' that takes an additional 
configuration
 --  parameter.
 encodePrettyToTextBuilder' :: ToJSON a => Config -> a -> Builder
 encodePrettyToTextBuilder' Config{..} x = fromValue st (toJSON x) <> trail
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/aeson-pretty-0.8.9/README.markdown 
new/aeson-pretty-0.8.10/README.markdown
--- old/aeson-pretty-0.8.9/README.markdown      2001-09-09 03:46:40.000000000 
+0200
+++ new/aeson-pretty-0.8.10/README.markdown     2001-09-09 03:46:40.000000000 
+0200
@@ -1,7 +1,5 @@
 # Welcome to aeson-pretty
 
-[![Build 
Status](https://travis-ci.org/informatikr/aeson-pretty.svg?branch=master)](https://travis-ci.org/informatikr/aeson-pretty)
-
 This is a JSON pretty-printing Haskell library compatible with 
[aeson](http://hackage.haskell.org/package/aeson) as well as a command-line 
tool to improve readabilty of streams of JSON data.
 
 The **library** provides a single function `encodePretty`. It is a drop-in 
replacement for aeson's `encode` function, producing JSON-ByteStrings for human 
readers.
@@ -20,6 +18,9 @@
 
 * `git clone git://github.com/informatikr/aeson-pretty.git`
 
+# Aeson / GHC support
+We support all GHCs supported by the latest Aeson release. This in turn 
determines which Aeson releases we support.
+
 # Authors
 
-This library is written and maintained by Falko Peters, 
<[email protected]>.
+This library is written by Falko Peters <[email protected]> and 
maintained by Martijn Bastiaan <[email protected]>.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/aeson-pretty-0.8.9/aeson-pretty.cabal 
new/aeson-pretty-0.8.10/aeson-pretty.cabal
--- old/aeson-pretty-0.8.9/aeson-pretty.cabal   2001-09-09 03:46:40.000000000 
+0200
+++ new/aeson-pretty-0.8.10/aeson-pretty.cabal  2001-09-09 03:46:40.000000000 
+0200
@@ -1,6 +1,6 @@
 cabal-version:  2.0
 name:           aeson-pretty
-version:        0.8.9
+version:        0.8.10
 license:        BSD3
 license-file:   LICENSE
 category:       Text, Web, JSON, Pretty Printer
@@ -41,14 +41,14 @@
         Data.Aeson.Encode.Pretty
 
     build-depends:
-        aeson ^>= 1.0 || ^>=1.1 || ^>=1.2 || ^>=1.3 || ^>=1.4 || ^>=1.5 || 
^>=2.0,
+        aeson ^>=1.1 || ^>=1.2 || ^>=1.3 || ^>=1.4 || ^>=1.5 || ^>=2.0 || 
^>=2.1 || ^>=2.2,
         base >= 4.5,
         base-compat >= 0.9,
         bytestring >= 0.9,
         scientific >= 0.3,
         vector >= 0.9,
         text >= 0.11,
-        unordered-containers >= 0.1.3.0
+        unordered-containers >= 0.2.14.0
 
     if !impl(ghc >= 8.0)
       build-depends:
@@ -70,11 +70,13 @@
             aeson >= 0.6,
             aeson-pretty,
             attoparsec >= 0.10,
+            attoparsec-aeson,
             base == 4.*,
             bytestring >= 0.9,
             cmdargs >= 0.7
 
     ghc-options: -Wall
+    ghc-prof-options: -auto-all
     default-language: Haskell2010
 
 source-repository head
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/aeson-pretty-0.8.9/cli-tool/Main.hs 
new/aeson-pretty-0.8.10/cli-tool/Main.hs
--- old/aeson-pretty-0.8.9/cli-tool/Main.hs     2001-09-09 03:46:40.000000000 
+0200
+++ new/aeson-pretty-0.8.10/cli-tool/Main.hs    2001-09-09 03:46:40.000000000 
+0200
@@ -2,8 +2,9 @@
 module Main (main) where
 
 import Prelude hiding (interact, concat, unlines, null)
-import Data.Aeson (Value(..), json', encode)
+import Data.Aeson (Value(..), encode)
 import Data.Aeson.Encode.Pretty
+import Data.Aeson.Parser.Internal (value')
 import Data.Attoparsec.Lazy (Result(..), parse)
 import Data.ByteString.Lazy.Char8 (ByteString, interact, unlines, null)
 import Data.Version (showVersion)
@@ -53,7 +54,7 @@
     interact $ unlines . map enc . values
 
 values :: ByteString -> [Value]
-values s = case parse json' s of
+values s = case parse value' s of
             Done rest v     -> v : values rest
             Fail rest _ _
                 | null rest -> []

Reply via email to