Releases: dfinity/motoko
Releases · dfinity/motoko
0.6.27
-
motoko (
moc
)- Importing modules by relative path is now more robust (#3215).
- Performance: persisting stable variables to stable memory is now
performed in streaming fashion, reducing heap consumption and
copying during an upgrade (#3149). - Performance: local 32- and 64-bit numeric values are now stored in
using unboxed form when possible (thanks to nomeata) (#3207).
-
motoko-base
- Fixed a bug in
Trie.filter
(andTrie.mapFilter
) which could
lead to missing matches in some cases (dfinity/motoko-base#371).
- Fixed a bug in
0.6.26
-
motoko (
moc
)- Performance: inline prim-wrapping functions (thanks to nomeata) (#3159)
- Improve type pretty printer to mirror type parser (avoids producing unparseable stable variable signatures) (#3190)
- Adds new flag
--omit-metadata
to omit certain metadata sections fromactor
(andactor class
) Wasm (#3164) - Performance: avoid redundant heap allocation when deserializing compact Candid
int
andnat
values (#3173) - Added a primitive to obtain stable variable memory footprint (#3049)
-
motoko-base
- Fixed the 32-bit range limitation of
Hash.hash: Nat -> Nat32
and
deprecate most functions inHash
(dfinity/motoko-base#366). - Add
List.toIter
(thanks to hoosan) (dfinity/motoko-base#336).
- Fixed the 32-bit range limitation of
0.6.25
0.6.24
0.6.23
0.6.22
-
motoko (
moc
) -
Various reports from CI are now pushed to
https://dfinity.github.io/motoko (#3113)
0.6.21
-
motoko (
moc
)- Emit new ICP metadata custom section 'motoko:compiler' with compiler release or revision in UTF8 (e.g. "0.6.21"). Default is
icp:private
(#3091). - Generalized
import
supporting pattern matching and selective field imports (#3076). - Fix: insert critical overflow checks preventing rare heap corruptions
in out-of-memory allocation and stable variable serialization (#3077). - Implement support for 128-bit Cycles-API (#3042).
- Emit new ICP metadata custom section 'motoko:compiler' with compiler release or revision in UTF8 (e.g. "0.6.21"). Default is
-
motoko-base
ExperimentalInternetComputer
library, exposing low-level, binarycall
function (a.k.a. "raw calls") (dfinity/motoko-base#334, Motoko #3806).Principal.fromBlob
added (dfinity/motoko-base#331).
0.6.20
-
motoko
- Implement support for
heartbeat
system methods (thanks to ninegua) (#2971)
- Implement support for
-
motoko-base
- Add
Iter.filter : <A>(Iter<A>, A -> Bool) -> Iter<A>
(thanks to jzxchiang1) (dfinity/motoko-base#328).
- Add
0.6.19
-
motoko-base
- Fixed a bug in the
RBTree.size()
method.
- Fixed a bug in the
0.6.18
-
moc
- Add runtime support for low-level, direct access to 64-bit IC stable memory, including documentation.
- Add compiler flag
--max-stable-pages <n>
to cap any use ofExperimentalStableMemory.mo
(see below), while reserving space for stable variables.
Defaults to 65536 (4GiB).
-
motoko-base
- (Officially) add
ExperimentalStableMemory.mo
library, exposing 64-bit IC stable memory
- (Officially) add
-
BREAKING CHANGE (Minor):
The previously available (but unadvertised)ExperimentalStableMemory.mo
used
Nat32
offsets. This one usesNat64
offsets to (eventually) provide access to more address space.