From 2e16610b4007b3d2a67b6e0e805f29a4e4859135 Mon Sep 17 00:00:00 2001 From: "pr-automation-bot-public[bot]" Date: Mon, 7 Sep 2026 08:04:56 +0000 Subject: [PATCH] chore: bump Motoko to v1.15.1 --- .sources/VERSIONS | 2 +- .sources/motoko | 2 +- docs/languages/motoko/reference/changelog.md | 13 +++++++++++++ docs/languages/motoko/reference/compiler-ref.md | 2 +- 4 files changed, 16 insertions(+), 3 deletions(-) diff --git a/.sources/VERSIONS b/.sources/VERSIONS index fd789528..73828996 100644 --- a/.sources/VERSIONS +++ b/.sources/VERSIONS @@ -38,5 +38,5 @@ # appear in docs before they ship to users. # ------------------------------------------------------- -motoko v1.15.0 0cc90c1 +motoko v1.15.1 1f6fc15 internetidentity release-2026-08-28 583ad166 diff --git a/.sources/motoko b/.sources/motoko index 0cc90c1d..1f6fc156 160000 --- a/.sources/motoko +++ b/.sources/motoko @@ -1 +1 @@ -Subproject commit 0cc90c1dc82a177456cc8d350467a7ecb2bde178 +Subproject commit 1f6fc15658bfb169d9b72d462cbefee2259add34 diff --git a/docs/languages/motoko/reference/changelog.md b/docs/languages/motoko/reference/changelog.md index de6db453..35347ada 100644 --- a/docs/languages/motoko/reference/changelog.md +++ b/docs/languages/motoko/reference/changelog.md @@ -8,6 +8,19 @@ sidebar: # Motoko compiler changelog +## 1.15.1 (2026-09-02) + +* motoko (`moc`) + + * fix: Strip the `motoko:stable-types` custom section from the wasm + under `--enhanced-migration`: it can grow very large with migration + chains, and the runtime system already enforces stable-type + compatibility at upgrade time. Compile-time validation and the + `.most` output under `--stable-types` are unaffected (#6073). + + * bugfix: Candid record decoding now skips trailing extra fields whose count + is a multiple of 256; the skip count had been truncated to a byte (#6334). + ## 1.15.0 (2026-08-28) * motoko (`moc`) diff --git a/docs/languages/motoko/reference/compiler-ref.md b/docs/languages/motoko/reference/compiler-ref.md index dbb675fa..694fcc28 100644 --- a/docs/languages/motoko/reference/compiler-ref.md +++ b/docs/languages/motoko/reference/compiler-ref.md @@ -36,7 +36,7 @@ You can use the following options with the `moc` command. | `--copying-gc` | Use copying GC (only available with legacy/classical persistence). | | `--debug` | Respects debug expressions in the source (the default). | | `--enhanced-orthogonal-persistence` | Use enhanced orthogonal persistence (default): Scalable and fast upgrades using a persistent 64-bit main memory. | -| `--enhanced-migration ` | Enable enhanced migration system: requires initializers for all stable variables, disallows side-effects in actor bodies; only available with enhanced orthogonal persistence. | +| `--enhanced-migration ` | Enable enhanced migration system: requires initializers for all stable variables, disallows side-effects in actor bodies; only available with enhanced orthogonal persistence. The `motoko:stable-types` custom section is omitted from the wasm (the runtime system enforces stable-type compatibility at upgrade time); the `.most` file is still emitted under `--stable-types`. | | `--error-detail ` | Set level of error message detail for syntax errors, n in \[0..3\] (default 2). | | `--experimental-stable-memory ` | Select support for the deprecated `ExperimentalStableMemory.mo` library (n < 0: error, n = 0: warn, n > 0: allow) (default 0). | | `-fno-shared-code` | Do not share low-level utility code: larger code size but decreased cycle consumption (default). |