diff --git a/.sources/VERSIONS b/.sources/VERSIONS index 801de098..395ba502 100644 --- a/.sources/VERSIONS +++ b/.sources/VERSIONS @@ -57,7 +57,7 @@ chain-fusion-signer v0.4.0 papi v0.1.1 168bc9d ic-pub-key v1.0.1 f89fa55 icp-cli v1.0.0 9eed60c -motoko v1.10.1 46e0755 +motoko v1.11.0 c3a6eb3 motoko-core v2.4.0 cd37dbf cdk-rs ic-cdk v0.20.1 / ic-cdk-timers v1.0.0 / ic-cdk-executor v2.0.0 317f55c candid 2025-12-18 # candid v0.10.20, didc v0.5.4 2e4a2cf diff --git a/.sources/motoko b/.sources/motoko index 46e07554..c3a6eb36 160000 --- a/.sources/motoko +++ b/.sources/motoko @@ -1 +1 @@ -Subproject commit 46e0755479cabc600e4bc8e347909eac9708327f +Subproject commit c3a6eb3638ac02a070eac96d8f1ee41701a5067e diff --git a/docs/languages/motoko/reference/changelog.md b/docs/languages/motoko/reference/changelog.md index fa446461..b0790cf5 100644 --- a/docs/languages/motoko/reference/changelog.md +++ b/docs/languages/motoko/reference/changelog.md @@ -8,6 +8,22 @@ sidebar: # Motoko compiler changelog +## 1.11.0 (2026-06-29) + +* motoko (`moc`) + + * feat: `moc` now emits the standardized `target_features` Wasm custom section, so `binaryen`-based tools (`wasm-opt`, `ic-wasm optimize`, `dfx`'s `optimize`) accept and optimize Motoko output without per-tool feature flags. Previously these tools defaulted to MVP and rejected the `multivalue`/`bulk-memory`/`memory64` features moc relies on (#6214). + + * feat: a `Float32` literal written with more precision than the type can hold now warns (M0266), suggesting the shortest equivalent: e.g. `0.123456789 : Float32` → `0.12345679`. The surplus digits were already silently discarded by rounding; the warning fires only on genuine excess (minimal literals like `0.1`/`3.14` stay quiet) (#6198). + + * feat: allow requiring `system` capability for `mixin` definitions (#6211). + This makes the capability available in initializers and the `mixin` body. + `` then needs to appear on the corresponding `include`. + + * feat: allow effectful code in transient `let`s and in `actor`/`mixin` bodies with `--enhanced-migration` (#6191). + + * bugfix: `--enhanced-migration` now also applies to `mixin`s and considers their stable fields when checking migrations (#6183). + ## 1.10.1 (2026-06-24) * motoko (`moc`)