Skip to content

rhai 1.25.0#284506

Merged
BrewTestBot merged 2 commits into
mainfrom
bump-rhai-1.25.0
May 24, 2026
Merged

rhai 1.25.0#284506
BrewTestBot merged 2 commits into
mainfrom
bump-rhai-1.25.0

Conversation

@BrewTestBot
Copy link
Copy Markdown
Contributor

Created by brew bump


Created with brew bump-formula-pr.

Details

release notes
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).

View the full release notes at https://github.com/rhaiscript/rhai/releases/tag/v1.25.0.


@github-actions github-actions Bot added rust Rust use is a significant feature of the PR or issue bump-formula-pr PR was created using `brew bump-formula-pr` labels May 24, 2026
@github-actions
Copy link
Copy Markdown
Contributor

🤖 An automated task has requested bottles to be published to this PR.

Caution

Please do not push to this PR branch before the bottle commits have been pushed, as this results in a state that is difficult to recover from. If you need to resolve a merge conflict, please use a merge commit. Do not force-push to this PR branch.

@github-actions github-actions Bot added the CI-published-bottle-commits The commits for the built bottles have been pushed to the PR branch. label May 24, 2026
@BrewTestBot BrewTestBot enabled auto-merge May 24, 2026 09:52
@BrewTestBot BrewTestBot added this pull request to the merge queue May 24, 2026
Merged via the queue into main with commit c966c78 May 24, 2026
22 checks passed
@BrewTestBot BrewTestBot deleted the bump-rhai-1.25.0 branch May 24, 2026 10:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bump-formula-pr PR was created using `brew bump-formula-pr` CI-published-bottle-commits The commits for the built bottles have been pushed to the PR branch. rust Rust use is a significant feature of the PR or issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants