Arthur Fiorette
a7a4e31e57
fix: cloneData for concurrent requests ( #921 )
...
* code
* code
* reuse my biome config
* fix breaking change on 1.6.0
* lint
2024-10-18 11:09:15 -03:00
Kevin Foniciello
75aa9cfefd
feat: add stale flag in request return object ( #843 )
...
* feature: added stale flag in request return object
* feature: added stale flag in request return object
* feat: added stale flag in request return object
* feat: added stale flag in request return object
* chore: fixed lint issues
2024-08-03 20:52:56 -03:00
Edwin Veldhuizen
6cba59cc1c
[must-revalidate] properly revalidate based on eTag ( #824 )
...
* [must-revalidate] implement logic to properly revalidate requests with must-revalidate cache-control header
* [lint] fix sorting of imports
* [pull 824] apply feedback
---------
Co-authored-by: Edwin Veldhuizen <edwin@pxr.nl>
2024-04-23 13:06:04 -03:00
brianreidy
8df43b3c79
docs: update cache jsdocs for debugging ( #796 )
2024-02-13 23:13:20 -03:00
Arthur Fiorette
ed99d775bb
feat: correct ESM and CJS support, move to microbundle. ( #764 )
2024-01-18 23:48:33 -03:00
Arthur Fiorette
f96b55dc54
fix: type incompatibility
2023-12-26 15:46:40 -03:00
Arthur Fiorette
8d03709482
feat: pinned dependencies
2023-12-12 16:20:57 -03:00
dependabot[bot]
ed142c6ca2
chore(deps-dev): bump @biomejs/biome from 1.3.3 to 1.4.1 ( #740 )
...
* chore(deps-dev): bump @biomejs/biome from 1.3.3 to 1.4.1
Bumps [@biomejs/biome](https://github.com/biomejs/biome/tree/HEAD/packages/@biomejs/biome ) from 1.3.3 to 1.4.1.
- [Release notes](https://github.com/biomejs/biome/releases )
- [Changelog](https://github.com/biomejs/biome/blob/main/CHANGELOG.md )
- [Commits](https://github.com/biomejs/biome/commits/cli/v1.4.1/packages/@biomejs/biome )
---
updated-dependencies:
- dependency-name: "@biomejs/biome"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
* linted code
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Arthur Fiorette <me@arthur.place>
2023-12-12 16:14:39 -03:00
Arthur Fiorette
ecbc27e466
style: linted code
2023-11-16 03:26:37 -03:00
Arthur Fiorette
37e2f1e85a
chore: migrated to biomejs.dev
2023-11-16 03:26:20 -03:00
Arthur Fiorette
892649c92f
fix: override and hydrate globally ( #694 )
2023-10-23 12:51:23 -03:00
Arthur Fiorette
16e51e788b
feat: prefer noop over undefined when debugging
2023-09-30 15:03:21 -03:00
Denis Rossati
0199ad6b97
feat: turn most types into interfaces ( #615 )
...
* Turn most types into interfaces
* Turn 'CacheAxiosResponse' into a interface
* Update docs
* Change docs to be more didactic
2023-07-30 00:22:16 -03:00
arthurfiorette
0cca290f0b
style: formatted code
2023-06-09 13:27:58 -03:00
arthurfiorette
a9e8998026
style: formatted code
2023-03-19 17:17:41 -03:00
arthurfiorette
174ea35ab0
feat: cache predicate defaults follows RFC 7231
2023-03-19 17:13:32 -03:00
Guilherme Mazoni
473f11c96b
docs: added docs for #506 ( #509 )
...
* Fix #506
* fix fmt
* fix docs
* fix docs
2023-02-24 11:38:16 -03:00
arthurfiorette
d6b41e802f
feat: incresed tsdoc documentation a lot
2023-02-17 13:16:06 -03:00
arthurfiorette
384c6b59ee
feat: hydrate option #469
2023-02-17 12:09:00 -03:00
arthurfiorette
eddff579c5
fix: axios headers
2023-02-02 20:14:46 -03:00
arthurfiorette
002e065695
fix: double registration check and interceptors tests
2023-01-04 09:15:27 -03:00
arthurfiorette
7d82c5a46f
feat: cache takeover #437
2022-12-25 16:56:25 -03:00
Arthur Fiorette
88c9655ba3
Axios cache interceptor v1 roadmap ( #368 )
...
* chore(deps-dev): bump axios from 0.27.2 to 1.0.0
Bumps [axios](https://github.com/axios/axios ) from 0.27.2 to 1.0.0.
- [Release notes](https://github.com/axios/axios/releases )
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md )
- [Commits](https://github.com/axios/axios/compare/v0.27.2...v1.0.0 )
---
updated-dependencies:
- dependency-name: axios
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* feat: initial changes
* feat: more docs
* docs: global config
* feat: comparison
* chore: more docs
* docs: migrate docs generator to vitepress (#403 )
* chore(vitepress): add basic files
* chore(vitepress): add dev deps & scripts for use
* chore(vitepress config): change to ts for type checks
* chore(vitepress config): remove js file
* chore(vitepress theme): add custom theme css
* chore(vitepress docs): add simple home page
* chore(gitignore): ignore doc dist
* chore(favicon): add icon to head
* feat(doc-features): add features spotlight
* chore(doc footer): made with ❤️
* chore(structure): move md files into `./src`
* chore(config): re-organise
* chore: custom dev port
* feat: documentation pages
* refactor: modified config
* feat: social links
* style: formatted code
* feat: removed code groups temporarily
* fix: fixed bundlephobia svg
* docs: general documentation remake
* docs: more rewritting
Co-authored-by: arthurfiorette <arthur.fiorette@gmail.com>
* fix: change headers usage
* fix: adapters exporting changes
* fix: request doesnt execute after abortion
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Cain <75994858+cainthebest@users.noreply.github.com>
2022-12-05 22:36:31 -03:00
arthurfiorette
67819a3d78
refactor: dependencies, lint and null assertions
2022-08-24 07:36:29 -03:00
Arthur Fiorette
f0cd5d1af2
feat: cache updater function for multiple keys. ( #304 )
...
* feat: implemented general cache updater function
* test: added tests
* docs: included cache update warning
2022-07-28 23:00:37 -03:00
arthurfiorette
dfe1595f3b
docs: improved override docs
2022-06-05 20:56:34 -03:00
arthurfiorette
67bad3772d
docs: typos
2022-06-05 11:31:06 -03:00
arthurfiorette
338c9a6888
feat: better override documentation
2022-06-05 11:26:17 -03:00
arthurfiorette
268fccb935
feat: override cache option
2022-06-05 11:26:00 -03:00
arthurfiorette
623ae22053
refactor: updated some minor things
2022-05-07 15:08:52 -03:00
Arthur Fiorette
f5b519a888
feat: updated axios to 0.27 ( #227 )
2022-05-01 10:04:08 -03:00
dependabot[bot]
f0f10c4520
chore(deps-dev): bump prettier-plugin-jsdoc from 0.3.36 to 0.3.38 ( #208 )
...
* chore(deps-dev): bump prettier-plugin-jsdoc from 0.3.36 to 0.3.38
Bumps [prettier-plugin-jsdoc](https://github.com/hosseinmd/prettier-plugin-jsdoc ) from 0.3.36 to 0.3.38.
- [Release notes](https://github.com/hosseinmd/prettier-plugin-jsdoc/releases )
- [Changelog](https://github.com/hosseinmd/prettier-plugin-jsdoc/blob/master/CHANGELOG.md )
- [Commits](https://github.com/hosseinmd/prettier-plugin-jsdoc/compare/v0.3.36...v0.3.38 )
---
updated-dependencies:
- dependency-name: prettier-plugin-jsdoc
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
* fix: fixed prettier warnings
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: arthurfiorette <arthur.fiorette@gmail.com>
2022-04-12 19:24:24 -03:00
dependabot[bot]
66e88ada0e
chore(deps-dev): bump prettier-plugin-jsdoc from 0.3.30 to 0.3.31 ( #171 )
...
* chore(deps-dev): bump prettier-plugin-jsdoc from 0.3.30 to 0.3.31
Bumps [prettier-plugin-jsdoc](https://github.com/hosseinmd/prettier-plugin-jsdoc ) from 0.3.30 to 0.3.31.
- [Release notes](https://github.com/hosseinmd/prettier-plugin-jsdoc/releases )
- [Changelog](https://github.com/hosseinmd/prettier-plugin-jsdoc/blob/master/CHANGELOG.md )
- [Commits](https://github.com/hosseinmd/prettier-plugin-jsdoc/compare/v0.3.30...v0.3.31 )
---
updated-dependencies:
- dependency-name: prettier-plugin-jsdoc
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
* style: formatted code
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: arthurfiorette <arthur.fiorette@gmail.com>
2022-03-14 10:13:12 -03:00
arthurfiorette
119fa32f18
feat!: updated default caching options
2022-03-14 10:07:30 -03:00
arthurfiorette
098cf47d06
refactor: added debug points
2022-01-23 18:12:14 -03:00
arthurfiorette
0ba6025fb5
feat: debug mode & fixed tests
2022-01-23 16:13:22 -03:00
arthurfiorette
7217eaff02
fix: removed breaking behaviour
2022-01-18 12:48:49 -03:00
arthurfiorette
edb32bdea3
feat: add staleIfError support
2022-01-18 12:06:20 -03:00
arthurfiorette
6d9683a410
build: optimize umd builds with tslib
2022-01-15 13:02:57 -03:00
arthurfiorette
e391f5664c
refactor: Header as const and renaming...
2022-01-15 12:22:12 -03:00
Arthur Fiorette
4734c5f7a8
build: Yarn v2 and ESM & CJS bundles ( #114 )
2022-01-13 18:57:50 -03:00
arthurfiorette
93df4fd93b
chore: eslint no-explicit-any
2022-01-10 13:40:55 -03:00
arthurfiorette
d0b0e2fb6c
refactor: prefer unknown instead of any
2022-01-09 17:31:28 -03:00
arthurfiorette
38a5ecd365
refactor: simplified cachePredicate
2022-01-09 17:27:51 -03:00
arthurfiorette
e11e3466f1
fix: removed deprecated code
2022-01-09 13:35:11 -03:00
arthurfiorette
37431a9d34
refactor!: removed isAxiosCacheInterceptor function
2022-01-08 12:57:19 -03:00
arthurfiorette
cd2f14c446
refactor: removed classes to decrease bundle size
2022-01-08 12:27:52 -03:00
arthurfiorette
ed1e163472
chore: bundles exports everything and webpack bundles everything
2022-01-07 15:45:06 -03:00
arthurfiorette
ce2f5976bc
fix: proper generic usage to type deep properties
2022-01-04 15:27:30 -03:00
arthurfiorette
567c1b2477
refactor: allow storages not return promises
2022-01-04 15:15:27 -03:00