Script 'mail_helper' called by obssrc
Hello community,

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

Package is "ghc-hslua-typing"

Wed Jun 10 16:02:10 2026 rev:3 rq:1358392 version:0.2.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-hslua-typing/ghc-hslua-typing.changes        
2024-01-26 22:47:38.517007647 +0100
+++ 
/work/SRC/openSUSE:Factory/.ghc-hslua-typing.new.2375/ghc-hslua-typing.changes  
    2026-06-10 16:04:38.937301023 +0200
@@ -1,0 +2,11 @@
+Thu Jan  8 15:34:31 UTC 2026 - Peter Simons <[email protected]>
+
+- Update hslua-typing to version 0.2.0.
+  ## hslua-typing-0.2.0
+
+  Released 2026-01-08.
+
+  - Drop type *TypeDocs* together with the peeker and pusher
+    functions `peekTypeDoc` and `pushTypeDoc`.
+
+-------------------------------------------------------------------

Old:
----
  hslua-typing-0.1.1.tar.gz

New:
----
  hslua-typing-0.2.0.tar.gz

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

Other differences:
------------------
++++++ ghc-hslua-typing.spec ++++++
--- /var/tmp/diff_new_pack.qKtOo1/_old  2026-06-10 16:04:40.901382414 +0200
+++ /var/tmp/diff_new_pack.qKtOo1/_new  2026-06-10 16:04:40.901382414 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-hslua-typing
 #
-# 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:        0.1.1
+Version:        0.2.0
 Release:        0
 Summary:        Type specifiers for Lua
 License:        MIT
@@ -36,8 +36,6 @@
 BuildRequires:  ghc-hslua-marshalling-devel
 BuildRequires:  ghc-hslua-marshalling-prof
 BuildRequires:  ghc-rpm-macros
-BuildRequires:  ghc-text-devel
-BuildRequires:  ghc-text-prof
 ExcludeArch:    %{ix86}
 %if %{with tests}
 BuildRequires:  ghc-QuickCheck-devel

++++++ hslua-typing-0.1.1.tar.gz -> hslua-typing-0.2.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hslua-typing-0.1.1/CHANGELOG.md 
new/hslua-typing-0.2.0/CHANGELOG.md
--- old/hslua-typing-0.1.1/CHANGELOG.md 2001-09-09 03:46:40.000000000 +0200
+++ new/hslua-typing-0.2.0/CHANGELOG.md 2001-09-09 03:46:40.000000000 +0200
@@ -2,6 +2,13 @@
 
 `hslua-typing` uses [PVP Versioning][].
 
+## hslua-typing-0.2.0
+
+Released 2026-01-08.
+
+- Drop type *TypeDocs* together with the peeker and pusher
+  functions `peekTypeDoc` and `pushTypeDoc`.
+
 ## hslua-typing-0.1.1
 
 Released 2024-01-18.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hslua-typing-0.1.1/LICENSE 
new/hslua-typing-0.2.0/LICENSE
--- old/hslua-typing-0.1.1/LICENSE      2001-09-09 03:46:40.000000000 +0200
+++ new/hslua-typing-0.2.0/LICENSE      2001-09-09 03:46:40.000000000 +0200
@@ -1,4 +1,4 @@
-Copyright © 2023-2024 Albert Krewinkel
+Copyright © 2023-2026 Albert Krewinkel
 
 Permission is hereby granted, free of charge, to any person obtaining a copy
 of this software and associated documentation files (the "Software"), to deal
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hslua-typing-0.1.1/hslua-typing.cabal 
new/hslua-typing-0.2.0/hslua-typing.cabal
--- old/hslua-typing-0.1.1/hslua-typing.cabal   2001-09-09 03:46:40.000000000 
+0200
+++ new/hslua-typing-0.2.0/hslua-typing.cabal   2001-09-09 03:46:40.000000000 
+0200
@@ -1,6 +1,6 @@
 cabal-version:       2.2
 name:                hslua-typing
-version:             0.1.1
+version:             0.2.0
 synopsis:            Type specifiers for Lua.
 description:         Structure to hold detailed type information. The primary
                      use-case at this time are auto-generated docs.
@@ -9,19 +9,14 @@
 license-file:        LICENSE
 author:              Albert Krewinkel
 maintainer:          Albert Krewinkel <[email protected]>
-copyright:           © 2023-2024 Albert Krewinkel
+copyright:           © 2023-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.3
-                   , GHC == 9.8.1
+tested-with:         GHC == 9.6
+                   , GHC == 9.8
+                   , GHC == 9.10
+                   , GHC == 9.12
 
 source-repository head
   type:                git
@@ -45,21 +40,19 @@
                        -Wpartial-fields
                        -Wredundant-constraints
                        -fhide-source-paths
-
   if impl(ghc >= 8.10)
-    ghc-options:       -Wunused-packages
+    ghc-options:         -Wunused-packages
 
   if impl(ghc >= 9.0)
-    ghc-options:       -Winvalid-haddock
+    ghc-options:         -Winvalid-haddock
 
 library
   import:              common-options
   exposed-modules:     HsLua.Typing
   hs-source-dirs:      src
-  build-depends:       containers           >= 0.5.9  && < 0.8
+  build-depends:       containers           >= 0.5.9  && < 0.9
                      , hslua-core           >= 2.3    && < 2.4
                      , hslua-marshalling    >= 2.3    && < 2.4
-                     , text                 >= 1.2    && < 2.2
   default-language:    Haskell2010
 
 test-suite test-hslua-typing
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hslua-typing-0.1.1/src/HsLua/Typing.hs 
new/hslua-typing-0.2.0/src/HsLua/Typing.hs
--- old/hslua-typing-0.1.1/src/HsLua/Typing.hs  2001-09-09 03:46:40.000000000 
+0200
+++ new/hslua-typing-0.2.0/src/HsLua/Typing.hs  2001-09-09 03:46:40.000000000 
+0200
@@ -3,7 +3,7 @@
 {-# LANGUAGE OverloadedStrings #-}
 {-|
 Module      : HsLua.Typing
-Copyright   : © 2023-2024 Albert Krewinkel
+Copyright   : © 2023-2026 Albert Krewinkel
 License     : MIT
 Maintainer  : Albert Krewinkel <[email protected]>
 
@@ -12,7 +12,6 @@
 -}
 module HsLua.Typing
   ( TypeSpec (..)
-  , TypeDocs (..)
   , (#|#)
   , typeSpecToString
   , typeSpecFromString
@@ -36,15 +35,12 @@
     -- * Marshalling
   , pushTypeSpec
   , peekTypeSpec
-  , pushTypeDoc
-  , peekTypeDoc
   ) where
 
 import Control.Monad (when)
 import Data.Char (toLower, toUpper)
 import Data.List (find, intercalate)
 import Data.String (IsString (..))
-import Data.Text (Text)
 import GHC.Generics (Generic)
 import HsLua.Core
 import HsLua.Core.Utf8 (toString)
@@ -65,14 +61,6 @@
   | AnyType                           -- ^ Unconstrained type.
   deriving (Eq, Generic, Ord, Show)
 
--- | Documented custom type.
-data TypeDocs = TypeDocs
-  { typeDescription :: Text
-  , typeSpec        :: TypeSpec
-  , typeRegistry    :: Maybe Name
-  }
-  deriving (Eq, Generic, Ord, Show)
-
 -- | Returns the sum of two type specifiers, declaring that a Lua value
 -- can have either type.
 (#|#) :: TypeSpec -> TypeSpec -> TypeSpec
@@ -224,25 +212,6 @@
 -- Marshalling
 --
 
--- | Pushes documentation for a custom type.
-pushTypeDoc :: LuaError e => Pusher e TypeDocs
-pushTypeDoc td = do
-  checkstack' 8 "HsLua.Typing.pushTypeDoc"
-  pushAsTable
-    [ ("description", pushText . typeDescription)
-    , ("typespec", pushTypeSpec . typeSpec)
-    , ("registry", maybe pushnil pushName . typeRegistry)
-    ] td
-
--- | Retrieves a custom type specifier.
-peekTypeDoc :: LuaError e => Peeker e TypeDocs
-peekTypeDoc = typeChecked "TypeDoc" istable $ \idx -> do
-  liftLua $ checkstack' 8 "HsLua.Typing.peekTypeDoc"
-  desc <- peekFieldRaw peekText "description" idx
-  spec <- peekFieldRaw peekTypeSpec "typespec" idx
-  regn <- peekFieldRaw (peekNilOr peekName) "registry" idx
-  return $ TypeDocs desc spec regn
-
 -- | Pushes a table representation of a 'TypeSpec' to the stack.
 pushTypeSpec :: LuaError e
              => TypeSpec
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hslua-typing-0.1.1/test/test-hslua-typing.hs 
new/hslua-typing-0.2.0/test/test-hslua-typing.hs
--- old/hslua-typing-0.1.1/test/test-hslua-typing.hs    2001-09-09 
03:46:40.000000000 +0200
+++ new/hslua-typing-0.2.0/test/test-hslua-typing.hs    2001-09-09 
03:46:40.000000000 +0200
@@ -3,7 +3,7 @@
 {-# OPTIONS_GHC -fno-warn-orphans #-}
 {-|
 Module      : Main
-Copyright   : © 2023-2024 Albert Krewinkel
+Copyright   : © 2023-2026 Albert Krewinkel
 License     : MIT
 Maintainer  : Albert Krewinkel <[email protected]>
 
@@ -89,9 +89,6 @@
   , testGroup "Marshalling"
     [ testProperty "Roundtrip TypeSpec" $
       assertRoundtripEqual pushTypeSpec peekTypeSpec
-
-    , testProperty "Roundtrip TypeDocs" $
-      assertRoundtripEqual pushTypeDoc peekTypeDoc
     ]
   ]
 
@@ -99,13 +96,6 @@
   arbitrary = arbitraryTypeSpec 3
   shrink = shrinkTypeSpec
 
-instance Arbitrary TypeDocs where
-  arbitrary = TypeDocs
-    <$> arbitrary
-    <*> arbitrary
-    <*> arbitrary
-  shrink td = (\ts -> td{ typeSpec = ts}) <$> shrink (typeSpec td)
-
 instance Arbitrary Name where
   arbitrary = Name . fromString <$> arbitrary
 

Reply via email to