Skip to content

Releases: sheaivey/react-axios

v2.0.6

04 Jun 16:56
Compare
Choose a tag to compare

Updating the supported peer dependencies to include React ^18.0.0.
Fixing an issue with GET requests that was providing the data attribute when it does not support it.

Full Changelog: v2.0.5...v2.0.6

v2.0.5

04 Mar 05:59
Compare
Choose a tag to compare

This release has the following updates:
Updating legacy context methods and removing UNSAFE_ lifecycle methods to be compatible with React.StrictMode.

v2.0.3

23 Nov 07:29
Compare
Choose a tag to compare

This release has the following updates:
New withAxios(options)(ComponentToBeWrapped) HoC to allow the consumer more flexibility to create complex Request components.
Renaming onReload(props) to makeRequest(props). This change is transparent and the actual function name is up to the consumers implementation of the Request child callback function.

v2.0.0

15 Nov 23:17
Compare
Choose a tag to compare

This release has the following updates:
New prop called params which will supply query string params to the Axios config.
New onReload(props) function available to the child function render. This function can optionally pass temporary props to the Axios request.
On error the child function property response will contain the data from error.response.

v1.0.3

28 Jul 23:23
Compare
Choose a tag to compare

Updated readme and other minor fixes.
Added withAxios()
Fixed #9 issue calling setState() after component was unmounted.

v1.0.2

08 Jun 21:07
Compare
Choose a tag to compare

Adding debounceImmediate=true prop
If the props change during the debounce window the current request will be canceled and a new request will be kicked off in order to keep the props in sync.

v1.0.1

08 Jun 06:01
Compare
Choose a tag to compare

Using module prop-types instead of React.PropTypes.

v1.0.0

08 Jun 06:04
Compare
Choose a tag to compare

Bumping version to 1.0.0 and Fixing peer dependancies.
Added ComponentWillUnmount() to fix setState issue after component was unmounted and axios request had not finished.