v0.11.0
What's Changed (since v0.11.0-beta.3)
- Allow linking external Lua libraries in a build script (e.g. pluto) using
external
mlua-sys feature flag Lua::inspect_stack
takes a callback with&Debug
argument, instead of returningDebug
directly- Added
Debug::function
method to get function running at a given level Debug::curr_line
is deprecated in favour ofDebug::current_line
that returnsOption<usize>
- Added
Lua::set_globals
method to replace global environment Table::set_metatable
now returnsResult<()>
(this operation can fail in sandboxed Luau mode)impl ToString
replaced withInto<StdString>
inUserData
registrationValue::as_str
andValue::as_string_lossy
methods are deprecated (as they are non-idiomatic)- Bugfixes and improvements
Full Changelog: v0.11.0-beta.3...v0.11.0