From 01714d2510dfd7ee86d6beb7e1aefab3ccdd9abf Mon Sep 17 00:00:00 2001 From: Alex Orlenko Date: Mon, 10 May 2021 22:28:33 +0100 Subject: [PATCH] Prepare 0.6.0-beta.2 release --- CHANGELOG.md | 8 ++++++++ Cargo.toml | 2 +- mlua_derive/Cargo.toml | 2 +- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index baf6885..4bb8b75 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,11 @@ +## v0.6.0-beta.2 + +- [**Breaking**] Removed `AnyUserData::has_metamethod()` +- Added `Thread::reset()` for luajit/lua54 to recycle threads. + It's possible to attach a new function to a thread (coroutine). +- Added `chunk!` macro support to load chunks of Lua code using the Rust tokenizer and optinally capturing Rust variables. +- Improved error reporting (`Error`'s `__tostring` method formats full stacktraces). This is useful in the module mode. + ## v0.6.0-beta.1 - New `UserDataFields` API diff --git a/Cargo.toml b/Cargo.toml index 4a33c9e..1547f6e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -41,7 +41,7 @@ serialize = ["serde", "erased-serde"] macros = ["mlua_derive/macros"] [dependencies] -mlua_derive = { version = "0.5", optional = true, path = "mlua_derive" } +mlua_derive = { version = "=0.6.0-beta.2", optional = true, path = "mlua_derive" } bstr = { version = "0.2", features = ["std"], default_features = false } once_cell = { version = "1.7" } num-traits = { version = "0.2.14" } diff --git a/mlua_derive/Cargo.toml b/mlua_derive/Cargo.toml index dd99a29..39a8b9a 100644 --- a/mlua_derive/Cargo.toml +++ b/mlua_derive/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "mlua_derive" -version = "0.5.0" +version = "0.6.0-beta.2" authors = ["Aleksandr Orlenko "] edition = "2018" description = "Procedural macros for the mlua crate."