Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .sources/VERSIONS
Original file line number Diff line number Diff line change
Expand Up @@ -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
13 changes: 13 additions & 0 deletions docs/languages/motoko/reference/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`)
Expand Down
2 changes: 1 addition & 1 deletion docs/languages/motoko/reference/compiler-ref.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 <dir>` | Enable enhanced migration system: requires initializers for all stable variables, disallows side-effects in actor bodies; only available with enhanced orthogonal persistence. |
| `--enhanced-migration <dir>` | 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 <n>` | Set level of error message detail for syntax errors, n in \[0..3\] (default 2). |
| `--experimental-stable-memory <n>` | 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). |
Expand Down
Loading