v0.9.0-beta.3

This commit is contained in:
Alex Orlenko 2023-06-07 14:40:49 +01:00
parent cf1cb31150
commit 03b6dfb2c3
No known key found for this signature in database
GPG Key ID: 4C150C250863B96D
2 changed files with 19 additions and 1 deletions

View File

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

View File

@ -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 <zxteam@pm.me>", "kyren <catherine@chucklefish.org>"]
edition = "2021"
repository = "https://github.com/khvzak/mlua"