Releases: natecraddock/ziglua
v0.4.0
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
Ziglua 0.3.0
Auto generated release notes this time! I figured it would be good to make an official release targeting Zig 0.13.0.
The biggest changes are support for Luau, preliminary LuaJIT support, major restructuring of the code in the repository, and various fixes. Documentation is still a work in progress.
What's Changed
- Be able to compile with latest zig by @davidgranstrom in #28
- Add Luau support by @natecraddock in #36
- Remove vendored code and update to latest module api by @natecraddock in #43
- Simplify the structure of the library by @natecraddock in #46
- Expose Luau bytecode loading API, add example by @nurpax in #38
- Add support for tagged userdata and userdata destructors by @nurpax in #45
- Expose Luau 3-vectors support by @nurpax in #41
- Add support for user atoms and namecalls by @nurpax in #48
- Add preliminary LuaJIT support by @natecraddock in #53
- Combine all library files into a single lib.zig by @natecraddock in #54
- Added comptime convenience functions by @VisenDev in #55
- Enums and slices support by @VisenDev in #60
- fix: update to latest zig by @ryleelyman in #65
- Parsing memory fixes by @VisenDev in #63
- Fix and simplify library opening by @natecraddock in #68
- Add support for tagged unions, vectors and arrays in pushAny and toAny by @T1nk3r1 in #66
- Many changes to String and Bytes functions by @natecraddock in #72
- Make Lua an opqaque by @natecraddock in #73
- build: update to latest zig by @theoparis in #76
- update outdated LazyPath constructors by @bfredl in #82
New Contributors
- @davidgranstrom made their first contribution in #28
- @natecraddock made their first contribution in #36
- @nurpax made their first contribution in #38
- @VisenDev made their first contribution in #55
- @T1nk3r1 made their first contribution in #66
- @theoparis made their first contribution in #76
- @bfredl made their first contribution in #82
Full Changelog: 0.2.0...0.3.0
Ziglua 0.2.0
With a Zig release last week, I figured this would be a good time to tag a release. Ziglua 0.2.0 supports Zig 0.11.0. There have been several changes since the last release, including fixes from several contributors.
The biggest change in this release is officially supporting the new Zig package manager. Goodbye submodules! Instructions are in the readme. There have also been several updates to the Ziglua API and documentation.
See the changelog for full details.
0.1.0
See the changelog for details: https://github.com/natecraddock/ziglua/blob/master/changelog.md#010