Changelog for lua-2.0.1
Changelog
lua uses PVP Versioning.
lua 2.0.1
Released 2021-11-03.
- Added bindings to
lua_rotateandlua_version.
lua 2.0.0.1
Released 2021-10-30.
- Only install includes when using the Lua code shipped with the package (Ellie Hermaszewska). Cabal no longer tries to install the header files if a system-wide installation is used.
lua 2.0.0
Release 2021-10-21.
-
Module hierarchy moved from
Foreign.Lua.RawtoLua. -
Documentation has been improved.
-
Added new function
withNewStateto run Lua operations. -
New modules
Lua.Ersatzcontaining all bindings to safe ersatz functions. -
Higher level and enum types have been removed, only the low-level "code" types are kept in this package.
-
Constants are now represented as pattern synonyms like
LUA_OK. -
Provide bindings to more functions:
lua_is...type-checking functions;lua_pushstringto push plain CStrings;- auxiliary functions
luaL_loadfile, andluaL_loadfilex;
- unsafe functions
lua_gettable,lua_settable,lua_getglobal, andlua_setglobal.
-
The function
lua_popnow expects aCIntinstead of aStackIndex. -
New StackIndex constructor functions
nthTop,nthBottom,nth, andtop. -
Avoid unnecessary modification of HSFUN metatable.
-
Various cleanups and test improvements.
lua 1.0.0
Released 2021-02-18.
- Initially created. Contains all modules in the
Foreign.Lua.Rawhierarchy fromhslua-1.3. Documentation has been improved.