From b6e9d3f25bedd42e240802c92354ca5182f32059 Mon Sep 17 00:00:00 2001 From: "pr-automation-bot-public[bot]" Date: Mon, 3 Aug 2026 09:03:13 +0000 Subject: [PATCH] chore: bump Motoko to v1.12.0 --- .sources/VERSIONS | 2 +- .sources/motoko | 2 +- docs/languages/motoko/reference/changelog.md | 19 ++++++++++++++++++- 3 files changed, 20 insertions(+), 3 deletions(-) diff --git a/.sources/VERSIONS b/.sources/VERSIONS index 099eca50..ffffe4b6 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.1.0 fe4af7c -motoko v1.11.2 b64a2aa +motoko v1.12.0 ee5391df8 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 b64a2aa6..ee5391df 160000 --- a/.sources/motoko +++ b/.sources/motoko @@ -1 +1 @@ -Subproject commit b64a2aa652fb09b04d379bebf2128955ba80d2e7 +Subproject commit ee5391df85959cf28c95ffc6021ab395cc459e31 diff --git a/docs/languages/motoko/reference/changelog.md b/docs/languages/motoko/reference/changelog.md index 2c99e5a1..5aa87e4c 100644 --- a/docs/languages/motoko/reference/changelog.md +++ b/docs/languages/motoko/reference/changelog.md @@ -8,6 +8,23 @@ sidebar: # Motoko compiler changelog +## 1.12.0 (2026-07-30) + +* motoko (`moc`) + + * feat: the excess-precision warning (M0266) now also covers `Float` (F64) literals, not just + `Float32`, suggesting the shortest round-trip equivalent (#6261). + + * feat: `--stable-baseline ` with `--enhanced-migration` escalates unexplained + "initial actor requires field" cases to error M0267; fields whose baseline type is a + stable subtype of the required type keep warning M0254 (prototype for legacy→EM + conversions) (#6249). + + * feat: `--stable-baseline` also runs the same upgrade check as `--stable-compatible` during + `--check`, so tools can typecheck and verify upgrade safety in one `moc` invocation (#6253). + + * fix: refresh the broken docs links in compatibility and stable-memory diagnostics (#6255). + ## 1.11.2 (2026-07-22) * motoko (`moc`) @@ -973,7 +990,7 @@ sidebar: ensures that no cleanup is required. The relevant security best practices are accessible at - https://internetcomputer.org/docs/current/developer-docs/security/security-best-practices/inter-canister-calls#recommendation + /guides/security/inter-canister-calls/#recommendation BREAKING CHANGE (Minor): `finally` is now a reserved keyword, programs using this identifier will break.