Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package ghc-hslua-aeson for openSUSE:Factory 
checked in at 2026-06-10 16:00:44
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-hslua-aeson (Old)
 and      /work/SRC/openSUSE:Factory/.ghc-hslua-aeson.new.2375 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc-hslua-aeson"

Wed Jun 10 16:00:44 2026 rev:7 rq:1358379 version:2.3.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-hslua-aeson/ghc-hslua-aeson.changes  
2024-07-22 17:17:15.883511127 +0200
+++ 
/work/SRC/openSUSE:Factory/.ghc-hslua-aeson.new.2375/ghc-hslua-aeson.changes    
    2026-06-10 16:03:10.873651635 +0200
@@ -1,0 +2,10 @@
+Thu Jan  8 14:50:50 UTC 2026 - Peter Simons <[email protected]>
+
+- Update hslua-aeson to version 2.3.2.
+  ## hslua-aeson-2.3.2
+
+  Released 2026-01-08.
+
+  -   Dropped support for aeson < 2.0.3.
+
+-------------------------------------------------------------------

Old:
----
  hslua-aeson-2.3.1.1.tar.gz

New:
----
  hslua-aeson-2.3.2.tar.gz

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

Other differences:
------------------
++++++ ghc-hslua-aeson.spec ++++++
--- /var/tmp/diff_new_pack.qsqqw9/_old  2026-06-10 16:03:14.625807125 +0200
+++ /var/tmp/diff_new_pack.qsqqw9/_new  2026-06-10 16:03:14.625807125 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-hslua-aeson
 #
-# Copyright (c) 2024 SUSE LLC
+# Copyright (c) 2026 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -20,7 +20,7 @@
 %global pkgver %{pkg_name}-%{version}
 %bcond_with tests
 Name:           ghc-%{pkg_name}
-Version:        2.3.1.1
+Version:        2.3.2
 Release:        0
 Summary:        Allow aeson data types to be used with Lua
 License:        MIT
@@ -33,23 +33,13 @@
 BuildRequires:  ghc-base-prof
 BuildRequires:  ghc-bytestring-devel
 BuildRequires:  ghc-bytestring-prof
-BuildRequires:  ghc-containers-devel
-BuildRequires:  ghc-containers-prof
-BuildRequires:  ghc-hashable-devel
-BuildRequires:  ghc-hashable-prof
 BuildRequires:  ghc-hslua-core-devel
 BuildRequires:  ghc-hslua-core-prof
 BuildRequires:  ghc-hslua-marshalling-devel
 BuildRequires:  ghc-hslua-marshalling-prof
-BuildRequires:  ghc-mtl-devel
-BuildRequires:  ghc-mtl-prof
 BuildRequires:  ghc-rpm-macros
 BuildRequires:  ghc-scientific-devel
 BuildRequires:  ghc-scientific-prof
-BuildRequires:  ghc-text-devel
-BuildRequires:  ghc-text-prof
-BuildRequires:  ghc-unordered-containers-devel
-BuildRequires:  ghc-unordered-containers-prof
 BuildRequires:  ghc-vector-devel
 BuildRequires:  ghc-vector-prof
 ExcludeArch:    %{ix86}
@@ -64,6 +54,8 @@
 BuildRequires:  ghc-tasty-prof
 BuildRequires:  ghc-tasty-quickcheck-devel
 BuildRequires:  ghc-tasty-quickcheck-prof
+BuildRequires:  ghc-text-devel
+BuildRequires:  ghc-text-prof
 %endif
 
 %description

++++++ hslua-aeson-2.3.1.1.tar.gz -> hslua-aeson-2.3.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hslua-aeson-2.3.1.1/CHANGELOG.md 
new/hslua-aeson-2.3.2/CHANGELOG.md
--- old/hslua-aeson-2.3.1.1/CHANGELOG.md        2001-09-09 03:46:40.000000000 
+0200
+++ new/hslua-aeson-2.3.2/CHANGELOG.md  2001-09-09 03:46:40.000000000 +0200
@@ -2,6 +2,12 @@
 
 `hslua-aeson` uses [PVP Versioning][].
 
+## hslua-aeson-2.3.2
+
+Released 2026-01-08.
+
+-   Dropped support for aeson < 2.0.3.
+
 ## hslua-aeson-2.3.1.1
 
 Released 2024-07-09.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hslua-aeson-2.3.1.1/hslua-aeson.cabal 
new/hslua-aeson-2.3.2/hslua-aeson.cabal
--- old/hslua-aeson-2.3.1.1/hslua-aeson.cabal   2001-09-09 03:46:40.000000000 
+0200
+++ new/hslua-aeson-2.3.2/hslua-aeson.cabal     2001-09-09 03:46:40.000000000 
+0200
@@ -1,6 +1,6 @@
 cabal-version:       2.2
 name:                hslua-aeson
-version:             2.3.1.1
+version:             2.3.2
 synopsis:            Allow aeson data types to be used with Lua.
 description:         This package provides instances to push and receive any
                      datatype encodable as JSON to and from the Lua stack.
@@ -9,20 +9,14 @@
 license-file:        LICENSE
 author:              Albert Krewinkel
 maintainer:          Albert Krewinkel <[email protected]>
-copyright:           © 2017–2024 Albert Krewinkel
+copyright:           © 2017-2026 Albert Krewinkel
 category:            Foreign
 extra-source-files:  README.md
                    , CHANGELOG.md
-tested-with:         GHC == 8.4.4
-                   , GHC == 8.6.5
-                   , GHC == 8.8.4
-                   , GHC == 8.10.7
-                   , GHC == 9.0.2
-                   , GHC == 9.2.8
-                   , GHC == 9.4.8
-                   , GHC == 9.6.5
-                   , GHC == 9.8.2
-                   , GHC == 9.10.1
+tested-with:         GHC == 9.6
+                   , GHC == 9.8
+                   , GHC == 9.10
+                   , GHC == 9.12
 
 source-repository head
   type:                git
@@ -32,40 +26,35 @@
 common common-options
   default-language:    Haskell2010
   build-depends:       base                 >= 4.11   && < 5
-                     , aeson                >= 1.5    && < 2.3
-                     , bytestring           >= 0.10.2 && < 0.13
-                     , containers           >= 0.5.9  && < 0.8
-                     , hashable             >= 1.2    && < 1.6
+                     , aeson                >= 2.0.3  && < 2.3
                      , hslua-core           >= 2.0    && < 2.4
                      , hslua-marshalling    >= 2.1    && < 2.4
-                     , mtl                  >= 2.2    && < 2.4
                      , scientific           >= 0.3    && < 0.4
-                     , unordered-containers >= 0.2    && < 0.3
-                     , text                 >= 1.2    && < 2.2
-                     , vector               >= 0.7
+                     , vector               >= 0.7    && < 0.14
   default-extensions:  BangPatterns
-                     , CPP
                      , LambdaCase
                      , OverloadedStrings
                      , TypeApplications
   ghc-options:         -Wall
+                       -Wcpp-undef
+                       -Werror=missing-home-modules
+                       -Widentities
                        -Wincomplete-record-updates
+                       -Wincomplete-uni-patterns
                        -Wnoncanonical-monad-instances
+                       -Wpartial-fields
                        -Wredundant-constraints
-  if impl(ghc >= 8.2)
-    ghc-options:         -Wcpp-undef
-                         -Werror=missing-home-modules
-  if impl(ghc >= 8.4)
-    ghc-options:         -Widentities
-                         -Wincomplete-uni-patterns
-                         -Wpartial-fields
-                         -fhide-source-paths
+                       -fhide-source-paths
+  if impl(ghc >= 8.10)
+    ghc-options:         -Wunused-packages
+  if impl(ghc >= 9.0)
+    ghc-options:         -Winvalid-haddock
 
 library
   import:              common-options
   exposed-modules:     HsLua.Aeson
   hs-source-dirs:      src
-  build-depends:       base                 >= 4.7    && < 5
+  build-depends:       bytestring           >= 0.10.2 && < 0.13
   default-language:    Haskell2010
 
 test-suite test-hslua-aeson
@@ -74,10 +63,12 @@
   main-is:             test-hslua-aeson.hs
   hs-source-dirs:      test
   build-depends:       hslua-aeson
+                     , aeson                >= 2.0.3  && < 2.3
                      , QuickCheck
                      , quickcheck-instances
                      , tasty                >= 0.11
                      , tasty-quickcheck     >= 0.8
                      , tasty-hunit          >= 0.10
+                     , text                 >= 1.2    && < 2.2
   ghc-options:         -threaded
   default-language:    Haskell2010
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hslua-aeson-2.3.1.1/src/HsLua/Aeson.hs 
new/hslua-aeson-2.3.2/src/HsLua/Aeson.hs
--- old/hslua-aeson-2.3.1.1/src/HsLua/Aeson.hs  2001-09-09 03:46:40.000000000 
+0200
+++ new/hslua-aeson-2.3.2/src/HsLua/Aeson.hs    2001-09-09 03:46:40.000000000 
+0200
@@ -1,6 +1,6 @@
 {-|
 Module      :  HsLua.Aeson
-Copyright   :  © 2017-2024 Albert Krewinkel
+Copyright   :  © 2017-2026 Albert Krewinkel
 License     :  MIT
 Maintainer  :  Albert Krewinkel <[email protected]>
 
@@ -34,28 +34,18 @@
 
 import Control.Applicative ((<|>))
 import Control.Monad ((<$!>), void)
+import Data.Aeson.Key (toText, fromText)
 import Data.Scientific (toRealFloat, fromFloatDigits)
 import Foreign.Ptr (nullPtr)
 import HsLua.Core as Lua
 import HsLua.Marshalling as Lua
 
 import qualified Data.Aeson as Aeson
+import qualified Data.Aeson.KeyMap as KeyMap
 import qualified Data.ByteString as B
 import qualified Data.Vector as Vector
 import qualified HsLua.Core.Utf8 as UTF8
 
-#if MIN_VERSION_aeson(2,0,0)
-import Data.Aeson.Key (toText, fromText)
-import qualified Data.Aeson.KeyMap as KeyMap
-#else
-import Data.Text (Text)
-import qualified Data.HashMap.Strict as KeyMap
-
-toText, fromText :: Text -> Text
-toText = id
-fromText = id
-#endif
-
 -- | Hslua StackValue instance for the Aeson Value data type.
 pushValue :: LuaError e => Pusher e Aeson.Value
 pushValue val = do
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hslua-aeson-2.3.1.1/test/test-hslua-aeson.hs 
new/hslua-aeson-2.3.2/test/test-hslua-aeson.hs
--- old/hslua-aeson-2.3.1.1/test/test-hslua-aeson.hs    2001-09-09 
03:46:40.000000000 +0200
+++ new/hslua-aeson-2.3.2/test/test-hslua-aeson.hs      2001-09-09 
03:46:40.000000000 +0200
@@ -1,6 +1,6 @@
 {-# OPTIONS_GHC -fno-warn-orphans #-}
 {-|
-Copyright   :  © 2017-2024 Albert Krewinkel
+Copyright   :  © 2017-2026 Albert Krewinkel
 License     :  MIT
 
 Tests for Aeson–Lua glue.
@@ -19,19 +19,10 @@
 import Test.QuickCheck.Instances ()
 
 import qualified Data.Aeson as Aeson
+import qualified Data.Aeson.KeyMap as KeyMap
 import qualified Data.Vector as Vector
 import qualified Test.QuickCheck.Monadic as QC
 
-#if MIN_VERSION_aeson(2,0,0)
-import qualified Data.Aeson.KeyMap as KeyMap
-#if !MIN_VERSION_aeson(2,0,3)
-import Data.Aeson.Key (Key, fromText)
-#endif
-#else
-import qualified Data.HashMap.Strict as KeyMap
-#endif
-
-
 -- | Run this spec.
 main :: IO ()
 main = defaultMain tests
@@ -132,34 +123,6 @@
 luaNumberToScientific :: Lua.Number -> Scientific
 luaNumberToScientific = fromFloatDigits . (realToFrac :: Lua.Number -> Double)
 
--- aeson defines instances for Arbitrary since 2.0.3.0
-#if !MIN_VERSION_aeson(2,0,3)
-instance Arbitrary Aeson.Value where
-  arbitrary = arbitraryValue 9
-
-#if MIN_VERSION_aeson(2,0,0)
-instance Arbitrary Key where
-  arbitrary = fmap fromText arbitrary
-
-instance Arbitrary a => Arbitrary (KeyMap.KeyMap a) where
-  arbitrary = fmap KeyMap.fromList arbitrary
-#endif
-
-arbitraryValue :: Int -> Gen Aeson.Value
-arbitraryValue size = frequency
-    [ (1, return Aeson.Null)
-    , (4, Aeson.Bool <$> arbitrary)
-    -- Note: we don't draw numbers from the whole possible range, but
-    -- only from the range of numbers that Lua can handle without
-    -- rounding errors. This is ok, as JSON doesn't define a required
-    -- precision, and (usually) matches the behavior of JavaScript.
-    , (4, Aeson.Number . luaNumberToScientific . Lua.Number <$> arbitrary)
-    , (4, Aeson.String <$> arbitrary)
-    , (2, resize (size - 1) $ Aeson.Array <$> arbitrary)
-    , (2, resize (size - 1) $ Aeson.Object <$> arbitrary)
-    ]
-#endif
-
 --
 -- Type for __toaeson tests
 --

Reply via email to