Skip to content

Commit 7ef977a

Browse files
chore: bump Motoko to v1.11.0 (#308)
## Summary Automated bump of `.sources/motoko` from `v1.10.1` to `v1.11.0`. - Ran `npm run sync:motoko` — synced docs from the new release - Build passed ✓ ## Checklist - [ ] Review synced content for breaking changes - [ ] Check [release notes](https://github.com/caffeinelabs/motoko/releases/tag/1.11.0) for API or syntax changes that affect hand-written docs - [ ] Verify any new sections or renamed files are handled correctly ## Sync recommendation `sync from caffeinelabs/motoko doc/md` Co-authored-by: pr-automation-bot-public[bot] <pr-automation-bot-public[bot]@users.noreply.github.com>
1 parent 15378a0 commit 7ef977a

3 files changed

Lines changed: 18 additions & 2 deletions

File tree

.sources/VERSIONS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ chain-fusion-signer v0.4.0
5757
papi v0.1.1 168bc9d
5858
ic-pub-key v1.0.1 f89fa55
5959
icp-cli v1.0.0 9eed60c
60-
motoko v1.10.1 46e0755
60+
motoko v1.11.0 c3a6eb3
6161
motoko-core v2.4.0 cd37dbf
6262
cdk-rs ic-cdk v0.20.1 / ic-cdk-timers v1.0.0 / ic-cdk-executor v2.0.0 317f55c
6363
candid 2025-12-18 # candid v0.10.20, didc v0.5.4 2e4a2cf

.sources/motoko

Submodule motoko updated 59 files

docs/languages/motoko/reference/changelog.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,22 @@ sidebar:
88

99
# Motoko compiler changelog
1010

11+
## 1.11.0 (2026-06-29)
12+
13+
* motoko (`moc`)
14+
15+
* 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).
16+
17+
* 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).
18+
19+
* feat: allow requiring `system` capability for `mixin` definitions (#6211).
20+
This makes the capability available in initializers and the `mixin` body.
21+
`<system>` then needs to appear on the corresponding `include`.
22+
23+
* feat: allow effectful code in transient `let`s and in `actor`/`mixin` bodies with `--enhanced-migration` (#6191).
24+
25+
* bugfix: `--enhanced-migration` now also applies to `mixin`s and considers their stable fields when checking migrations (#6183).
26+
1127
## 1.10.1 (2026-06-24)
1228

1329
* motoko (`moc`)

0 commit comments

Comments
 (0)