File tree Expand file tree Collapse file tree 3 files changed +18
-3
lines changed Expand file tree Collapse file tree 3 files changed +18
-3
lines changed Original file line number Diff line number Diff line change
1
+ ## v0.10.1 (Nov 9th, 2024)
2
+
3
+ - Minimal Luau updated to 0.650
4
+ - Added Luau native vector library support (this can change behavior if you use ` vector ` function!)
5
+ - Added Lua ` String::display ` method
6
+ - Improved pretty-printing for Lua tables (#478 )
7
+ - Added ` Scope::create_any_userdata ` to create Lua objects from any non-` 'static ` Rust types
8
+ - Added ` AnyUserData::destroy ` method
9
+ - New ` userdata-wrappers ` feature to ` impl UserData ` for ` Rc<T> ` /` Arc<T> ` /` Rc<RefCell<T>> ` /` Arc<Mutex<T>> ` (similar to v0.9)
10
+ - ` UserDataRef ` in ` send ` mode now uses shared lock if ` T: Sync ` (and exclusive lock otherwise)
11
+ - Added ` Scope::add_destructor ` to attach custom destructors
12
+ - Added ` Lua::try_app_data_ref ` and ` Lua::try_app_data_mut ` methods
13
+ - Added ` From<Vec> ` and ` Into<Vec> ` support to ` MultiValue ` and ` Variadic ` types
14
+ - Bug fixes and improvements (#477 #479 )
15
+
1
16
## v0.10.0 (Oct 25th, 2024)
2
17
3
18
Changes since v0.10.0-rc.1
Original file line number Diff line number Diff line change 1
1
[package ]
2
2
name = " mlua"
3
- version = " 0.10.0 " # remember to update mlua_derive
3
+ version = " 0.10.1 " # remember to update mlua_derive
4
4
authors = [" Aleksandr Orlenko <zxteam@pm.me>" , " kyren <catherine@kyju.org>" ]
5
5
rust-version = " 1.79.0"
6
6
edition = " 2021"
Original file line number Diff line number Diff line change @@ -133,7 +133,7 @@ Add to `Cargo.toml` :
133
133
134
134
``` toml
135
135
[dependencies ]
136
- mlua = { version = " 0.10.0 " , features = [" lua54" , " vendored" ] }
136
+ mlua = { version = " 0.10.1 " , features = [" lua54" , " vendored" ] }
137
137
```
138
138
139
139
` main.rs `
@@ -168,7 +168,7 @@ Add to `Cargo.toml` :
168
168
crate-type = [" cdylib" ]
169
169
170
170
[dependencies ]
171
- mlua = { version = " 0.10.0 " , features = [" lua54" , " module" ] }
171
+ mlua = { version = " 0.10.1 " , features = [" lua54" , " module" ] }
172
172
```
173
173
174
174
` lib.rs ` :
You can’t perform that action at this time.
0 commit comments