packages feed

hslua 2.1.0 → 2.2.0

raw patch · 4 files changed

+32/−11 lines, 4 filesdep +QuickCheckdep +hslua-aesondep +luadep ~hslua-classesdep ~hslua-coredep ~hslua-marshallingPVP ok

version bump matches the API change (PVP)

Dependencies added: QuickCheck, hslua-aeson, lua, lua-arbitrary, quickcheck-instances

Dependency ranges changed: hslua-classes, hslua-core, hslua-marshalling, hslua-objectorientation, hslua-packaging, mtl

API changes (from Hackage documentation)

Files

CHANGELOG.md view
@@ -2,9 +2,17 @@  `hslua` uses [PVP Versioning][]. +## hslua-2.2.0++Released 2022-02-19.++-   Require version 2.2.* of all hslua-* packages.++-   Include hslua-aeson, and re-export `HsLua.Aeson` from `HsLua`.+ ## hslua-2.1.0 -Released 29-01-2022.+Released 2022-01-29.  -   Update to hslua-objectorientation 2.1.0. This entails changes     to `deftype'` and `deftypeGeneric`, switching the order of
README.md view
@@ -28,7 +28,7 @@ software and embedded devices. This package provides Haskell bindings to Lua, enable coders to embed the language into their programs, making them scriptable. -HsLua ships with batteries included and includes Lua 5.3.6. Cabal+HsLua ships with batteries included and includes Lua 5.4.4. Cabal flags make it easy to compile against a system-wide Lua installation. 
hslua.cabal view
@@ -1,6 +1,6 @@ cabal-version:       2.2 name:                hslua-version:             2.1.0+version:             2.2.0 synopsis:            Bindings to Lua, an embeddable scripting language description:         HsLua provides wrappers and helpers                      to bridge Haskell and <https://www.lua.org/ Lua>.@@ -8,8 +8,9 @@                      It builds upon the /lua/ package, which allows to bundle                      a Lua interpreter with a Haskell program.                      .-                     <https://github.com/hslua/hslua-examples Example programs>-                     are available in a separate repository.+                     Example programs are can be found in the @hslua-examples@+                     subdir of the project+                     <https://github.com/hslua/hslua repository>. homepage:            https://hslua.org/ bug-reports:         https://github.com/hslua/hslua/issues license:             MIT@@ -43,11 +44,12 @@                      , bytestring              >= 0.10.2 && < 0.12                      , containers              >= 0.5.9  && < 0.7                      , exceptions              >= 0.8    && < 0.11-                     , hslua-core              >= 2.1    && < 2.2-                     , hslua-classes           >= 2.1    && < 2.2-                     , hslua-marshalling       >= 2.1    && < 2.2-                     , hslua-objectorientation >= 2.1    && < 2.2-                     , hslua-packaging         >= 2.1    && < 2.2+                     , hslua-aeson             >= 2.2    && < 2.3+                     , hslua-core              >= 2.2    && < 2.3+                     , hslua-classes           >= 2.2    && < 2.3+                     , hslua-marshalling       >= 2.2    && < 2.3+                     , hslua-objectorientation >= 2.2    && < 2.3+                     , hslua-packaging         >= 2.2    && < 2.3                      , mtl                     >= 2.2    && < 2.3                      , text                    >= 1.2    && < 2.1   ghc-options:         -Wall@@ -67,7 +69,8 @@   import:              common-options   exposed-modules:     HsLua                      , HsLua.Util-  reexported-modules:  HsLua.Core+  reexported-modules:  HsLua.Aeson+                     , HsLua.Core                      , HsLua.Core.Error                      , HsLua.Core.Types                      , HsLua.Core.Utf8@@ -93,6 +96,13 @@   other-modules:       HsLuaTests                      , HsLua.UtilTests   build-depends:       hslua+                     -- The lua package is needed only to check for it's+                     -- version so we know whether to expect behavior of+                     -- Lua 5.3 or Lua 5.4.+                     , lua                  >= 2.0+                     , lua-arbitrary        >= 1.0+                     , QuickCheck           >= 2.7+                     , quickcheck-instances >= 0.3                      , tasty-hslua                      , tasty                >= 0.11                      , tasty-hunit          >= 0.9
src/HsLua.hs view
@@ -28,6 +28,8 @@   , module HsLua.Class.Invokable   , module HsLua.Class.Peekable   , module HsLua.Class.Pushable+    -- * Marshal to and from JSON-like structures+  , module HsLua.Aeson     -- * Utility functions   , getglobal'   , setglobal'@@ -36,6 +38,7 @@  import Prelude hiding (compare, concat) +import HsLua.Aeson import HsLua.Core import HsLua.Class.Exposable import HsLua.Class.Invokable