Skip to content

fix(deps): update rust crate rhai to ~1.26.0 - #10112

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

fix(deps): update rust crate rhai to ~1.26.0#10112
renovate[bot] wants to merge 1 commit into
devfrom
renovate/rhai-1.x

Conversation

@renovate

@renovate renovate Bot commented Aug 30, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Type Update Change
rhai (source) dependencies minor ~1.25.0~1.26.0

Important

Rhai updates can cause breaking changes for users. Make sure to add a feat_-prefixed changeset to alert users of the upgrade!


Release Notes

rhaiscript/rhai (rhai)

v1.26.0

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

The major change in this version is the addition of the experimental Rhai Grain bytecodes compiler
and VM for fast evaluation of scripts.

This is a work-in-progress and is not yet fully integrated into the main Engine API.

It is gated under the grain feature flag.

Rhai Grain VM

  • Add the experimental Rhai Grain bytecodes compiler and VM (requires the grain feature) for fast evaluation of scripts (thanks @ImTheSquid #1109).
Bugs found in the process

Since the Rhai Grain VM must run a script exactly the same as the standard AST interpreter, a number of bugs have been uncovered that are now fixed.

  • Fixes a very serious bug in optimizer that erroneously removes statements involving variable access which should be considered side effects (#1126).
  • Fixes a serious bug with function pointers being called in method-call style with curried arguments; the arguments were passed to a native Rust function in the wrong order. (#1139).
  • Fixes bug in switch statement that fails to try ranges when all conditions of exact matches fail (#1117).
  • Fixes bug in switch statement that fails to match shared values (#1123).
  • Fixes bug in optimizer that fails to optimize closures (#1114).

Bug fixes

  • Fixes bug in Engine::compact_script that generates invalid compacted scripts due to missing spaces between ambiguous operators (thanks @yuvalrakavy #1106).

Enhancements

  • BloomFilterU64 is modified to take the sizes of the bit array as a const generic parameter instead of hard-coded to be 256 slots (32 bytes).
  • The serde and metadata features can now be used in no-std builds (#1130).
  • Allow no-std builds for WASM (#1155).

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 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 was generated by Mend Renovate. View the repository job log.

@renovate
renovate Bot requested a review from a team as a code owner August 30, 2026 06:44
@apollo-librarian

apollo-librarian Bot commented Aug 30, 2026

Copy link
Copy Markdown
Contributor

✅ Docs preview has no changes

The preview was not built because there were no changes.

Build ID: cd106de57496e197cd99cbd4
Build Logs: View logs


✅ AI Style Review — No Changes Detected

No MDX files were changed in this pull request.

Review Log: View detailed log

This review is AI-generated. Please use common sense when accepting these suggestions, as they may not always be accurate or appropriate for your specific context.

@github-actions

Copy link
Copy Markdown
Contributor

@renovate[bot], please consider creating a changeset entry in /.changesets/. These instructions describe the process and tooling.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants