|
1 | | -## v0.10.2 (Jan 27th, 2025) |
| 1 | +## v0.10.5 (May 24th, 2025) |
| 2 | + |
| 3 | +- mlua-sys is back to 0.6.x (Luau 0.663) |
| 4 | +- Reverted: Trigger abort when Luau userdata destructors are panic (requires new mlua-sys) |
| 5 | +- Reverted: Added large (52bit) integers support for Luau (breaking change) |
| 6 | + |
| 7 | +## v0.10.4 (May 5th, 2025) |
| 8 | + |
| 9 | +_yanked_ because of semver-breaking changes |
| 10 | + |
| 11 | +- Luau updated to 0.672 |
| 12 | +- New serde option `encode_empty_tables_as_array` to serialize empty tables as arrays |
| 13 | +- Added `WeakLua` and `Lua::weak()` to create weak references to Lua state |
| 14 | +- Trigger abort when Luau userdata destructors are panic (Luau GC does not support it) |
| 15 | +- Added `AnyUserData::type_id()` method to get the type id of the userdata |
| 16 | +- Added `Chunk::name()`, `Chunk::environment()` and `Chunk::mode()` functions |
| 17 | +- Support borrowing underlying wrapped types for `UserDataRef` and `UserDataRefMut` (under `userdata-wrappers` feature) |
| 18 | +- Added large (52bit) integers support for Luau |
| 19 | +- Enable `serde` for `bstr` if `serialize` feature flag is enabled |
| 20 | +- Recursive warnings (Lua 5.4) are no longer allowed |
| 21 | +- Implemented `IntoLua`/`FromLua` for `BorrowedString` and `BorrowedBytes` |
| 22 | +- Implemented `IntoLua`/`FromLua` for `char` |
| 23 | +- Enable `Thread::reset()` for all Lua versions (limited support for 5.1-5.3) |
| 24 | +- Bugfixes and improvements |
| 25 | + |
| 26 | +## v0.10.3 (Jan 27th, 2025) |
2 | 27 |
|
3 | 28 | - Set `Default` for `Value` to be `Nil` |
4 | 29 | - Allow exhaustive match on `Value` (#502) |
@@ -304,7 +329,7 @@ Other: |
304 | 329 |
|
305 | 330 | ## v0.8.0 |
306 | 331 | Changes since 0.7.4 |
307 | | -- Roblox Luau support |
| 332 | +- Luau support |
308 | 333 | - Removed C glue |
309 | 334 | - Added async support to `__index` and `__newindex` metamethods |
310 | 335 | - Added `Function::info()` to get information about functions (#149). |
@@ -354,7 +379,7 @@ Breaking changes: |
354 | 379 |
|
355 | 380 | ## v0.8.0-beta.1 |
356 | 381 |
|
357 | | -- Roblox Luau support |
| 382 | +- Luau support |
358 | 383 | - Refactored ffi module. C glue is no longer required |
359 | 384 | - Added async support to `__index` and `__newindex` metamethods |
360 | 385 |
|
@@ -467,7 +492,7 @@ Breaking changes: |
467 | 492 | - [**Breaking**] Removed `AnyUserData::has_metamethod()` |
468 | 493 | - Added `Thread::reset()` for luajit/lua54 to recycle threads. |
469 | 494 | It's possible to attach a new function to a thread (coroutine). |
470 | | -- Added `chunk!` macro support to load chunks of Lua code using the Rust tokenizer and optinally capturing Rust variables. |
| 495 | +- Added `chunk!` macro support to load chunks of Lua code using the Rust tokenizer and optionally capturing Rust variables. |
471 | 496 | - Improved error reporting (`Error`'s `__tostring` method formats full stacktraces). This is useful in the module mode. |
472 | 497 |
|
473 | 498 | ## v0.6.0-beta.1 |
@@ -523,7 +548,7 @@ Breaking changes: |
523 | 548 |
|
524 | 549 | - Lua 5.4 support with `MetaMethod::Close`. |
525 | 550 | - `lua53` feature is disabled by default. Now preferred Lua version have to be chosen explicitly. |
526 | | -- Provide safety guaraness for Lua state, which means that potenially unsafe operations, like loading C modules (using `require` or `package.loadlib`) are disabled. Equalient for the previous `Lua::new()` function is `Lua::unsafe_new()`. |
| 551 | +- Provide safety guarantees for Lua state, which means that potentially unsafe operations, like loading C modules (using `require` or `package.loadlib`) are disabled. Equivalent to the previous `Lua::new()` function is `Lua::unsafe_new()`. |
527 | 552 | - New `send` feature to require `Send`. |
528 | 553 | - New `module` feature, that disables linking to Lua Core Libraries. Required for modules. |
529 | 554 | - Don't allow `'callback` outlive `'lua` in `Lua::create_function()` to fix [the unsoundness](tests/compile/static_callback_args.rs). |
|
0 commit comments