Skip to content

Commit

Permalink
Releasing 0.7.4 (#3629)
Browse files Browse the repository at this point in the history
  • Loading branch information
crusso authored Dec 7, 2022
1 parent e9d0d35 commit 857b878
Showing 1 changed file with 17 additions and 3 deletions.
20 changes: 17 additions & 3 deletions Changelog.md
Original file line number Diff line number Diff line change
@@ -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).
Expand All @@ -10,16 +12,16 @@
async* <block-or-exp> delay an asynchronous computation
await* <block-or-exp> 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).
Expand All @@ -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).
Expand All @@ -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`)
Expand Down

0 comments on commit 857b878

Please sign in to comment.