Skip to content

Commit

Permalink
v0.10.1
Browse files Browse the repository at this point in the history
  • Loading branch information
khvzak committed Nov 9, 2024
1 parent 7c09950 commit c926327
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 3 deletions.
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down Expand Up @@ -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` :
Expand Down

0 comments on commit c926327

Please sign in to comment.