Skip to content

v0.2.0

Choose a tag to compare

@mxpv mxpv released this 06 Aug 20:24
· 123 commits to main since this release
0aa4035

What's Changed

Added

  • Sandboxing APIs for secure script execution
  • Thread and coroutines support with full Luau threading capabilities
  • Generic Lua Value type for runtime value handling
  • Table iterator with automatic resource management
  • Raw table operations for direct table access bypassing metamethods
  • Low-level debug APIs for advanced debugging scenarios
  • Metamethod support:
    • __index and __newindex for table access customization
    • __tostring for custom string conversion
    • __len for custom length operations
    • __concat for concatenation operations
    • Math operation metamethods (__add, __sub, __mul, __div, etc.)
    • Comparison metamethods (__eq, __lt, __le)
  • Table length operations with Table.len() supporting full Lua semantics
  • Support for error returns in Lua functions
  • Struct and array return type conversion

Changed

  • Simplified resume API for streamlined coroutine management
  • UserData improvements:
    • Support for *Lua receiver as first function parameter
    • UserData treated as Ref for consistent reference handling
    • No longer requires at least 1 public function when registering
  • Arbitrary structs can be set as Lua tables
  • Use pcall instead of direct call for improved error safety
  • Exposed GC API for greater control over garbage collection

Documentation

  • Updated guided tour with new features
  • Enhanced README with additional examples
  • Added test coverage reporting

Full Changelog: v0.1.0...v0.2.0