Skip to content

rx-stateful-2.0.0-rc.0

Latest
Compare
Choose a tag to compare
@michaelbe812 michaelbe812 released this 01 Dec 11:11
· 6 commits to main since this release

Features

  • add support to provide a global config for rxStateful$ via provideRxStatefulConfig
  • add rxRequest which simplifies rxStateful$ API and gives convenience function to refresh a source
  • add testing utils for rxRequest

Breaking Changes

  • removed deprecated refreshTrigger$-config (automatic migration available)
  • A min Version of Angular 18 is now required

Migrations

  • run @angular-kit/rx-stateful:migrate-refresh-trigger to migrate from removed refreshTrigger$ config option to refreshStrategies: withRefetchOnTrigger()
  • run @angular-kit/rx-stateful:migrate-to-rx-request to migrate any usage from rxStateful$ to rxRequest

Deprecations

  • rxStateful$ got deprecated (rxRequest should be used on new usages). There are no plans to ever remove rxStateful$. However I want to encourage using rxRequest because it has a more ergonomic API which is also easier to maintain on my end