Repository navigation
Making a tagged release so it is more visible which commit of Ziglua is compatible with Zig 0.16.0.
Lua language updates
- Support for Lua 5.5 (now the default)
- Luau is updated to 0.718
Some functions that returned LuaType would return a Zig error when the returned type was LuaType.nil. These have been updated to no longer return Zig errors for nil. (c4225d8)
Raw functions have been renamed for clarity:
- rawGetIndex -> getIndexRaw
- rawGetPtr -> getPtrRaw
- rawGetPtrTagged -> getPtrRawTagged
- rawGetTable -> getTableRaw
- rawSetIndex -> setIndexRaw
- rawSetPtr -> setPtrRaw
- rawSetPtrTagged -> setPtrRawTagged
- rawSetTable -> setTableRaw
- rawLen -> lenRaw
- rawEqual -> equalRaw
Compile errors for unsupported functions are greatly improved.
Before
error: root source file struct 'lua_all' has no member named 'lua_cpcall'
After
error: Lua.cProtectedCall() is not supported in Lua 5.5
Other Changes
- apicheck is now a build option (42788bf)
- Improved documentation
- Expose the "translate-c" C Lua API as
zlua.c - Errors are now more descriptive instead of a generic
error.LuaErrorfor many failure types - New option to include additional system headers when building Lua (#192)
- optInt and checkInt are removed. These are redundant with optInteger and checkInteger
ref_nohas been renamed tono_ref
New Contributors
- @dchinmay2 made their first contribution in #186
- @mischief made their first contribution in #185
- @Interrupt made their first contribution in #192
- @kaid made their first contribution in #193
- @Squibid made their first contribution in #207
- @Rawan10101 made their first contribution in #218
- @comfysage made their first contribution in #217
Full Changelog: 0.6.0...0.7.0