Skip to content

build(deps): Bump mlua from 0.11.6 to 0.12.2 - #10

Open
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/cargo/mlua-0.12.2
Open

dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/cargo/mlua-0.12.2

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 12, 2026

Copy link
Copy Markdown

Bumps mlua from 0.11.6 to 0.12.2.

Release notes

Sourced from mlua's releases.

v0.12.2

What's Changed

  • Luau updated to 0.740
  • Added Value::weak_lua helper (#714)
  • Added recursion_limit to SerializeOptions and DeserializeOptions (defaults to 128)
  • Reject fractional numbers when converting to Rust integers on Lua 5.3+ and Luau
  • Fix precision loss when comparing integer and floating point Values
  • Table::equals now follows the backend's native __eq semantics
  • Fix raw identifiers and callback types in derive macros
  • Prevent scoped userdata and callbacks from outliving their scope during cleanup
  • Fix panic and error handling in callbacks and userdata destructors to avoid corrupting Lua state
  • Return errors on reference stack exhaustion and improve stack checks
  • Fix async thread cancellation, stack cleanup, and global hook restoration when recycling threads
  • Fix Luau require from chunks loaded by path (#735) and require context lifetimes
  • perf: Reduce callback overhead
  • perf: Improve serde performance

Full Changelog: mlua-rs/mlua@v0.12.1...v0.12.2

v0.12.1

What's Changed

  • Lua 5.5 updated to 5.5.1
  • Luau updated to 0.736
  • Allow #[mlua::userdata_impl] to be used in a different module from #[derive(UserData)] (#726)
  • Fix coroutine stack handling after yielding from hooks (#723)

Full Changelog: mlua-rs/mlua@v0.12.0...v0.12.1

v0.12.0

Highlights

More ergonomic UserData building blocks

  • Declaratively implement UserData with #[derive(UserData)] and register methods/fields with the new #[mlua::userdata_impl] attribute macro.
  • UserDataOwned<T> wrapper takes ownership of userdata and implements FromLua
  • UserDataMethods::add_method_once/add_async_method_once
  • __todebugstring metamethod for pretty-printing userdata when debugging
  • MaybeSync trait for userdata under the send feature

Reorganized public API

Types are now grouped into focused modules: chunk, debug, error, function, table, string, state, thread, userdata and luau.

Thread lifecycle callbacks

Hook into coroutine create/resume/yield events across all Lua versions (when using mlua API).

Luau improvements

... (truncated)

Changelog

Sourced from mlua's changelog.

v0.12.2 (Oct 03, 2026)

  • Luau updated to 0.740
  • Added Value::weak_lua helper (#714)
  • Added recursion_limit to SerializeOptions and DeserializeOptions (defaults to 128)
  • Reject fractional numbers when converting to Rust integers on Lua 5.3+ and Luau
  • Fix precision loss when comparing integer and floating point Values
  • Table::equals now follows the backend's native __eq semantics
  • Fix raw identifiers and callback types in derive macros
  • Prevent scoped userdata and callbacks from outliving their scope during cleanup
  • Fix panic and error handling in callbacks and userdata destructors to avoid corrupting Lua state
  • Return errors on reference stack exhaustion and improve stack checks
  • Fix async thread cancellation, stack cleanup, and global hook restoration when recycling threads
  • Fix Luau require from chunks loaded by path (#735) and require context lifetimes
  • perf: Reduce callback overhead
  • perf: Improve serde performance

v0.12.1 (Aug 29, 2026)

  • Lua 5.5 updated to 5.5.1
  • Luau updated to 0.736
  • Allow #[mlua::userdata_impl] to be used in a different module from #[derive(UserData)] (#726)
  • Fix coroutine stack handling after yielding from hooks (#723)

v0.12.0 (Jul 05, 2026)

Changes since v0.12.0-rc.2

  • Create root re-exports are refactored (only essentials are re-exported, the rest is in the new submodules)
  • Added ThreadStatus::Normal and Thread::is_normal (mimic coroutine.status)
  • Added Lua::set_jit_options with support of Luau JIT inliner (Luau)
  • Added Value::as_vector/Value::is_vector (Luau)
  • Added Table::remove
  • serde: tables with the array metatable are always encoded as arrays (incl. detect_mixed_tables option)
  • impl Hash for BorrowedStr/BorrowedBytes
  • Lua::current_thread resolves implicit async threads to their root owner (#706)
  • Bugfixes and improvements

v0.12.0-rc.2 (Jun 06, 2026)

  • Add #[derive(UserData)] and #[mlua::userdata_impl] macros
  • Support thread create/resume/yield callbacks for all Lua versions (including Luau)
  • Support to_alias_override/to_alias_fallback in Require trait (Luau)
  • Prevent XRc overflow when dropping RawLua with foreign Lua state
  • implement Not for StdLib (#699)
  • Fix String::to_pointer return NULL in Lua <5.4

v0.12.0-rc.1 (Apr 21, 2026)

  • Rust 2024 edition

... (truncated)

Commits
  • a186d46 v0.12.2
  • 39d5863 Update CHANGELOG
  • ee6fa80 Add Value::weak_lua helper
  • 30b04f1 Update CHANGELOG
  • a1781d5 Reduce callback overhead
  • 68d9184 Optimize integer conversion from Luau numbers and strings
  • e5230e3 Separate userdata type cache hits from map lookup
  • 134af85 Reuse the table lock for metatable checks
  • 6579794 Batch vector and array conversion from Lua tables
  • 6a74d39 mlua_derive: allow lifetime parameters in userdata methods
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [mlua](https://github.com/mlua-rs/mlua) from 0.11.6 to 0.12.2.
- [Release notes](https://github.com/mlua-rs/mlua/releases)
- [Changelog](https://github.com/mlua-rs/mlua/blob/main/CHANGELOG.md)
- [Commits](mlua-rs/mlua@v0.11.6...v0.12.2)

---
updated-dependencies:
- dependency-name: mlua
  dependency-version: 0.12.2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file rust Pull requests that update rust code labels Oct 12, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file rust Pull requests that update rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants