From 9892e5d7816d2c944b85cc20a1e9eaf023da8c2b Mon Sep 17 00:00:00 2001 From: Stephen Chung Date: Sun, 24 May 2026 17:08:13 +0800 Subject: [PATCH] Bump version --- CHANGELOG.md | 3 ++- Cargo.toml | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index cad29bbe1..e669424bb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,13 +10,14 @@ Bug fixes * `Engine::compact_script` now properly compacts scripts with custom syntax that uses `$raw$` (thanks [`@yuvalrakavy`](https://github.com/yuvalrakavy) [`#1079`](https://github.com/rhaiscript/rhai/pull/1079)). * The string methods `split`, `split_rev` and their variants are now marked `pure` so they can be called on `const` strings (thanks [`@theJC`](https://github.com/theJC) [`#1082`](https://github.com/rhaiscript/rhai/pull/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`](https://github.com/yinho999) [`#1086`](https://github.com/rhaiscript/rhai/pull/1086)). +* The `walk` API now correctly visits the arguments to `MethodCall` and `switch` statements (thanks [`@isSerge`](https://github.com/isSerge) [`#1092`](https://github.com/rhaiscript/rhai/pull/1092) [`#1093`](https://github.com/rhaiscript/rhai/pull/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`](https://github.com/yuvalrakavy) [`#1067`](https://github.com/rhaiscript/rhai/pull/1067)). * A new method, `EvalContext::new_frame`, is added to created an isolated frame guard that automatically restores field values upon `Drop` (thanks [`@yuvalrakavy`](https://github.com/yuvalrakavy) for the idea [`#1085`](https://github.com/rhaiscript/rhai/pull/1085)). -* `\${...}` is supported in multi-line literal strings to escape interpolation, yielding literally `${...}` for the string (thanks [`@yinho999`](https://github.com/yinho999)). +* `\${...}` is supported in multi-line literal strings to escape interpolation, yielding literally `${...}` for the string (thanks [`@yinho999`](https://github.com/yinho999) [`#1089`](https://github.com/rhaiscript/rhai/pull/1089)). Enhancements ------------ diff --git a/Cargo.toml b/Cargo.toml index d1a0cef62..7974d7538 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,7 +3,7 @@ members = [".", "codegen", "codegen/tests/custom_root"] [package] name = "rhai" -version = "1.24.0" +version = "1.25.0" rust-version = "1.66.0" edition = "2018" resolver = "2"