Releases: heroku/react-refetch
v5.0.0-0
What's Changed
- Migrate to GitHub Actions by @ryanbrainard in #250
- Fixes grammar, typos, and markdown syntax by @nikoandpiko in #259
- Upgrade GitHub Actions Node Test Versions by @dstarner in #268
- maint: upgrade babel + deps, actions by @mble-sfdc in #271
New Contributors
- @nikoandpiko made their first contribution in #259
- @dstarner made their first contribution in #268
- @mble-sfdc made their first contribution in #271
Full Changelog: v4.0.1-0...v5.0.0-0
v4.0.1-0
v4.0.0-0
TypeScript improvements:
- Simple type definition fix to use promise factory method in "value" parameter #240
- Improved typing for
PromiseState
for better compile-time checks #241 OuterProps
&InnerProps
declarations to separate props passed in from one injected by fetches #242
Breaking change for TypeScript users only
v3.0.0
To support newer versions of React, this removes the use of deprecated React lifecycle hooks componentWillMount
and componentWillReceiveProps
, deprecated React Context API, and impure functions.
This is a breaking change from the 2.0 releases. To migrate, remove the use of the second context
parameter and the pure
option on any connect()
functions. It generally should not impact applications, but be aware that fetches now happen on componentDidMount
and componentDidUpdate
.
This also updates many dependencies, which resolves security vulnerabilities.
v3.0.0-7
Upgrades to React 16
v3.0.0-6
Removes Webpack
v3.0.0-5
Upgrades to Babel 7
v3.0.0-3
- Improves 3.0.0 documentation
- Uprades some dependencies to fix security vulnerabilities
v3.0.0-1
To support newer versions of React, this removes use of deprecated React lifecycle hooks componentWillMount
and componentWillReceiveProps
, deprecated React Context API, and impure functions.
This is a breaking change from the 2.0 releases. To migrate, remove use of the second context
parameter and pure
option. It generally should not impact applications, but be aware that fetches now happen on componentDidMount
and componentDidUpdate
.
Code Change: #233
Additional doc changes are still pending.