@alwatr/fetch 2.0.0 → 2.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +164 -158
- package/package.json +8 -8
package/CHANGELOG.md
CHANGED
|
@@ -3,13 +3,19 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
## [2.0.1](https://github.com/AliMD/alwatr-eslib/compare/@alwatr/fetch@2.0.0...@alwatr/fetch@2.0.1) (2023-09-19)
|
|
7
7
|
|
|
8
8
|
### Bug Fixes
|
|
9
9
|
|
|
10
|
-
*
|
|
10
|
+
* package repo urls ([466cbe9](https://github.com/AliMD/alwatr-eslib/commit/466cbe9188f24e1a1bc36d879a95b52538a58f16)) by @AliMD
|
|
11
11
|
|
|
12
|
-
|
|
12
|
+
# [2.0.0](https://github.com/AliMD/alwatr-eslib/compare/@alwatr/fetch@1.1.3...@alwatr/fetch@2.0.0) (2023-09-19)
|
|
13
|
+
|
|
14
|
+
### Bug Fixes
|
|
15
|
+
|
|
16
|
+
* **fetch:** remove @alwatr/signal ([03d947b](https://github.com/AliMD/alwatr-eslib/commit/03d947be3889d63805eabb7f4be618fed6da0d55)) by @AliMD
|
|
17
|
+
|
|
18
|
+
* fix(fetch)!: remove fetchContext ([eba9cf0](https://github.com/AliMD/alwatr-eslib/commit/eba9cf0a443564478b5b985a69d0f54fbd514440)) by @AliMD
|
|
13
19
|
|
|
14
20
|
### BREAKING CHANGES
|
|
15
21
|
|
|
@@ -19,13 +25,13 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
19
25
|
|
|
20
26
|
### Bug Fixes
|
|
21
27
|
|
|
22
|
-
* cleanup extra packages ([dfc0bd2](https://github.com/AliMD/alwatr/commit/dfc0bd2b42d49e1094ae0303d34e653aa289d358)) by @AliMD
|
|
28
|
+
* cleanup extra packages ([dfc0bd2](https://github.com/AliMD/alwatr-eslib/commit/dfc0bd2b42d49e1094ae0303d34e653aa289d358)) by @AliMD
|
|
23
29
|
|
|
24
|
-
## [1.1.2](https://github.com/AliMD/alwatr/compare/@alwatr/fetch@1.1.1...@alwatr/fetch@1.1.2) (2023-09-12)
|
|
30
|
+
## [1.1.2](https://github.com/AliMD/alwatr-eslib/compare/@alwatr/fetch@1.1.1...@alwatr/fetch@1.1.2) (2023-09-12)
|
|
25
31
|
|
|
26
32
|
**Note:** Version bump only for package @alwatr/fetch
|
|
27
33
|
|
|
28
|
-
## [1.1.1](https://github.com/AliMD/alwatr/compare/@alwatr/fetch@1.1.0...@alwatr/fetch@1.1.1) (2023-09-12)
|
|
34
|
+
## [1.1.1](https://github.com/AliMD/alwatr-eslib/compare/@alwatr/fetch@1.1.0...@alwatr/fetch@1.1.1) (2023-09-12)
|
|
29
35
|
|
|
30
36
|
**Note:** Version bump only for package @alwatr/fetch
|
|
31
37
|
|
|
@@ -37,51 +43,51 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
37
43
|
|
|
38
44
|
### Bug Fixes
|
|
39
45
|
|
|
40
|
-
- **fetch:** serviceRequest type ([44c1086](https://github.com/AliMD/alwatr/commit/44c10866e1c630bc3cf85b3e9be38b268b5b0c31))
|
|
41
|
-
- **fetch:** userAuth in StringifyableFetchOptions ([f554b57](https://github.com/AliMD/alwatr/commit/f554b575584cb1464d48fbe8a8c4006125365853))
|
|
46
|
+
- **fetch:** serviceRequest type ([44c1086](https://github.com/AliMD/alwatr-eslib/commit/44c10866e1c630bc3cf85b3e9be38b268b5b0c31))
|
|
47
|
+
- **fetch:** userAuth in StringifyableFetchOptions ([f554b57](https://github.com/AliMD/alwatr-eslib/commit/f554b575584cb1464d48fbe8a8c4006125365853))
|
|
42
48
|
|
|
43
49
|
# 0.31.0 (2023-05-08)
|
|
44
50
|
|
|
45
51
|
### Bug Fixes
|
|
46
52
|
|
|
47
|
-
- **fetch.ts:** compatible with node ([c3acb53](https://github.com/AliMD/alwatr/commit/c3acb53effd4a79e389bc4de1567b0285c03d71d))
|
|
48
|
-
- **fetch:** bodyJson type ([5740467](https://github.com/AliMD/alwatr/commit/57404673e7f031a73d1cf23501e6fa8d89759769))
|
|
49
|
-
- **fetch:** check node_mode before use navigator.online ([a688f48](https://github.com/AliMD/alwatr/commit/a688f48e9ce4b103c25ffd50f1b8c96e89c205d1))
|
|
50
|
-
- **fetch:** serviceRequest generic type ([074ef38](https://github.com/AliMD/alwatr/commit/074ef3876086f93486753559d8e3db0b60c52a0e))
|
|
51
|
-
- **fetch:** suppress fetch_cache_not_found extra error ([c04f609](https://github.com/AliMD/alwatr/commit/c04f60944106dbd8d1bf2fb5ce0e7be644c3abc6))
|
|
52
|
-
- new logger api ([9d83a7d](https://github.com/AliMD/alwatr/commit/9d83a7dc5c103bc3bb4282dacfd85fa998915300))
|
|
53
|
+
- **fetch.ts:** compatible with node ([c3acb53](https://github.com/AliMD/alwatr-eslib/commit/c3acb53effd4a79e389bc4de1567b0285c03d71d))
|
|
54
|
+
- **fetch:** bodyJson type ([5740467](https://github.com/AliMD/alwatr-eslib/commit/57404673e7f031a73d1cf23501e6fa8d89759769))
|
|
55
|
+
- **fetch:** check node_mode before use navigator.online ([a688f48](https://github.com/AliMD/alwatr-eslib/commit/a688f48e9ce4b103c25ffd50f1b8c96e89c205d1))
|
|
56
|
+
- **fetch:** serviceRequest generic type ([074ef38](https://github.com/AliMD/alwatr-eslib/commit/074ef3876086f93486753559d8e3db0b60c52a0e))
|
|
57
|
+
- **fetch:** suppress fetch_cache_not_found extra error ([c04f609](https://github.com/AliMD/alwatr-eslib/commit/c04f60944106dbd8d1bf2fb5ce0e7be644c3abc6))
|
|
58
|
+
- new logger api ([9d83a7d](https://github.com/AliMD/alwatr-eslib/commit/9d83a7dc5c103bc3bb4282dacfd85fa998915300))
|
|
53
59
|
|
|
54
60
|
### Features
|
|
55
61
|
|
|
56
|
-
- **fetch:** add user auth ([811fbc0](https://github.com/AliMD/alwatr/commit/811fbc018c2b4e3b808704e8623bd5dff2b2f3f7))
|
|
57
|
-
- **fetch:** StringifyableFetchOptions type ([e13fdb2](https://github.com/AliMD/alwatr/commit/e13fdb2550cf3a2102c331aa7980234ca6f86e08))
|
|
62
|
+
- **fetch:** add user auth ([811fbc0](https://github.com/AliMD/alwatr-eslib/commit/811fbc018c2b4e3b808704e8623bd5dff2b2f3f7))
|
|
63
|
+
- **fetch:** StringifyableFetchOptions type ([e13fdb2](https://github.com/AliMD/alwatr-eslib/commit/e13fdb2550cf3a2102c331aa7980234ca6f86e08))
|
|
58
64
|
|
|
59
65
|
# 0.30.0 (2023-03-06)
|
|
60
66
|
|
|
61
67
|
### Bug Fixes
|
|
62
68
|
|
|
63
|
-
- **fetch:** fetchContext duplicate setSignalValue ([8aa9b00](https://github.com/AliMD/alwatr/commit/8aa9b003a2d7b7ffc8243ff7092d9560763d7273))
|
|
64
|
-
- **fetch:** getClientId in nodejs ([c99e41c](https://github.com/AliMD/alwatr/commit/c99e41c9e9a979ca50cc01aeb5371a3487d9da2e))
|
|
69
|
+
- **fetch:** fetchContext duplicate setSignalValue ([8aa9b00](https://github.com/AliMD/alwatr-eslib/commit/8aa9b003a2d7b7ffc8243ff7092d9560763d7273))
|
|
70
|
+
- **fetch:** getClientId in nodejs ([c99e41c](https://github.com/AliMD/alwatr-eslib/commit/c99e41c9e9a979ca50cc01aeb5371a3487d9da2e))
|
|
65
71
|
|
|
66
72
|
### Features
|
|
67
73
|
|
|
68
|
-
- **fetch:** enhance fetchContext with dispatchOptions and only cache_only request in first time ([1f6b575](https://github.com/AliMD/alwatr/commit/1f6b575437104d64ede8a2c23d141160360d2cd5))
|
|
69
|
-
- **fetch:** fetchContext ([d63d17e](https://github.com/AliMD/alwatr/commit/d63d17ecb58221159dc45a473fdd1c992d306d2b))
|
|
70
|
-
- **fetch:** fetchContext skip online request when offline ([7c2b649](https://github.com/AliMD/alwatr/commit/7c2b6491f78acb961cdc0583112e3c709a177b79))
|
|
71
|
-
- **fetch:** fetchContext work on background ([2e12bfd](https://github.com/AliMD/alwatr/commit/2e12bfde0a0636c30e60906c4812ec66b2d36742))
|
|
72
|
-
- **fetch:** handle offline for all requests ([6a8d7b7](https://github.com/AliMD/alwatr/commit/6a8d7b7159732d834be052191935580331e36962))
|
|
74
|
+
- **fetch:** enhance fetchContext with dispatchOptions and only cache_only request in first time ([1f6b575](https://github.com/AliMD/alwatr-eslib/commit/1f6b575437104d64ede8a2c23d141160360d2cd5))
|
|
75
|
+
- **fetch:** fetchContext ([d63d17e](https://github.com/AliMD/alwatr-eslib/commit/d63d17ecb58221159dc45a473fdd1c992d306d2b))
|
|
76
|
+
- **fetch:** fetchContext skip online request when offline ([7c2b649](https://github.com/AliMD/alwatr-eslib/commit/7c2b6491f78acb961cdc0583112e3c709a177b79))
|
|
77
|
+
- **fetch:** fetchContext work on background ([2e12bfd](https://github.com/AliMD/alwatr-eslib/commit/2e12bfde0a0636c30e60906c4812ec66b2d36742))
|
|
78
|
+
- **fetch:** handle offline for all requests ([6a8d7b7](https://github.com/AliMD/alwatr-eslib/commit/6a8d7b7159732d834be052191935580331e36962))
|
|
73
79
|
|
|
74
80
|
# 0.29.0 (2023-02-10)
|
|
75
81
|
|
|
76
82
|
### Bug Fixes
|
|
77
83
|
|
|
78
|
-
- **fetch:** device id to client id ([077e467](https://github.com/AliMD/alwatr/commit/077e4671d804d43c8f61a9d163d8d51d7a69134e))
|
|
79
|
-
- **fetch:** headers type ([cd4b14e](https://github.com/AliMD/alwatr/commit/cd4b14e46b5090b6df8cb4f89d22b53966b9151e))
|
|
84
|
+
- **fetch:** device id to client id ([077e467](https://github.com/AliMD/alwatr-eslib/commit/077e4671d804d43c8f61a9d163d8d51d7a69134e))
|
|
85
|
+
- **fetch:** headers type ([cd4b14e](https://github.com/AliMD/alwatr-eslib/commit/cd4b14e46b5090b6df8cb4f89d22b53966b9151e))
|
|
80
86
|
|
|
81
87
|
### Features
|
|
82
88
|
|
|
83
|
-
- **fetch:** add update_cache to CacheStrategy ([e1406b1](https://github.com/AliMD/alwatr/commit/e1406b12e1276de3295c47506c8102ab3f8bfa79))
|
|
84
|
-
- **fetch:** clientId on service request ([9575a1d](https://github.com/AliMD/alwatr/commit/9575a1d595a0a4757581a29a66837cbe4be46ed3))
|
|
89
|
+
- **fetch:** add update_cache to CacheStrategy ([e1406b1](https://github.com/AliMD/alwatr-eslib/commit/e1406b12e1276de3295c47506c8102ab3f8bfa79))
|
|
90
|
+
- **fetch:** clientId on service request ([9575a1d](https://github.com/AliMD/alwatr-eslib/commit/9575a1d595a0a4757581a29a66837cbe4be46ed3))
|
|
85
91
|
|
|
86
92
|
# 0.28.0 (2023-01-20)
|
|
87
93
|
|
|
@@ -89,308 +95,308 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
89
95
|
|
|
90
96
|
### Bug Fixes
|
|
91
97
|
|
|
92
|
-
- review issue ([e5d192c](https://github.com/AliMD/alwatr/commit/e5d192cbee6917c2de01146cf8bd026895724ab8))
|
|
98
|
+
- review issue ([e5d192c](https://github.com/AliMD/alwatr-eslib/commit/e5d192cbee6917c2de01146cf8bd026895724ab8))
|
|
93
99
|
|
|
94
100
|
### Features
|
|
95
101
|
|
|
96
|
-
- **type:** add types ([2de3842](https://github.com/AliMD/alwatr/commit/2de384297b70b9818ec8d62ce8d31be4822d95a4))
|
|
102
|
+
- **type:** add types ([2de3842](https://github.com/AliMD/alwatr-eslib/commit/2de384297b70b9818ec8d62ce8d31be4822d95a4))
|
|
97
103
|
|
|
98
104
|
# 0.26.0 (2022-12-22)
|
|
99
105
|
|
|
100
106
|
### Bug Fixes
|
|
101
107
|
|
|
102
|
-
- all import without .js ([fa739ab](https://github.com/AliMD/alwatr/commit/fa739ab23f67bae1d10bfcc146920b71377a26fc))
|
|
103
|
-
- **
|
|
104
|
-
- **fetch:** always call revalidateCallback ([444edc5](https://github.com/AliMD/alwatr/commit/444edc52b6dd5de5418ae8630e1f2270f0114372))
|
|
105
|
-
- **fetch:** enhance handle and report errors in serviceRequest ([dbfc7ff](https://github.com/AliMD/alwatr/commit/dbfc7ff2a036216498dc8e2ff58b74b7eb8d9bc0))
|
|
106
|
-
- **fetch:** fetch_cache_not_found is not error ([3d1aa4e](https://github.com/AliMD/alwatr/commit/3d1aa4e572fbf4bc7b0a527a3fdcf4c521af18dd))
|
|
107
|
-
- **fetch:** fetch_failed error message ([3e98bd9](https://github.com/AliMD/alwatr/commit/3e98bd926a495c13d476f2f1cfb9e546a059d4d8))
|
|
108
|
-
- **fetch:** remove extra \_options ([ad24c81](https://github.com/AliMD/alwatr/commit/ad24c8104b944ebda52308e60d41976ac1eeee81))
|
|
109
|
-
- **fetch:** revalidateCallback issue ([7207909](https://github.com/AliMD/alwatr/commit/72079098edb438c28256dad03d7802bc2fab0858))
|
|
110
|
-
- set correct path ([d01ce6f](https://github.com/AliMD/alwatr/commit/d01ce6ffa749a5e3e0e11e35b4ed61d75d61fec9))
|
|
111
|
-
- **storage-engine:** AlwatrDocumentStorage ([ca9a7bf](https://github.com/AliMD/alwatr/commit/ca9a7bf5e17b333538e749ada5d481a06c847101))
|
|
112
|
-
- tsconfig ([e96dcd3](https://github.com/AliMD/alwatr/commit/e96dcd30774a9f06f7d051e0504192cbbe019e35))
|
|
113
|
-
- tsconfig refrences ([cea0562](https://github.com/AliMD/alwatr/commit/cea05621ecfa499476c5b10a412e60f27ba6a06d))
|
|
108
|
+
- all import without .js ([fa739ab](https://github.com/AliMD/alwatr-eslib/commit/fa739ab23f67bae1d10bfcc146920b71377a26fc))
|
|
109
|
+
- **packages/fetch:** tsconfig refrences ([e6b9542](https://github.com/AliMD/alwatr-eslib/commit/e6b9542284e67b67600da4dcebd19daedb031c9c))
|
|
110
|
+
- **fetch:** always call revalidateCallback ([444edc5](https://github.com/AliMD/alwatr-eslib/commit/444edc52b6dd5de5418ae8630e1f2270f0114372))
|
|
111
|
+
- **fetch:** enhance handle and report errors in serviceRequest ([dbfc7ff](https://github.com/AliMD/alwatr-eslib/commit/dbfc7ff2a036216498dc8e2ff58b74b7eb8d9bc0))
|
|
112
|
+
- **fetch:** fetch_cache_not_found is not error ([3d1aa4e](https://github.com/AliMD/alwatr-eslib/commit/3d1aa4e572fbf4bc7b0a527a3fdcf4c521af18dd))
|
|
113
|
+
- **fetch:** fetch_failed error message ([3e98bd9](https://github.com/AliMD/alwatr-eslib/commit/3e98bd926a495c13d476f2f1cfb9e546a059d4d8))
|
|
114
|
+
- **fetch:** remove extra \_options ([ad24c81](https://github.com/AliMD/alwatr-eslib/commit/ad24c8104b944ebda52308e60d41976ac1eeee81))
|
|
115
|
+
- **fetch:** revalidateCallback issue ([7207909](https://github.com/AliMD/alwatr-eslib/commit/72079098edb438c28256dad03d7802bc2fab0858))
|
|
116
|
+
- set correct path ([d01ce6f](https://github.com/AliMD/alwatr-eslib/commit/d01ce6ffa749a5e3e0e11e35b4ed61d75d61fec9))
|
|
117
|
+
- **storage-engine:** AlwatrDocumentStorage ([ca9a7bf](https://github.com/AliMD/alwatr-eslib/commit/ca9a7bf5e17b333538e749ada5d481a06c847101))
|
|
118
|
+
- tsconfig ([e96dcd3](https://github.com/AliMD/alwatr-eslib/commit/e96dcd30774a9f06f7d051e0504192cbbe019e35))
|
|
119
|
+
- tsconfig refrences ([cea0562](https://github.com/AliMD/alwatr-eslib/commit/cea05621ecfa499476c5b10a412e60f27ba6a06d))
|
|
114
120
|
|
|
115
121
|
### Features
|
|
116
122
|
|
|
117
|
-
- **fetch:** add AlwatrDocumentStorage type ([44b84f0](https://github.com/AliMD/alwatr/commit/44b84f0754169a707472655811020f6e542a6e5d))
|
|
118
|
-
- **fetch:** serviceRequest ([b0b5478](https://github.com/AliMD/alwatr/commit/b0b5478d16b2cb590cfc29d644006e4a459dd6d6))
|
|
119
|
-
- **fetch:** serviceRequest ([#513](https://github.com/AliMD/alwatr/issues/513)) ([113ee49](https://github.com/AliMD/alwatr/commit/113ee498c778d9efc00cc4807bfef09e52336a31))
|
|
120
|
-
- improve accident debugging ([d697e6c](https://github.com/AliMD/alwatr/commit/d697e6c4c7d0a4172f4dba9caf6fbd478f79de9c))
|
|
121
|
-
- improve error debugging ([1fba504](https://github.com/AliMD/alwatr/commit/1fba50400a1e8ececc10bbe8ea11cc8dcea2289c))
|
|
123
|
+
- **fetch:** add AlwatrDocumentStorage type ([44b84f0](https://github.com/AliMD/alwatr-eslib/commit/44b84f0754169a707472655811020f6e542a6e5d))
|
|
124
|
+
- **fetch:** serviceRequest ([b0b5478](https://github.com/AliMD/alwatr-eslib/commit/b0b5478d16b2cb590cfc29d644006e4a459dd6d6))
|
|
125
|
+
- **fetch:** serviceRequest ([#513](https://github.com/AliMD/alwatr-eslib/issues/513)) ([113ee49](https://github.com/AliMD/alwatr-eslib/commit/113ee498c778d9efc00cc4807bfef09e52336a31))
|
|
126
|
+
- improve accident debugging ([d697e6c](https://github.com/AliMD/alwatr-eslib/commit/d697e6c4c7d0a4172f4dba9caf6fbd478f79de9c))
|
|
127
|
+
- improve error debugging ([1fba504](https://github.com/AliMD/alwatr-eslib/commit/1fba50400a1e8ececc10bbe8ea11cc8dcea2289c))
|
|
122
128
|
|
|
123
|
-
# [1.0.0](https://github.com/AliMD/alwatr/compare/v0.32.0...v1.0.0) (2023-06-14)
|
|
129
|
+
# [1.0.0](https://github.com/AliMD/alwatr-eslib/compare/v0.32.0...v1.0.0) (2023-06-14)
|
|
124
130
|
|
|
125
131
|
**Note:** Version bump only for package @alwatr/fetch
|
|
126
132
|
|
|
127
|
-
# [0.32.0](https://github.com/AliMD/alwatr/compare/v0.31.0...v0.32.0) (2023-05-27)
|
|
133
|
+
# [0.32.0](https://github.com/AliMD/alwatr-eslib/compare/v0.31.0...v0.32.0) (2023-05-27)
|
|
128
134
|
|
|
129
135
|
### Bug Fixes
|
|
130
136
|
|
|
131
|
-
- **fetch:** serviceRequest type ([44c1086](https://github.com/AliMD/alwatr/commit/44c10866e1c630bc3cf85b3e9be38b268b5b0c31))
|
|
132
|
-
- **fetch:** userAuth in StringifyableFetchOptions ([f554b57](https://github.com/AliMD/alwatr/commit/f554b575584cb1464d48fbe8a8c4006125365853))
|
|
137
|
+
- **fetch:** serviceRequest type ([44c1086](https://github.com/AliMD/alwatr-eslib/commit/44c10866e1c630bc3cf85b3e9be38b268b5b0c31))
|
|
138
|
+
- **fetch:** userAuth in StringifyableFetchOptions ([f554b57](https://github.com/AliMD/alwatr-eslib/commit/f554b575584cb1464d48fbe8a8c4006125365853))
|
|
133
139
|
|
|
134
|
-
# [0.31.0](https://github.com/AliMD/alwatr/compare/v0.30.0...v0.31.0) (2023-05-08)
|
|
140
|
+
# [0.31.0](https://github.com/AliMD/alwatr-eslib/compare/v0.30.0...v0.31.0) (2023-05-08)
|
|
135
141
|
|
|
136
142
|
### Bug Fixes
|
|
137
143
|
|
|
138
|
-
- **fetch.ts:** compatible with node ([c3acb53](https://github.com/AliMD/alwatr/commit/c3acb53effd4a79e389bc4de1567b0285c03d71d))
|
|
139
|
-
- **fetch:** bodyJson type ([5740467](https://github.com/AliMD/alwatr/commit/57404673e7f031a73d1cf23501e6fa8d89759769))
|
|
140
|
-
- **fetch:** check node_mode before use navigator.online ([a688f48](https://github.com/AliMD/alwatr/commit/a688f48e9ce4b103c25ffd50f1b8c96e89c205d1))
|
|
141
|
-
- **fetch:** serviceRequest generic type ([074ef38](https://github.com/AliMD/alwatr/commit/074ef3876086f93486753559d8e3db0b60c52a0e))
|
|
142
|
-
- **fetch:** suppress fetch_cache_not_found extra error ([c04f609](https://github.com/AliMD/alwatr/commit/c04f60944106dbd8d1bf2fb5ce0e7be644c3abc6))
|
|
143
|
-
- new logger api ([9d83a7d](https://github.com/AliMD/alwatr/commit/9d83a7dc5c103bc3bb4282dacfd85fa998915300))
|
|
144
|
+
- **fetch.ts:** compatible with node ([c3acb53](https://github.com/AliMD/alwatr-eslib/commit/c3acb53effd4a79e389bc4de1567b0285c03d71d))
|
|
145
|
+
- **fetch:** bodyJson type ([5740467](https://github.com/AliMD/alwatr-eslib/commit/57404673e7f031a73d1cf23501e6fa8d89759769))
|
|
146
|
+
- **fetch:** check node_mode before use navigator.online ([a688f48](https://github.com/AliMD/alwatr-eslib/commit/a688f48e9ce4b103c25ffd50f1b8c96e89c205d1))
|
|
147
|
+
- **fetch:** serviceRequest generic type ([074ef38](https://github.com/AliMD/alwatr-eslib/commit/074ef3876086f93486753559d8e3db0b60c52a0e))
|
|
148
|
+
- **fetch:** suppress fetch_cache_not_found extra error ([c04f609](https://github.com/AliMD/alwatr-eslib/commit/c04f60944106dbd8d1bf2fb5ce0e7be644c3abc6))
|
|
149
|
+
- new logger api ([9d83a7d](https://github.com/AliMD/alwatr-eslib/commit/9d83a7dc5c103bc3bb4282dacfd85fa998915300))
|
|
144
150
|
|
|
145
151
|
### Features
|
|
146
152
|
|
|
147
|
-
- **fetch:** add user auth ([811fbc0](https://github.com/AliMD/alwatr/commit/811fbc018c2b4e3b808704e8623bd5dff2b2f3f7))
|
|
148
|
-
- **fetch:** StringifyableFetchOptions type ([e13fdb2](https://github.com/AliMD/alwatr/commit/e13fdb2550cf3a2102c331aa7980234ca6f86e08))
|
|
153
|
+
- **fetch:** add user auth ([811fbc0](https://github.com/AliMD/alwatr-eslib/commit/811fbc018c2b4e3b808704e8623bd5dff2b2f3f7))
|
|
154
|
+
- **fetch:** StringifyableFetchOptions type ([e13fdb2](https://github.com/AliMD/alwatr-eslib/commit/e13fdb2550cf3a2102c331aa7980234ca6f86e08))
|
|
149
155
|
|
|
150
|
-
# [0.30.0](https://github.com/AliMD/alwatr/compare/v0.29.0...v0.30.0) (2023-03-06)
|
|
156
|
+
# [0.30.0](https://github.com/AliMD/alwatr-eslib/compare/v0.29.0...v0.30.0) (2023-03-06)
|
|
151
157
|
|
|
152
158
|
### Bug Fixes
|
|
153
159
|
|
|
154
|
-
- **fetch:** fetchContext duplicate setSignalValue ([8aa9b00](https://github.com/AliMD/alwatr/commit/8aa9b003a2d7b7ffc8243ff7092d9560763d7273))
|
|
155
|
-
- **fetch:** getClientId in nodejs ([c99e41c](https://github.com/AliMD/alwatr/commit/c99e41c9e9a979ca50cc01aeb5371a3487d9da2e))
|
|
160
|
+
- **fetch:** fetchContext duplicate setSignalValue ([8aa9b00](https://github.com/AliMD/alwatr-eslib/commit/8aa9b003a2d7b7ffc8243ff7092d9560763d7273))
|
|
161
|
+
- **fetch:** getClientId in nodejs ([c99e41c](https://github.com/AliMD/alwatr-eslib/commit/c99e41c9e9a979ca50cc01aeb5371a3487d9da2e))
|
|
156
162
|
|
|
157
163
|
### Features
|
|
158
164
|
|
|
159
|
-
- **fetch:** enhance fetchContext with dispatchOptions and only cache_only request in first time ([1f6b575](https://github.com/AliMD/alwatr/commit/1f6b575437104d64ede8a2c23d141160360d2cd5))
|
|
160
|
-
- **fetch:** fetchContext ([d63d17e](https://github.com/AliMD/alwatr/commit/d63d17ecb58221159dc45a473fdd1c992d306d2b))
|
|
161
|
-
- **fetch:** fetchContext skip online request when offline ([7c2b649](https://github.com/AliMD/alwatr/commit/7c2b6491f78acb961cdc0583112e3c709a177b79))
|
|
162
|
-
- **fetch:** fetchContext work on background ([2e12bfd](https://github.com/AliMD/alwatr/commit/2e12bfde0a0636c30e60906c4812ec66b2d36742))
|
|
163
|
-
- **fetch:** handle offline for all requests ([6a8d7b7](https://github.com/AliMD/alwatr/commit/6a8d7b7159732d834be052191935580331e36962))
|
|
165
|
+
- **fetch:** enhance fetchContext with dispatchOptions and only cache_only request in first time ([1f6b575](https://github.com/AliMD/alwatr-eslib/commit/1f6b575437104d64ede8a2c23d141160360d2cd5))
|
|
166
|
+
- **fetch:** fetchContext ([d63d17e](https://github.com/AliMD/alwatr-eslib/commit/d63d17ecb58221159dc45a473fdd1c992d306d2b))
|
|
167
|
+
- **fetch:** fetchContext skip online request when offline ([7c2b649](https://github.com/AliMD/alwatr-eslib/commit/7c2b6491f78acb961cdc0583112e3c709a177b79))
|
|
168
|
+
- **fetch:** fetchContext work on background ([2e12bfd](https://github.com/AliMD/alwatr-eslib/commit/2e12bfde0a0636c30e60906c4812ec66b2d36742))
|
|
169
|
+
- **fetch:** handle offline for all requests ([6a8d7b7](https://github.com/AliMD/alwatr-eslib/commit/6a8d7b7159732d834be052191935580331e36962))
|
|
164
170
|
|
|
165
|
-
# [0.29.0](https://github.com/AliMD/alwatr/compare/v0.28.0...v0.29.0) (2023-02-10)
|
|
171
|
+
# [0.29.0](https://github.com/AliMD/alwatr-eslib/compare/v0.28.0...v0.29.0) (2023-02-10)
|
|
166
172
|
|
|
167
173
|
### Bug Fixes
|
|
168
174
|
|
|
169
|
-
- **fetch:** device id to client id ([077e467](https://github.com/AliMD/alwatr/commit/077e4671d804d43c8f61a9d163d8d51d7a69134e))
|
|
170
|
-
- **fetch:** headers type ([cd4b14e](https://github.com/AliMD/alwatr/commit/cd4b14e46b5090b6df8cb4f89d22b53966b9151e))
|
|
175
|
+
- **fetch:** device id to client id ([077e467](https://github.com/AliMD/alwatr-eslib/commit/077e4671d804d43c8f61a9d163d8d51d7a69134e))
|
|
176
|
+
- **fetch:** headers type ([cd4b14e](https://github.com/AliMD/alwatr-eslib/commit/cd4b14e46b5090b6df8cb4f89d22b53966b9151e))
|
|
171
177
|
|
|
172
178
|
### Features
|
|
173
179
|
|
|
174
|
-
- **fetch:** add update_cache to CacheStrategy ([e1406b1](https://github.com/AliMD/alwatr/commit/e1406b12e1276de3295c47506c8102ab3f8bfa79))
|
|
175
|
-
- **fetch:** clientId on service request ([9575a1d](https://github.com/AliMD/alwatr/commit/9575a1d595a0a4757581a29a66837cbe4be46ed3))
|
|
180
|
+
- **fetch:** add update_cache to CacheStrategy ([e1406b1](https://github.com/AliMD/alwatr-eslib/commit/e1406b12e1276de3295c47506c8102ab3f8bfa79))
|
|
181
|
+
- **fetch:** clientId on service request ([9575a1d](https://github.com/AliMD/alwatr-eslib/commit/9575a1d595a0a4757581a29a66837cbe4be46ed3))
|
|
176
182
|
|
|
177
|
-
# [0.28.0](https://github.com/AliMD/alwatr/compare/v0.27.0...v0.28.0) (2023-01-20)
|
|
183
|
+
# [0.28.0](https://github.com/AliMD/alwatr-eslib/compare/v0.27.0...v0.28.0) (2023-01-20)
|
|
178
184
|
|
|
179
185
|
### Bug Fixes
|
|
180
186
|
|
|
181
|
-
- review issue ([e5d192c](https://github.com/AliMD/alwatr/commit/e5d192cbee6917c2de01146cf8bd026895724ab8))
|
|
187
|
+
- review issue ([e5d192c](https://github.com/AliMD/alwatr-eslib/commit/e5d192cbee6917c2de01146cf8bd026895724ab8))
|
|
182
188
|
|
|
183
189
|
### Features
|
|
184
190
|
|
|
185
|
-
- **type:** add types ([2de3842](https://github.com/AliMD/alwatr/commit/2de384297b70b9818ec8d62ce8d31be4822d95a4))
|
|
191
|
+
- **type:** add types ([2de3842](https://github.com/AliMD/alwatr-eslib/commit/2de384297b70b9818ec8d62ce8d31be4822d95a4))
|
|
186
192
|
|
|
187
|
-
# [0.27.0](https://github.com/AliMD/alwatr/compare/v0.26.0...v0.27.0) (2022-12-29)
|
|
193
|
+
# [0.27.0](https://github.com/AliMD/alwatr-eslib/compare/v0.26.0...v0.27.0) (2022-12-29)
|
|
188
194
|
|
|
189
195
|
**Note:** Version bump only for package @alwatr/fetch
|
|
190
196
|
|
|
191
|
-
# [0.26.0](https://github.com/AliMD/alwatr/compare/v0.25.0...v0.26.0) (2022-12-22)
|
|
197
|
+
# [0.26.0](https://github.com/AliMD/alwatr-eslib/compare/v0.25.0...v0.26.0) (2022-12-22)
|
|
192
198
|
|
|
193
199
|
### Bug Fixes
|
|
194
200
|
|
|
195
|
-
- all import without .js ([fa739ab](https://github.com/AliMD/alwatr/commit/fa739ab23f67bae1d10bfcc146920b71377a26fc))
|
|
196
|
-
- **
|
|
197
|
-
- **fetch:** always call revalidateCallback ([444edc5](https://github.com/AliMD/alwatr/commit/444edc52b6dd5de5418ae8630e1f2270f0114372))
|
|
198
|
-
- **fetch:** enhance handle and report errors in serviceRequest ([dbfc7ff](https://github.com/AliMD/alwatr/commit/dbfc7ff2a036216498dc8e2ff58b74b7eb8d9bc0))
|
|
199
|
-
- **fetch:** fetch_cache_not_found is not error ([3d1aa4e](https://github.com/AliMD/alwatr/commit/3d1aa4e572fbf4bc7b0a527a3fdcf4c521af18dd))
|
|
200
|
-
- **fetch:** fetch_failed error message ([3e98bd9](https://github.com/AliMD/alwatr/commit/3e98bd926a495c13d476f2f1cfb9e546a059d4d8))
|
|
201
|
-
- **fetch:** remove extra \_options ([ad24c81](https://github.com/AliMD/alwatr/commit/ad24c8104b944ebda52308e60d41976ac1eeee81))
|
|
202
|
-
- **fetch:** revalidateCallback issue ([7207909](https://github.com/AliMD/alwatr/commit/72079098edb438c28256dad03d7802bc2fab0858))
|
|
203
|
-
- set correct path ([d01ce6f](https://github.com/AliMD/alwatr/commit/d01ce6ffa749a5e3e0e11e35b4ed61d75d61fec9))
|
|
204
|
-
- **storage-engine:** AlwatrDocumentStorage ([ca9a7bf](https://github.com/AliMD/alwatr/commit/ca9a7bf5e17b333538e749ada5d481a06c847101))
|
|
205
|
-
- tsconfig ([e96dcd3](https://github.com/AliMD/alwatr/commit/e96dcd30774a9f06f7d051e0504192cbbe019e35))
|
|
206
|
-
- tsconfig refrences ([cea0562](https://github.com/AliMD/alwatr/commit/cea05621ecfa499476c5b10a412e60f27ba6a06d))
|
|
201
|
+
- all import without .js ([fa739ab](https://github.com/AliMD/alwatr-eslib/commit/fa739ab23f67bae1d10bfcc146920b71377a26fc))
|
|
202
|
+
- **packages/fetch:** tsconfig refrences ([e6b9542](https://github.com/AliMD/alwatr-eslib/commit/e6b9542284e67b67600da4dcebd19daedb031c9c))
|
|
203
|
+
- **fetch:** always call revalidateCallback ([444edc5](https://github.com/AliMD/alwatr-eslib/commit/444edc52b6dd5de5418ae8630e1f2270f0114372))
|
|
204
|
+
- **fetch:** enhance handle and report errors in serviceRequest ([dbfc7ff](https://github.com/AliMD/alwatr-eslib/commit/dbfc7ff2a036216498dc8e2ff58b74b7eb8d9bc0))
|
|
205
|
+
- **fetch:** fetch_cache_not_found is not error ([3d1aa4e](https://github.com/AliMD/alwatr-eslib/commit/3d1aa4e572fbf4bc7b0a527a3fdcf4c521af18dd))
|
|
206
|
+
- **fetch:** fetch_failed error message ([3e98bd9](https://github.com/AliMD/alwatr-eslib/commit/3e98bd926a495c13d476f2f1cfb9e546a059d4d8))
|
|
207
|
+
- **fetch:** remove extra \_options ([ad24c81](https://github.com/AliMD/alwatr-eslib/commit/ad24c8104b944ebda52308e60d41976ac1eeee81))
|
|
208
|
+
- **fetch:** revalidateCallback issue ([7207909](https://github.com/AliMD/alwatr-eslib/commit/72079098edb438c28256dad03d7802bc2fab0858))
|
|
209
|
+
- set correct path ([d01ce6f](https://github.com/AliMD/alwatr-eslib/commit/d01ce6ffa749a5e3e0e11e35b4ed61d75d61fec9))
|
|
210
|
+
- **storage-engine:** AlwatrDocumentStorage ([ca9a7bf](https://github.com/AliMD/alwatr-eslib/commit/ca9a7bf5e17b333538e749ada5d481a06c847101))
|
|
211
|
+
- tsconfig ([e96dcd3](https://github.com/AliMD/alwatr-eslib/commit/e96dcd30774a9f06f7d051e0504192cbbe019e35))
|
|
212
|
+
- tsconfig refrences ([cea0562](https://github.com/AliMD/alwatr-eslib/commit/cea05621ecfa499476c5b10a412e60f27ba6a06d))
|
|
207
213
|
|
|
208
214
|
### Features
|
|
209
215
|
|
|
210
|
-
- **fetch:** add AlwatrDocumentStorage type ([44b84f0](https://github.com/AliMD/alwatr/commit/44b84f0754169a707472655811020f6e542a6e5d))
|
|
211
|
-
- **fetch:** serviceRequest ([b0b5478](https://github.com/AliMD/alwatr/commit/b0b5478d16b2cb590cfc29d644006e4a459dd6d6))
|
|
212
|
-
- **fetch:** serviceRequest ([#513](https://github.com/AliMD/alwatr/issues/513)) ([113ee49](https://github.com/AliMD/alwatr/commit/113ee498c778d9efc00cc4807bfef09e52336a31))
|
|
213
|
-
- improve accident debugging ([d697e6c](https://github.com/AliMD/alwatr/commit/d697e6c4c7d0a4172f4dba9caf6fbd478f79de9c))
|
|
214
|
-
- improve error debugging ([1fba504](https://github.com/AliMD/alwatr/commit/1fba50400a1e8ececc10bbe8ea11cc8dcea2289c))
|
|
216
|
+
- **fetch:** add AlwatrDocumentStorage type ([44b84f0](https://github.com/AliMD/alwatr-eslib/commit/44b84f0754169a707472655811020f6e542a6e5d))
|
|
217
|
+
- **fetch:** serviceRequest ([b0b5478](https://github.com/AliMD/alwatr-eslib/commit/b0b5478d16b2cb590cfc29d644006e4a459dd6d6))
|
|
218
|
+
- **fetch:** serviceRequest ([#513](https://github.com/AliMD/alwatr-eslib/issues/513)) ([113ee49](https://github.com/AliMD/alwatr-eslib/commit/113ee498c778d9efc00cc4807bfef09e52336a31))
|
|
219
|
+
- improve accident debugging ([d697e6c](https://github.com/AliMD/alwatr-eslib/commit/d697e6c4c7d0a4172f4dba9caf6fbd478f79de9c))
|
|
220
|
+
- improve error debugging ([1fba504](https://github.com/AliMD/alwatr-eslib/commit/1fba50400a1e8ececc10bbe8ea11cc8dcea2289c))
|
|
215
221
|
|
|
216
|
-
# [0.25.0](https://github.com/AliMD/alwatr/compare/v0.24.1...v0.25.0) (2022-12-07)
|
|
222
|
+
# [0.25.0](https://github.com/AliMD/alwatr-eslib/compare/v0.24.1...v0.25.0) (2022-12-07)
|
|
217
223
|
|
|
218
224
|
**Note:** Version bump only for package @alwatr/fetch
|
|
219
225
|
|
|
220
|
-
## [0.24.1](https://github.com/AliMD/alwatr/compare/v0.24.0...v0.24.1) (2022-12-01)
|
|
226
|
+
## [0.24.1](https://github.com/AliMD/alwatr-eslib/compare/v0.24.0...v0.24.1) (2022-12-01)
|
|
221
227
|
|
|
222
228
|
**Note:** Version bump only for package @alwatr/fetch
|
|
223
229
|
|
|
224
|
-
# [0.24.0](https://github.com/AliMD/alwatr/compare/v0.23.0...v0.24.0) (2022-11-28)
|
|
230
|
+
# [0.24.0](https://github.com/AliMD/alwatr-eslib/compare/v0.23.0...v0.24.0) (2022-11-28)
|
|
225
231
|
|
|
226
232
|
### Bug Fixes
|
|
227
233
|
|
|
228
|
-
- **fetch:** AlwatrServiceResponseSuccessWithMeta types ([b46f3f2](https://github.com/AliMD/alwatr/commit/b46f3f22a7c5a671385b0a8f58d0881501ce1b94))
|
|
229
|
-
- **fetch:** use nre method type ([1c63eca](https://github.com/AliMD/alwatr/commit/1c63eca994582c241112c3e5ae79bac49831532f))
|
|
230
|
-
- update types ([44cc57f](https://github.com/AliMD/alwatr/commit/44cc57f97a99ed810dae3fde39c9525bd0e8ff3c))
|
|
231
|
-
- use ~ for package version ([4e027ff](https://github.com/AliMD/alwatr/commit/4e027ff63875e03b088ebcdc1bdf2495f4494eec))
|
|
234
|
+
- **fetch:** AlwatrServiceResponseSuccessWithMeta types ([b46f3f2](https://github.com/AliMD/alwatr-eslib/commit/b46f3f22a7c5a671385b0a8f58d0881501ce1b94))
|
|
235
|
+
- **fetch:** use nre method type ([1c63eca](https://github.com/AliMD/alwatr-eslib/commit/1c63eca994582c241112c3e5ae79bac49831532f))
|
|
236
|
+
- update types ([44cc57f](https://github.com/AliMD/alwatr-eslib/commit/44cc57f97a99ed810dae3fde39c9525bd0e8ff3c))
|
|
237
|
+
- use ~ for package version ([4e027ff](https://github.com/AliMD/alwatr-eslib/commit/4e027ff63875e03b088ebcdc1bdf2495f4494eec))
|
|
232
238
|
|
|
233
|
-
# [0.23.0](https://github.com/AliMD/alwatr/compare/v0.22.1...v0.23.0) (2022-11-23)
|
|
239
|
+
# [0.23.0](https://github.com/AliMD/alwatr-eslib/compare/v0.22.1...v0.23.0) (2022-11-23)
|
|
234
240
|
|
|
235
241
|
### Bug Fixes
|
|
236
242
|
|
|
237
|
-
- **fetch:** types ([4ce81a7](https://github.com/AliMD/alwatr/commit/4ce81a7b82d01ab938754bc5e483ccb074671e33))
|
|
243
|
+
- **fetch:** types ([4ce81a7](https://github.com/AliMD/alwatr-eslib/commit/4ce81a7b82d01ab938754bc5e483ccb074671e33))
|
|
238
244
|
|
|
239
245
|
### Features
|
|
240
246
|
|
|
241
|
-
- **fetch:** set token in options ([033a638](https://github.com/AliMD/alwatr/commit/033a63846f8c43b86c7d0a662e4bb6aa7cae3af5))
|
|
247
|
+
- **fetch:** set token in options ([033a638](https://github.com/AliMD/alwatr-eslib/commit/033a63846f8c43b86c7d0a662e4bb6aa7cae3af5))
|
|
242
248
|
|
|
243
|
-
## [0.22.1](https://github.com/AliMD/alwatr/compare/v0.22.0...v0.22.1) (2022-11-21)
|
|
249
|
+
## [0.22.1](https://github.com/AliMD/alwatr-eslib/compare/v0.22.0...v0.22.1) (2022-11-21)
|
|
244
250
|
|
|
245
251
|
**Note:** Version bump only for package @alwatr/fetch
|
|
246
252
|
|
|
247
|
-
# [0.22.0](https://github.com/AliMD/alwatr/compare/v0.21.0...v0.22.0) (2022-11-20)
|
|
253
|
+
# [0.22.0](https://github.com/AliMD/alwatr-eslib/compare/v0.21.0...v0.22.0) (2022-11-20)
|
|
248
254
|
|
|
249
255
|
### Bug Fixes
|
|
250
256
|
|
|
251
|
-
- **fetch:** \_handleRetryPattern ([fe4ac12](https://github.com/AliMD/alwatr/commit/fe4ac12b4ad3086d44e545591c767cb322e32b8d))
|
|
252
|
-
- **fetch:** bodyJson issue ([5d8d6fa](https://github.com/AliMD/alwatr/commit/5d8d6fa4a0f608c2c5ed583aa54de9b836daaa5f))
|
|
257
|
+
- **fetch:** \_handleRetryPattern ([fe4ac12](https://github.com/AliMD/alwatr-eslib/commit/fe4ac12b4ad3086d44e545591c767cb322e32b8d))
|
|
258
|
+
- **fetch:** bodyJson issue ([5d8d6fa](https://github.com/AliMD/alwatr-eslib/commit/5d8d6fa4a0f608c2c5ed583aa54de9b836daaa5f))
|
|
253
259
|
|
|
254
260
|
### Features
|
|
255
261
|
|
|
256
|
-
- **fetch:** support nodejs ([2ed2ef4](https://github.com/AliMD/alwatr/commit/2ed2ef42e9f204d4896ada4e20b839cfabdc7284))
|
|
262
|
+
- **fetch:** support nodejs ([2ed2ef4](https://github.com/AliMD/alwatr-eslib/commit/2ed2ef42e9f204d4896ada4e20b839cfabdc7284))
|
|
257
263
|
|
|
258
264
|
### Performance Improvements
|
|
259
265
|
|
|
260
|
-
- **fetch:** Improve performance and decrease memory usage ([7c29333](https://github.com/AliMD/alwatr/commit/7c293339215bea3a5013effe4aea5b6267a7a75e))
|
|
266
|
+
- **fetch:** Improve performance and decrease memory usage ([7c29333](https://github.com/AliMD/alwatr-eslib/commit/7c293339215bea3a5013effe4aea5b6267a7a75e))
|
|
261
267
|
|
|
262
|
-
# [0.21.0](https://github.com/AliMD/alwatr/compare/v0.20.0...v0.21.0) (2022-11-13)
|
|
268
|
+
# [0.21.0](https://github.com/AliMD/alwatr-eslib/compare/v0.20.0...v0.21.0) (2022-11-13)
|
|
263
269
|
|
|
264
270
|
**Note:** Version bump only for package @alwatr/fetch
|
|
265
271
|
|
|
266
|
-
# [0.20.0](https://github.com/AliMD/alwatr/compare/v0.19.0...v0.20.0) (2022-11-05)
|
|
272
|
+
# [0.20.0](https://github.com/AliMD/alwatr-eslib/compare/v0.19.0...v0.20.0) (2022-11-05)
|
|
267
273
|
|
|
268
274
|
### Bug Fixes
|
|
269
275
|
|
|
270
|
-
- **fetch:** \_handleRemoveDuplicate ([6207b48](https://github.com/AliMD/alwatr/commit/6207b4867935d05a0e5a1c795de9efab4ff77c68))
|
|
271
|
-
- **fetch:** cacheStorageName issue ([e641ff7](https://github.com/AliMD/alwatr/commit/e641ff740055a68b6397f00bf46f1d05943c348a))
|
|
272
|
-
- **fetch:** method type and case ([8d4ba77](https://github.com/AliMD/alwatr/commit/8d4ba77e56ecfe2aeaa459dcd26039c38c4b2199))
|
|
273
|
-
- **fetch:** prevent duplicate revalidateCallback on first time ([2da7dc5](https://github.com/AliMD/alwatr/commit/2da7dc579e4850af06914590a231548cd469cd75))
|
|
276
|
+
- **fetch:** \_handleRemoveDuplicate ([6207b48](https://github.com/AliMD/alwatr-eslib/commit/6207b4867935d05a0e5a1c795de9efab4ff77c68))
|
|
277
|
+
- **fetch:** cacheStorageName issue ([e641ff7](https://github.com/AliMD/alwatr-eslib/commit/e641ff740055a68b6397f00bf46f1d05943c348a))
|
|
278
|
+
- **fetch:** method type and case ([8d4ba77](https://github.com/AliMD/alwatr-eslib/commit/8d4ba77e56ecfe2aeaa459dcd26039c38c4b2199))
|
|
279
|
+
- **fetch:** prevent duplicate revalidateCallback on first time ([2da7dc5](https://github.com/AliMD/alwatr-eslib/commit/2da7dc579e4850af06914590a231548cd469cd75))
|
|
274
280
|
|
|
275
281
|
### Features
|
|
276
282
|
|
|
277
|
-
- **fetch:** add retryDelay ([28e3244](https://github.com/AliMD/alwatr/commit/28e3244a2d35e7a1a91f9a5a4942f1bb4a56d981))
|
|
278
|
-
- **fetch:** revalidate callback for `stale_while_revalidate` cache strategy. ([8976cc4](https://github.com/AliMD/alwatr/commit/8976cc424b2a9e96e4cfa69941d5378a6640af6f))
|
|
279
|
-
- **fetch:** simple memory caching for remove duplicate/parallel requests ([74cd7f1](https://github.com/AliMD/alwatr/commit/74cd7f1500d730021a0f577c0ecfd7a2460fdb15))
|
|
283
|
+
- **fetch:** add retryDelay ([28e3244](https://github.com/AliMD/alwatr-eslib/commit/28e3244a2d35e7a1a91f9a5a4942f1bb4a56d981))
|
|
284
|
+
- **fetch:** revalidate callback for `stale_while_revalidate` cache strategy. ([8976cc4](https://github.com/AliMD/alwatr-eslib/commit/8976cc424b2a9e96e4cfa69941d5378a6640af6f))
|
|
285
|
+
- **fetch:** simple memory caching for remove duplicate/parallel requests ([74cd7f1](https://github.com/AliMD/alwatr-eslib/commit/74cd7f1500d730021a0f577c0ecfd7a2460fdb15))
|
|
280
286
|
|
|
281
|
-
# [0.19.0](https://github.com/AliMD/alwatr/compare/v0.18.0...v0.19.0) (2022-11-01)
|
|
287
|
+
# [0.19.0](https://github.com/AliMD/alwatr-eslib/compare/v0.18.0...v0.19.0) (2022-11-01)
|
|
282
288
|
|
|
283
289
|
**Note:** Version bump only for package @alwatr/fetch
|
|
284
290
|
|
|
285
|
-
# [0.18.0](https://github.com/AliMD/alwatr/compare/v0.17.0...v0.18.0) (2022-10-22)
|
|
291
|
+
# [0.18.0](https://github.com/AliMD/alwatr-eslib/compare/v0.17.0...v0.18.0) (2022-10-22)
|
|
286
292
|
|
|
287
293
|
### Bug Fixes
|
|
288
294
|
|
|
289
|
-
- **fetch:** update cache on network_first ([54b59cd](https://github.com/AliMD/alwatr/commit/54b59cdc64a543a0afcd09d2ec78d20661f3a06d))
|
|
295
|
+
- **fetch:** update cache on network_first ([54b59cd](https://github.com/AliMD/alwatr-eslib/commit/54b59cdc64a543a0afcd09d2ec78d20661f3a06d))
|
|
290
296
|
|
|
291
297
|
### Features
|
|
292
298
|
|
|
293
|
-
- **fetch:** cache strategy ([106eabd](https://github.com/AliMD/alwatr/commit/106eabdd10574b24f9919049d0b509ae40168a9a))
|
|
294
|
-
- **fetch:** optional cacheStorageName ([f2bd8f2](https://github.com/AliMD/alwatr/commit/f2bd8f2a899466628417294cb269fd569b87e17a))
|
|
295
|
-
- **fetch:** stale_while_revalidate cache strategy ([f758f49](https://github.com/AliMD/alwatr/commit/f758f495efb42ce7441e8f2058c1b67de0615a8c))
|
|
299
|
+
- **fetch:** cache strategy ([106eabd](https://github.com/AliMD/alwatr-eslib/commit/106eabdd10574b24f9919049d0b509ae40168a9a))
|
|
300
|
+
- **fetch:** optional cacheStorageName ([f2bd8f2](https://github.com/AliMD/alwatr-eslib/commit/f2bd8f2a899466628417294cb269fd569b87e17a))
|
|
301
|
+
- **fetch:** stale_while_revalidate cache strategy ([f758f49](https://github.com/AliMD/alwatr-eslib/commit/f758f495efb42ce7441e8f2058c1b67de0615a8c))
|
|
296
302
|
|
|
297
|
-
# [0.17.0](https://github.com/AliMD/alwatr/compare/v0.16.1...v0.17.0) (2022-10-21)
|
|
303
|
+
# [0.17.0](https://github.com/AliMD/alwatr-eslib/compare/v0.16.1...v0.17.0) (2022-10-21)
|
|
298
304
|
|
|
299
305
|
### Bug Fixes
|
|
300
306
|
|
|
301
|
-
- **fetch:** not ok retry condition ([0da1edd](https://github.com/AliMD/alwatr/commit/0da1edda64ec5abf70a83361d159e207691e368e))
|
|
307
|
+
- **fetch:** not ok retry condition ([0da1edd](https://github.com/AliMD/alwatr-eslib/commit/0da1edda64ec5abf70a83361d159e207691e368e))
|
|
302
308
|
|
|
303
309
|
### Features
|
|
304
310
|
|
|
305
|
-
- **fetch:** docs & pattern ([459ad1c](https://github.com/AliMD/alwatr/commit/459ad1c5996f851769306639136d79c0f7270770))
|
|
306
|
-
- **fetch:** logger & jsdocs ([36f652d](https://github.com/AliMD/alwatr/commit/36f652d5dad23b2aeb824af77d1b0e442119c6e8))
|
|
307
|
-
- **fetch:** retry pattern ([5350d1a](https://github.com/AliMD/alwatr/commit/5350d1a81b9134d598f46006a1baa880b280ea98))
|
|
311
|
+
- **fetch:** docs & pattern ([459ad1c](https://github.com/AliMD/alwatr-eslib/commit/459ad1c5996f851769306639136d79c0f7270770))
|
|
312
|
+
- **fetch:** logger & jsdocs ([36f652d](https://github.com/AliMD/alwatr-eslib/commit/36f652d5dad23b2aeb824af77d1b0e442119c6e8))
|
|
313
|
+
- **fetch:** retry pattern ([5350d1a](https://github.com/AliMD/alwatr-eslib/commit/5350d1a81b9134d598f46006a1baa880b280ea98))
|
|
308
314
|
|
|
309
315
|
### Performance Improvements
|
|
310
316
|
|
|
311
|
-
- **fetch:** syntax ([1fdd02e](https://github.com/AliMD/alwatr/commit/1fdd02ec8b52e32a124b8d7c1d1c7fd7c993e3af))
|
|
317
|
+
- **fetch:** syntax ([1fdd02e](https://github.com/AliMD/alwatr-eslib/commit/1fdd02ec8b52e32a124b8d7c1d1c7fd7c993e3af))
|
|
312
318
|
|
|
313
|
-
# [0.16.0](https://github.com/AliMD/alwatr/compare/v0.15.0...v0.16.0) (2022-09-08)
|
|
319
|
+
# [0.16.0](https://github.com/AliMD/alwatr-eslib/compare/v0.15.0...v0.16.0) (2022-09-08)
|
|
314
320
|
|
|
315
321
|
**Note:** Version bump only for package @alwatr/fetch
|
|
316
322
|
|
|
317
|
-
# [0.15.0](https://github.com/AliMD/alwatr/compare/v0.14.0...v0.15.0) (2022-09-01)
|
|
323
|
+
# [0.15.0](https://github.com/AliMD/alwatr-eslib/compare/v0.14.0...v0.15.0) (2022-09-01)
|
|
318
324
|
|
|
319
325
|
**Note:** Version bump only for package @alwatr/fetch
|
|
320
326
|
|
|
321
|
-
# [0.14.0](https://github.com/AliMD/alwatr/compare/v0.13.0...v0.14.0) (2022-08-19)
|
|
327
|
+
# [0.14.0](https://github.com/AliMD/alwatr-eslib/compare/v0.13.0...v0.14.0) (2022-08-19)
|
|
322
328
|
|
|
323
329
|
**Note:** Version bump only for package @alwatr/fetch
|
|
324
330
|
|
|
325
|
-
# [0.13.0](https://github.com/AliMD/alwatr/compare/v0.12.0...v0.13.0) (2022-08-06)
|
|
331
|
+
# [0.13.0](https://github.com/AliMD/alwatr-eslib/compare/v0.12.0...v0.13.0) (2022-08-06)
|
|
326
332
|
|
|
327
333
|
**Note:** Version bump only for package @alwatr/fetch
|
|
328
334
|
|
|
329
|
-
# [0.12.0](https://github.com/AliMD/alwatr/compare/v0.11.0...v0.12.0) (2022-07-22)
|
|
335
|
+
# [0.12.0](https://github.com/AliMD/alwatr-eslib/compare/v0.11.0...v0.12.0) (2022-07-22)
|
|
330
336
|
|
|
331
337
|
### Bug Fixes
|
|
332
338
|
|
|
333
|
-
- **fetch:** compatible with new ts types AbortSignal ([949655a](https://github.com/AliMD/alwatr/commit/949655a257852aaaaa311e32603ecc0819eedf51))
|
|
339
|
+
- **fetch:** compatible with new ts types AbortSignal ([949655a](https://github.com/AliMD/alwatr-eslib/commit/949655a257852aaaaa311e32603ecc0819eedf51))
|
|
334
340
|
|
|
335
|
-
# [0.11.0](https://github.com/AliMD/alwatr/compare/v0.10.1...v0.11.0) (2022-04-16)
|
|
341
|
+
# [0.11.0](https://github.com/AliMD/alwatr-eslib/compare/v0.10.1...v0.11.0) (2022-04-16)
|
|
336
342
|
|
|
337
343
|
**Note:** Version bump only for package @alwatr/fetch
|
|
338
344
|
|
|
339
|
-
# [0.10.0](https://github.com/AliMD/alwatr/compare/v0.9.0...v0.10.0) (2022-04-02)
|
|
345
|
+
# [0.10.0](https://github.com/AliMD/alwatr-eslib/compare/v0.9.0...v0.10.0) (2022-04-02)
|
|
340
346
|
|
|
341
347
|
**Note:** Version bump only for package @alwatr/fetch
|
|
342
348
|
|
|
343
|
-
# [0.9.0](https://github.com/AliMD/alwatr/compare/v0.8.0...v0.9.0) (2022-03-22)
|
|
349
|
+
# [0.9.0](https://github.com/AliMD/alwatr-eslib/compare/v0.8.0...v0.9.0) (2022-03-22)
|
|
344
350
|
|
|
345
351
|
**Note:** Version bump only for package @alwatr/fetch
|
|
346
352
|
|
|
347
|
-
# [0.8.0](https://github.com/AliMD/alwatr/compare/v0.7.2...v0.8.0) (2022-03-14)
|
|
353
|
+
# [0.8.0](https://github.com/AliMD/alwatr-eslib/compare/v0.7.2...v0.8.0) (2022-03-14)
|
|
348
354
|
|
|
349
355
|
**Note:** Version bump only for package @alwatr/fetch
|
|
350
356
|
|
|
351
|
-
## [0.7.2](https://github.com/AliMD/alwatr/compare/v0.7.1...v0.7.2) (2022-03-12)
|
|
357
|
+
## [0.7.2](https://github.com/AliMD/alwatr-eslib/compare/v0.7.1...v0.7.2) (2022-03-12)
|
|
352
358
|
|
|
353
359
|
**Note:** Version bump only for package @alwatr/fetch
|
|
354
360
|
|
|
355
|
-
# [0.7.0](https://github.com/AliMD/alwatr/compare/v0.6.1...v0.7.0) (2022-03-12)
|
|
361
|
+
# [0.7.0](https://github.com/AliMD/alwatr-eslib/compare/v0.6.1...v0.7.0) (2022-03-12)
|
|
356
362
|
|
|
357
363
|
**Note:** Version bump only for package @alwatr/fetch
|
|
358
364
|
|
|
359
|
-
# [0.6.0](https://github.com/AliMD/alwatr/compare/v0.5.0...v0.6.0) (2022-03-11)
|
|
365
|
+
# [0.6.0](https://github.com/AliMD/alwatr-eslib/compare/v0.5.0...v0.6.0) (2022-03-11)
|
|
360
366
|
|
|
361
367
|
### Bug Fixes
|
|
362
368
|
|
|
363
|
-
- alalwatr ([898aa6e](https://github.com/AliMD/alwatr/commit/898aa6ed0888eab9265c83b96a50f1b8c216d143))
|
|
364
|
-
- **packages:** duplicate alwatr keyword ([77d4aa2](https://github.com/AliMD/alwatr/commit/77d4aa2105ad47515c3eee251fd6b8c281d0d1fc))
|
|
369
|
+
- alalwatr ([898aa6e](https://github.com/AliMD/alwatr-eslib/commit/898aa6ed0888eab9265c83b96a50f1b8c216d143))
|
|
370
|
+
- **packages:** duplicate alwatr keyword ([77d4aa2](https://github.com/AliMD/alwatr-eslib/commit/77d4aa2105ad47515c3eee251fd6b8c281d0d1fc))
|
|
365
371
|
|
|
366
|
-
# [0.5.0](https://github.com/AliMD/alwatr/compare/v0.4.0...v0.5.0) (2022-03-11)
|
|
372
|
+
# [0.5.0](https://github.com/AliMD/alwatr-eslib/compare/v0.4.0...v0.5.0) (2022-03-11)
|
|
367
373
|
|
|
368
374
|
**Note:** Version bump only for package @alwatr/fetch
|
|
369
375
|
|
|
370
|
-
# [0.4.0](https://github.com/AliMD/alwatr/compare/v0.3.0...v0.4.0) (2022-03-11)
|
|
376
|
+
# [0.4.0](https://github.com/AliMD/alwatr-eslib/compare/v0.3.0...v0.4.0) (2022-03-11)
|
|
371
377
|
|
|
372
378
|
### Bug Fixes
|
|
373
379
|
|
|
374
|
-
- **fetch:** build issue [#73](https://github.com/AliMD/alwatr/issues/73) ([fb74463](https://github.com/AliMD/alwatr/commit/fb74463d367393706d16e482488a565bdfef70a1))
|
|
380
|
+
- **fetch:** build issue [#73](https://github.com/AliMD/alwatr-eslib/issues/73) ([fb74463](https://github.com/AliMD/alwatr-eslib/commit/fb74463d367393706d16e482488a565bdfef70a1))
|
|
375
381
|
|
|
376
|
-
# [0.3.0](https://github.com/AliMD/alwatr/compare/v0.2.1...v0.3.0) (2022-03-06)
|
|
382
|
+
# [0.3.0](https://github.com/AliMD/alwatr-eslib/compare/v0.2.1...v0.3.0) (2022-03-06)
|
|
377
383
|
|
|
378
384
|
**Note:** Version bump only for package @alwatr/fetch
|
|
379
385
|
|
|
380
|
-
## [0.2.1](https://github.com/AliMD/alwatr/compare/v0.2.0...v0.2.1) (2022-03-05)
|
|
386
|
+
## [0.2.1](https://github.com/AliMD/alwatr-eslib/compare/v0.2.0...v0.2.1) (2022-03-05)
|
|
381
387
|
|
|
382
388
|
**Note:** Version bump only for package @alwatr/fetch
|
|
383
389
|
|
|
384
|
-
# [0.2.0](https://github.com/AliMD/alwatr/compare/v0.1.2...v0.2.0) (2022-03-05)
|
|
390
|
+
# [0.2.0](https://github.com/AliMD/alwatr-eslib/compare/v0.1.2...v0.2.0) (2022-03-05)
|
|
385
391
|
|
|
386
392
|
### Bug Fixes
|
|
387
393
|
|
|
388
|
-
- **fetch:** error codes ([4e0be80](https://github.com/AliMD/alwatr/commit/4e0be80786b6667035ae82750f2351bd2da4f341))
|
|
394
|
+
- **fetch:** error codes ([4e0be80](https://github.com/AliMD/alwatr-eslib/commit/4e0be80786b6667035ae82750f2351bd2da4f341))
|
|
389
395
|
|
|
390
396
|
### Features
|
|
391
397
|
|
|
392
|
-
- **fetch:** add getData ([4a627c4](https://github.com/AliMD/alwatr/commit/4a627c43d2ad07acb340f058f02d41ce57288405))
|
|
393
|
-
- **fetch:** add postData and fetchJson ([b0262b8](https://github.com/AliMD/alwatr/commit/b0262b83b5b7d8b7c376dce68aae3e16bd8e2610))
|
|
394
|
-
- **fetch:** base fetch api ([925cdab](https://github.com/AliMD/alwatr/commit/925cdab8700ffb801e1d836ffc5d3245b66815cf))
|
|
395
|
-
- **fetch:** FetchOptions type ([dd2d141](https://github.com/AliMD/alwatr/commit/dd2d1418d090387e1afa8277f78ae88ace17fd17))
|
|
396
|
-
- **fetch:** new enhanced fetch package ([7e90472](https://github.com/AliMD/alwatr/commit/7e904720c983372317358ce107f6ad0f79c65647))
|
|
398
|
+
- **fetch:** add getData ([4a627c4](https://github.com/AliMD/alwatr-eslib/commit/4a627c43d2ad07acb340f058f02d41ce57288405))
|
|
399
|
+
- **fetch:** add postData and fetchJson ([b0262b8](https://github.com/AliMD/alwatr-eslib/commit/b0262b83b5b7d8b7c376dce68aae3e16bd8e2610))
|
|
400
|
+
- **fetch:** base fetch api ([925cdab](https://github.com/AliMD/alwatr-eslib/commit/925cdab8700ffb801e1d836ffc5d3245b66815cf))
|
|
401
|
+
- **fetch:** FetchOptions type ([dd2d141](https://github.com/AliMD/alwatr-eslib/commit/dd2d1418d090387e1afa8277f78ae88ace17fd17))
|
|
402
|
+
- **fetch:** new enhanced fetch package ([7e90472](https://github.com/AliMD/alwatr-eslib/commit/7e904720c983372317358ce107f6ad0f79c65647))
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alwatr/fetch",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.1",
|
|
4
4
|
"description": "Enhanced fetch API with cache strategy, retry pattern, timeout, helper methods and enhanced types written in tiny TypeScript, ES module.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"fetch",
|
|
@@ -26,17 +26,17 @@
|
|
|
26
26
|
},
|
|
27
27
|
"repository": {
|
|
28
28
|
"type": "git",
|
|
29
|
-
"url": "https://github.com/AliMD/alwatr",
|
|
30
|
-
"directory": "
|
|
29
|
+
"url": "https://github.com/AliMD/alwatr-eslib",
|
|
30
|
+
"directory": "packages/fetch"
|
|
31
31
|
},
|
|
32
|
-
"homepage": "https://github.com/AliMD/alwatr/tree/
|
|
32
|
+
"homepage": "https://github.com/AliMD/alwatr-eslib/tree/next/packages/fetch#readme",
|
|
33
33
|
"bugs": {
|
|
34
|
-
"url": "https://github.com/AliMD/alwatr/issues"
|
|
34
|
+
"url": "https://github.com/AliMD/alwatr-eslib/issues"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@alwatr/logger": "^1.1.
|
|
38
|
-
"@alwatr/util": "^1.2.
|
|
37
|
+
"@alwatr/logger": "^1.1.5",
|
|
38
|
+
"@alwatr/util": "^1.2.3",
|
|
39
39
|
"tslib": "^2.6.2"
|
|
40
40
|
},
|
|
41
|
-
"gitHead": "
|
|
41
|
+
"gitHead": "f223974f90666c18eab94dfefcc6b01d7c9e8f63"
|
|
42
42
|
}
|