0.10.2
-
motoko (
moc
)-
bugfix: separate tag from underscore in coverage warnings (#4274).
-
Code compiled for targets WASI (
-wasi-system-api
) and pure Wasm (-no-system-api
) can now
use up to 4GB of (efficiently emulated) stable memory, enabling more offline testing of, for example,
stable data structures built using librariesRegions.mo
andExperimentalStableMemory.mo
.
Note that any Wasm engine (such aswasmtime
), used to execute such binaries, must support and enable
Wasm featuresmulti-memory
andbulk-memory
(as well as the standard NaN canonicalization) (#4256). -
bugfix: fully implement
Region.loadXXX/storeXXX
forInt8
,Int16
andFloat
(#4270). -
BREAKING CHANGE (Minor): values of type
Principal
are now constrained to contain
at most 29 bytes, matching the IC's notion of principal (#4268).In particular:
-
An actor
import
will be statically rejected if the binary representation of the (aliased) textually encoded
principal contains strictly more than 29 bytes. -
Principal.fromBlob(b)
will trap ifb
contains strictly more than 29 bytes. -
The actor literal,
actor <exp>
, will trap if the binary representation of
of the textually encoded principal<exp>
contains strictly more than 29 bytes.
-
-
-
motoko-base
- bugfix: fix
Array.tabulateVar
to avoid repeated side-effects (dfinity/motoko-base#596)
- bugfix: fix