Skip to content

v2.2.0

Compare
Choose a tag to compare
@craigbeck craigbeck released this 19 Jul 21:04
· 12 commits to master since this release

⚠️ This release may cause TS compilation errors and some issues with local _-prefixed model paths. The issues should be resolved in [email protected].

What's Changed

  • [TS typings] Allow model.ref's to param to be a Query or Filter, to match what's accepted at runtime by @ericyhwang in #311
  • Deprecate named reactive functions (model.start with a string as the last argument); fix type for reactive fn args by @craigbeck in #312
    • To share a reactive function between multiple components, you should export it and then require/import it into each file that needs to use it.
    • This resolves a TS error when providing model.start with a reactive function that mixes unknown with stronger types. Previously, it was OK with when the function was either all unknown types or all "strong" non-unknown types. Now, a mix of unknown and stronger types is allowed.

Documentation updates

Full Changelog: v2.1.1...v2.2.0