Releases: arthurfiorette/axios-cache-interceptor
Releases · arthurfiorette/axios-cache-interceptor
v1.3.2
Important Changes
- Updated dependencies
- Fixed
override
andhydrate
when applied globally (#694) - Fixed flaky tests
Full Changelog: v1.3.1...v1.3.2
v1.3.1
Important Changes
- Fixed deadlocks when concurrent rejections happens for the same id in #685.
- Support for AxiosErrors without config property
- Debug option is now required and defaults to a noop function.
- Updated documentation
- JSDoc compliant bundle license
New Contributors
- @super-ppx made their first contribution in #684
Full Changelog: v1.3.0...v1.3.1
v1.3.0
Important Changes
- Updated documentation in many ways.
- Added
cloneData: 'double'
to prevent property changes before cloning the result. Thanks @bhallionOhbibi (#581) - Correct handle non Axios response/config to avoid breaking cache when other interceptors break (#609)
- Turned most types into interfaces. Thanks @denis-rossati (#615)
- Handle broken/recursive object serializations. Thanks @joseiedo (#616)
- Fixed infinite loading states when a restart occurs in the middle of a request. Thanks @xml (#612)
New Contributors
- @fjeldstad made their first contribution in #561
- @tupe12334 made their first contribution in #571
- @bhallionOhbibi made their first contribution in #581
- @Marcellofabrizio made their first contribution in #591
- @denis-rossati made their first contribution in #615
Full Changelog: v1.2.0...v1.3.0
v1.2.0
Important Changes
- Updated cachePredicate documentation. (Thanks @subhradeepnag).
- Updated axios version to 1.4.0 and other dependencies (7e5ca7e)
- Fixed cachePredicate tests (7e5ca7e)
- Added support for
max-stale
ondefaultHeaderInterpreter
(683dbe0) ⚠️ FixedcanStale
check forttl
andstaleTtl
(82182bf), previously a lot of cache was being evicted wrongly and more network requests were being made.
New Contributors
- @subhradeepnag made their first contribution in #547
Full Changelog: v1.1.1...v1.1.2
v1.1.1
Important Changes
- Fixed only allow pnpm (#541)
- Improved docs on others storages implementation (#540)
- Fixed flaky network test
- Updated
headerInterpreter
documentation, thanks @afurculita (#542) - Added maxEntries for web storage (#539)
New Contributors
- @afurculita made their first contribution in #542
Full Changelog: v1.1.0...v1.1.1
v1.1.0
Important Changes
- Added hydrate option. (384c6b5)
staleIfError
usingstale-if-error
directive (#506) (Thanks @gmazoni)- Moved to pnpm. (34842d4)
- Support
stale-while-revalidate
(#514) (Suuuper thanks @richardgarnier) cachePredicate
following RFC 7231 (174ea35)cleanupInterval
on memory storage to avoid memory leaks (72de39c)- Updated to typescript@5 (f29dc40)
v1.0.1
Important Changes
- Documentation improved & added Algolia search.
- Avoid storage calls if method is not supported by #464 (Thanks @CatchABus).
- Axios headers problem fixed.
- Double registration check.
- Working for axios
^v1.3.1
What's Changed
- chore(deps-dev): bump @typescript-eslint/eslint-plugin from 5.47.0 to 5.47.1 by @dependabot in #439
- chore(deps-dev): bump @typescript-eslint/parser from 5.47.0 to 5.47.1 by @dependabot in #438
- chore(deps-dev): bump @types/jest from 29.2.4 to 29.2.5 by @dependabot in #442
- chore(deps-dev): bump eslint from 8.30.0 to 8.31.0 by @dependabot in #444
- chore(deps-dev): bump @typescript-eslint/eslint-plugin from 5.47.1 to 5.48.0 by @dependabot in #447
- chore(deps-dev): bump @typescript-eslint/parser from 5.47.1 to 5.48.0 by @dependabot in #448
- typo by @pvinis in #446
- chore(deps-dev): bump vitepress from 1.0.0-alpha.33 to 1.0.0-alpha.34 by @dependabot in #443
- chore(deps): bump json5 from 2.2.1 to 2.2.3 by @dependabot in #445
- chore(deps-dev): bump vitepress from 1.0.0-alpha.34 to 1.0.0-alpha.35 by @dependabot in #450
- chore(deps-dev): bump eslint-config-prettier from 8.5.0 to 8.6.0 by @dependabot in #451
- chore(deps-dev): bump @typescript-eslint/parser from 5.48.0 to 5.48.1 by @dependabot in #455
- chore(deps-dev): bump @typescript-eslint/eslint-plugin from 5.48.0 to 5.48.1 by @dependabot in #454
- chore(deps-dev): bump ts-jest from 29.0.3 to 29.0.4 by @dependabot in #458
- chore(deps-dev): bump vitepress from 1.0.0-alpha.35 to 1.0.0-alpha.36 by @dependabot in #457
- chore(deps-dev): bump ts-jest from 29.0.4 to 29.0.5 by @dependabot in #461
- chore(deps-dev): bump prettier-plugin-organize-imports from 3.2.1 to 3.2.2 by @dependabot in #462
- chore(deps-dev): bump @typescript-eslint/parser from 5.48.1 to 5.48.2 by @dependabot in #465
- chore(deps-dev): bump eslint from 8.31.0 to 8.32.0 by @dependabot in #463
- chore(deps-dev): bump @typescript-eslint/eslint-plugin from 5.48.1 to 5.48.2 by @dependabot in #466
- chore(deps-dev): bump prettier from 2.8.1 to 2.8.3 by @dependabot in #460
- chore(deps-dev): bump vitepress from 1.0.0-alpha.36 to 1.0.0-alpha.38 by @dependabot in #467
- fix: Prevent response storage calls if method is not supported by @CatchABus in #464
- chore(deps-dev): bump @types/jest from 29.2.5 to 29.2.6 by @dependabot in #468
- chore(deps-dev): bump vitepress from 1.0.0-alpha.38 to 1.0.0-alpha.40 by @dependabot in #470
- chore(deps-dev): bump @typescript-eslint/parser from 5.48.2 to 5.49.0 by @dependabot in #472
- chore(deps-dev): bump @typescript-eslint/eslint-plugin from 5.48.2 to 5.49.0 by @dependabot in #473
- chore(deps-dev): bump jest-environment-jsdom from 29.3.1 to 29.4.0 by @dependabot in #474
- chore(deps-dev): bump jest from 29.3.1 to 29.4.0 by @dependabot in #475
- chore(deps-dev): bump es-check from 7.0.1 to 7.1.0 by @dependabot in #476
- chore(deps-dev): bump jest-environment-jsdom from 29.4.0 to 29.4.1 by @dependabot in #478
- chore(deps-dev): bump jest from 29.4.0 to 29.4.1 by @dependabot in #479
- chore(deps-dev): bump tslib from 2.4.1 to 2.5.0 by @dependabot in #477
- chore(deps-dev): bump vitepress from 1.0.0-alpha.40 to 1.0.0-alpha.43 by @dependabot in #481
- chore(deps-dev): bump eslint from 8.32.0 to 8.33.0 by @dependabot in #482
- Update getting-started.md - typo by @jordan-schnur in #483
- chore(deps-dev): bump vitepress from 1.0.0-alpha.43 to 1.0.0-alpha.44 by @dependabot in #484
- chore(deps-dev): bump typescript from 4.9.4 to 4.9.5 by @dependabot in #485
- chore(deps-dev): bump vitepress from 1.0.0-alpha.44 to 1.0.0-alpha.45 by @dependabot in #489
- chore(deps-dev): bump @typescript-eslint/eslint-plugin from 5.49.0 to 5.50.0 by @dependabot in #486
- chore(deps-dev): bump @typescript-eslint/parser from 5.49.0 to 5.50.0 by @dependabot in #488
New Contributors
- @pvinis made their first contribution in #446
- @jordan-schnur made their first contribution in #483
Full Changelog: v1.0.0...v1.0.1
v1.0.0
Important Changes
- Official axios v1 support (#368)
- Documentation ported to vitepress (#403)
- Default prefix parameter for web storages (#425)
- Added
cacheTakeover
option to prevent browser cache layers (#437) - Fixed ESM typings (#430)
- Minimum node version is now 12.0.0 (#397)
- Fixed request abortion (#317)
This release was only made possible by
- Cain @cainthebest
- Dimitris-Rafail Katsampas @CatchABus
- Dale Ryan @lnfel
- Yannick Laubscher @Snotax
- Mike Raistrick @raistrick
- Samuele Caprioli @SamueleCaprioli97
Merged
- docs: Fix request-id.md docs
#429
- chore: default prefix parameter for web storage
#425
- Axios cache interceptor v1 roadmap
#368
Commits
- chore: automerge dependabot prs
9c90644
- chore: avoid github activity
0e97446
- chore: axios as a peer dependency
9683de5
- chore: docs versioning nav
13529b9
- chore: fixed dependabot automerge
1c024f4
- chore: re-added dev web bundle
9780d13
- docs: improved features
79ac027
- docs: spelling
db41b7c
- docs: update navbar again
b6b9fc9
- docs: updated version
232bb7d
- docs: version selector
b4ab156
- feat: add ecompatible node version to engines
5562819
- feat: cache takeover #437
7d82c5a
- feat: MIT copyright notice on bundle
f842c36
- fix: action to deploy docs
64222ec
- fix: correct skypack download url
c7b6604
- fix: docs versioning
09a0082
- fix: removed check for non existent file
04d95f4
- fix: types not available on esm packaging #430
00fdff0
- refactor: dependencies, lint and null assertions
67819a3
- test: added #317 test
491fb01
Full Changelog: v0.10.7...v1.0.0
v0.10.7
Important Changes
- You can now use a custom function instead of having to use a cache updater function for each request id. (Thanks @nolde) (#304).
Merged
- feat: cache updater function for multiple keys.
#304
- chore(deps-dev): bump @typescript-eslint/eslint-plugin
#307
- chore(deps-dev): bump @typescript-eslint/parser from 5.30.7 to 5.31.0
#306
- chore(deps-dev): bump webpack from 5.73.0 to 5.74.0
#305
- chore(deps): bump terser from 5.12.1 to 5.14.2
#302
- chore(deps-dev): bump es-check from 6.2.1 to 7.0.0
#303
- chore(deps-dev): bump @typescript-eslint/eslint-plugin
#300
- chore(deps-dev): bump @typescript-eslint/parser from 5.30.6 to 5.30.7
#301
- chore(deps-dev): bump @types/jest from 28.1.5 to 28.1.6
#298
- chore(deps-dev): bump eslint from 8.19.0 to 8.20.0
#297
- chore(deps-dev): bump ts-jest from 28.0.5 to 28.0.7
#299
- chore(deps-dev): bump jest-environment-jsdom from 28.1.2 to 28.1.3
#295
- chore(deps-dev): bump jest from 28.1.2 to 28.1.3
#294
- chore(deps-dev): bump @types/jest from 28.1.4 to 28.1.5
#293
- chore(deps-dev): bump @typescript-eslint/eslint-plugin
#292
- chore(deps-dev): bump @typescript-eslint/parser from 5.30.5 to 5.30.6
#291
- chore(deps-dev): bump @typescript-eslint/parser from 5.30.4 to 5.30.5
#289
- chore(deps-dev): bump @typescript-eslint/eslint-plugin
#290
- chore(deps-dev): bump @typescript-eslint/eslint-plugin
#288
- chore(deps-dev): bump eslint from 8.18.0 to 8.19.0
#287
- chore(deps-dev): bump @typescript-eslint/parser from 5.30.0 to 5.30.4
#286
- chore(deps-dev): bump @types/jest from 28.1.3 to 28.1.4
#285
- chore(deps-dev): bump eslint-plugin-prettier from 4.1.0 to 4.2.1
#284
Commits
- docs: updated version
c733dbd
Full Changelog: v0.10.6...v0.10.7
v0.10.6
Important Changes
- Fixed cache.update function not executing on ignored requests. (#279) (Thanks @ParsonsProjects)
Merged
- fix: cache update not being executed correctly
#283
- chore(deps-dev): bump @typescript-eslint/parser from 5.29.0 to 5.30.0
#282
- chore(deps-dev): bump eslint-plugin-prettier from 4.0.0 to 4.1.0
#280
- chore(deps-dev): bump @typescript-eslint/eslint-plugin
#281
- chore(deps-dev): bump ts-loader from 9.3.0 to 9.3.1
#278
- chore(deps-dev): bump @types/jest from 28.1.2 to 28.1.3
#276
- chore(deps-dev): bump @typescript-eslint/eslint-plugin
#275
- chore(deps-dev): bump @typescript-eslint/parser from 5.28.0 to 5.29.0
#274
- chore(deps-dev): bump eslint from 8.17.0 to 8.18.0
#271
- chore(deps-dev): bump typescript from 4.7.3 to 4.7.4
#272
- chore(deps-dev): bump @types/jest from 28.1.1 to 28.1.2
#273
- chore(deps-dev): bump prettier-plugin-organize-imports
#270
- chore(deps-dev): bump prettier from 2.7.0 to 2.7.1
#269
- chore(deps-dev): bump @typescript-eslint/parser from 5.27.1 to 5.28.0
#266
- chore(deps-dev): bump ts-jest from 28.0.4 to 28.0.5
#265
- chore(deps-dev): bump @typescript-eslint/eslint-plugin
#268
- chore(deps-dev): bump prettier from 2.6.2 to 2.7.0
#267
- chore(deps-dev): bump webpack-cli from 4.9.2 to 4.10.0
#264
Commits
Full Changelog: v0.10.5...v0.10.6