This repository has been archived by the owner on Oct 29, 2023. It is now read-only.
Releases: data-provider/core
Releases · data-provider/core
Update axios dependencies
axios [5.0.2]
Changed
- chore(deps): Update axios-retry to 1.2.1
- chore(deps): Update query-string to 7.1.3
Update dependencies
axios [5.0.1]
Changed
- chore(deps): Update axios-retry to 3.3.1
Drop Node.js 12 support
core
[4.0.0]
Changed
- chore(deps): Drop support for Node 12.
- chore(deps): Update dependencies
axios
[5.0.0]
Changed
- chore(deps): Drop support for Node 12.
- chore(deps): Update dependencies
browser-storage
[4.0.0]
Changed
- chore(deps): Drop support for Node 12.
- chore(deps): Update dependencies
memory
[4.0.0]
Changed
- chore(deps): Drop support for Node 12.
- chore(deps): Update dependencies
prismic
[4.0.0]
Changed
- chore(deps): Drop support for Node 12.
- chore(deps): Update dependencies
react
[2.0.0]
Changed
- chore(deps): Drop support for Node 12.
- chore(deps): Update dependencies
Support NodeJs >=12
Changed
- chore: Support any NodeJs version >=12.x.
- chore: Run tests also in NodeJs 17 in pipelines. Remove tests execution using NodeJs 15
- test: Use 127.0.0.1 instead of localhost when requesting in tests for Node 17 support
- chore: Update dependencies
Fixed
- docs: Remove broken npm dependencies badge
Node v16.x support
Added
- chore(deps): Add Node v16.x to engines
Changed
- chore(deps): Update dependencies
- style: Remove Sonar smells
Removed
- chore(deps): Remove Node v10.x from engines
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
Compatibility with v3 to allow progressive migrations
Added
- feat: Add SelectorV3, a Selector Class but with the new interface defined in #167. Both selectors are exposed temporarily in order to facilitate progressive migrations to next major release.
- feat: SelectorV3 accepts Promises resolving data-providers, the resolved data-provider will be added to selector dependencies
- feat: Provider accepts passing options as first argument. Id can be defined as a property in options.
Changed
- feat: Rename reReadDependenciesMaxTime option in SelectorV3 to readAgainMaxTime
Fix cleanDependenciesCache
Fixed
- fix: Selector cleanDependenciesCache method was cleaning only in progress dependencies if the selector read was in progress, so previous dependencies were not being cleaned
Addons base tags. Selectors tag
Added
- feat: Allow defining baseTags property in addons. Will be extended with "tags" option when instantiated for calculating provider tags. (#143)
- feat: Add tags getter
- feat: Add "selector" base tag to selectors (#163)
- feat: Add
cleanDependenciesCache
method toproviders
handler (#164)
Fixed
- docs(readme): Fix typos
Fix cleaning selectors cache when throttled
Added
- chore(ci): Migrate from Travis CI to github actions
- chore(deps): Support all Node.js releases that have not passed their end date(#157)
Changed
- test(mutation): Set branch name in stryker dashboard based on environment variable
- docs(readme): Update docs
Fixed
- fix(events): Pass force option also to children when cleaning caches
- fix(selector): Force cleaning of cache when a selector dependency is cleaned (#156)
- fix(providers): Allow options in providers.cleanCache method
- test: Fix Sonar smell in tests