From c926327a6a4be7d31743f7c8474ecf6bd763b216 Mon Sep 17 00:00:00 2001 From: Alex Orlenko Date: Sat, 9 Nov 2024 14:43:02 +0000 Subject: v0.10.1 --- CHANGELOG.md | 15 +++++++++++++++ Cargo.toml | 2 +- README.md | 4 ++-- 3 files changed, 18 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4ea6448..78dfbf3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,18 @@ +## v0.10.1 (Nov 9th, 2024) + +- Minimal Luau updated to 0.650 +- Added Luau native vector library support (this can change behavior if you use `vector` function!) +- Added Lua `String::display` method +- Improved pretty-printing for Lua tables (#478) +- Added `Scope::create_any_userdata` to create Lua objects from any non-`'static` Rust types +- Added `AnyUserData::destroy` method +- New `userdata-wrappers` feature to `impl UserData` for `Rc`/`Arc`/`Rc>`/`Arc>` (similar to v0.9) +- `UserDataRef` in `send` mode now uses shared lock if `T: Sync` (and exclusive lock otherwise) +- Added `Scope::add_destructor` to attach custom destructors +- Added `Lua::try_app_data_ref` and `Lua::try_app_data_mut` methods +- Added `From` and `Into` support to `MultiValue` and `Variadic` types +- Bug fixes and improvements (#477 #479) + ## v0.10.0 (Oct 25th, 2024) Changes since v0.10.0-rc.1 diff --git a/Cargo.toml b/Cargo.toml index 0da7c25..b0ee449 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "mlua" -version = "0.10.0" # remember to update mlua_derive +version = "0.10.1" # remember to update mlua_derive authors = ["Aleksandr Orlenko ", "kyren "] rust-version = "1.79.0" edition = "2021" diff --git a/README.md b/README.md index fbd847d..1c68d9a 100644 --- a/README.md +++ b/README.md @@ -133,7 +133,7 @@ Add to `Cargo.toml` : ``` toml [dependencies] -mlua = { version = "0.10.0", features = ["lua54", "vendored"] } +mlua = { version = "0.10.1", features = ["lua54", "vendored"] } ``` `main.rs` @@ -168,7 +168,7 @@ Add to `Cargo.toml` : crate-type = ["cdylib"] [dependencies] -mlua = { version = "0.10.0", features = ["lua54", "module"] } +mlua = { version = "0.10.1", features = ["lua54", "module"] } ``` `lib.rs` : -- cgit v1.2.3