Skip to content

Commit 82753ac

Browse files
Version Packages (#77)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 932f1c2 commit 82753ac

3 files changed

Lines changed: 11 additions & 10 deletions

File tree

‎.changeset/http-cache-semantics-v2.md‎

Lines changed: 0 additions & 9 deletions
This file was deleted.

‎CHANGELOG.md‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
# @web-widget/shared-cache
22

3+
## 2.1.0
4+
5+
### Minor Changes
6+
7+
- 932f1c2: Upgrade to `@web-widget/http-cache-semantics` 2.0.1 and migrate cache policy evaluation to `evaluateRequest()`.
8+
9+
- Normalize requests at the cache layer before calling `evaluateRequest()` (replacing removed `CacheQueryOptions`)
10+
- Use `evaluateRequest()` for stale-while-revalidate and synchronous revalidation
11+
- Rely on `revalidatedPolicy()` for stale-if-error handling (removed public `useStaleIfError()`)
12+
313
## 2.0.0
414

515
### Major Changes

‎package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@web-widget/shared-cache",
3-
"version": "2.0.0",
3+
"version": "2.1.0",
44
"description": "Standards-compliant HTTP cache implementation for server-side JavaScript with RFC 7234 compliance and cross-runtime support",
55
"keywords": [
66
"cache",

0 commit comments

Comments
 (0)