next-shared-cache

Next.js self-hosting simplified

MIT License

Downloads
264K
Stars
301
Committers
9

Bot releases are visible (Hide)

next-shared-cache - @neshca/[email protected]

Published by github-actions[bot] 10 months ago

Patch Changes

  • fb2a5ce: Refactored the functionality of cache layers

    Features

    • removed unstable__logErrors option
    • introduced name property for Handlers for easier debugging
    • introduced explicit cache debug logs using process.env.NEXT_PRIVATE_DEBUG_CACHE
    • added a new timeoutMs option to the Redis Handlers

    Fixes

    • Made pre-configured Redis Handler not cause page loading to hang
next-shared-cache - @neshca/[email protected]

Published by github-actions[bot] 10 months ago

Patch Changes

  • d9c5d09: Added the name static field to the IncrementalCache class and updated the documentation to reflect this in troubleshooting section.
next-shared-cache - @neshca/[email protected]

Published by github-actions[bot] 10 months ago

Minor Changes

  • 60dab2a: This release introduces a colossal refactoring and new features to the @neshca/cache-handler package.

    Breaking Changes

    • Changed the Handlers API;
    • onCreation now can accept multiple Handlers for cache layering;
    • Dropped diskAccessMode option;
    • Dropped defaultLruCacheOptions option;
    • Dropped the default LRU cache;
    • Renamed getTagsManifest cache method to getRevalidatedTags;
    • Changed the return type of getRevalidatedTags cache method;
    • Made Handlers to be exported as default exports.

    Features

    • Added buildId to onCreationHook context argument;
    • Introduced useFileSystem option;
    • Made the LRU cache an independent Handler like Redis or Server;
    • Made getRevalidatedTags and revalidateTag cache methods to be optional.

    Misc

    • Added TSDoc comments to the codebase.
next-shared-cache - @neshca/[email protected]

Published by github-actions[bot] 10 months ago

Minor Changes

  • 60dab2a: Updated the package to ensure compatibility with the new API for @neshca/cache-handler.

    Breaking Changes

    • Renamed getTagsManifest route to getRevalidatedTags;
      Changed the return type of getRevalidatedTags route.
next-shared-cache - @neshca/[email protected]

Published by github-actions[bot] 11 months ago

Patch Changes

  • 915ecef: Fix Pages router for older Next.js versions
next-shared-cache - @neshca/[email protected]

Published by github-actions[bot] 11 months ago

Patch Changes

  • 571435b: Fix types and improve naming
next-shared-cache - @neshca/[email protected]

Published by github-actions[bot] 11 months ago

Patch Changes

  • a18f2bb: Add async onCreation hook and async Handlers
next-shared-cache - @neshca/[email protected]

Published by github-actions[bot] 11 months ago

Patch Changes

  • 274e2e4: Fix remote property injection vulnerability
next-shared-cache - [email protected]

Published by github-actions[bot] 11 months ago

Patch Changes

  • 9a970af: Add gpt-4-1106-preview model
next-shared-cache - @neshca/[email protected]

Published by github-actions[bot] 11 months ago

Minor Changes

  • 9a970af: Add LRU key eviction
next-shared-cache - @neshca/[email protected]

Published by github-actions[bot] 11 months ago

Patch Changes

  • 9a970af: Add new HTTP Handler and an example to docs
next-shared-cache - @neshca/[email protected]

Published by github-actions[bot] 11 months ago

Minor Changes

  • 954a21e: Use exports instead of main and module in package.json
next-shared-cache - @neshca/[email protected]

Published by github-actions[bot] 11 months ago

Minor Changes

  • 954a21e: Use exports instead of main and module in package.json

    New handlers API:

    • Add redis-stack and redis-strings handlers;

Patch Changes

next-shared-cache - @neshca/[email protected]

Published by github-actions[bot] 11 months ago

Patch Changes

  • bd1d48a: Add link to the official Next.js template in the README.md
next-shared-cache - @neshca/[email protected]

Published by github-actions[bot] 11 months ago

Patch Changes

  • e6869ea: Fix usage of cache-handler in dev environment
next-shared-cache - @neshca/[email protected]

Published by github-actions[bot] 12 months ago

Patch Changes

  • a89c527: Update Redis cache handler example and docs
next-shared-cache - @neshca/[email protected]

Published by github-actions[bot] 12 months ago

Patch Changes

  • cc5323d: Add next14.0.1 to dist tags
next-shared-cache - @neshca/[email protected]

Published by github-actions[bot] 12 months ago

Patch Changes

  • cc5323d: Add next14.0.1 to dist tags
next-shared-cache - @neshca/[email protected]

Published by github-actions[bot] 12 months ago

Minor Changes

  • b811b66: Upgrade to Next.js v14.0.0
next-shared-cache - @neshca/[email protected]

Published by github-actions[bot] 12 months ago

Minor Changes

  • b811b66: Upgrade to Next.js v14.0.0