diff --git a/ghc-hslua-core.changes b/ghc-hslua-core.changes index 829efa1..6b4cef8 100644 --- a/ghc-hslua-core.changes +++ b/ghc-hslua-core.changes @@ -1,3 +1,37 @@ +------------------------------------------------------------------- +Thu Apr 13 17:23:49 UTC 2023 - Peter Simons + +- Update hslua-core to version 2.3.1. + ## hslua-core-2.3.1 + + Released 2023-03-17. + + - New module *HsLua.Core.Debug*: the module provides bindings to + a subset of functions of the Lua debug interface. Currently + the module only exports `getupvalue` and `setupvalue`, both of + which are also re-exported from *HsLua.Core*. + + ## hslua-core-2.3.0 + + Released 2023-03-13. + + - The functions `loadfile`, `dofile`, and `dofileTrace` now + expect the argument to be of type `Maybe FilePath`. The + functions load from *stdin* when the argument is `Nothing`. + + - Added `setwarnf'` for simple warning messgae handling: The + built-in method of setting a warn function is flexible but not + straight-forward to use. The new `setwarnf'` function allows + to set a Haskell action as a warning hook: the default warning + behavior is kept in place, but, in addition to the default + action, the hook is called on the concatenated warning + messages. This can be used to plug Lua warnings into an + application specific Haskell reporting system. + + - Export `GCManagedState`, `newGCManagedState`, + `closeGCManagedState`, and `withGCManagedState` from + `HsLua.Core`. + ------------------------------------------------------------------- Thu Mar 30 17:07:01 UTC 2023 - Peter Simons diff --git a/ghc-hslua-core.spec b/ghc-hslua-core.spec index 22a9b44..50e47bb 100644 --- a/ghc-hslua-core.spec +++ b/ghc-hslua-core.spec @@ -20,7 +20,7 @@ %global pkgver %{pkg_name}-%{version} %bcond_with tests Name: ghc-%{pkg_name} -Version: 2.2.1 +Version: 2.3.1 Release: 0 Summary: Bindings to Lua, an embeddable scripting language License: MIT diff --git a/hslua-core-2.2.1.tar.gz b/hslua-core-2.2.1.tar.gz deleted file mode 100644 index c7ea580..0000000 --- a/hslua-core-2.2.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:78e5e12130fe9ae195e576ed5a391f82f2665b39d377a881640b9064f351c343 -size 37564 diff --git a/hslua-core-2.3.1.tar.gz b/hslua-core-2.3.1.tar.gz new file mode 100644 index 0000000..f579fb3 --- /dev/null +++ b/hslua-core-2.3.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1eb218dd9b8791fc113f44c71d42010fa9d5786c2164c35a8b15917c5120afa5 +size 39580