Skip to content

v6.0.0

Compare
Choose a tag to compare
@pavadeli pavadeli released this 17 Feb 09:39
· 29 commits to main since this release

⚠ BREAKING CHANGES

  • sherlock: As all Derivables are now compatible with rxjs's from function, we no longer need the toObservable function from @skunkteam/sherlock-rxjs. All usages of toObservable should be replaced with from. The remaining function fromObservable from @skunkteam/sherlock-rxjs is promoted to @skunkteam/sherlock-utils. From now on @skunkteam/sherlock-rxjs will no longer receive updates.
  • sherlock: The typings now correctly identify the use of safeUnwrap for all extra arguments when using SettableDerivable#swap, leading to a breaking change in the interface of SettableDerivable.
  • sherlock-utils: improved/simplified derivableCache API

Features

  • ngx-sherfire: introduce @skunkteam/ngx-sherfire (#16) (5c1edb9)
  • ngx-sherlock: export ValuePipe from bundle (#6) (6cc388d)
  • sherlock: add dependencyCount and observerCount to all Derivables (#7) (1d027fc)
  • sherlock: add makeFinal method (#9) (5961ad9)
  • sherlock: All Derivables are now compatible with Observable.from (#14) (de338b2)
  • sherlock: expose easier final and error state constructors (#13) (032939f)
  • sherlock: modernize types (#4) (8455d77)
  • sherlock: support SettableDerivables in flatMap (#10) (adc2c10)
  • sherlock-utils: improved/simplified derivableCache API (c164dd7)
  • sherlock-utils: modernize struct (#5) (17070d8)

Bug Fixes

  • ngx-sherfire: ensure FirebaseUser$ updates even when User object is reused by Firebase SDK (#17) (18f4073)
  • sherlock: correctly detect final unresolved state in connected derivations (#15) (64be7d0)
  • sherlock: fix subtle typing-bugs because of newer TypeScript features (#12) (d386c1f)
  • sherlock-utils: derivableCache incorrectly reuses cached results when mixing Derivables and non-Derivables as input (#11) (ecf7da4)