From 03b6dfb2c30c5f61915fd8205419944b06728594 Mon Sep 17 00:00:00 2001 From: Alex Orlenko Date: Wed, 7 Jun 2023 14:40:49 +0100 Subject: [PATCH] v0.9.0-beta.3 --- CHANGELOG.md | 18 ++++++++++++++++++ Cargo.toml | 2 +- 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 315ac1a..fef335d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,21 @@ +## v0.9.0-beta.3 + +- Added `OwnedAnyUserData::take()` +- Switch to `DeserializeOwned` +- Overwrite error context when called multiple times +- New feature flag `luau-jit` to enable (experimental) Luau codegen backend +- Set `__name` field in userdata metatable +- Added `Value::to_string()` method similar to `luaL_tolstring` +- Lua 5.4.6 +- Application data container now allows to mutably and immutably borrow different types at the same time +- Performance optimizations +- Support getting and setting environment for Lua functions. +- Added `UserDataFields::add_field()` method to add static fields to UserData + +Breaking changes: +- Require environment to be a `Table` instead of `Value` in Chunks. +- `AsChunk::env()` renamed to `AsChunk::environment()` + ## v0.9.0-beta.2 New features: diff --git a/Cargo.toml b/Cargo.toml index df08047..6c903dc 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "mlua" -version = "0.9.0-beta.2" # remember to update mlua_derive +version = "0.9.0-beta.3" # remember to update mlua_derive authors = ["Aleksandr Orlenko ", "kyren "] edition = "2021" repository = "https://github.com/khvzak/mlua"