mirror of
https://github.com/arthurfiorette/axios-cache-interceptor.git
synced 2025-12-08 17:36:16 +00:00
49 KiB
49 KiB
Changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
Generated by auto-changelog.
v0.7.9
Merged
- chore(deps-dev): bump @typescript-eslint/eslint-plugin
#97
Commits
- deps: updated fast-defer
c6bec60 - docs: fixed badges links
37a37b7 - docs: updated docs
ec523e8 - feat: added many build options
232e9c5 - fix: verify built ecmascript versions with
es-check58b6b12 - refactor: prevent confusion by renaming
createCachetouseCache4a0a99f - test: added index.development tests
1e251dd
v0.7.8 - 2021-12-27
Commits
- chore: fixed prettier config
144d3ae - deps: removed unused dependency
1b1b93b - docs: updated badges
5e04e5c - perf: minified code bundled as ES6 because axios itself needs ES6
8cad803 - style: formatted code
27de629 - tag: v0.7.8
cd0c189
v0.7.7 - 2021-12-27
Merged
- chore(deps-dev): bump @types/node from 17.0.4 to 17.0.5
#94
Commits
- refactor: deprecated
useCachein favor ofcreateCache(#95)065b6ef - tag: v0.7.7
c611b42 - test: added one simple test
fec63a8
v0.7.6 - 2021-12-26
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-loader6e25ba6 - tag: v0.7.6
d6b2aff
v0.7.5 - 2021-12-13
Commits
- chore: allow ESNext at development
9044495 - docs: updated compiled-code section
f3bd30c - tag: v0.7.5
d3888fc
v0.7.4 - 2021-12-13
Commits
v0.7.3 - 2021-12-13
Commits
- chore: defined package.json browser field
3b40abd - deps: updated some dependencies
86a576d - deps: use
cache-parser6ce658b - refactor: better cache predicate function
a77cde7 - tag: v0.7.3
47beacc
v0.7.2 - 2021-12-11
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 - tag: v0.7.2
795d706
v0.7.1 - 2021-12-09
Commits
- tag: v0.7.1
27fdd84
v0.7.0 - 2021-12-09
Commits
- chore: CacheOptions at the top of the file
1615f28 - 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 default browserslist config
e9aeacc - 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
39777cc - tag: v0.7.0
9d0f429
v0.7.0-beta3 - 2021-12-08
Commits
- deps: moved
concurrentlyto dev dependenciesbdf5f0f - docs: updated badges
3c6e76f - docs: updated cdn links
3dc8b36 - tag: v0.7.0-beta3
3a2a163
v0.7.0-beta2 - 2021-12-08
Commits
v0.7.0-beta1 - 2021-12-08
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
tslibandtyped-corein favor offast-defer07ec645 - tag: v0.7.0-beta1
6a67d4c
v0.6.3 - 2021-12-02
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 - tag: v0.6.3
eeec119
v0.6.2 - 2021-11-23
Commits
v0.6.1 - 2021-11-23
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 - tag: v0.6.1
097a179
v0.6.0 - 2021-11-15
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 ofES20215970483 - style: prettier and changelog config changes
19d0e9b - tag: v0.6.0
bd98a16
v0.5.1 - 2021-11-05
Commits
v0.5.0 - 2021-10-28
Merged
- chore(deps-dev): bump @types/node from 16.11.4 to 16.11.6
#46
Commits
- deps: bump axios to v0.24
99906e5 - merge: merged code
312ff64 - merge: merged code
b3f832c - style: prettified code
0058cd5 - tag: v0.5.0
3ca29dc - tag: v0.5.0
a50c0b6
v0.4.1 - 2021-10-25
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-configb2ba65e - fix: fixed isCacheValid function and added tests
6e6100b - refactor: externalized cache eviction predicate
f141b2e - tag: v0.4.1
28e3392 - tag: v0.4.1
6ec1b57
v0.4.0 - 2021-10-12
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 - tag: v0.4.0
87880cf - tests: correct test name
49f80d7
v0.3.0 - 2021-10-09
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 - tag: v0.3.0
ca491d8
v0.2.8 - 2021-09-30
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
v0.2.7 - 2021-09-26
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 - tag: v0.2.7
bc1aa19
v0.2.6 - 2021-09-26
Commits
- ci: only run codeql when js files are changed
b861277 - refactor: use the same object for both properties
47349df - tag: v0.2.6
9c1f74f
v0.2.5 - 2021-09-23
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
v0.2.4 - 2021-09-21
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 - tag: v0.2.4
a9ad93d
v0.2.3 - 2021-09-21
Commits
v0.2.2 - 2021-09-20
Commits
- ci: codeql action
a71c16d - docs: initial docs
2d3cbda - docs: removed readme example dedicated file
1178fd4 - tag: v0.2.2
7e1134e
v0.2.1 - 2021-09-20
Commits
- chore: prettify script with plugins
c917f36 - chore: push git tag on
yarn versionec01751 - chore: removed filename in launch.json
eb868d4 - refactor: concurreny fixes and refactored deferred
70e5c07 - refactor: removed symbol support and more tests
5b6d14f - tag: v0.2.1
1099942
v0.2.0 - 2021-09-20
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
symbol38133a7 - style: prettified code
45630e3 - tag: v0.2.0
8228045 - tag: v0.2.0
3ae95cf
v0.1.3 - 2021-09-15
Commits
v0.1.2 - 2021-09-15
Commits
v0.1.1 - 2021-09-15
Commits
v0.1.0 - 2021-09-15
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
v0.0.6 - 2021-09-11
Commits
v0.0.5 - 2021-09-11
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
- chore: change built target to
ESNextc1242ac - chore: updated eslint rules
4825739 - dps: bump typescript@4.4.2 to typescript@4.4.3
b63e67b - feat: better cache predicate
892dab4 - fix: define an empty waiting object at creation
2c49a49 - refactor: axios.defaults.cache required
29d79d5 - refactor: eslint more strict and some minor refactors
d2c2a56 - refactor: externalized the header interceptor
ce2b7ec - refactor: moved all "utils" to one folder
211dd50 - refactor: save all deferred to
cache.waitinginstead of in the storageab051fc - Revert "tag: v0.0.6"
aa0f90e - style: prettified code
6ae6d8f - tag: v0.0.4
96bc45d - tag: v0.0.5 (4 was already used)
99f69ce - tag: v0.0.6
80c4220
v0.0.4 - 2021-09-08
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
v0.0.3 - 2021-09-01
Commits
v0.0.2 - 2021-09-01
Commits
- chore: added eslint
5a201e3 - docs: fix typo in examples
5d8b698 - docs: updated readme
4a88c32 - docs: updated readme again
c1a4144 - docs: warning for production usage
be210b2 - feat: cache working
9f6e1a4 - feat(WIP): structured code
5ee2b04 - fix: comments to outputs and removed # path alias
4592d18 - tag: v0.0.2
cc6332f