Skip to content

Commit 9b45663

Browse files
committed
v0.11.0-beta.1
1 parent c0c8022 commit 9b45663

File tree

3 files changed

+18
-3
lines changed

3 files changed

+18
-3
lines changed

CHANGELOG.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
## v0.11.0-beta.1 (May 7th, 2025)
2+
3+
- New "require-by-string" for Luau (with `Require` trait and async support)
4+
- Added `Thread::resume_error` support for Luau
5+
- 52 bit integers support for Luau (this is a breaking change)
6+
- New features for Luau compiler (constants, disabled builtins, known members)
7+
- `AsyncThread<A, R>` changed to `AsyncThread<R>` (`A` pushed to stack immediately)
8+
- Lifetime `'a` moved from `AsChunk<'a>` to `AsChunk::source where Self: 'a`
9+
- `Lua::scope` pass `&Scope` instead of `&mut Scope` to closure
10+
- Added global hooks support (Lua 5.1+)
11+
- Added per-thread hooks support (Lua 5.1+)
12+
- `Lua::init_from_ptr` renamed to `Lua::get_or_init_from_ptr` and returns `&Lua`
13+
- `Lua:load_from_function` is deprecated (this is `register_module` now)
14+
- Added `Lua::register_module` and `Lua::preload_module`
15+
116
## v0.10.4 (May 5th, 2025)
217

318
- Luau updated to 0.672

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "mlua"
3-
version = "0.10.4" # remember to update mlua_derive
3+
version = "0.11.0-beta.1" # remember to update mlua_derive
44
authors = ["Aleksandr Orlenko <[email protected]>", "kyren <[email protected]>"]
55
rust-version = "1.79.0"
66
edition = "2021"
@@ -46,7 +46,7 @@ anyhow = ["dep:anyhow", "error-send"]
4646
userdata-wrappers = []
4747

4848
[dependencies]
49-
mlua_derive = { version = "=0.10.1", optional = true, path = "mlua_derive" }
49+
mlua_derive = { version = "=0.11.0-beta.1", optional = true, path = "mlua_derive" }
5050
bstr = { version = "1.0", features = ["std"], default-features = false }
5151
either = "1.0"
5252
num-traits = { version = "0.2.14" }

mlua_derive/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "mlua_derive"
3-
version = "0.10.1"
3+
version = "0.11.0-beta.1"
44
authors = ["Aleksandr Orlenko <[email protected]>"]
55
edition = "2021"
66
description = "Procedural macros for the mlua crate."

0 commit comments

Comments
 (0)