Skip to content

Commit d67b111

Browse files
committed
changelog: cosmetics, explain 10.4 typo
1 parent 52c9cb0 commit d67b111

File tree

1 file changed

+30
-26
lines changed

1 file changed

+30
-26
lines changed

CHANGELOG.md

Lines changed: 30 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,46 @@
11
# cringe lorg
22

3-
## 10.3.0
3+
## 10.4
4+
5+
Accidental minor update, should've been patch.
6+
7+
## 10.3
48

59
- add `forceFetch()` method
610
- set `disposeReason` to `'expire'` when it's the result of a TTL
711
expiration, or `'fetch'` when it's the result of an aborted
812
or `undefined`-returning `fetch()`
913
- add `memo()` method
1014

11-
## 10.2.0
15+
## 10.2
1216

1317
- types: implement the `Map<K, V>` interface
1418

15-
## 10.1.0
19+
## 10.1
1620

1721
- add `cache.info(key)` to get value as well as ttl and size
1822
information.
1923

20-
## 10.0.0
24+
## 10.0
2125

2226
- `cache.fetch()` return type is now `Promise<V | undefined>`
2327
instead of `Promise<V | void>`. This is an irrelevant change
2428
practically speaking, but can require changes for TypeScript
2529
users.
2630

27-
## 9.1.0
31+
## 9.1
2832

2933
- `cache.set(key, undefined)` is now an alias for
3034
`cache.delete(key)`
3135

32-
## 9.0.0
36+
## 9.0
3337

3438
- Use named export only, no default export.
3539
- Bring back minimal polyfill. If this polyfill ends up being
3640
used, then a warning is printed, as it is not safe for use
3741
outside of LRUCache.
3842

39-
## 8.0.0
43+
## 8.0
4044

4145
- The `fetchContext` option was renamed to `context`, and may no
4246
longer be set on the cache instance itself.
@@ -50,12 +54,12 @@
5054
- Minified export available at `'lru-cache/min'`, for both CJS
5155
and MJS builds.
5256

53-
## 7.18.0
57+
## 7.18
5458

5559
- Add support for internal state investigation through the use of
5660
a `status` option to `has()`, `set()`, `get()`, and `fetch()`.
5761

58-
## 7.17.0
62+
## 7.17
5963

6064
- Add `signal` option for `fetch` to pass a user-supplied
6165
AbortSignal
@@ -65,95 +69,95 @@
6569

6670
- Fail fetch() promises when they are aborted
6771

68-
## 7.16.0
72+
## 7.16
6973

7074
- Add `allowStaleOnFetchRejection` option
7175

72-
## 7.15.0
76+
## 7.15
7377

7478
- Provide both ESM and CommonJS exports
7579

76-
## 7.14.0
80+
## 7.14
7781

7882
- Add `maxEntrySize` option to prevent caching items above a
7983
given calculated size.
8084

81-
## 7.13.0
85+
## 7.13
8286

8387
- Add `forceRefresh` option to trigger a call to the
8488
`fetchMethod` even if the item is found in cache, and not
8589
older than its `ttl`.
8690

87-
## 7.12.0
91+
## 7.12
8892

8993
- Add `fetchContext` option to provide additional information to
9094
the `fetchMethod`
9195
- 7.12.1: Fix bug where adding an item with size greater than
9296
`maxSize` would cause bizarre behavior.
9397

94-
## 7.11.0
98+
## 7.11
9599

96100
- Add 'noDeleteOnStaleGet' option, to suppress behavior where a
97101
`get()` of a stale item would remove it from the cache.
98102

99-
## 7.10.0
103+
## 7.10
100104

101105
- Add `noDeleteOnFetchRejection` option, to suppress behavior
102106
where a failed `fetch` will delete a previous stale value.
103107
- Ship types along with the package, rather than relying on
104108
out of date types coming from DefinitelyTyped.
105109

106-
## 7.9.0
110+
## 7.9
107111

108112
- Better AbortController polyfill, supporting
109113
`signal.addEventListener('abort')` and `signal.onabort`.
110114
- (7.9.1) Drop item from cache instead of crashing with an
111115
`unhandledRejection` when the `fetchMethod` throws an error or
112116
returns a rejected Promise.
113117

114-
## 7.8.0
118+
## 7.8
115119

116120
- add `updateAgeOnHas` option
117121
- warnings sent to `console.error` if `process.emitWarning` unavailable
118122

119-
## 7.7.0
123+
## 7.7
120124

121125
- fetch: provide options and abort signal
122126

123-
## 7.6.0
127+
## 7.6
124128

125129
- add cache.getRemainingTTL(key)
126130
- Add async cache.fetch() method, fetchMethod option
127131
- Allow unbounded storage if maxSize or ttl set
128132

129-
## 7.5.0
133+
## 7.5
130134

131135
- defend against mutation while iterating
132136
- Add rentries, rkeys, rvalues
133137
- remove bundler and unnecessary package.json fields
134138

135-
## 7.4.0
139+
## 7.4
136140

137141
- Add browser optimized webpack bundle, exposed as `'lru-cache/browser'`
138142
- Track size of compiled bundle in CI ([@SuperOleg39](https://github.com/SuperOleg39))
139143
- Add `noUpdateTTL` option for `set()`
140144

141-
## 7.3.0
145+
## 7.3
142146

143147
- Add `disposeAfter()`
144148
- `set()` returns the cache object
145149
- `delete()` returns boolean indicating whether anything was deleted
146150

147-
## 7.2.0
151+
## 7.2
148152

149153
- Add reason to dispose() calls.
150154

151-
## 7.1.0
155+
## 7.1
152156

153157
- Add `ttlResolution` option
154158
- Add `ttlAutopurge` option
155159

156-
## v7 - 2022-02
160+
## 7.0 - 2022-02
157161

158162
This library changed to a different algorithm and internal data structure
159163
in version 7, yielding significantly better performance, albeit with

0 commit comments

Comments
 (0)