Skip to content

Releases: dfinity/motoko

0.6.27

04 May 13:33
6e25e40
Compare
Choose a tag to compare
  • 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 (and Trie.mapFilter) which could
      lead to missing matches in some cases (dfinity/motoko-base#371).

0.6.26

20 Apr 12:17
23865b8
Compare
Choose a tag to compare
  • 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 from actor (and actor class) Wasm (#3164)
    • Performance: avoid redundant heap allocation when deserializing compact Candid int and nat values (#3173)
    • Added a primitive to obtain stable variable memory footprint (#3049)
  • motoko-base

0.6.25

07 Mar 17:12
77193e7
Compare
Choose a tag to compare
  • motoko (moc)

    • bugfix: fix bogus elision of type constructors sharing names with primitive types in --stable-types section and .most file (#3140)

0.6.24

06 Mar 20:43
8cdbd85
Compare
Choose a tag to compare
  • motoko (moc)

    • bugfix: fix bogus identification of distinct type constructors
      in --stable-types section and .most file (#3140)

0.6.23

05 Mar 22:08
650e3bf
Compare
Choose a tag to compare
  • motoko (moc)

    • bugfix: fix pretty printing of (stable) types and #3128 (#3130)

      • Collect constructors transitively before emitting a .most file.
      • Modifies type pretty printer to produce well-formed types and stable type signatures.

0.6.22

24 Feb 12:44
a39386f
Compare
Choose a tag to compare
  • motoko (moc)

    • Fix: remove bogus error when transitively importing module with
      selective field imports (#3121)
    • Fix: Treating eponymous types from separate candid files (#3103)
  • Various reports from CI are now pushed to
    https://dfinity.github.io/motoko (#3113)

0.6.21

31 Jan 17:41
198d617
Compare
Choose a tag to compare
  • 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).
  • motoko-base

0.6.20

11 Jan 11:43
6a6cb0f
Compare
Choose a tag to compare
  • motoko

    • Implement support for heartbeat system methods (thanks to ninegua) (#2971)
  • motoko-base

0.6.19

05 Jan 16:42
37e179d
Compare
Choose a tag to compare
  • motoko-base

    • Fixed a bug in the RBTree.size() method.

0.6.18

20 Dec 09:56
adeaef1
Compare
Choose a tag to compare
  • 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 of ExperimentalStableMemory.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
  • BREAKING CHANGE (Minor):
    The previously available (but unadvertised) ExperimentalStableMemory.mo used
    Nat32 offsets. This one uses Nat64 offsets to (eventually) provide access to more address space.