Skip to content

v0.4.0

Choose a tag to compare

@mxpv mxpv released this 17 Aug 21:09
· 27 commits to main since this release
c4518d5

Added

  • Luau Buffer support for native binary data manipulation
    • High-level Buffer API with direct memory access through []u8 slice
    • Integration with Zig's std.io patterns via stream() method
    • Reference-counted memory management with automatic cleanup
    • Full interoperability with Lua's buffer library
    • Lua.createBuffer(size) method for buffer creation
    • Buffer support in Lua.Value enum for runtime value handling
    • Stack operations for buffer values (pushBuffer, toBuffer, isBuffer)
  • Configurable vector size build option (-Dvector-size=3 or 4, default 4)
  • Function.getCoverage() method for collecting code coverage data from Luau functions compiled with coverage enabled

Changed

  • Build System: Switched from Git submodules to Zig package manager for Luau dependency, simplifying setup process
  • Updated Luau dependency from version 0.684 to 0.686
  • Enhanced State.zig documentation with detailed stack operation descriptions and Lua 5.1 manual references

Luau version: 0.686