Skip to content

payload-smart-cache@1.2.0

Choose a tag to compare

@davincicoding-release-bot davincicoding-release-bot released this 23 Feb 10:50
· 129 commits to main since this release

Minor Changes

  • #25 ce6a46a Thanks @michaelcamper! - Rewrite cache invalidation to use direct hooks instead of a publish queue.

    • Remove publish-queue collection, endpoints, and publish button
    • Invalidate via revalidateTag and onInvalidate callback directly from collection/global hooks
    • Build dependency graph eagerly at config time and walk dependents on change
    • Make slugs required in createRequestHandler
    • Re-export OnInvalidate and InvalidationChange types for consumers