[PR #793] [CLOSED] build(deps): bump mlua from 0.9.9 to 0.10.2 #5166

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

📋 Pull Request Information

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

Base: masterHead: dependabot/cargo/mlua-0.10.2


📝 Commits (1)

  • 126aa9c build(deps): bump mlua from 0.9.9 to 0.10.2

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

Release notes

Sourced from mlua's releases.

v0.10.2

What's Changed

  • Switch proc-macro-error to proc-macro-error2 by @​evie-calico in mlua-rs/mlua#493
  • Do not allow Lua to run GC finalizers on ref thread (#491)
  • Fix chunks loading in Luau when memory limit is enforced (#488)
  • Added String::wrap method to wrap arbitrary AsRef<[u8]> into impl IntoLua
  • Better FreeBSD/OpenBSD support (thanks to cos)
  • Delay "any" userdata metatable creation until first instance is created (#482)
  • Reduce amount of generated code for UserData (less generics)

Full Changelog: https://github.com/mlua-rs/mlua/compare/v0.10.1...v0.10.2

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

... (truncated)

Changelog

Sourced from mlua's changelog.

v0.10.2 (Dec 1st, 2024)

  • Switch proc-macro-error to proc-macro-error2 (#493)
  • Do not allow Lua to run GC finalizers on ref thread (#491)
  • Fix chunks loading in Luau when memory limit is enforced (#488)
  • Added String::wrap method to wrap arbitrary AsRef<[u8]> into impl IntoLua
  • Better FreeBSD/OpenBSD support (thanks to cos)
  • Delay "any" userdata metatable creation until first instance is created (#482)
  • Reduce amount of generated code for UserData (less generics)

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.

... (truncated)

Commits
  • 6f6cda0 v0.10.2
  • d51ce86 mlua-sys: v0.6.6
  • aa061bc mlua_derive: v0.10.1
  • 1c6b6ad Fix tests
  • 031854f Switch proc-macro-error to proc-macro-error2 (#493)
  • 5fd96c7 Don't run GC finalizers on ref thread.
  • 7a3f19b Ensure that buffer with Luau compiled code is always freed
  • 55a5d7e Protect Lua(u) during chunk loading if memory limit is enforced
  • af31dbd Use c string literal in few places
  • 9ae3cb0 Add doc about possible chunk name prefixes
  • 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/793 **Author:** [@dependabot[bot]](https://github.com/apps/dependabot) **Created:** 12/2/2024 **Status:** ❌ Closed **Base:** `master` ← **Head:** `dependabot/cargo/mlua-0.10.2` --- ### 📝 Commits (1) - [`126aa9c`](https://github.com/JakeStanger/ironbar/commit/126aa9ca54ae02dcc7c4c96a41496ec959224af4) build(deps): bump mlua from 0.9.9 to 0.10.2 ### 📊 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.2. <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.2</h2> <h2>What's Changed</h2> <ul> <li>Switch proc-macro-error to proc-macro-error2 by <a href="https://github.com/evie-calico"><code>@​evie-calico</code></a> in <a href="https://redirect.github.com/mlua-rs/mlua/pull/493">mlua-rs/mlua#493</a></li> <li>Do not allow Lua to run GC finalizers on ref thread (<a href="https://redirect.github.com/khvzak/mlua/issues/491">#491</a>)</li> <li>Fix chunks loading in Luau when memory limit is enforced (<a href="https://redirect.github.com/khvzak/mlua/issues/488">#488</a>)</li> <li>Added <code>String::wrap</code> method to wrap arbitrary <code>AsRef&lt;[u8]&gt;</code> into <code>impl IntoLua</code></li> <li>Better FreeBSD/OpenBSD support (thanks to cos)</li> <li>Delay &quot;any&quot; userdata metatable creation until first instance is created (<a href="https://redirect.github.com/khvzak/mlua/issues/482">#482</a>)</li> <li>Reduce amount of generated code for <code>UserData</code> (less generics)</li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/mlua-rs/mlua/compare/v0.10.1...v0.10.2">https://github.com/mlua-rs/mlua/compare/v0.10.1...v0.10.2</a></p> <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> <!-- 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.2 (Dec 1st, 2024)</h2> <ul> <li>Switch proc-macro-error to proc-macro-error2 (<a href="https://redirect.github.com/khvzak/mlua/issues/493">#493</a>)</li> <li>Do not allow Lua to run GC finalizers on ref thread (<a href="https://redirect.github.com/khvzak/mlua/issues/491">#491</a>)</li> <li>Fix chunks loading in Luau when memory limit is enforced (<a href="https://redirect.github.com/khvzak/mlua/issues/488">#488</a>)</li> <li>Added <code>String::wrap</code> method to wrap arbitrary <code>AsRef&lt;[u8]&gt;</code> into <code>impl IntoLua</code></li> <li>Better FreeBSD/OpenBSD support (thanks to cos)</li> <li>Delay &quot;any&quot; userdata metatable creation until first instance is created (<a href="https://redirect.github.com/khvzak/mlua/issues/482">#482</a>)</li> <li>Reduce amount of generated code for <code>UserData</code> (less generics)</li> </ul> <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> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/mlua-rs/mlua/commit/6f6cda00990ab2b4db32c271424fda06a3be549e"><code>6f6cda0</code></a> v0.10.2</li> <li><a href="https://github.com/mlua-rs/mlua/commit/d51ce861420eb903fe90836ebec66114d5950587"><code>d51ce86</code></a> mlua-sys: v0.6.6</li> <li><a href="https://github.com/mlua-rs/mlua/commit/aa061bce6f2b5a45baebd2308aef6c41c9676e1f"><code>aa061bc</code></a> mlua_derive: v0.10.1</li> <li><a href="https://github.com/mlua-rs/mlua/commit/1c6b6ad80121e40845812c73128f9bcb23f620ef"><code>1c6b6ad</code></a> Fix tests</li> <li><a href="https://github.com/mlua-rs/mlua/commit/031854fa2a4ffcb0a9bb24f7c9537310f03d1933"><code>031854f</code></a> Switch proc-macro-error to proc-macro-error2 (<a href="https://redirect.github.com/khvzak/mlua/issues/493">#493</a>)</li> <li><a href="https://github.com/mlua-rs/mlua/commit/5fd96c7908ee574d72fd015365266d9d360c56cf"><code>5fd96c7</code></a> Don't run GC finalizers on ref thread.</li> <li><a href="https://github.com/mlua-rs/mlua/commit/7a3f19b857b9720f6b282f05039af7ee4144e0ad"><code>7a3f19b</code></a> Ensure that buffer with Luau compiled code is always freed</li> <li><a href="https://github.com/mlua-rs/mlua/commit/55a5d7ef10c08076cb32b8458a19372ca6ba34df"><code>55a5d7e</code></a> Protect Lua(u) during chunk loading if memory limit is enforced</li> <li><a href="https://github.com/mlua-rs/mlua/commit/af31dbd180c3982c69bd13f9fbf3fcb0c5e9c140"><code>af31dbd</code></a> Use c string literal in few places</li> <li><a href="https://github.com/mlua-rs/mlua/commit/9ae3cb0a7c88327e4b53245d1394c082b4a0b791"><code>9ae3cb0</code></a> Add doc about possible chunk name prefixes</li> <li>Additional commits viewable in <a href="https://github.com/khvzak/mlua/compare/v0.9.9...v0.10.2">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.2)](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 00:56:29 +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#5166
No description provided.