axios-cache-interceptor

📬 Small and efficient cache interceptor for axios. Etag, Cache-Control, TTL, HTTP headers and more!

MIT License

Downloads
528.7K
Stars
686
Committers
35

Bot releases are visible (Hide)

axios-cache-interceptor - v0.7.7

Published by arthurfiorette almost 3 years ago

Changes

  • Deprecated useCache in favor of createCache. See #95

Merged

  • chore(deps-dev): bump @types/node from 17.0.4 to 17.0.5 #94

Commits

  • refactor: deprecated useCache in favor of createCache (#95) 065b6ef
  • test: added one simple test fec63a8

Full Changelog: https://github.com/arthurfiorette/axios-cache-interceptor/compare/v0.7.6...v0.7.7

axios-cache-interceptor - v0.7.6

Published by arthurfiorette almost 3 years ago

Merged

  • chore(deps-dev): bump @types/node from 17.0.3 to 17.0.4 #92
  • chore(deps-dev): bump @types/node from 17.0.2 to 17.0.3 #91
  • chore(deps-dev): bump @typescript-eslint/parser from 5.7.0 to 5.8.0 #88
  • chore(deps-dev): bump @typescript-eslint/eslint-plugin #89
  • chore(deps-dev): bump @types/node from 17.0.1 to 17.0.2 #90
  • chore(deps-dev): bump @types/node from 17.0.0 to 17.0.1 #85
  • chore(deps-dev): bump concurrently from 6.4.0 to 6.5.1 #86
  • chore(deps-dev): bump eslint from 8.4.1 to 8.5.0 #87
  • chore(deps-dev): bump ts-jest from 27.1.1 to 27.1.2 #84
  • chore(deps-dev): bump @types/node from 16.11.13 to 17.0.0 #83
  • chore(deps-dev): bump @babel/preset-env from 7.16.4 to 7.16.5 #78
  • chore(deps-dev): bump @babel/runtime from 7.16.3 to 7.16.5 #75
  • chore(deps-dev): bump @babel/preset-typescript from 7.16.0 to 7.16.5 #76
  • chore(deps-dev): bump @babel/plugin-transform-runtime #77
  • chore(deps-dev): bump @babel/plugin-transform-modules-commonjs #79

Commits

  • chore: include runkit examples 4fc6825
  • deps: updated cache-parser 9a2e4bc
  • deps: updated some dependencies 0640141
  • perf: reduce bundle size and replaced babel by ts-loader 6e25ba6

Full Changelog: https://github.com/arthurfiorette/axios-cache-interceptor/compare/v0.7.5...v0.7.6

axios-cache-interceptor - v0.7.5

Published by arthurfiorette almost 3 years ago

Commits

  • chore: allow ESNext at development 9044495
  • docs: updated compiled-code section f3bd30c

Full Changelog: https://github.com/arthurfiorette/axios-cache-interceptor/compare/v0.7.4...v0.7.5

axios-cache-interceptor - v0.7.4

Published by arthurfiorette almost 3 years ago

This version fixes the (0.7.1-0.7.3) regeneratorRuntime problem.

Commits

  • chore: removed babel for node usage 6ad7cfe
  • docs: added runkit example 39520fa

Full Changelog: https://github.com/arthurfiorette/axios-cache-interceptor/compare/v0.7.3...v0.7.4

axios-cache-interceptor - v0.7.3

Published by arthurfiorette almost 3 years ago

Commits

  • chore: defined package.json browser field 3b40abd
  • deps: updated some dependencies 86a576d
  • deps: use cache-parser 6ce658b
  • refactor: better cache predicate function a77cde7

Full Changelog: https://github.com/arthurfiorette/axios-cache-interceptor/compare/v0.7.2...v0.7.3

axios-cache-interceptor - v0.7.2

Published by arthurfiorette almost 3 years ago

Commits

  • chore: fixed typescript build ef94c70
  • chore: minor config changes d00b607
  • chore: use default webpack-terser-plugin 2d157c8
  • deps: updated dev dependencies b8623b6
  • refactor: externalized createCacheData function c3a0fea
  • refactor: made some methods static and public b4ad24d
  • style: fixed prettier plugin order 6929b02

Full Changelog: https://github.com/arthurfiorette/axios-cache-interceptor/compare/v0.7.1...v0.7.2

axios-cache-interceptor - v0.7.1

Published by arthurfiorette almost 3 years ago

Same as v0.7.0. Because the npm version bugged.

Commits

Full Changelog: https://github.com/arthurfiorette/axios-cache-interceptor/compare/v0.7.0...v0.7.1

axios-cache-interceptor - v0.7.0

Published by arthurfiorette almost 3 years ago

Important and non-breaking changes

Commits

  • chore: correct babel filename 5d77ef1
  • chore: don't transpile node_modules 05aadff
  • chore: good times :) 1a5fdf9
  • chore: removed babel runtime usage d2a6fed
  • chore: transpile @tusbar/cache-control and correct babel config 32afef4
  • chore!: use google browserlist config 1fc3552
  • deps: added missing explicit dependency 4fa9bc9
  • docs: updated badges 3ebe9e5
  • docs: updated readme badges f7f9033
  • refactor: bundle does not export everything that index has 488cd49
  • style: formatted code 964f7b0
  • tag: v0.7.0 9d0f429

Full Changelog: https://github.com/arthurfiorette/axios-cache-interceptor/compare/v0.6.3...v0.7.0

axios-cache-interceptor - v0.7.0-beta3

Published by arthurfiorette almost 3 years ago

Commits

  • deps: moved concurrently to dev dependencies bdf5f0f
  • docs: updated badges 3c6e76f
  • docs: updated cdn links 3dc8b36

Full Changelog: https://github.com/arthurfiorette/axios-cache-interceptor/compare/v0.6.3...v0.7.0-beta3

axios-cache-interceptor - v0.7.0-beta2

Published by arthurfiorette almost 3 years ago

Commits

  • fix: fixed package.json bundle index name ae77e6a

Full Changelog: https://github.com/arthurfiorette/axios-cache-interceptor/compare/v0.6.3...v0.7.0-beta2

axios-cache-interceptor - v0.7.0-beta1

Published by arthurfiorette almost 3 years ago

Merged

  • chore(deps-dev): bump @typescript-eslint/parser from 5.5.0 to 5.6.0 #69
  • chore(deps-dev): bump eslint from 8.4.0 to 8.4.1 #70
  • chore(deps-dev): bump @typescript-eslint/eslint-plugin #71
  • chore(deps-dev): bump @types/node from 16.11.11 to 16.11.12 #72
  • chore(deps-dev): bump eslint from 8.3.0 to 8.4.0 #66
  • chore(deps-dev): bump prettier from 2.5.0 to 2.5.1 #68
  • chore(deps-dev): bump ts-jest from 27.0.7 to 27.1.0 #67

Commits

  • deps: updated ts-jest 704be77
  • feat: added web bundle and babel 78cf406
  • feat!: removed createCache function 60ad91e
  • fix: fixed tests b9b4f79
  • perf: removed tslib and typed-core in favor of fast-defer 07ec645

Full Changelog: https://github.com/arthurfiorette/axios-cache-interceptor/compare/v0.6.3...v0.7.0-beta1

axios-cache-interceptor - v0.6.3

Published by arthurfiorette almost 3 years ago

Merged

  • chore(deps-dev): bump jest from 27.4.2 to 27.4.3 #65
  • chore(deps-dev): bump @types/node from 16.11.10 to 16.11.11 #61
  • chore(deps): bump @tusbar/cache-control from 0.6.0 to 0.6.1 #60
  • chore(deps-dev): bump @typescript-eslint/parser from 5.4.0 to 5.5.0 #62
  • chore(deps-dev): bump @typescript-eslint/eslint-plugin #63
  • chore(deps-dev): bump jest from 27.4.0 to 27.4.2 #64
  • chore(deps-dev): bump @types/node from 16.11.9 to 16.11.10 #58
  • chore(deps-dev): bump prettier from 2.4.1 to 2.5.0 #59

Commits

  • chore: use tslib to optimize builds 8610d6a
  • deps: updated dependencies 8070e2f
  • deps: updated yarn.lock 3f8bd14
axios-cache-interceptor - v0.6.2

Published by arthurfiorette almost 3 years ago

Commits

  • fix: removed old types folder mention 30d1268

Full Changelog: https://github.com/arthurfiorette/axios-cache-interceptor/compare/v0.6.1...v0.6.2

axios-cache-interceptor - v0.6.1

Published by arthurfiorette almost 3 years ago

Merged

  • chore(deps-dev): bump @types/node from 16.11.8 to 16.11.9 #57
  • chore(deps-dev): bump @types/jest from 27.0.2 to 27.0.3 #56
  • chore(deps-dev): bump @types/node from 16.11.7 to 16.11.8 #55
  • chore(deps-dev): bump typescript from 4.4.4 to 4.5.2 #54

Commits

  • build: emit declaration in dist folder e2de928
  • docs: removed readme duplicated title 1e1627b

Full Changelog: https://github.com/arthurfiorette/axios-cache-interceptor/compare/v0.6.0...v0.6.1

axios-cache-interceptor - v0.6.0

Published by arthurfiorette almost 3 years ago

Special thanks to @Cactusbone

Merged

  • feat: etag and if-modified-since support #53
  • feat: storage abstractions #52
  • feat: more headers supports, tests and must-revalidate fix #51
  • chore(deps-dev): bump @types/node from 16.11.6 to 16.11.7 #48
  • chore(deps-dev): bump prettier-plugin-jsdoc from 0.3.24 to 0.3.30 #47

Commits

  • feat: immutable cache support 76a8af7
  • fix: compile to ES2020, instead of ES2021 5970483
  • style: prettier and changelog config changes 19d0e9b

Full Changelog: https://github.com/arthurfiorette/axios-cache-interceptor/compare/v0.5.1...v0.6.0

axios-cache-interceptor - v0.5.1

Published by arthurfiorette almost 3 years ago

Commits

  • refactor: better typings for axios 0.24 bf891bd

Full Changelog: https://github.com/arthurfiorette/axios-cache-interceptor/compare/v0.5.0...v0.5.1

axios-cache-interceptor - v0.5.0

Published by arthurfiorette almost 3 years ago

Merged

  • chore(deps-dev): bump @types/node from 16.11.4 to 16.11.6 #46

Commits

axios-cache-interceptor - v0.4.1

Published by arthurfiorette almost 3 years ago

Merged

  • chore(deps-dev): bump @types/node from 16.11.3 to 16.11.4 #44
  • chore(deps-dev): bump @types/node from 16.11.1 to 16.11.3 #43
  • chore(deps-dev): bump jest from 27.2.5 to 27.3.1 #42
  • chore(deps-dev): bump ts-jest from 27.0.6 to 27.0.7 #40
  • chore(deps-dev): bump @types/node from 16.11.0 to 16.11.1 #39
  • chore(deps-dev): bump @types/node from 16.10.9 to 16.11.0 #37
  • chore(deps-dev): bump ts-jest from 27.0.5 to 27.0.6 #38
  • chore(deps-dev): bump @types/node from 16.10.3 to 16.10.9 #36
  • chore(deps-dev): bump typescript from 4.4.3 to 4.4.4 #34

Commits

  • build: emit consistent javascript bundles with ES2021 cc23204
  • build: separate code and types build folder ede19c1
  • deps: latest @arthurfiorette/prettier-config b2ba65e
  • fix: fixed isCacheValid function and added tests 6e6100b
  • refactor: externalized cache eviction predicate f141b2e
  • tag: v0.4.1 6ec1b57

Full Changelog: https://github.com/ArthurFiorette/axios-cache-interceptor/compare/v0.4.0...v0.4.1

axios-cache-interceptor - v0.4.0

Published by arthurfiorette about 3 years ago

Merged

  • chore(deps-dev): bump jest from 27.2.4 to 27.2.5 #33

Commits

  • docs: correct suported axios version 6b790af
  • docs: updated documentation 9b9827c
  • docs: updated minimal example dd1fa41
  • docs: updated readme 4c757d3
  • docs: updated readme 861567a
  • feat: preserve response status codes and use response.cached 75deccf
  • feat!: updated axios to v0.22.0 1713bb0
  • fix: generic spaghetti that axios brought 12a5032
  • fix: response and request types 891f1d0
  • merge: yarn.lock 03c4fba
  • refactor: cacheUpdater as generic function 2fa2557
  • refactor: eslint more strict 0605ad8
  • refactor: more type and naming refactors b42d3f1
  • style: indented tsconfig comments 65cec04
  • style: prettified code 3ed92c8
  • tests: correct test name 49f80d7

Full Changelog: https://github.com/arthurfiorette/axios-cache-interceptor/compare/v0.3.0...v0.4.0

axios-cache-interceptor - v0.3.0

Published by arthurfiorette about 3 years ago

Merged

  • chore(deps-dev): bump @types/node from 16.10.2 to 16.10.3 #32
  • chore(deps-dev): bump @typescript-eslint/eslint-plugin #30
  • chore(deps-dev): bump @typescript-eslint/parser from 4.32.0 to 4.33.0 #31

Commits

  • deps: updated yarn.lock 1489a7c
  • deps!: updated axios to v0.22 ebe313f
  • docs: correct tag names d961485
  • docs: table of contents 6fa0e7b
  • fix: axios package also as dev deps 12c207d
  • fix: removed implict never 52689e2
  • style: prettified code 50de35d