Skip to content

v15.0.0

Compare
Choose a tag to compare
@tusharmath tusharmath released this 12 Oct 11:26
· 424 commits to master since this release
9233228

15.0.0 (2019-10-12)

Bug Fixes

  • fio: fix stack corruption when using catch (1f970aa)
  • package: update sds (5499919)
  • package: update standard-data-structures (a8f50ef)

Code Refactoring

  • fiber: move Fiber abstract class to an Interface IFiber (aa845ab)
  • fiber: rename exit to release (2b159df)
  • fiber: use await to multiple triggering of a fiber context. (bf153ae)
  • fio: FIO.asyncIO signature updated. (27ede1a)
  • fio: FIO.runtime() needs an IRuntimeEnv (d59922a)
  • fio: update FIO.par() and FIO.zip() signatures (cb092f2)
  • runntnime: rename execute() to unsafeExecute() (31e7cbb)

Features

  • fio: add flattenM static method (cc817ee)
  • fio: add zipWithM (180a8e5)

BREAKING CHANGES

  • fio: FIO.par() and FIO.zip() will now return an Array based tuple
  • fiber: Fiber.exit() has been renamed to Fiber.release()
  • fiber: Renamed Fiber to IFiber
  • fiber: deprecated resume inside Fiber. Use join instead of resume.
  • fio: FIO.asyncIO now doesn't pass the scheduler as its third argument.
    Accessing scheduler can be done accessing the runtime via FIO.runtime() and the accessing scheduler property.
    All APIs that need scheduler will now also need IRuntimeEnv.
  • runntnime: Renamed defaultRuntime().execute() to defaultRuntime().unsafeExecute()
  • fio: FIO.runtime() now returns a FIO<never, IRuntime, IRuntimeEnv>.