Skip to content

0.10.1

Compare
Choose a tag to compare
@github-actions github-actions released this 16 Oct 21:04
· 281 commits to master since this release
0040bbf
  • motoko (moc)

    • bugfix: fix assertion failure renaming or-patterns (#4236, #4224).

    • bugfix: unsuccessful Candid decoding of an optional array now defaults to null instead of crashing (#4240).

    • bugfix: Candid decoding of an optional, unknown variant with a payload now succeeds instead of crashing (#4238).

    • Implement Prim.textLowercase and Prim.textUppercase (via Rust) (#4216).

    • perf: inline sharable low-level functions in generated coded,
      trading code size for reduced cycle count (#4212).
      Controlled by flags:

      • -fno-shared-code (default)
      • -fshared-code (legacy)
        (Helps mitigate the effect of the IC's new cost model, that increases
        the cost of function calls).
  • motoko-base

    • Added Principal.toLedgerAccount (#582).

    • Added Text.toLowercase and Text.toUppercase (#590).