-
-
Notifications
You must be signed in to change notification settings - Fork 59
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4363f65
commit 8228045
Showing
1 changed file
with
160 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,160 @@ | ||
# Changelog | ||
|
||
All notable changes to this project will be documented in this file. | ||
|
||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) | ||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). | ||
|
||
Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog). | ||
|
||
## [v0.2.0](https://github.com/ArthurFiorette/axios-cache-interceptor/compare/v0.1.3...v0.2.0) | ||
|
||
### Merged | ||
|
||
- chore(deps-dev): bump @types/node from 16.9.2 to 16.9.4 [`#14`](https://github.com/ArthurFiorette/axios-cache-interceptor/pull/14) | ||
- chore(deps-dev): bump @types/node from 16.9.1 to 16.9.2 [`#13`](https://github.com/ArthurFiorette/axios-cache-interceptor/pull/13) | ||
- chore(deps-dev): bump prettier from 2.4.0 to 2.4.1 [`#12`](https://github.com/ArthurFiorette/axios-cache-interceptor/pull/12) | ||
|
||
### Commits | ||
|
||
- chore: changelog generation [`4363f65`](https://github.com/ArthurFiorette/axios-cache-interceptor/commit/4363f6542019581525fb17c4b81ae27406c67364) | ||
- feat: enable cache by creating or applying [`f4bbd8b`](https://github.com/ArthurFiorette/axios-cache-interceptor/commit/f4bbd8b83210eb95156975562dab99459e87c2e4) | ||
- fix: a bunch of tests [`6075a0a`](https://github.com/ArthurFiorette/axios-cache-interceptor/commit/6075a0a960912d70775442bf01ae80de1b4f3d9d) | ||
- fix: axios headers are lowercased [`1f88779`](https://github.com/ArthurFiorette/axios-cache-interceptor/commit/1f88779e4617f58a86d9bb143eea842f927cf9b5) | ||
- fix: concurrent requests not beeing cached [`1490bfc`](https://github.com/ArthurFiorette/axios-cache-interceptor/commit/1490bfc30b966b24d4ceaf51f168cf8f13e77a7c) | ||
- refactor: interceptors in classes [`f1033a5`](https://github.com/ArthurFiorette/axios-cache-interceptor/commit/f1033a59596d210cf14d227b198f068791c6322c) | ||
- refactor: renamed status constants [`6e61c0d`](https://github.com/ArthurFiorette/axios-cache-interceptor/commit/6e61c0d5dbdf87c8fda08fe916ae2704e0f59ae0) | ||
- refactor: requests ids can also be `symbol` [`38133a7`](https://github.com/ArthurFiorette/axios-cache-interceptor/commit/38133a7624f2089de08314f761476419b0046dfe) | ||
- style: prettified code [`45630e3`](https://github.com/ArthurFiorette/axios-cache-interceptor/commit/45630e38376961ef7bf30d60e823accee4c15a84) | ||
- tag: v0.2.0 [`3ae95cf`](https://github.com/ArthurFiorette/axios-cache-interceptor/commit/3ae95cfc2da071f84551eb873320f0974823dd46) | ||
|
||
## [v0.1.3](https://github.com/ArthurFiorette/axios-cache-interceptor/compare/v0.1.2...v0.1.3) - 2021-09-15 | ||
|
||
### Commits | ||
|
||
- feat: use `cache: false` to ignore caching [`4ad803e`](https://github.com/ArthurFiorette/axios-cache-interceptor/commit/4ad803ec0b03f4158219be555ab907df26a215ec) | ||
- tag: v0.1.3 [`60d7ae1`](https://github.com/ArthurFiorette/axios-cache-interceptor/commit/60d7ae1bc9fdf1bdf3e6462049d89a1c9e1ae81a) | ||
|
||
## [v0.1.2](https://github.com/ArthurFiorette/axios-cache-interceptor/compare/v0.1.1...v0.1.2) - 2021-09-15 | ||
|
||
### Commits | ||
|
||
- fix: prevented bugs with the start of id being `::id` [`c4a2dc3`](https://github.com/ArthurFiorette/axios-cache-interceptor/commit/c4a2dc35b1a9d9d7fa641c8be0f488cd00e334d2) | ||
- tag: 0.1.2 [`0777874`](https://github.com/ArthurFiorette/axios-cache-interceptor/commit/077787424c744cf648d4ebf7988ceddb03234b82) | ||
|
||
## [v0.1.1](https://github.com/ArthurFiorette/axios-cache-interceptor/compare/v0.1.0...v0.1.1) - 2021-09-15 | ||
|
||
### Commits | ||
|
||
- ci: fix npm registry url [`6056683`](https://github.com/ArthurFiorette/axios-cache-interceptor/commit/605668391ab4d85f3273905c62ef83e69e368c35) | ||
- tag: v0.1.1 [`ba97a0b`](https://github.com/ArthurFiorette/axios-cache-interceptor/commit/ba97a0be19aa6a0fb57c64e4fa9844991a7a1af5) | ||
|
||
## [v0.1.0](https://github.com/ArthurFiorette/axios-cache-interceptor/compare/v0.0.6...v0.1.0) - 2021-09-15 | ||
|
||
### Merged | ||
|
||
- chore(deps-dev): bump @typescript-eslint/parser from 4.31.0 to 4.31.1 [`#11`](https://github.com/ArthurFiorette/axios-cache-interceptor/pull/11) | ||
- chore(deps-dev): bump @typescript-eslint/eslint-plugin [`#10`](https://github.com/ArthurFiorette/axios-cache-interceptor/pull/10) | ||
|
||
### Commits | ||
|
||
- chore: removed unused methods from memory storage [`5ddf9ed`](https://github.com/ArthurFiorette/axios-cache-interceptor/commit/5ddf9ed1a6b7e006020232e5822f5c429ba5f3ae) | ||
- chore: vscode tests debug [`b5c5905`](https://github.com/ArthurFiorette/axios-cache-interceptor/commit/b5c590545f4c693b3c0f57375d7ee1f768b98ed9) | ||
- ci: added main ci to lint and test code [`c48769a`](https://github.com/ArthurFiorette/axios-cache-interceptor/commit/c48769a9c96eaea25d5087cf0d9bc911d5866ecd) | ||
- ci: updated ci to support better caching [`1c442ce`](https://github.com/ArthurFiorette/axios-cache-interceptor/commit/1c442ce08e352dcacab361ef8b583a32e1d16e13) | ||
- docs: changed # to h1 [`3f0e022`](https://github.com/ArthurFiorette/axios-cache-interceptor/commit/3f0e022b0eebbcc68649f6ed2df63d3238ff136e) | ||
- docs: fixed project name 🤣 [`6972069`](https://github.com/ArthurFiorette/axios-cache-interceptor/commit/6972069e912df010cf050fb160890b22e99524d2) | ||
- docs: updated codecov badge token [`b45fd54`](https://github.com/ArthurFiorette/axios-cache-interceptor/commit/b45fd54f69928151a5da8c62bfffe74094423a17) | ||
- docs: updated readme [`d8afd8a`](https://github.com/ArthurFiorette/axios-cache-interceptor/commit/d8afd8a9e9291f612001c6f0efa3b3c98edd815a) | ||
- feat: interpreter also handles Expires header (and tests) [`288c118`](https://github.com/ArthurFiorette/axios-cache-interceptor/commit/288c11849c06c77666a3585ca704858bc3eb59c4) | ||
- fix: fixed a log of bugs and added unit tests [`2bbc9cb`](https://github.com/ArthurFiorette/axios-cache-interceptor/commit/2bbc9cb85869f91f873aa4738465f6840d8fb7a2) | ||
- refactor: init request and response tests [`84dc522`](https://github.com/ArthurFiorette/axios-cache-interceptor/commit/84dc522b87b2128a36aa90b60a1ce4155d8a3914) | ||
- refactor: more tests and fixes [`ee36bd5`](https://github.com/ArthurFiorette/axios-cache-interceptor/commit/ee36bd57b081951bd880509e1c62528d44b1ab30) | ||
- refactor: ttl and createdAt instead of maxAge and storage takes care of staled entries [`be5ee1e`](https://github.com/ArthurFiorette/axios-cache-interceptor/commit/be5ee1ea8b4f30c34b68668d9417aef6711bb9a7) | ||
- refactor: use generics on responseMatch [`1c10b41`](https://github.com/ArthurFiorette/axios-cache-interceptor/commit/1c10b41c98fd60061faae2bfe357b7592488e1d0) | ||
- tag: v0.1.0 [`6d5bcf3`](https://github.com/ArthurFiorette/axios-cache-interceptor/commit/6d5bcf3b6d781e0dc1ac799c5e46698603126ea1) | ||
- tests: added cache predicate tests [`bb552c8`](https://github.com/ArthurFiorette/axios-cache-interceptor/commit/bb552c818279dd994036bc1ad09afc58e98c6ac9) | ||
- tests: added deferred tests [`d09b3ad`](https://github.com/ArthurFiorette/axios-cache-interceptor/commit/d09b3add31d99e099aeaed8f5e0de720ce97adba) | ||
- tests: added key generator tests [`7975c58`](https://github.com/ArthurFiorette/axios-cache-interceptor/commit/7975c5864598a9f2d192a6bef663bdd2be0e5960) | ||
|
||
## [v0.0.6](https://github.com/ArthurFiorette/axios-cache-interceptor/compare/v0.0.5...v0.0.6) - 2021-09-11 | ||
|
||
### Commits | ||
|
||
- docs: updated readme example [`aa83c24`](https://github.com/ArthurFiorette/axios-cache-interceptor/commit/aa83c24e18369cbcc76f352e39a9e8b9349bc4e8) | ||
- fix: interpretHeader name conflict [`0d4854d`](https://github.com/ArthurFiorette/axios-cache-interceptor/commit/0d4854db83ba87471d9658670ac40808d8d068be) | ||
- tag: 0.0.6 [`e424213`](https://github.com/ArthurFiorette/axios-cache-interceptor/commit/e4242139276aec3ffc8aa53efcc6923e3135e401) | ||
|
||
## [v0.0.5](https://github.com/ArthurFiorette/axios-cache-interceptor/compare/v0.0.4...v0.0.5) - 2021-09-11 | ||
|
||
This reverts commit 80c4220ae3302b39742ab3d153904b6bb8c6134d. | ||
|
||
### Merged | ||
|
||
- chore(deps-dev): bump prettier from 2.3.2 to 2.4.0 [`#9`](https://github.com/ArthurFiorette/axios-cache-interceptor/pull/9) | ||
- chore(deps-dev): bump @types/node from 16.7.13 to 16.9.1 [`#8`](https://github.com/ArthurFiorette/axios-cache-interceptor/pull/8) | ||
|
||
### Commits | ||
|
||
- chore: change built target to `ESNext` [`c1242ac`](https://github.com/ArthurFiorette/axios-cache-interceptor/commit/c1242ac3ce308c89bf5bc0983b133ef290c0118a) | ||
- chore: updated eslint rules [`4825739`](https://github.com/ArthurFiorette/axios-cache-interceptor/commit/48257395e4f7410260420ab6580dfe29959581dc) | ||
- dps: bump [email protected] to [email protected] [`b63e67b`](https://github.com/ArthurFiorette/axios-cache-interceptor/commit/b63e67bb534080ac4480705702f351ff78b0658a) | ||
- feat: better cache predicate [`892dab4`](https://github.com/ArthurFiorette/axios-cache-interceptor/commit/892dab4a12704ae708b77a56cbeeacbe46aefd07) | ||
- fix: define an empty waiting object at creation [`2c49a49`](https://github.com/ArthurFiorette/axios-cache-interceptor/commit/2c49a49a63c34b77489eedb24752282358590f44) | ||
- refactor: axios.defaults.cache required [`29d79d5`](https://github.com/ArthurFiorette/axios-cache-interceptor/commit/29d79d5c84bcc35b76efabbcaa0938dcf31a53ed) | ||
- refactor: eslint more strict and some minor refactors [`d2c2a56`](https://github.com/ArthurFiorette/axios-cache-interceptor/commit/d2c2a56735e3a7271770f8d477b22f8665af878b) | ||
- refactor: externalized the header interceptor [`ce2b7ec`](https://github.com/ArthurFiorette/axios-cache-interceptor/commit/ce2b7ecb4b4a323afb1172bdcea6dda7a29f1d2e) | ||
- refactor: moved all "utils" to one folder [`211dd50`](https://github.com/ArthurFiorette/axios-cache-interceptor/commit/211dd503f42618cc4d448edbf6fdf2425cabf916) | ||
- refactor: save all deferred to `cache.waiting` instead of in the storage [`ab051fc`](https://github.com/ArthurFiorette/axios-cache-interceptor/commit/ab051fc698483e67c2f5870c64a9a29fb0467aec) | ||
- Revert "tag: v0.0.6" [`aa0f90e`](https://github.com/ArthurFiorette/axios-cache-interceptor/commit/aa0f90ed77de56523da7799226bdb983694a648b) | ||
- style: prettified code [`6ae6d8f`](https://github.com/ArthurFiorette/axios-cache-interceptor/commit/6ae6d8f7e5d45c12acfafc476524703c83e56df0) | ||
- tag: v0.0.4 [`96bc45d`](https://github.com/ArthurFiorette/axios-cache-interceptor/commit/96bc45d24b7362e977c4035f1b436393df464f37) | ||
- tag: v0.0.5 (4 was already used) [`99f69ce`](https://github.com/ArthurFiorette/axios-cache-interceptor/commit/99f69ce22406143994a7b15e9ad617b534ab17d9) | ||
- tag: v0.0.6 [`80c4220`](https://github.com/ArthurFiorette/axios-cache-interceptor/commit/80c4220ae3302b39742ab3d153904b6bb8c6134d) | ||
|
||
## [v0.0.4](https://github.com/ArthurFiorette/axios-cache-interceptor/compare/v0.0.3...v0.0.4) - 2021-09-08 | ||
|
||
### Merged | ||
|
||
- chore(deps-dev): bump axios from 0.21.1 to 0.21.4 [`#5`](https://github.com/ArthurFiorette/axios-cache-interceptor/pull/5) | ||
- chore(deps-dev): bump @typescript-eslint/parser from 4.30.0 to 4.31.0 [`#4`](https://github.com/ArthurFiorette/axios-cache-interceptor/pull/4) | ||
- chore(deps-dev): bump @types/node from 16.7.10 to 16.7.13 [`#6`](https://github.com/ArthurFiorette/axios-cache-interceptor/pull/6) | ||
- chore(deps-dev): bump @typescript-eslint/eslint-plugin [`#3`](https://github.com/ArthurFiorette/axios-cache-interceptor/pull/3) | ||
- chore(deps-dev): bump prettier-plugin-jsdoc from 0.3.23 to 0.3.24 [`#1`](https://github.com/ArthurFiorette/axios-cache-interceptor/pull/1) | ||
|
||
### Commits | ||
|
||
- chore: include eslint files on package [`0e88571`](https://github.com/ArthurFiorette/axios-cache-interceptor/commit/0e885713deaea1e2d87b8ed9da5eefc3aadfac5a) | ||
- docs: npm badge [`a43dfab`](https://github.com/ArthurFiorette/axios-cache-interceptor/commit/a43dfaba4865983bc711dd821941563685c67e40) | ||
- docs: updated author and readme [`3465bc3`](https://github.com/ArthurFiorette/axios-cache-interceptor/commit/3465bc385b0eab9bd959ad204e18de9d72c6df7d) | ||
- docs: updated readme [`33f7385`](https://github.com/ArthurFiorette/axios-cache-interceptor/commit/33f7385b28dc88753f20d8c85a84a02ff5c13370) | ||
- style: use @arthurfiorette/prettier-config [`dc56085`](https://github.com/ArthurFiorette/axios-cache-interceptor/commit/dc5608578f1a097bb1630e0ff45e084c7020259c) | ||
|
||
## [v0.0.3](https://github.com/ArthurFiorette/axios-cache-interceptor/compare/v0.0.2...v0.0.3) - 2021-09-01 | ||
|
||
### Commits | ||
|
||
- style: formatted code [`13eaced`](https://github.com/ArthurFiorette/axios-cache-interceptor/commit/13eacedc02bbc6520b147ea24178156bd890e4d2) | ||
- tag: v0.0.3 [`08570d5`](https://github.com/ArthurFiorette/axios-cache-interceptor/commit/08570d5ccd4b1bc583e06b58ac58f6b2c208376c) | ||
|
||
## [v0.0.2](https://github.com/ArthurFiorette/axios-cache-interceptor/compare/v0.0.1...v0.0.2) - 2021-09-01 | ||
|
||
### Commits | ||
|
||
- chore: added eslint [`5a201e3`](https://github.com/ArthurFiorette/axios-cache-interceptor/commit/5a201e3d68f7a5511bb765eee65ae72504d16251) | ||
- docs: fix typo in examples [`5d8b698`](https://github.com/ArthurFiorette/axios-cache-interceptor/commit/5d8b698ddbf0d46812e33a45abd6fa18b6a765f2) | ||
- docs: updated readme [`4a88c32`](https://github.com/ArthurFiorette/axios-cache-interceptor/commit/4a88c32e6774bf963c7993a8a26ccabde83e57ce) | ||
- docs: updated readme again [`c1a4144`](https://github.com/ArthurFiorette/axios-cache-interceptor/commit/c1a4144a73ead6075575ba15362c2b8131a7e8a1) | ||
- docs: warning for production usage [`be210b2`](https://github.com/ArthurFiorette/axios-cache-interceptor/commit/be210b2924dd3f765255e011fd58ec0841032f9a) | ||
- feat: cache working [`9f6e1a4`](https://github.com/ArthurFiorette/axios-cache-interceptor/commit/9f6e1a469c4f043679c1c5e42272042f61bd4d2e) | ||
- feat(WIP): structured code [`5ee2b04`](https://github.com/ArthurFiorette/axios-cache-interceptor/commit/5ee2b0493be4be665ea4ae9fed50cbad28e58c0d) | ||
- fix: comments to outputs and removed # path alias [`4592d18`](https://github.com/ArthurFiorette/axios-cache-interceptor/commit/4592d180c40cc236f3461fe893e10011d1c51f9e) | ||
- tag: v0.0.2 [`cc6332f`](https://github.com/ArthurFiorette/axios-cache-interceptor/commit/cc6332ff2451f13786572b3dd8982ee4a8df82f4) | ||
|
||
## v0.0.1 - 2021-09-01 | ||
|
||
### Commits | ||
|
||
- chore: updated .npmignore [`5d6b863`](https://github.com/ArthurFiorette/axios-cache-interceptor/commit/5d6b863d5b3fbf8bfd6ecf5b5d0ca2e30cee5bbd) | ||
- init: init project [`f373f85`](https://github.com/ArthurFiorette/axios-cache-interceptor/commit/f373f857afbbea95b133e4b21142e60728e329ac) | ||
- Initial commit [`e033ff0`](https://github.com/ArthurFiorette/axios-cache-interceptor/commit/e033ff08b0902eedc573cd3760e08f31443ea21c) |