@keq-request/cache 5.0.0-beta.9 → 5.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 +121 -0
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,126 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 5.0.1
|
|
4
|
+
|
|
5
|
+
## 5.0.0
|
|
6
|
+
|
|
7
|
+
### Major Changes
|
|
8
|
+
|
|
9
|
+
- 5f5bdd9: **BREAKING CHANGE:** Simplified KeqCacheStrategy interface.
|
|
10
|
+
- 5175097: **BREAKING CHANGE:** group all packages under the @keq-request scope
|
|
11
|
+
|
|
12
|
+
- keq-cache => @keq-request/cache
|
|
13
|
+
- keq-headers => @keq-request/headers
|
|
14
|
+
- keq-cli => @keq-request/cli
|
|
15
|
+
- keq-url => @keq-request/url
|
|
16
|
+
- keq-exception => @keq-request/exception
|
|
17
|
+
|
|
18
|
+
- 153244f: **BREAKING CHANGE:** `onNetworkResponse` has been removed, please use `.on('cache:update', callback)` instead.
|
|
19
|
+
- 0a04864: **Fix:** fix: update browser targets to chrome91/firefox90/safari15/edge91 to resolve esbuild 0.27 destructuring build errors.
|
|
20
|
+
|
|
21
|
+
### Minor Changes
|
|
22
|
+
|
|
23
|
+
- 153244f: **Feat:** Add cache observability:
|
|
24
|
+
|
|
25
|
+
- Add `onCacheGet`, `onCacheSet`, `onCacheRemove`, `onCacheEvict` and `onCacheExpired` hooks for `MemoryStorage` and `IndexedDBStorage`
|
|
26
|
+
- Add `cache:hit`, `cache:miss` and `cache:update` keq events
|
|
27
|
+
- Add debug logs and `Server-Timing` header
|
|
28
|
+
- Add `print` method to display `MemoryStorage` entries
|
|
29
|
+
|
|
30
|
+
- 54520a9: **Feat:** using `.option('cache', false)` can disable caching for request that are cached by default
|
|
31
|
+
- 89274bd: **Feat:** add a Size enum make it easier to set the size
|
|
32
|
+
- 9ab2c64: Convert non-essential cli tasks into plugins.
|
|
33
|
+
|
|
34
|
+
### Patch Changes
|
|
35
|
+
|
|
36
|
+
- Updated dependencies [c2d4453]
|
|
37
|
+
- Updated dependencies [95908fd]
|
|
38
|
+
- Updated dependencies [153244f]
|
|
39
|
+
- Updated dependencies [0a2eb2f]
|
|
40
|
+
- Updated dependencies [153244f]
|
|
41
|
+
- Updated dependencies [a960073]
|
|
42
|
+
- Updated dependencies [214ae66]
|
|
43
|
+
- Updated dependencies [153244f]
|
|
44
|
+
- Updated dependencies [7ff2162]
|
|
45
|
+
- Updated dependencies [f84775d]
|
|
46
|
+
- Updated dependencies [153244f]
|
|
47
|
+
- Updated dependencies [a7a83da]
|
|
48
|
+
- Updated dependencies [153244f]
|
|
49
|
+
- Updated dependencies [153244f]
|
|
50
|
+
- Updated dependencies [f8abc63]
|
|
51
|
+
- Updated dependencies [153244f]
|
|
52
|
+
- Updated dependencies [ca6c879]
|
|
53
|
+
- Updated dependencies [b8d02ca]
|
|
54
|
+
- Updated dependencies [0a04864]
|
|
55
|
+
- Updated dependencies [153244f]
|
|
56
|
+
- Updated dependencies [eed26f9]
|
|
57
|
+
- keq@5.0.0
|
|
58
|
+
|
|
59
|
+
## 5.0.0-beta.19
|
|
60
|
+
|
|
61
|
+
### Patch Changes
|
|
62
|
+
|
|
63
|
+
- Updated dependencies [cc017de]
|
|
64
|
+
- keq@5.0.0-beta.19
|
|
65
|
+
|
|
66
|
+
## 5.0.0-beta.18
|
|
67
|
+
|
|
68
|
+
### Patch Changes
|
|
69
|
+
|
|
70
|
+
- keq@5.0.0-beta.18
|
|
71
|
+
|
|
72
|
+
## 5.0.0-beta.17
|
|
73
|
+
|
|
74
|
+
### Patch Changes
|
|
75
|
+
|
|
76
|
+
- keq@5.0.0-beta.17
|
|
77
|
+
|
|
78
|
+
## 5.0.0-beta.16
|
|
79
|
+
|
|
80
|
+
### Patch Changes
|
|
81
|
+
|
|
82
|
+
- Updated dependencies [c2d4453]
|
|
83
|
+
- Updated dependencies [a960073]
|
|
84
|
+
- Updated dependencies [f84775d]
|
|
85
|
+
- keq@5.0.0-beta.16
|
|
86
|
+
|
|
87
|
+
## 5.0.0-beta.15
|
|
88
|
+
|
|
89
|
+
### Patch Changes
|
|
90
|
+
|
|
91
|
+
- keq@5.0.0-beta.15
|
|
92
|
+
|
|
93
|
+
## 5.0.0-beta.14
|
|
94
|
+
|
|
95
|
+
### Patch Changes
|
|
96
|
+
|
|
97
|
+
- keq@5.0.0-beta.14
|
|
98
|
+
|
|
99
|
+
## 5.0.0-beta.13
|
|
100
|
+
|
|
101
|
+
### Patch Changes
|
|
102
|
+
|
|
103
|
+
- keq@5.0.0-beta.13
|
|
104
|
+
|
|
105
|
+
## 5.0.0-beta.12
|
|
106
|
+
|
|
107
|
+
### Patch Changes
|
|
108
|
+
|
|
109
|
+
- keq@5.0.0-beta.12
|
|
110
|
+
|
|
111
|
+
## 5.0.0-beta.11
|
|
112
|
+
|
|
113
|
+
### Patch Changes
|
|
114
|
+
|
|
115
|
+
- keq@5.0.0-beta.11
|
|
116
|
+
|
|
117
|
+
## 5.0.0-beta.10
|
|
118
|
+
|
|
119
|
+
### Patch Changes
|
|
120
|
+
|
|
121
|
+
- Updated dependencies [95908fd]
|
|
122
|
+
- keq@5.0.0-beta.10
|
|
123
|
+
|
|
3
124
|
## 5.0.0-beta.9
|
|
4
125
|
|
|
5
126
|
### Patch Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@keq-request/cache",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.1",
|
|
4
4
|
"description": "Adds request caching capabilities similar to service workers",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"keq",
|
|
@@ -30,10 +30,10 @@
|
|
|
30
30
|
"@types/ramda": "^0.31.1",
|
|
31
31
|
"fake-indexeddb": "^6.2.5",
|
|
32
32
|
"isomorphic-fetch": "^3.0.0",
|
|
33
|
-
"keq": "5.0.
|
|
33
|
+
"keq": "5.0.1"
|
|
34
34
|
},
|
|
35
35
|
"peerDependencies": {
|
|
36
|
-
"keq": "^5.0.
|
|
36
|
+
"keq": "^5.0.1"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
39
|
"dayjs": "^1.11.20",
|