Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(deps): bump mlua from 0.9.9 to 0.10.2 #793

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 2, 2024

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: mlua-rs/mlua@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)

Bumps [mlua](https://github.com/khvzak/mlua) from 0.9.9 to 0.10.2.
- [Release notes](https://github.com/khvzak/mlua/releases)
- [Changelog](https://github.com/mlua-rs/mlua/blob/main/CHANGELOG.md)
- [Commits](mlua-rs/mlua@v0.9.9...v0.10.2)

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Dependabot dependencies update label Dec 2, 2024
@JakeStanger JakeStanger closed this Dec 4, 2024
Copy link
Contributor Author

dependabot bot commented on behalf of github Dec 4, 2024

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot bot deleted the dependabot/cargo/mlua-0.10.2 branch December 4, 2024 09:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Dependabot dependencies update
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant