You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: CHANGELOG.md
+20-15
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,13 @@
1
1
# CHANGELOG 📝
2
2
3
+
## v0.6.3
4
+
5
+
- Refactor: Add `cacheKey` to cache plugin for persistent cache
6
+
- Tests: Add persistent cache test
7
+
3
8
## v0.6.2
4
9
5
-
- Refactor: minor improvment
10
+
- Refactor: minor improvement
6
11
- Refactor: use `'./utils'` instead of `'xior/utils'`, fix [Unable to resolve module xior/utils #34](https://github.com/suhaotian/xior/issues/34)
7
12
8
13
## v0.6.1
@@ -11,7 +16,7 @@
11
16
12
17
## v0.6.0
13
18
14
-
- Fix: response interceptors should run after plugins(Fix https://github.com/suhaotian/xior/issues/29)
19
+
- Fix: response interceptors should run after plugins(Fix https://github.com/suhaotian/xior/issues/29)
15
20
16
21
## v0.5.5
17
22
@@ -27,7 +32,7 @@
27
32
28
33
## v0.5.2 2024/7/9
29
34
30
-
- Fix(core): if params include `Date` value, call `.toISOString()` and utils `encodeParams` support options `allowDot: true` and `arrayFormat: 'indices' | 'repeat' | 'brackets'`(default is `'indices'`). Fix [issues/22](https://github.com/suhaotian/xior/issues/22) and [issues/23](https://github.com/suhaotian/xior/issues/23)
35
+
- Fix(core): if params include `Date` value, call `.toISOString()` and utils `encodeParams` support options `allowDot: true` and `arrayFormat: 'indices' | 'repeat' | 'brackets'`(default is `'indices'`). Fix [issues/22](https://github.com/suhaotian/xior/issues/22) and [issues/23](https://github.com/suhaotian/xior/issues/23)
31
36
32
37
---
33
38
@@ -100,12 +105,12 @@ import { Xior } from 'xior';
100
105
101
106
This version is about Axios compatible issue in some cases. Fixing https://github.com/suhaotian/xior/issues/12 and https://github.com/suhaotian/xior/issues/15.
102
107
103
-
- Feat(core): when `responseType: 'blob' | 'arrarybuffer'` then the `resposne.data` is `Blob` and `ArrayBuffer`, no need `response.blob()` or `response.arraybuffer()` anymore.
104
-
- Fix(interceptors): make sure the multiple response interceptors chain behaviour same as axios's interceptors.
108
+
- Feat(core): when `responseType: 'blob' | 'arraybuffer'` then the `response.data` is `Blob` and `ArrayBuffer`, no need `response.blob()` or `response.arraybuffer()` anymore.
109
+
- Fix(interceptors): make sure the multiple response interceptors chain behavior same as axios's interceptors.
105
110
106
111
## v0.3.13 2024/04/21
107
112
108
-
- Feat(plugin): add custom paramaters of LRU in plugins: cache, error-cache, throttle
113
+
- Feat(plugin): add custom parameters of LRU in plugins: cache, error-cache, throttle
109
114
- Feat(plugin): add `cacheTime` to cache plugin
110
115
111
116
## v0.3.12 2024/04/13
@@ -198,7 +203,7 @@ http.plugins.use(
198
203
199
204
## v0.3.0 2024/03/24
200
205
201
-
- fix(core): POST/DELETE/PUT/PATCH methods when `content-type=application/x-www-form-urlencoded`, use formData to in body(previous put in url)
206
+
- fix(core): POST/DELETE/PUT/PATCH methods when `content-type=application/x-www-form-urlencoded`, use formData to in body(previous put in url)
202
207
- refactor(core): default request interceptors should work before send fetch
203
208
- refactor(core): remove `_data` in request config
204
209
- refactor(core): remove `encode` in options, use `paramsSerializer` option instead
0 commit comments