Skip to content

v3.0.0

Choose a tag to compare

@ramipellumbi ramipellumbi released this 08 Nov 17:39
· 42 commits to main since this release

Changelog

  • BREAKING API CHANGE Move redis and runOnStartup settings to Clujo constructor instead of inputs to Clujo.start. See the updated README.
  • BREAKING API CHANGE Move the completion callback as input to TaskGraph.build instead of Clujo.start. See the updated README.
  • Improve typing around the context object to make properties readonly and non-optional when dependencies are specified. Namely, if a task i depends on task j, then ctx.j is no longer potentially optional in task i.
  • Deep freeze the context object to prevent runtime changes. Attempting to change the context object in strict mode will result in a runtime error. In non strict mode, it will not change.
  • Improved validation on constructor inputs
  • Move from TS private keyword to JS private private properties to prevent access at runtime
  • Remove public keyword on public class items