0.9.0
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
fromazle/canisters/management
has been renamed tomanagement_canister
- All generators syntax (
yield
and*
) has been replaced withawait
andasync
with_cycles
andwith_cycles128
in the cross-canister calls API have been changed tocycles
andcycles128
- To execute a cross-canister call you must now explicitly invoke
.call
, similar to.notify
- You must update to at least
rustc 1.66
, userustup update
What's Changed
- Release 0.8.0 by @lastmjs in #796
- update the rejections and ic_api examples by @lastmjs in #802
- Ic api by @lastmjs in #803
- update ledger_canister tests by @lastmjs in #805
- Pass keywords to CDK Framework and
to_token_stream
by @dansteren in #806 - Change beta ribbon color by @dansteren in #808
- Update Boa to remove critical bug and add many new ECMAScript Features including async/await and Promises by @lastmjs in #817
- Documentation by @lastmjs in #811
- Principal self authenticating by @lastmjs in #818
- Update ic-cdk to 0.6.8 with the timers feature, update other ic dependencies, add Boa conditional compilation by @lastmjs in #821
- standardize canister method names by @bdemann in #770
- Prefixed everything with
_azle_
by @dansteren in #807 - Add candid metadata using ic-wasm by @dansteren in #822
- optimize compilation times by @lastmjs in #824
- add support for promises by @bdemann in #828
- support list of lists of lists by @bdemann in #825
- Adds the new timer API by @dansteren in #829
- Implement async/await for cross-canister calls by @lastmjs in #831
Full Changelog: 0.8.0...0.9.0