Changelog for hslua-core-2.0.0.2
Changelog
hslua-core uses PVP Versioning.
hslua-core 2.0.0.2
Released 2021-11-03.
- Fixed output of
pushTypeMismatchErrorwhen there is no value at the given index. Previously the function would report the value as typestringand now reports it asno value.
hslua-core 2.0.0.1
Released 2021-10-29.
- Fixed bug in pushTypeMismatchError. The function did not use an absolute stack index in one place, which sometimes lead to incorrect actual types being reported.
hslua-core 2.0.0
Released 2021-10-21.
-
Error handling has been reworked completely. The type of exceptions used and handled by HsLua is now exposed to the type system. The type
Luamakes use of a default error type. Custom error handling can be implemented by using theLuaEtype with an exception type that is an instance of classLuaError. -
Added new module HsLua.Core.Userdata. It contains thin wrappers around the functions available for creating Haskell-value-wrapping userdata objects.
-
Added new module HsLua.Core.Closures, containing functions to expose Haskell functions to Lua.
-
Reverted to using the auxlib
luaL_loadfilefunction to load a Lua file. Previously files were opened and read in Haskell, but some functionality of the auxlib function was missing.
hslua-core 1.0.0
Released 2021-02-27.
Extracted from hslua-1.3.0.