Skip to content

0.9.0

Compare
Choose a tag to compare
@lastmjs lastmjs released this 21 Dec 02:56
· 4754 commits to main since this release
169207a

If you run into issues after an upgrade, the safest thing to do is ensure that all versions of dfx, rust, and node are exactly as described in the README. Also try completely deleting the .dfx, target, and node_modules directories and then reinstalling and deploying again.

TLDR

  • async/await has replaced generators for cross-canister calls
  • timers API now implemented
  • Major Bug in Boa JS engine has been fixed
  • Increased ECMAScript support and support for async/await and promises
  • Principal.selfAuthenticating now works
  • Reduced compilation times
  • Candid metadata and CDK info metadata
  • lists of lists now generally supported

Breaking Changes

  • ManagementCanister from azle/canisters/management has been renamed to management_canister
  • All generators syntax (yield and *) has been replaced with await and async
  • with_cycles and with_cycles128 in the cross-canister calls API have been changed to cycles and cycles128
  • To execute a cross-canister call you must now explicitly invoke .call, similar to .notify
  • You must update to at least rustc 1.66, use rustup update

What's Changed

Full Changelog: 0.8.0...0.9.0