Update Rust crate rhai to v1.25.1#752
Open
oxide-renovate[bot] wants to merge 1 commit into
Open
Conversation
c10da80 to
ab0c635
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
1.24.0→1.25.1Release Notes
rhaiscript/rhai (rhai)
v1.25.0Compare Source
==============
Bug fixes
Engine::compact_scriptnow properly compacts scripts with custom syntax that uses$raw$(thanks@yuvalrakavy#1079).split,split_revand their variants are now markedpureso they can be called onconststrings (thanks@theJC#1082).index_ofnow falls back to value comparison for string argument when no script function of that name is registered (thanks@yinho999#1086).walkAPI now correctly visits the arguments toMethodCallandswitchstatements (thanks@isSerge#1092#1093)New features
Engine::on_missing_function, is added (gated under theinternalsfeature) to override default handling when a called function or method is not found (thanks@yuvalrakavy#1067).EvalContext::new_frame, is added to created an isolated frame guard that automatically restores field values uponDrop(thanks@yuvalrakavyfor the idea#1085).\${...}is supported in multi-line literal strings to escape interpolation, yielding literally${...}for the string (thanks@yinho999#1089).Enhancements
#[export_module]and#[derive(CustomType)]no longer require importing standard Rhai types (thanks@timokoesters#1071).FnPtr::call_fn_as_methodandFnPtr::call_as_method_within_contextare added (when not underno_object) to accept athispointer for calling the function pointer as a method call (thanks@yunfengzhfor the request#1080).NativeCallContext::call_methodandNativeCallContext::call_native_methodare added (when not underno_object) to accept athispointer for method calls (thanks@yunfengzhfor the idea#1080).FuncArgsis implemented forSmallVec(thanks@Shatur#1095).Configuration
📅 Schedule: (in timezone America/Los_Angeles)
🚦 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.
This PR has been generated by Mend Renovate.