Skip to content

0.11.2

Compare
Choose a tag to compare
@github-actions github-actions released this 06 Jul 22:00
· 95 commits to master since this release
e6d5d03
  • motoko (moc)

    • deprecation: Deprecate the use of base library's ExperimentalStableMemory (ESM) (#4573).
      New moc flag --experimental-stable-memory <n> controls the level of deprecation:

      • n < 0: error on use of stable memory primitives.
      • n = 0: warn on use of stable memory primitives.
      • n > 1: warning-less use of stable memory primitives (for legacy applications).
        Users of ESM should consider migrating their code to use isolated regions (library Region.mo) instead.
    • bugfix: Fix the detection of unused declarations in switch and catch alternatives (#4560).

    • improvement: Only warn on unused identifiers if type checking is error-free (#4561).