Skip to content

Releases: skunkteam/sherlock

v6.0.0

17 Feb 09:39
Compare
Choose a tag to compare

⚠ 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)

v6.0.0-rc.1

16 Feb 10:35
Compare
Choose a tag to compare

Bug Fixes

  • ngx-sherfire: ensure FirebaseUser$ updates even when User object is reused by Firebase SDK (#17) (18f4073)

v6.0.0-rc.0

15 Feb 11:16
Compare
Choose a tag to compare
v6.0.0-rc.0 Pre-release
Pre-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

  • 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)

v5.0.0

25 Jan 14:51
Compare
Choose a tag to compare

⚠ BREAKING CHANGES

  • sherlock-rxjs: This release changes the behavior of fromObservable when not connected. From now on, a Derivable created by fromObservable will become unresolved when disconnected. In previous versions the Derivable would remember the last received value which can lead to unexpected stale results when reconnecting or even memory leaks. To get the old behavior use take: fromObservable(...).take({ when: d => d.resolved }) to always cache the latest value when disconnecting.

Features

  • ngx-sherlock: add value pipe (4bfc04b)
  • sherlock-utils: add fromEventPattern (dc082e2)

Bug Fixes

  • sherlock-rxjs: fix possible stale-cache / memory leak in fromObservable (8093644)
  • sherlock-rxjs: remove use of @skunkteam/sherlock internals (#2) (b5c5197)

v4.0.0

21 Jan 14:10
Compare
Choose a tag to compare

4.0.0 (2021-01-21)

Initial migration from @politie/sherlock.

⚠ BREAKING CHANGES

  • sherlock-proxy is not longer supported and is not migrated to the new @skunkteam organization