Skip to content

v0.3.2

Choose a tag to compare

@github-actions github-actions released this 31 Jul 16:59
· 32 commits to main since this release
6818ae7

Patch Changes

  • 6f35ff3 Thanks @leejpsd! - Fix: soft revalidation of explicit cacheTag() tags — revalidateTag(tag, "max") — was a no-op on time-fresh entries. get() now folds the entry's own tags into the freshness check and serves tag-invalidated entries as stale-while-revalidate (backdated past revalidate so Next schedules a background re-render), matching the spec's soft-invalidation semantics. Hard invalidation ({ expire: 0 }) was already correct. Thanks to @eveyrat for the report (#1) and @unitedworldwrestling for the fix approach (#2).