summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Orlenko <zxteam@protonmail.com>2024-11-09 14:43:02 +0000
committerAlex Orlenko <zxteam@protonmail.com>2024-11-09 20:06:04 +0000
commitc926327a6a4be7d31743f7c8474ecf6bd763b216 (patch)
treedd261139ebf4eb7c0fe0dd84e5287966af8e18b8
parent7c099500d03ec511a70b03a7b8617088431beba3 (diff)
downloadmlua-c926327a6a4be7d31743f7c8474ecf6bd763b216.zip
-rw-r--r--CHANGELOG.md15
-rw-r--r--Cargo.toml2
-rw-r--r--README.md4
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
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 <zxteam@pm.me>", "kyren <catherine@kyju.org>"]
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` :