michaelbe812
released this
01 Dec 11:11
·
6 commits
to main
since this release
Features
- add support to provide a global config for
rxStateful$
viaprovideRxStatefulConfig
- add
rxRequest
which simplifiesrxStateful$
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 removedrefreshTrigger$
config option torefreshStrategies: withRefetchOnTrigger()
- run
@angular-kit/rx-stateful:migrate-to-rx-request
to migrate any usage fromrxStateful$
torxRequest
Deprecations
rxStateful$
got deprecated (rxRequest
should be used on new usages). There are no plans to ever removerxStateful$
. However I want to encourage usingrxRequest
because it has a more ergonomic API which is also easier to maintain on my end