Skip to content

Releases: arthurfiorette/axios-cache-interceptor

v0.10.2

25 Mar 19:13
Compare
Choose a tag to compare

Important Changes

  • Fixed weird TypeError: Cannot read property 'data' of undefined bug.
    Thanks @cipriandraghici93 and @himasimplisafe (again!).

Merged

  • chore(deps-dev): bump prettier from 2.6.0 to 2.6.1 #187
  • chore(deps-dev): bump prettier-plugin-jsdoc from 0.3.31 to 0.3.33 #185
  • chore(deps-dev): bump ts-jest from 27.1.3 to 27.1.4 #186
  • chore(deps-dev): bump typescript from 4.6.2 to 4.6.3 #188
  • chore(deps-dev): bump @typescript-eslint/parser from 5.15.0 to 5.16.0 #183
  • chore(deps-dev): bump @typescript-eslint/eslint-plugin #184
  • chore(deps): bump object-code from 1.2.0 to 1.2.2 #182
  • chore(deps): bump fast-defer from 1.1.5 to 1.1.7 #181
  • chore(deps): bump cache-parser from 1.2.2 to 1.2.4 #180
  • chore(deps-dev): bump prettier from 2.5.1 to 2.6.0 #178
  • chore(deps-dev): bump @typescript-eslint/eslint-plugin #175
  • chore(deps-dev): bump @typescript-eslint/parser from 5.14.0 to 5.15.0 #176

Commits

  • chore: fixed escheck script 4e93728
  • docs: added runkit comment f25bff6
  • docs: updated download urls b98f4b0
  • fix: fixed bug when a pending request had it cached empty (#165) 0a00778
  • style: formatted code b44c6b3

Full Changelog: v0.10.1...v0.10.2

v0.10.1

14 Mar 20:54
Compare
Choose a tag to compare

Default options were updated

This isn't something that you should really care. All these options should have been enabled by default. (unless you are using a cache library and wants to avoid correct caching behaviors 馃榿)

As this package was evoluting, new cache options and behaviours were introduced. To avoid possible "breaking changes" on every release, they were shipped disabled by default. But, the majority of users won't enable them because they don't know their existence and/or what they do.

Important changes:

  • Enabled etag, staleIfError, and interpretHeader by default. (119fa32)
  • Fixed reference changes when using memory storage (#163 and #164)
  • Improved documentation in many areas. (Thanks @arnaud9145 and @himasimplisafe)
  • Restructured bundle options and folders (#167)
  • Fixed v0.10.0 build setup

Full Changelog: v0.9.3...v0.10.1

v0.10.0

14 Mar 20:31
Compare
Choose a tag to compare
v0.10.0 Pre-release
Pre-release

This version was shipped with a build bug. Please use 0.10.1.

v0.9.3

04 Mar 16:46
Compare
Choose a tag to compare

Important Changes

  • FIxed url, baseURL and method being changed by buildKeyGenerator. Thanks @chandu (#161).
  • defaultKeyGenerator now hashes every object returned by his generator, except for number and strings.

Merged

  • chore(deps-dev): bump webpack from 5.69.1 to 5.70.0 #162
  • chore(deps-dev): bump eslint-config-prettier from 8.4.0 to 8.5.0 #160
  • chore(deps): bump actions/checkout from 2 to 3 #158
  • chore(deps-dev): bump ts-loader from 9.2.6 to 9.2.7 #159
  • chore(deps-dev): bump typescript from 4.5.5 to 4.6.2 #157

Commits

  • chore: add funding.yml 2429ae2
  • chore: cache parser dependency range a71f9aa
  • docs: updated code comment 80850b9
  • docs: updated download urls 06091a2
  • fix: defaultKeyGenerator keeps response unchanged (#161) ab45164

Full Changelog: v0.9.2...v0.9.3

v0.9.2

28 Feb 20:04
Compare
Choose a tag to compare

Important Changes

  • Updated all dependencies from tinylibs

Merged

  • chore(deps-dev): bump eslint from 8.9.0 to 8.10.0 #156
  • chore(deps): bump prismjs from 1.26.0 to 1.27.0 in /docs #155
  • chore(deps): bump actions/setup-node from 2 to 3 #154

Commits

  • deps: updated code dependencies 8d0dedb
  • docs: updated download urls 66fb00b

Full Changelog: v0.9.1...v0.9.2

v0.9.1

23 Feb 15:34
Compare
Choose a tag to compare

Important Changes

  • React Native CLI Support (#153)

Merged

  • feat: support for react-native cli #153
  • chore(deps-dev): bump @types/jest from 27.4.0 to 27.4.1 #152
  • chore(deps-dev): bump @typescript-eslint/eslint-plugin #150
  • chore(deps-dev): bump @typescript-eslint/parser from 5.12.0 to 5.12.1 #151

Commits

  • docs: updated download urls 8b14a38

New Contributors

  • @Taggotty made their first contribution in #153

Full Changelog: v0.9.0...v0.9.1

v0.9.0

21 Feb 17:56
Compare
Choose a tag to compare

Important Changes

  • Web storage handles Quota and DOMException errors (#148)

    If you were using buldWebStorage, when upgrading to v0.9.0, most likely all previous data saved will be lost.
    But this is not a problem, as in the next request it will be fetched again.
    (That's because the default prefix was changed from '' to '__ACI' to avoid conflicts by default)

Merged

  • feat: handle web storage DOMExceptions #148
  • chore(deps-dev): bump eslint-config-prettier from 8.3.0 to 8.4.0 #149
  • chore(deps-dev): bump webpack from 5.69.0 to 5.69.1 #147

Commits

  • deps: updated object-code 9f4b400
  • docs: updated docs and runkit playground 89066df
  • docs: updated download urls 683fdb2
  • style: formatted code 71fbfab

New Contributors

Full Changelog: v0.8.10...v0.9.0

v0.8.10

16 Feb 21:21
Compare
Choose a tag to compare

Important Changes

  • Removed axios from peerDependencies. See #145

Merged

  • chore(deps-dev): bump webpack from 5.68.0 to 5.69.0 #146

Commits

Full Changelog: v0.8.9...v0.8.10

v0.8.9

14 Feb 20:07
Compare
Choose a tag to compare

Important Changes

  • Upgraded axios to v0.26 in peerDependencies

Full Changelog: v0.8.8...v0.8.9

v0.8.8

08 Feb 10:24
Compare
Choose a tag to compare

Important changes

  • Fixed .npmignore bug (ca033eb and 79ab592).
  • Fixed umd/es5 declaration bug.
  • Uses ES2017 as default output, because we are in 2022 and even if you CANNOT :) update you bundler/node version, umd/es5 bundle still exists.
  • Versions v0.8.6 and v0.8.7 were shipped without code, thats why this jump from v0.8.5 to v0.8.8.

Extra information

Full Changelog: v0.8.5...v0.8.8