Skip to content

Update Rust crate rhai to v1.25.1#752

Open
oxide-renovate[bot] wants to merge 1 commit into
mainfrom
renovate/rhai-1.x-lockfile
Open

Update Rust crate rhai to v1.25.1#752
oxide-renovate[bot] wants to merge 1 commit into
mainfrom
renovate/rhai-1.x-lockfile

Conversation

@oxide-renovate
Copy link
Copy Markdown
Contributor

@oxide-renovate oxide-renovate Bot commented May 24, 2026

This PR contains the following updates:

Package Type Update Change
rhai (source) workspace.dependencies minor 1.24.01.25.1

Release Notes

rhaiscript/rhai (rhai)

v1.25.0

Compare Source

==============

Bug fixes

  • Engine::compact_script now properly compacts scripts with custom syntax that uses $raw$ (thanks @yuvalrakavy #1079).
  • The string methods split, split_rev and their variants are now marked pure so they can be called on const strings (thanks @theJC #1082).
  • The array method index_of now falls back to value comparison for string argument when no script function of that name is registered (thanks @yinho999 #1086).
  • The walk API now correctly visits the arguments to MethodCall and switch statements (thanks @isSerge #1092 #1093)

New features

  • A new advanced callback, Engine::on_missing_function, is added (gated under the internals feature) to override default handling when a called function or method is not found (thanks @yuvalrakavy #1067).
  • A new method, EvalContext::new_frame, is added to created an isolated frame guard that automatically restores field values upon Drop (thanks @yuvalrakavy for the idea #1085).
  • \${...} is supported in multi-line literal strings to escape interpolation, yielding literally ${...} for the string (thanks @yinho999 #1089).

Enhancements

  • Procedural macros such as #[export_module] and #[derive(CustomType)] no longer require importing standard Rhai types (thanks @timokoesters #1071).
  • FnPtr::call_fn_as_method and FnPtr::call_as_method_within_context are added (when not under no_object) to accept a this pointer for calling the function pointer as a method call (thanks @yunfengzh for the request #1080).
  • NativeCallContext::call_method and NativeCallContext::call_native_method are added (when not under no_object) to accept a this pointer for method calls (thanks @yunfengzh for the idea #1080).
  • FuncArgs is implemented for SmallVec (thanks @Shatur #​1095).

Configuration

📅 Schedule: (in timezone America/Los_Angeles)

  • Branch creation
    • "after 8pm,before 6am"
  • Automerge
    • "after 8pm,before 6am"

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate.

@oxide-renovate oxide-renovate Bot force-pushed the renovate/rhai-1.x-lockfile branch from c10da80 to ab0c635 Compare May 29, 2026 08:39
@oxide-renovate oxide-renovate Bot changed the title Update Rust crate rhai to v1.25.0 Update Rust crate rhai to v1.25.1 May 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants