-
motoko (
moc)-
feat:
mocnow emits the standardizedtarget_featuresWasm custom section, sobinaryen-based tools (wasm-opt,ic-wasm optimize,dfx'soptimize) accept and optimize Motoko output without per-tool feature flags. Previously these tools defaulted to MVP and rejected themultivalue/bulk-memory/memory64features moc relies on (#6214). -
feat: a
Float32literal 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 like0.1/3.14stay quiet) (#6198). -
feat: allow requiring
systemcapability formixindefinitions (#6211).
This makes the capability available in initializers and themixinbody.
<system>then needs to appear on the correspondinginclude. -
feat: allow effectful code in transient
lets and inactor/mixinbodies with--enhanced-migration(#6191). -
bugfix:
--enhanced-migrationnow also applies tomixins and considers their stable fields when checking migrations (#6183).
-