From 857b87803a79e6aed16d5aacaafdeb7f3c7cdbe8 Mon Sep 17 00:00:00 2001 From: Claudio Russo Date: Wed, 7 Dec 2022 15:34:20 +0000 Subject: [PATCH] Releasing 0.7.4 (#3629) --- Changelog.md | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/Changelog.md b/Changelog.md index 4ec0caaeb47..b70486b4926 100644 --- a/Changelog.md +++ b/Changelog.md @@ -1,5 +1,7 @@ # Motoko compiler changelog +## 0.7.4 (2022-12-07) + * motoko (`moc`) * Add new keywords `async*` and `await*` (note the `*`) for efficient abstraction of asynchronous code (#3609). @@ -10,16 +12,16 @@ async* delay an asynchronous computation await* execute a delayed computation (only in async, async*) ``` - This avoids the resource consumption and latency of `async`/`await` by only committing state and suspending execution + This avoids the resource consumption and latency of `async`/`await` by only committing state and suspending execution when necessary in the `await*`-ed computation, not necessarily at the `await*` itself. - + WARNING: Unlike `async`/`await`: * an `async*` value has no effect unless `await*`-ed; * each `await*` of the same `async*` value repeats its effects. This feature is experimental and may evolve in future. Use with discretion. See the [manual](doc/md/language-manual.md) for details. - + * Suppress GC during IC `canister_heartbeat`, deferring any GC to the scheduled Motoko `heartbeat` `system` method (#3623). This is a temporary workaround, to be removed once DTS is supported for `canister_heartbeat` itself (#3622). @@ -42,6 +44,10 @@ ... ``` + * `moc.js` : add trampoline and step limiter to interpreter, avoiding (some) stackoverflows and + hangs (#3618, #3541). + Enables execution of larger examples on web pages. + * BREAKING CHANGE (Minor): Consider records with mutable fields as non-static (#3586). @@ -53,6 +59,14 @@ Motoko to the verification intermediate language. See `src/viper/README.md` and the PR for details. (#3477). +* motoko-base + + * Unit tests for Trie and fix for `disj` (dfinity/motoko-base#438). + + * Respect Trie structure in `filter` (dfinity/motoko-base#431, dfinity/motoko-base#438). + + * Array module reimplementation, tests and documentation (dfinity/motoko-base#425,dfinity/motoko-base#432). + ## 0.7.3 (2022-11-01) * motoko (`moc`)