Skip to content
This repository has been archived by the owner on Aug 3, 2023. It is now read-only.

Commit

Permalink
Merge pull request #131 from jmeas/2.0.1
Browse files Browse the repository at this point in the history
2.0.1
  • Loading branch information
jamesplease authored Feb 18, 2018
2 parents 515312b + 733fbfa commit 14bfadd
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

### v2.0.1 (2018/2/17)

**Bug Fixes**

* This fixes a problem where the default `fetchPolicy` would be `"cache-first"` for "write" requests.

### v2.0.0 (2018/2/17)

**Breaking**
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-request",
"version": "2.0.0",
"version": "2.0.1",
"description": "Declarative HTTP requests with React.",
"main": "lib/index.js",
"module": "es/index.js",
Expand Down
1 change: 0 additions & 1 deletion src/fetch.js
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,6 @@ Fetch.defaultProps = {
beforeFetch: () => {},
afterFetch: () => {},
transformData: data => data,
fetchPolicy: 'cache-first',
dedupe: true,

method: 'get',
Expand Down

0 comments on commit 14bfadd

Please sign in to comment.