v0.9.0-rc.1

This commit is contained in:
Alex Orlenko
2023-07-11 01:07:59 +01:00
parent d037c31b4d
commit 8ecbf5b76a
2 changed files with 18 additions and 3 deletions
+15
View File
@@ -1,3 +1,18 @@
## v0.9.0-rc.1
- `UserDataMethods::add_async_method()` takes `&T` instead of cloning `T`
- Implemented `PartialEq<[T]>` for tables
- Added Luau 4-dimensional vectors support (`luau-vector4` feature)
- `Table::sequence_values()` iterator no longer uses any metamethods (`Table::raw_sequence_values()` is removed)
- Added `Table:is_empty()` function that checks both hash and array parts
- Refactored Debug interface
- Re-exported `ffi` (`mlua-sys`) crate for easier writing of unsafe code
- Refactored Lua 5.4 warnings interface
- Take `&str` as function name in `TableExt` and `AnyUserDataExt` traits
- Added module attribule `skip_memory_check` to improve performance
- Added `AnyUserData::wrap()` to provide more easy way of creating _any_ userdata in Lua
- Errors in non-send mode are no longer have `Send` requirement (but can be re-enabled back using `error-send` feature)
## v0.9.0-beta.3
- Added `OwnedAnyUserData::take()`
+3 -3
View File
@@ -1,6 +1,6 @@
[package]
name = "mlua"
version = "0.9.0-beta.3" # remember to update mlua_derive
version = "0.9.0-rc.1" # remember to update mlua_derive
authors = ["Aleksandr Orlenko <zxteam@pm.me>", "kyren <catherine@chucklefish.org>"]
edition = "2021"
repository = "https://github.com/khvzak/mlua"
@@ -44,7 +44,7 @@ macros = ["mlua_derive/macros"]
unstable = []
[dependencies]
mlua_derive = { version = "=0.9.0-beta.2", optional = true, path = "mlua_derive" }
mlua_derive = { version = "=0.9.0-rc.1", optional = true, path = "mlua_derive" }
bstr = { version = "1.0", features = ["std"], default_features = false }
once_cell = { version = "1.0" }
num-traits = { version = "0.2.14" }
@@ -55,7 +55,7 @@ erased-serde = { version = "0.3", optional = true }
serde-value = { version = "0.7", optional = true }
parking_lot = { version = "0.12", optional = true }
ffi = { package = "mlua-sys", version = "0.2.0", path = "mlua-sys" }
ffi = { package = "mlua-sys", version = "0.2.1", path = "mlua-sys" }
[dev-dependencies]
rustyline = "12.0"