packages feed

hslua-objectorientation 2.4.0 → 2.5.0

raw patch · 8 files changed

+23/−29 lines, 8 filesdep ~hslua-typingPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: hslua-typing

API changes (from Hackage documentation)

- HsLua.ObjectOrientation.Generic: udDocs :: UDTypeGeneric e fn a -> TypeDocs

Files

CHANGELOG.md view
@@ -2,6 +2,15 @@  `hslua-objectorientation` uses [PVP Versioning][]. +## hslua-objectorientation-2.5.0++Released 2026-01-08.++- Removed function `udDocs`. It is not very useful and appears to+  be unused.++- Allow *hslua-typing* 0.2.\*.+ ## hslua-objectorientation-2.4.0  Released 2025-06-23.
LICENSE view
@@ -1,7 +1,7 @@ Copyright © 1994-2023 Lua.org, PUC-Rio. Copyright © 2007-2012 Gracjan Polak Copyright © 2012-2015 Ömer Sinan Ağacan-Copyright © 2016-2024 Albert Krewinkel+Copyright © 2016-2026 Albert Krewinkel  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the
hslua-objectorientation.cabal view
@@ -1,6 +1,6 @@ cabal-version:       2.2 name:                hslua-objectorientation-version:             2.4.0+version:             2.5.0 synopsis:            Object orientation tools for HsLua description:         Expose Haskell objects to Lua with an object oriented                      interface.@@ -10,20 +10,15 @@ license-file:        LICENSE author:              Albert Krewinkel maintainer:          tarleb@hslua.org-copyright:           © 2021-2024 Albert Krewinkel+copyright:           © 2021-2026 Albert Krewinkel category:            Foreign build-type:          Simple extra-source-files:  README.md                    , CHANGELOG.md-tested-with:         GHC == 8.8.4-                   , GHC == 8.10.7-                   , GHC == 9.0.2-                   , GHC == 9.2.8-                   , GHC == 9.4.8-                   , GHC == 9.6.7-                   , GHC == 9.8.4-                   , GHC == 9.10.2-                   , GHC == 9.12.2+tested-with:         GHC == 9.6+                   , GHC == 9.8+                   , GHC == 9.10+                   , GHC == 9.12  source-repository head   type:                git@@ -35,7 +30,7 @@   build-depends:       base              >= 4.11   && < 5                      , hslua-core        >= 2.2.1  && < 2.4                      , hslua-marshalling >= 2.2.1  && < 2.4-                     , hslua-typing      >= 0.1    && < 0.2+                     , hslua-typing      >= 0.1    && < 0.3    ghc-options:         -Wall                        -Wcpp-undef
src/HsLua/ObjectOrientation.hs view
@@ -3,7 +3,7 @@ {-# LANGUAGE ScopedTypeVariables   #-} {-| Module      : HsLua.ObjectOrientation-Copyright   : © 2021-2024 Albert Krewinkel+Copyright   : © 2021-2026 Albert Krewinkel License     : MIT Maintainer  : Albert Krewinkel <tarleb@hslua.org> 
src/HsLua/ObjectOrientation/Generic.hs view
@@ -3,7 +3,7 @@ {-# LANGUAGE ScopedTypeVariables      #-} {-| Module      : HsLua.ObjectOrientation.Generic-Copyright   : © 2021-2024 Albert Krewinkel+Copyright   : © 2021-2026 Albert Krewinkel License     : MIT Maintainer  : Albert Krewinkel <tarleb@hslua.org> @@ -37,7 +37,6 @@   , pushUDGeneric   , initType     -- * Type docs-  , udDocs   , udTypeSpec     -- * Helper types for building   , Member@@ -57,7 +56,7 @@ import HsLua.Core as Lua import HsLua.Marshalling import HsLua.ObjectOrientation.Operation-import HsLua.Typing ( TypeDocs (..), TypeSpec (..), anyType, userdataType )+import HsLua.Typing ( TypeSpec (..), anyType ) import qualified Data.Map.Strict as Map import qualified HsLua.Core.Unsafe as Unsafe import qualified HsLua.Core.Utf8 as Utf8@@ -465,15 +464,6 @@ -- -- Typing ------ | Returns documentation for this type.-udDocs :: UDTypeGeneric e fn a-       -> TypeDocs-udDocs ty = TypeDocs-  { typeDescription = mempty-  , typeSpec = userdataType-  , typeRegistry = Just (udName ty)-  }  -- | Type specifier for a UDType udTypeSpec :: UDTypeGeneric e fn a
src/HsLua/ObjectOrientation/Operation.hs view
@@ -1,7 +1,7 @@ {-# LANGUAGE OverloadedStrings #-} {-| Module      : HsLua.ObjectOrientation.Operation-Copyright   : © 2020-2024 Albert Krewinkel+Copyright   : © 2020-2026 Albert Krewinkel License     : MIT Maintainer  : Albert Krewinkel <tarleb@hslua.org> 
test/HsLua/ObjectOrientationTests.hs view
@@ -5,7 +5,7 @@ Module      : HsLua.ObjectOrientationTests Copyright   : © 2007–2012 Gracjan Polak;               © 2012–2016 Ömer Sinan Ağacan;-              © 2017-2024 Albert Krewinkel+              © 2017-2026 Albert Krewinkel License     : MIT Maintainer  : Albert Krewinkel <tarleb@hslua.org> Stability   : beta
test/test-hslua-objectorientation.hs view
@@ -2,7 +2,7 @@ Module      : Main Copyright   : © 2007–2012 Gracjan Polak;               © 2012–2016 Ömer Sinan Ağacan;-              © 2017-2024 Albert Krewinkel+              © 2017-2026 Albert Krewinkel License     : MIT Maintainer  : Albert Krewinkel <tarleb@hslua.org> Stability   : beta