diff options
author | Alex Orlenko <zxteam@protonmail.com> | 2024-11-09 14:43:02 +0000 |
---|---|---|
committer | Alex Orlenko <zxteam@protonmail.com> | 2024-11-09 20:06:04 +0000 |
commit | c926327a6a4be7d31743f7c8474ecf6bd763b216 (patch) | |
tree | dd261139ebf4eb7c0fe0dd84e5287966af8e18b8 | |
parent | 7c099500d03ec511a70b03a7b8617088431beba3 (diff) | |
download | mlua-c926327a6a4be7d31743f7c8474ecf6bd763b216.zip |
-rw-r--r-- | CHANGELOG.md | 15 | ||||
-rw-r--r-- | Cargo.toml | 2 | ||||
-rw-r--r-- | 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<T>`/`Arc<T>`/`Rc<RefCell<T>>`/`Arc<Mutex<T>>` (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<Vec>` and `Into<Vec>` 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 @@ -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 <zxteam@pm.me>", "kyren <catherine@kyju.org>"] rust-version = "1.79.0" edition = "2021" @@ -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` : |