[PR #774] [CLOSED] build(deps): bump mlua from 0.9.9 to 0.10.1 #9365

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

📋 Pull Request Information

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

Base: masterHead: dependabot/cargo/mlua-0.10.1


📝 Commits (1)

  • 8d2a969 build(deps): bump mlua from 0.9.9 to 0.10.1

📊 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.1.

Release notes

Sourced from mlua's releases.

v0.10.1

What's Changed

  • Minimal Luau updated to 0.650
  • Added Luau native vector library support (this can change behavior if you use vector function!)
  • Added Lua String::display method
  • Improved pretty-printing for Lua tables (#478)
  • Added Scope::create_any_userdata to create Lua objects from any non-'static Rust types
  • Added AnyUserData::destroy method
  • New userdata-wrappers feature to impl UserData for Rc<T>/Arc<T>/Rc<RefCell<T>>/Arc<Mutex<T>> (similar to v0.9)
  • UserDataRef in send mode now uses shared lock if T: Sync (and exclusive lock otherwise)
  • Added Scope::add_destructor to attach custom destructors
  • Added Lua::try_app_data_ref and Lua::try_app_data_mut methods
  • Added From<Vec> and Into<Vec> support to MultiValue and Variadic types
  • Bug fixes and improvements (#477 #479)

New Contributors

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

... (truncated)

Changelog

Sourced from mlua's changelog.

v0.10.1 (Nov 9th, 2024)

  • Minimal Luau updated to 0.650
  • Added Luau native vector library support (this can change behavior if you use vector function!)
  • Added Lua String::display method
  • Improved pretty-printing for Lua tables (#478)
  • Added Scope::create_any_userdata to create Lua objects from any non-'static Rust types
  • Added AnyUserData::destroy method
  • New userdata-wrappers feature to impl UserData for Rc<T>/Arc<T>/Rc<RefCell<T>>/Arc<Mutex<T>> (similar to v0.9)
  • UserDataRef in send mode now uses shared lock if T: Sync (and exclusive lock otherwise)
  • Added Scope::add_destructor to attach custom destructors
  • Added Lua::try_app_data_ref and Lua::try_app_data_mut methods
  • Added From<Vec> and Into<Vec> support to MultiValue and Variadic types
  • Bug fixes and improvements (#477 #479)

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.

... (truncated)

Commits
  • c926327 v0.10.1
  • 7c09950 mlua-sys: v0.6.5
  • 8c889cc Add String::display method
  • 958abd0 Update String::to_string_lossy doc
  • 92a8203 Fix formatting
  • b34b90e Fix wrong formatting table with string keys that are numbers
  • 7aad0ad Update links to luau.org
  • a3cd25d Support Luau 0.650 native vector library
  • a4bfeb7 clippy
  • 0fda512 feat(table): improve pretty-printing for simple tables and lists (#478)
  • 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/774 **Author:** [@dependabot[bot]](https://github.com/apps/dependabot) **Created:** 11/11/2024 **Status:** ❌ Closed **Base:** `master` ← **Head:** `dependabot/cargo/mlua-0.10.1` --- ### 📝 Commits (1) - [`8d2a969`](https://github.com/JakeStanger/ironbar/commit/8d2a969ef59fe859e224235514f53d3a93259057) build(deps): bump mlua from 0.9.9 to 0.10.1 ### 📊 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.1. <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.1</h2> <h2>What's Changed</h2> <ul> <li>Minimal Luau updated to 0.650</li> <li>Added Luau native vector library support (this can change behavior if you use <code>vector</code> function!)</li> <li>Added Lua <code>String::display</code> method</li> <li>Improved pretty-printing for Lua tables (<a href="https://redirect.github.com/khvzak/mlua/issues/478">#478</a>)</li> <li>Added <code>Scope::create_any_userdata</code> to create Lua objects from any non-<code>'static</code> Rust types</li> <li>Added <code>AnyUserData::destroy</code> method</li> <li>New <code>userdata-wrappers</code> feature to <code>impl UserData</code> for <code>Rc&lt;T&gt;</code>/<code>Arc&lt;T&gt;</code>/<code>Rc&lt;RefCell&lt;T&gt;&gt;</code>/<code>Arc&lt;Mutex&lt;T&gt;&gt;</code> (similar to v0.9)</li> <li><code>UserDataRef</code> in <code>send</code> mode now uses shared lock if <code>T: Sync</code> (and exclusive lock otherwise)</li> <li>Added <code>Scope::add_destructor</code> to attach custom destructors</li> <li>Added <code>Lua::try_app_data_ref</code> and <code>Lua::try_app_data_mut</code> methods</li> <li>Added <code>From&lt;Vec&gt;</code> and <code>Into&lt;Vec&gt;</code> support to <code>MultiValue</code> and <code>Variadic</code> types</li> <li>Bug fixes and improvements (<a href="https://redirect.github.com/khvzak/mlua/issues/477">#477</a> <a href="https://redirect.github.com/khvzak/mlua/issues/479">#479</a>)</li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/vhyrro"><code>@​vhyrro</code></a> made their first contribution in <a href="https://redirect.github.com/mlua-rs/mlua/pull/478">mlua-rs/mlua#478</a></li> </ul> <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> </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.1 (Nov 9th, 2024)</h2> <ul> <li>Minimal Luau updated to 0.650</li> <li>Added Luau native vector library support (this can change behavior if you use <code>vector</code> function!)</li> <li>Added Lua <code>String::display</code> method</li> <li>Improved pretty-printing for Lua tables (<a href="https://redirect.github.com/khvzak/mlua/issues/478">#478</a>)</li> <li>Added <code>Scope::create_any_userdata</code> to create Lua objects from any non-<code>'static</code> Rust types</li> <li>Added <code>AnyUserData::destroy</code> method</li> <li>New <code>userdata-wrappers</code> feature to <code>impl UserData</code> for <code>Rc&lt;T&gt;</code>/<code>Arc&lt;T&gt;</code>/<code>Rc&lt;RefCell&lt;T&gt;&gt;</code>/<code>Arc&lt;Mutex&lt;T&gt;&gt;</code> (similar to v0.9)</li> <li><code>UserDataRef</code> in <code>send</code> mode now uses shared lock if <code>T: Sync</code> (and exclusive lock otherwise)</li> <li>Added <code>Scope::add_destructor</code> to attach custom destructors</li> <li>Added <code>Lua::try_app_data_ref</code> and <code>Lua::try_app_data_mut</code> methods</li> <li>Added <code>From&lt;Vec&gt;</code> and <code>Into&lt;Vec&gt;</code> support to <code>MultiValue</code> and <code>Variadic</code> types</li> <li>Bug fixes and improvements (<a href="https://redirect.github.com/khvzak/mlua/issues/477">#477</a> <a href="https://redirect.github.com/khvzak/mlua/issues/479">#479</a>)</li> </ul> <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> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/mlua-rs/mlua/commit/c926327a6a4be7d31743f7c8474ecf6bd763b216"><code>c926327</code></a> v0.10.1</li> <li><a href="https://github.com/mlua-rs/mlua/commit/7c099500d03ec511a70b03a7b8617088431beba3"><code>7c09950</code></a> mlua-sys: v0.6.5</li> <li><a href="https://github.com/mlua-rs/mlua/commit/8c889cc353ceb239850e90a0cc592ae4dd557425"><code>8c889cc</code></a> Add <code>String::display</code> method</li> <li><a href="https://github.com/mlua-rs/mlua/commit/958abd050e629c5501c7f802bd890a3b0bdc42a6"><code>958abd0</code></a> Update <code>String::to_string_lossy</code> doc</li> <li><a href="https://github.com/mlua-rs/mlua/commit/92a8203e1c0ce7a4aa38cb9d68b24b3ec9565620"><code>92a8203</code></a> Fix formatting</li> <li><a href="https://github.com/mlua-rs/mlua/commit/b34b90eca31a305c4a4bd900cbb9cb6bb4eb6da8"><code>b34b90e</code></a> Fix wrong formatting table with string keys that are numbers</li> <li><a href="https://github.com/mlua-rs/mlua/commit/7aad0adcb4beacc8fb778b84fa6a2f088767acb7"><code>7aad0ad</code></a> Update links to luau.org</li> <li><a href="https://github.com/mlua-rs/mlua/commit/a3cd25db7ad41fc6862848171c8a774cb728a373"><code>a3cd25d</code></a> Support Luau 0.650 native vector library</li> <li><a href="https://github.com/mlua-rs/mlua/commit/a4bfeb7752430b3ae3ccaedec2507257e6a15d76"><code>a4bfeb7</code></a> clippy</li> <li><a href="https://github.com/mlua-rs/mlua/commit/0fda512938a05bf100f5b4cce249953d2d5d69d9"><code>0fda512</code></a> feat(table): improve pretty-printing for simple tables and lists (<a href="https://redirect.github.com/khvzak/mlua/issues/478">#478</a>)</li> <li>Additional commits viewable in <a href="https://github.com/khvzak/mlua/compare/v0.9.9...v0.10.1">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.1)](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-23 03:56:23 +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#9365
No description provided.