Download Latest Version v0.11.0 source code.tar.gz (260.5 kB)
Email in envelope

Get an email when there's a new version of mlua

Home / v0.10.4
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2025-05-05 1.1 kB
v0.10.4 source code.tar.gz 2025-05-05 246.9 kB
v0.10.4 source code.zip 2025-05-05 327.6 kB
Totals: 3 Items   575.6 kB 1

What's Changed

  • 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: https://github.com/mlua-rs/mlua/compare/v0.10.3...v0.10.4

Source: README.md, updated 2025-05-05