Skip to content

v.0.19.11

Compare
Choose a tag to compare
@schungx schungx released this 03 Feb 11:19
17f1bf6

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 metadata feature build.
  • Stacking ! operators now work properly.
  • Off-by-one error in insert method 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::new taker an additional parameter containing the name of the function called.
  • Engine::set_doc_comments is renamed Engine::enable_doc_comments.

New features

  • Two new features, wasm-bindgen and stdweb, to specify the JS interop layer for WASM builds. wasm-bindgen used to be required.

Enhancements

  • ahash is used to hash function call parameters. This should yield speed improvements.
  • Dynamic and ImmutableString now implement serde::Serialize and serde::Deserialize.
  • NativeCallContext has a new field containing the name of the function called, useful when the same Rust function is registered under multiple names in Rhai.