v0.2.0
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:
__indexand__newindexfor table access customization__tostringfor custom string conversion__lenfor custom length operations__concatfor 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
*Luareceiver as first function parameter - UserData treated as
Reffor consistent reference handling - No longer requires at least 1 public function when registering
- Support for
- Arbitrary structs can be set as Lua tables
- Use
pcallinstead of directcallfor 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