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.moandExperimentalStableMemory.mo.
Note that any Wasm engine (such aswasmtime), used to execute such binaries, must support and enable
Wasm featuresmulti-memoryandbulk-memory(as well as the standard NaN canonicalization) (#4256). -
bugfix: fully implement
Region.loadXXX/storeXXXforInt8,Int16andFloat(#4270). -
BREAKING CHANGE (Minor): values of type
Principalare now constrained to contain
at most 29 bytes, matching the IC's notion of principal (#4268).In particular:
-
An actor
importwill be statically rejected if the binary representation of the (aliased) textually encoded
principal contains strictly more than 29 bytes. -
Principal.fromBlob(b)will trap ifbcontains 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.tabulateVarto avoid repeated side-effects (dfinity/motoko-base#596)
- bugfix: fix