Skip to content

0.7.5

Compare
Choose a tag to compare
@github-actions github-actions released this 23 Dec 21:52
· 622 commits to master since this release
1c2f749
  • motoko (moc)

    • Add new primitives for a default timer mechanism (#3542). These are

      setTimer : (delayNanos : Nat64, recurring : Bool, job : () -> async ()) -> (id : Nat)
      cancelTimer : (id : Nat) -> ()

      By defining a system func timer the default mechanism can now be overridden by a custom
      implementation. Additionally by supplying the command-line flag -no-timer all aspects
      of timers can be suppressed, e.g. for space- or security-sensitive purposes, thus effectively
      reverting canisters to the pre-timers era.

    • bugfix: silence bogus cascading errors in stable compatibility check (#3645).