Highlights
- The package and module are renamed from ziglua to zlua. This is to follow Zig conventions to not include the word "zig" in the name to avoid redundancy. The repo is still called ziglua.
- Improved documentation.
- Lua version updates: Lua 5.4.7 and Luau 0.653.
- Added zlua.define() function to generate Lua Language Server type annotation files.
- zlua.wrap() now supports functions that return error unions.
What's Changed
- fix: replace
lua_yield
with what it expands to to avoid macro typecheck error by @robbielyman in #88 - Fix example code in the README by @oakmac in #90
- Invert the argExpected condition to match Lua docs by @luchak in #98
- Luals docgen by @VisenDev in #99
- use lua_objlen for luajit in rawLen function by @axdank in #100
- Add a method to set the Luau interrupt callback by @luchak in #97
- remove const qualifier if required by @axdank in #102
- Remove @cImport in favor of translateC by @luchak in #96
- add missing path by @VisenDev in #103
- build fixes for zig dev 0.14.0-dev.1820+ea527f7a8 by @nurpax in #105
- fix: remove
Lua.equal
with compile error for lua 5.2, 5.3, 5.4 by @robbielyman in #118 - Update Ziglua to support the latest commit of Zig master by @darltrash in #119
- expose
c
as build module and fixexportFn
by @axdank in #121 - Update Luau to 0.653 by @noxabellus in #122
- Fix build break for zig 0.14.0-dev.2596 by @nurpax in #131
- fix generation of lj_folddef.h in luajit build by @bfredl in #133
- update ziglua to work with zig 0.14.0-dev.3259+0779e847f by @nurpax in #134
- fix(docs): update docs.yml to use newer upload-artifact action by @robbielyman in #135
- fix(build)!: update to zig 0.14.0 by @robbielyman in #136
- deps: update to new hash by @rockorager in #141
- readme: change dependency name from ziglua to lua_wrapper by @robbielyman in #140
- fix(build)!: lua_wrapper -> zlua by @robbielyman in #142
- fix pushAutoFunction to use lowercased pointer size by @challengee in #144
- Make dependencies lazy by @natecraddock in #145
- Add .gitattributes by @natecraddock in #146
New Contributors
- @oakmac made their first contribution in #90
- @luchak made their first contribution in #98
- @darltrash made their first contribution in #119
- @noxabellus made their first contribution in #122
- @rockorager made their first contribution in #141
- @challengee made their first contribution in #144
Full Changelog: 0.3.0...0.4.0