Repository navigation
v.0.19.11
This version streamlines compiling for WASM.
Rust compiler minimum version is raised to 1.49.
Version 0.19.11 released to crates.io.
Bug fixes
- Parameters passed to plugin module functions were sometimes erroneously consumed. This is now fixed.
- Fixes compilation errors in
metadatafeature build. - Stacking
!operators now work properly. - Off-by-one error in
insertmethod for arrays is fixed. - Invalid property access now throws the appropriate error instead of panics.
Breaking changes
- Rust compiler requirement raised to 1.49.
NativeCallContext::newtaker an additional parameter containing the name of the function called.Engine::set_doc_commentsis renamedEngine::enable_doc_comments.
New features
- Two new features,
wasm-bindgenandstdweb, to specify the JS interop layer for WASM builds.wasm-bindgenused to be required.
Enhancements
ahashis used to hash function call parameters. This should yield speed improvements.DynamicandImmutableStringnow implementserde::Serializeandserde::Deserialize.NativeCallContexthas a new field containing the name of the function called, useful when the same Rust function is registered under multiple names in Rhai.