This repository has been archived by the owner on Oct 29, 2023. It is now read-only.
Selector API normalized
Added
- feat: Selector accepts Promises resolving data-providers, the resolved data-provider will be added to selector dependencies
Changed
- chore(deps): Update dependencies
- test(deps): Update dependencies. Adapt style to new lint version
Removed
- feat: Remove
SelectorV3
, which was exposed only in version v2.10.0 in order to facilitate progressive migrations to this version. - feat: Remove
providerArgsV3
helper, which was exposed only in version v2.10.0 in order to facilitate addons to publish a migration version to v3
BREAKING CHANGES
- feat: Remove
selectorFunction
argument from Selector. Now all received arguments except the last one, and only if it is an object, are considered dependencies - feat: Remove
selector
getter from Selector - feat: Provider receive options as first argument. Id has to be defined as a property in options
- feat: Selector dependencies receive queryValue as first argument
- feat: Selector dependencies receive results of previous dependencies in an argument for each one
- feat:
reReadDependenciesMaxTime
option renamed toreadAgainMaxTime
- docs: Migration to this major version from v2 can be achieved progressively, read how to migrate from v2 to v3 for further info