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 hidden (Show)

axios-cache-interceptor - v0.2.8

Published by arthurfiorette about 3 years ago

Merged

  • chore(deps-dev): bump jest from 27.2.3 to 27.2.4 #27
  • chore(deps-dev): bump @types/node from 16.10.1 to 16.10.2 #28
  • chore(deps-dev): bump jest from 27.2.2 to 27.2.3 #26
  • chore(deps-dev): bump @typescript-eslint/parser from 4.31.2 to 4.32.0 #25
  • chore(deps-dev): bump @typescript-eslint/eslint-plugin #24
  • chore(deps-dev): bump jest from 27.2.1 to 27.2.2 #23
  • chore(deps-dev): bump @types/node from 16.9.6 to 16.10.1 #22

Commits

  • fix: delete waiting object after resolving it 7d5257e
  • tag: v0.2.9 b7794d5 (Tagged wrongly 😂)
axios-cache-interceptor - v0.2.7

Published by arthurfiorette about 3 years ago

Commits

  • chore: updated tsconfig 9ea72dc
  • fix: force import type to help compilation tools f8adcc4
  • refactor: removed double if 9d33ad6
  • refactor: renamed interceptor apply method c70bf3a
  • refactor: use for in instead of Object.entries 5b9847d
axios-cache-interceptor - v0.2.6

Published by arthurfiorette about 3 years ago

Commits

  • ci: only run codeql when js files are changed b861277
  • refactor: use the same object for both properties 47349df
axios-cache-interceptor - v0.2.5

Published by arthurfiorette about 3 years ago

Merged

  • chore(deps-dev): bump prettier-plugin-organize-imports #21
  • chore(deps): bump ansi-regex from 5.0.0 to 5.0.1 #20
  • chore(deps-dev): bump @types/node from 16.9.4 to 16.9.6 #19

Commits

  • docs: ttl overriding info 2b5ff84
axios-cache-interceptor - v0.2.4

Published by arthurfiorette about 3 years ago

Merged

  • chore(deps-dev): bump @typescript-eslint/eslint-plugin #16
  • chore(deps-dev): bump @typescript-eslint/parser from 4.31.1 to 4.31.2 #18
  • chore(deps-dev): bump jest from 27.2.0 to 27.2.1 #17
  • chore(deps-dev): bump @types/jest from 27.0.1 to 27.0.2 #15

Commits

  • deps: updated package.json dependencies 01090bc
  • docs: removed instable warning 35ca874
  • docs: updated docs 07731e4
  • style: updated prettier config d96a9dc
axios-cache-interceptor - v0.2.3

Published by arthurfiorette about 3 years ago

Commits

  • refactor!: updated all exports 33b8dcd
axios-cache-interceptor - v0.2.2

Published by arthurfiorette about 3 years ago

Commits

  • ci: codeql action a71c16d
  • docs: initial docs 2d3cbda
  • docs: removed readme example dedicated file 1178fd4
axios-cache-interceptor - v0.2.1

Published by arthurfiorette about 3 years ago

Commits

  • chore: prettify script with plugins c917f36
  • chore: push git tag on yarn version ec01751
  • chore: removed filename in launch.json eb868d4
  • refactor: concurreny fixes and refactored deferred 70e5c07
  • refactor: removed symbol support and more tests 5b6d14f
axios-cache-interceptor - v0.2.0

Published by arthurfiorette about 3 years ago

Merged

  • chore(deps-dev): bump @types/node from 16.9.2 to 16.9.4 #14
  • chore(deps-dev): bump @types/node from 16.9.1 to 16.9.2 #13
  • chore(deps-dev): bump prettier from 2.4.0 to 2.4.1 #12

Commits

  • chore: changelog generation 4363f65
  • feat: enable cache by creating or applying f4bbd8b
  • fix: a bunch of tests 6075a0a
  • fix: axios headers are lowercased 1f88779
  • fix: concurrent requests not beeing cached 1490bfc
  • refactor: interceptors in classes f1033a5
  • refactor: renamed status constants 6e61c0d
  • refactor: requests ids can also be symbol 38133a7
  • style: prettified code 45630e3
  • tag: v0.2.0 3ae95cf
axios-cache-interceptor - v0.1.3

Published by arthurfiorette about 3 years ago

Commits

  • feat: use cache: false to ignore caching 4ad803e
  • tag: v0.1.3 60d7ae1
axios-cache-interceptor - v0.1.2

Published by arthurfiorette about 3 years ago

Commits

  • fix: prevented bugs with the start of id being ::id c4a2dc3
  • tag: 0.1.2 0777874
axios-cache-interceptor - v0.1.1

Published by arthurfiorette about 3 years ago

Released to fix npm publish error

Commits

axios-cache-interceptor - v0.1.0

Published by arthurfiorette about 3 years ago

Merged

  • chore(deps-dev): bump @typescript-eslint/parser from 4.31.0 to 4.31.1 #11
  • chore(deps-dev): bump @typescript-eslint/eslint-plugin #10

Commits

  • chore: removed unused methods from memory storage 5ddf9ed
  • chore: vscode tests debug b5c5905
  • ci: added main ci to lint and test code c48769a
  • ci: updated ci to support better caching 1c442ce
  • docs: changed # to h1 3f0e022
  • docs: fixed project name 🤣 6972069
  • docs: updated codecov badge token b45fd54
  • docs: updated readme d8afd8a
  • feat: interpreter also handles Expires header (and tests) 288c118
  • fix: fixed a log of bugs and added unit tests 2bbc9cb
  • refactor: init request and response tests 84dc522
  • refactor: more tests and fixes ee36bd5
  • refactor: ttl and createdAt instead of maxAge and storage takes care of staled entries be5ee1e
  • refactor: use generics on responseMatch 1c10b41
  • tag: v0.1.0 6d5bcf3
  • tests: added cache predicate tests bb552c8
  • tests: added deferred tests d09b3ad
  • tests: added key generator tests 7975c58
axios-cache-interceptor - v0.0.6

Published by arthurfiorette about 3 years ago

Commits

Full Changelog: https://github.com/ArthurFiorette/axios-cache-interceptor/compare/v0.0.5...v0.0.6

axios-cache-interceptor - v0.0.5

Published by arthurfiorette about 3 years ago

This reverts commit 80c4220ae3302b39742ab3d153904b6bb8c6134d.

Merged

  • chore(deps-dev): bump prettier from 2.3.2 to 2.4.0 #9
  • chore(deps-dev): bump @types/node from 16.7.13 to 16.9.1 #8

Commits

What's Changed

Full Changelog: https://github.com/ArthurFiorette/axios-cache-interceptor/compare/v0.0.4...v0.0.5

axios-cache-interceptor - v0.0.4

Published by arthurfiorette about 3 years ago

Merged

  • chore(deps-dev): bump axios from 0.21.1 to 0.21.4 #5
  • chore(deps-dev): bump @typescript-eslint/parser from 4.30.0 to 4.31.0 #4
  • chore(deps-dev): bump @types/node from 16.7.10 to 16.7.13 #6
  • chore(deps-dev): bump @typescript-eslint/eslint-plugin #3
  • chore(deps-dev): bump prettier-plugin-jsdoc from 0.3.23 to 0.3.24 #1

Commits

  • chore: include eslint files on package 0e88571
  • docs: npm badge a43dfab
  • docs: updated author and readme 3465bc3
  • docs: updated readme 33f7385
  • style: use @arthurfiorette/prettier-config dc56085

What's Changed

Full Changelog: https://github.com/ArthurFiorette/axios-cache-interceptor/compare/v0.0.3...v0.0.4

axios-cache-interceptor - v0.0.3

Published by arthurfiorette about 3 years ago

axios-cache-interceptor - v0.0.2

Published by arthurfiorette about 3 years ago

Commits

Full Changelog: https://github.com/ArthurFiorette/axios-cache-interceptor/compare/v0.0.1...v0.0.2

axios-cache-interceptor - v0.0.1

Published by arthurfiorette about 3 years ago

Just to claim the npm pacakge name

Commits

Full Changelog: https://github.com/ArthurFiorette/axios-cache-interceptor/commits/v0.0.1