From 5f0e06fb66d8d5ec59b75dc8a21e4291496e4dc4 Mon Sep 17 00:00:00 2001 From: Alex Orlenko Date: Wed, 22 Apr 2026 00:06:11 +0100 Subject: [PATCH] Update CHANGELOG --- CHANGELOG.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 257ee8f..fb8e856 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,22 @@ +## v0.12.0-rc.1 (Apr 21, 2026) + +- Rust 2024 edition +- Removed `Error::ToLuaConversionError` variant as it was unused (and not practically useful) +- New modules to group data types: `chunk`, `debug`, `error`, `function`, `table`, `string`, `state`, `thread`, `userdata`, `luau` +- Support `__todebugstring` metamethod for pretty formatting userdata value (for debugging) +- New `MaybeSync` trait that is required for userdata types +- Removed lifetime from `BorrowedStr` and `BorrowedBytes` +- New `Thread` methods: `is_resumable`, `is_running`, `is_finished`, `is_error` +- Added `Thread::state` to get raw Lua state pointer +- Luau `TextRequirer` is renamed to `FsRequirer` +- GC interface refactor: `Lua::gc_inc/Lua::gc_gen` is replaced with `gc_set_mode` +- Added `GcIncParams` and `GcGenParams` for GC tuning +- New `UserDataMethods::add_method_once` and `UserDataMethods::add_async_method_once` +- Initial Luau integer64 type support +- Changed interface of `Function::wrap/wrap_mut/wrap_async` to support any Error type +- Changed `AnyUserData::type_name` to return `LuaString` instead +- Added `UserDataOwned` wrapper to take ownership of userdata `T` and implements `FromLua` + ## v0.11.6 (Jan 27, 2026) - Added Lua 5.5 support (`lua55` feature flag)