Skip to content

Releases: sheaivey/react-axios

v2.0.6

Choose a tag to compare

@sheaivey sheaivey released this 04 Jun 16:56

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

Choose a tag to compare

@sheaivey sheaivey released this 04 Mar 05:59

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

v2.0.3

Choose a tag to compare

@sheaivey sheaivey released this 23 Nov 07:29

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

Choose a tag to compare

@sheaivey sheaivey released this 15 Nov 23:17

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

Choose a tag to compare

@sheaivey sheaivey released this 28 Jul 23:23

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

v1.0.2

Choose a tag to compare

@sheaivey sheaivey released this 08 Jun 21:07

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

Choose a tag to compare

@sheaivey sheaivey released this 08 Jun 06:01

Using module prop-types instead of React.PropTypes.

v1.0.0

Choose a tag to compare

@sheaivey sheaivey released this 08 Jun 06:04

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.