Skip to content

v0.10.4

Latest
Compare
Choose a tag to compare
@khvzak khvzak released this 05 May 15:07
· 85 commits to main since this release
4ff677f

What's Changed

yanked because of breaking semver (large integers for Luau changed type from i32 to i64)

  • Luau updated to 0.672
  • New serde option encode_empty_tables_as_array to serialize empty tables as array
  • Added WeakLua and Lua::weak() to create weak references to Lua state
  • Trigger abort when Luau userdata destructors are panicing (Luau GC does not support it)
  • Added AnyUserData::type_id() method to get the type id of the userdata
  • Added Chunk::name(), Chunk::environment() and Chunk::mode() functions
  • Support borrowing underlying wrapped types for UserDataRef and UserDataRefMut (under userdata-wrappers feature)
  • Added large (52bit) integers support for Luau
  • Enable serde for bstr if serialize feature flag is enabled
  • Recursive warnings (Lua 5.4) are no longer allowed
  • Implemented IntoLua/FromLua for BorrowedString and BorrowedBytes
  • Implemented IntoLua/FromLua for char
  • Enable Thread::reset() for all Lua versions (limited support for 5.1-5.3)
  • Bugfixes and improvements

Full Changelog: v0.10.3...v0.10.4