Prepare 0.6.0-beta.2 release

This commit is contained in:
Alex Orlenko 2021-05-10 22:28:33 +01:00
parent 0bad4a0ff9
commit 01714d2510
3 changed files with 10 additions and 2 deletions

View file

@ -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

View file

@ -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" }

View file

@ -1,6 +1,6 @@
[package]
name = "mlua_derive"
version = "0.5.0"
version = "0.6.0-beta.2"
authors = ["Aleksandr Orlenko <zxteam@pm.me>"]
edition = "2018"
description = "Procedural macros for the mlua crate."