[PR #760] [CLOSED] build(deps): bump mlua from 0.9.9 to 0.10.0 #2334

Closed
opened 2026-05-22 22:56:31 +01:00 by JakeStanger · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/JakeStanger/ironbar/pull/760
Author: @dependabot[bot]
Created: 11/4/2024
Status: Closed

Base: masterHead: dependabot/cargo/mlua-0.10.0


📝 Commits (1)

  • db1fc86 build(deps): bump mlua from 0.9.9 to 0.10.0

📊 Changes

2 files changed (+49 additions, -6 deletions)

View changed files

📝 Cargo.lock (+48 -5)
📝 Cargo.toml (+1 -1)

📄 Description

Bumps mlua from 0.9.9 to 0.10.0.

Release notes

Sourced from mlua's releases.

v0.10.0

What's Changed

For full changelog see changes in v0.10.0-beta.1, v0.10.0-beta.2 and v0.10.0-rc.1 versions.

Most notable changes since v0.9:

  • No more 'lua lifetime
  • Send + Sync with send feature flag
  • Lua::exec_raw helper to execute low-level Lua C API code
  • LuaNativeFn/LuaNativeFnMut/LuaNativeAsyncFn traits for using in Function::wrap
  • Setting metatable for Lua builtin types (number/string/function/etc)

v0.10.0-rc.1

What's Changed

  • Lua::scope is back
  • Support yielding from hooks for Lua 5.3+
  • Support setting metatable for Lua builtin types (number/string/function/etc)
  • Added LuaNativeFn/LuaNativeFnMut/LuaNativeAsyncFn traits for using in Function::wrap
  • Added Error::chain method to return iterator over nested errors
  • Added Lua::exec_raw helper to execute low-level Lua C API code
  • Added Either<L, R> enum to combine two types into a single one
  • Added a new Buffer type for Luau
  • Added Value::is_error and Value::as_error helpers
  • Added Value::Other variant to represent unknown Lua types (eg LuaJIT CDATA)
  • Added (optional) anyhow feature to implement IntoLua for anyhow::Error
  • Added IntoLua/FromLua for OsString/OsStr and PathBuf/Path by @​psentee in mlua-rs/mlua#459

v0.10.0-beta.2

Notes

mlua is getting close to v0.10 stable release. Send+Sync works well and hopefully all unsoundness are fixed.

Few (planned) features left:

  • Scope support
  • Getting/setting metatable for primitives
  • Support yielding in hooks for Lua 5.3+ (similar to yielding in Luau interrupt callback)
  • Access to raw Lua state (lock protected but unsafe)
  • Either<A, B> enum that implements FromLua
  • LuaNativeFn trait to wrap Rust functions with non-tuple args (will be used in Function::wrap*)
  • More code coverage
  • (possibly) IntoLua derive macro

What's Changed

  • Updated ThreadStatus enum to include Running and Finished variants.
  • Error::CoroutineInactive renamed to Error::CoroutineUnresumable.

... (truncated)

Changelog

Sourced from mlua's changelog.

v0.10.0 (Oct 25th, 2024)

Changes since v0.10.0-rc.1

  • Added error-send feature flag (disabled by default) to require Send + Sync for Error
  • Some performance improvements

v0.10.0-rc.1

  • Lua::scope is back
  • Support yielding from hooks for Lua 5.3+
  • Support setting metatable for Lua builtin types (number/string/function/etc)
  • Added LuaNativeFn/LuaNativeFnMut/LuaNativeAsyncFn traits for using in Function::wrap
  • Added Error::chain method to return iterator over nested errors
  • Added Lua::exec_raw helper to execute low-level Lua C API code
  • Added Either<L, R> enum to combine two types into a single one
  • Added a new Buffer type for Luau
  • Added Value::is_error and Value::as_error helpers
  • Added Value::Other variant to represent unknown Lua types (eg LuaJIT CDATA)
  • Added (optional) anyhow feature to implement IntoLua for anyhow::Error
  • Added IntoLua/FromLua for OsString/OsStr and PathBuf/Path

v0.10.0-beta.2

  • Updated ThreadStatus enum to include Running and Finished variants.
  • Error::CoroutineInactive renamed to Error::CoroutineUnresumable.
  • IntoLua/IntoLuaMulti now uses impl trait syntax for args (shorten from a.get::<_, T> to a.get::<T>).
  • Removed undocumented Lua::into_static/from_static methods.
  • Futures now require Send bound if send feature is enabled.
  • Dropped lifetime from UserDataMethods and UserDataFields traits.
  • Compiler::compile() now returns Result (Luau).
  • Removed Clone requirement from UserDataFields::add_field().
  • TableExt and AnyUserDataExt traits were combined into ObjectLike trait.
  • Disabled send feature in module mode (since we don't have exclusive access to Lua).
  • Chunk::set_environment() takes Table instead of IntoLua type.
  • Reduced the compile time contribution of next_key_seed and next_value_seed.
  • Reduced the compile time contribution of serde_userdata.
  • Performance improvements.

v0.10.0-beta.1

  • Dropped 'lua lifetime (subtypes now store a weak reference to Lua)
  • Removed (experimental) owned types (they no longer needed)
  • Make Lua types truly Send and Sync (when enabling send feature flag)
  • Removed UserData impl for Rc/Arc types ("any" userdata functions can be used instead)
  • Lua::replace_registry_value takes &mut RegistryKey
  • Lua::scope temporary disabled (will be re-added in the next release)
Commits
  • 4f56575 v0.10.0
  • 35fa762 Update docs
  • 446d63a More tests
  • 8d8d521 Add error-send feature flag
  • 0d31a1c Rename Error::MemoryLimitNotAvailable to Error::MemoryControlNotAvailable
  • 3dc58cd Move Luau Vector type to top level
  • 5724b5f cargo fmt
  • d64d971 Replace Either enum with implementation from either crate
  • 75475fc Add missing serde::{de, ser} top level comment
  • f8fe924 Bump TARGET_MLUA_LUAU_ABI_VERSION
  • 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 merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @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)

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/JakeStanger/ironbar/pull/760 **Author:** [@dependabot[bot]](https://github.com/apps/dependabot) **Created:** 11/4/2024 **Status:** ❌ Closed **Base:** `master` ← **Head:** `dependabot/cargo/mlua-0.10.0` --- ### 📝 Commits (1) - [`db1fc86`](https://github.com/JakeStanger/ironbar/commit/db1fc860564c09e9a040507ee0f0d84433c7fd77) build(deps): bump mlua from 0.9.9 to 0.10.0 ### 📊 Changes **2 files changed** (+49 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `Cargo.lock` (+48 -5) 📝 `Cargo.toml` (+1 -1) </details> ### 📄 Description Bumps [mlua](https://github.com/khvzak/mlua) from 0.9.9 to 0.10.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/khvzak/mlua/releases">mlua's releases</a>.</em></p> <blockquote> <h2>v0.10.0</h2> <h2>What's Changed</h2> <p>For full changelog see changes in <a href="https://github.com/mlua-rs/mlua/blob/main/CHANGELOG.md#v0100-beta1"><code>v0.10.0-beta.1</code></a>, <a href="https://github.com/mlua-rs/mlua/blob/main/CHANGELOG.md#v0100-beta2"><code>v0.10.0-beta.2</code></a> and <a href="https://github.com/mlua-rs/mlua/blob/main/CHANGELOG.md#v0100-rc1"><code>v0.10.0-rc.1</code></a> versions.</p> <p>Most notable changes since <code>v0.9</code>:</p> <ul> <li>No more <code>'lua</code> lifetime</li> <li><code>Send + Sync</code> with <code>send</code> feature flag</li> <li><code>Lua::exec_raw</code> helper to execute low-level Lua C API code</li> <li><code>LuaNativeFn</code>/<code>LuaNativeFnMut</code>/<code>LuaNativeAsyncFn</code> traits for using in <code>Function::wrap</code></li> <li>Setting metatable for Lua builtin types (number/string/function/etc)</li> </ul> <h2>v0.10.0-rc.1</h2> <h2>What's Changed</h2> <ul> <li><code>Lua::scope</code> is back</li> <li>Support yielding from hooks for Lua 5.3+</li> <li>Support setting metatable for Lua builtin types (number/string/function/etc)</li> <li>Added <code>LuaNativeFn</code>/<code>LuaNativeFnMut</code>/<code>LuaNativeAsyncFn</code> traits for using in <code>Function::wrap</code></li> <li>Added <code>Error::chain</code> method to return iterator over nested errors</li> <li>Added <code>Lua::exec_raw</code> helper to execute low-level Lua C API code</li> <li>Added <code>Either&lt;L, R&gt;</code> enum to combine two types into a single one</li> <li>Added a new <code>Buffer</code> type for Luau</li> <li>Added <code>Value::is_error</code> and <code>Value::as_error</code> helpers</li> <li>Added <code>Value::Other</code> variant to represent unknown Lua types (eg LuaJIT CDATA)</li> <li>Added (optional) <code>anyhow</code> feature to implement <code>IntoLua</code> for <code>anyhow::Error</code></li> <li>Added IntoLua/FromLua for OsString/OsStr and PathBuf/Path by <a href="https://github.com/psentee"><code>@​psentee</code></a> in <a href="https://redirect.github.com/mlua-rs/mlua/pull/459">mlua-rs/mlua#459</a></li> </ul> <h2>v0.10.0-beta.2</h2> <h2>Notes</h2> <p>mlua is getting close to v0.10 stable release. <code>Send+Sync</code> works well and hopefully all unsoundness are fixed.</p> <p>Few (planned) features left:</p> <ul> <li>Scope support</li> <li>Getting/setting metatable for primitives</li> <li>Support yielding in hooks for Lua 5.3+ (similar to yielding in Luau interrupt callback)</li> <li>Access to raw Lua state (lock protected but unsafe)</li> <li><code>Either&lt;A, B&gt;</code> enum that implements <code>FromLua</code></li> <li><code>LuaNativeFn</code> trait to wrap Rust functions with non-tuple args (will be used in <code>Function::wrap*</code>)</li> <li>More code coverage</li> <li>(possibly) <code>IntoLua</code> derive macro</li> </ul> <h2>What's Changed</h2> <ul> <li>Updated <code>ThreadStatus</code> enum to include <code>Running</code> and <code>Finished</code> variants.</li> <li><code>Error::CoroutineInactive</code> renamed to <code>Error::CoroutineUnresumable</code>.</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/mlua-rs/mlua/blob/main/CHANGELOG.md">mlua's changelog</a>.</em></p> <blockquote> <h2>v0.10.0 (Oct 25th, 2024)</h2> <p>Changes since v0.10.0-rc.1</p> <ul> <li>Added <code>error-send</code> feature flag (disabled by default) to require <code>Send + Sync</code> for <code>Error</code></li> <li>Some performance improvements</li> </ul> <h2>v0.10.0-rc.1</h2> <ul> <li><code>Lua::scope</code> is back</li> <li>Support yielding from hooks for Lua 5.3+</li> <li>Support setting metatable for Lua builtin types (number/string/function/etc)</li> <li>Added <code>LuaNativeFn</code>/<code>LuaNativeFnMut</code>/<code>LuaNativeAsyncFn</code> traits for using in <code>Function::wrap</code></li> <li>Added <code>Error::chain</code> method to return iterator over nested errors</li> <li>Added <code>Lua::exec_raw</code> helper to execute low-level Lua C API code</li> <li>Added <code>Either&lt;L, R&gt;</code> enum to combine two types into a single one</li> <li>Added a new <code>Buffer</code> type for Luau</li> <li>Added <code>Value::is_error</code> and <code>Value::as_error</code> helpers</li> <li>Added <code>Value::Other</code> variant to represent unknown Lua types (eg LuaJIT CDATA)</li> <li>Added (optional) <code>anyhow</code> feature to implement <code>IntoLua</code> for <code>anyhow::Error</code></li> <li>Added <code>IntoLua</code>/<code>FromLua</code> for <code>OsString</code>/<code>OsStr</code> and <code>PathBuf</code>/<code>Path</code></li> </ul> <h2>v0.10.0-beta.2</h2> <ul> <li>Updated <code>ThreadStatus</code> enum to include <code>Running</code> and <code>Finished</code> variants.</li> <li><code>Error::CoroutineInactive</code> renamed to <code>Error::CoroutineUnresumable</code>.</li> <li><code>IntoLua</code>/<code>IntoLuaMulti</code> now uses <code>impl trait</code> syntax for args (shorten from <code>a.get::&lt;_, T&gt;</code> to <code>a.get::&lt;T&gt;</code>).</li> <li>Removed undocumented <code>Lua::into_static</code>/<code>from_static</code> methods.</li> <li>Futures now require <code>Send</code> bound if <code>send</code> feature is enabled.</li> <li>Dropped lifetime from <code>UserDataMethods</code> and <code>UserDataFields</code> traits.</li> <li><code>Compiler::compile()</code> now returns <code>Result</code> (Luau).</li> <li>Removed <code>Clone</code> requirement from <code>UserDataFields::add_field()</code>.</li> <li><code>TableExt</code> and <code>AnyUserDataExt</code> traits were combined into <code>ObjectLike</code> trait.</li> <li>Disabled <code>send</code> feature in module mode (since we don't have exclusive access to Lua).</li> <li><code>Chunk::set_environment()</code> takes <code>Table</code> instead of <code>IntoLua</code> type.</li> <li>Reduced the compile time contribution of <code>next_key_seed</code> and <code>next_value_seed</code>.</li> <li>Reduced the compile time contribution of <code>serde_userdata</code>.</li> <li>Performance improvements.</li> </ul> <h2>v0.10.0-beta.1</h2> <ul> <li>Dropped <code>'lua</code> lifetime (subtypes now store a weak reference to Lua)</li> <li>Removed (experimental) owned types (they no longer needed)</li> <li>Make Lua types truly <code>Send</code> and <code>Sync</code> (when enabling <code>send</code> feature flag)</li> <li>Removed <code>UserData</code> impl for Rc/Arc types (&quot;any&quot; userdata functions can be used instead)</li> <li><code>Lua::replace_registry_value</code> takes <code>&amp;mut RegistryKey</code></li> <li><code>Lua::scope</code> temporary disabled (will be re-added in the next release)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/mlua-rs/mlua/commit/4f56575e056b38d1308b6f47de8a1b517211ad2d"><code>4f56575</code></a> v0.10.0</li> <li><a href="https://github.com/mlua-rs/mlua/commit/35fa76263efc28cf2b70a730d5c99aedf34fd6c5"><code>35fa762</code></a> Update docs</li> <li><a href="https://github.com/mlua-rs/mlua/commit/446d63a77e3a368adea0e10d2634d81e97c5b97d"><code>446d63a</code></a> More tests</li> <li><a href="https://github.com/mlua-rs/mlua/commit/8d8d521721eaaf8a15792ef517889dd69bb6889e"><code>8d8d521</code></a> Add <code>error-send</code> feature flag</li> <li><a href="https://github.com/mlua-rs/mlua/commit/0d31a1caa65382492c52a1e855f379fee67dbd64"><code>0d31a1c</code></a> Rename <code>Error::MemoryLimitNotAvailable</code> to <code>Error::MemoryControlNotAvailable</code></li> <li><a href="https://github.com/mlua-rs/mlua/commit/3dc58cdfc9b45232143e39cfe3925822a807a74e"><code>3dc58cd</code></a> Move Luau Vector type to top level</li> <li><a href="https://github.com/mlua-rs/mlua/commit/5724b5f11289dd1f91649ca208983d02d8bb231b"><code>5724b5f</code></a> cargo fmt</li> <li><a href="https://github.com/mlua-rs/mlua/commit/d64d9719c6e2f25b898778faea60fb4ba3e2a9f1"><code>d64d971</code></a> Replace <code>Either</code> enum with implementation from <code>either</code> crate</li> <li><a href="https://github.com/mlua-rs/mlua/commit/75475fc9a84047f94e0dc6d7d2013228476c211d"><code>75475fc</code></a> Add missing <code>serde::{de, ser}</code> top level comment</li> <li><a href="https://github.com/mlua-rs/mlua/commit/f8fe9246bbe7ce4be921885b722cf214815c102a"><code>f8fe924</code></a> Bump TARGET_MLUA_LUAU_ABI_VERSION</li> <li>Additional commits viewable in <a href="https://github.com/khvzak/mlua/compare/v0.9.9...v0.10.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=mlua&package-manager=cargo&previous-version=0.9.9&new-version=0.10.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> 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 merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@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) </details> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
JakeStanger 2026-05-22 22:56:31 +01:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
JakeStanger/ironbar#2334
No description provided.