This new release has a breaking change because of the upgrade to the getrandom crate to version 0.3.
As a result, stdweb support has been dropped. It is anticipated that this change would not have significant impact on normal usage.
Breaking Changes
stdwebsupport is removed. The feature flagstdwebis also removed. Usewasm-bindgeninstead.web-timeis used for WASM targets instead ofinstant, which is no longer maintained #1063.
Bug fixes
- (Fuzzing) Fixed panic when using
sorton an array with a comparer function that does not implement a total order #1058.
Enhancements
- The optimizer now optimizes constant object map property accesses (thanks
@phsym#1050). - Optimization is added to turn
if cond1 { if cond2 { ... } }intoif cond1 && cond2 { ... }. - The method
sortfor arrays is also aliased tosort_by. - The methods
sort_desc,order,order_byandorder_descare added to arrays. - An exception is now thrown when attempting to use
sorton an array containing unsupported element types.
New features
AST::new_from_moduleis added to create anASTfrom a sharedModule.