Skip to content

Releases: bookernath/cached-middleware-fetch-next

Release v0.6.0

Choose a tag to compare

@github-actions github-actions released this 30 Aug 16:28

Changes in v0.6.0

  • feat: add cache status headers to responses and update documentation (2008545)
  • docs: update README to reflect new version of @vercel/functions and clarify Edge Runtime compatibility (e8cc092)

Installation

npm install cached-middleware-fetch-next@0.6.0

What's Changed

Full Changelog: https://github.com/bookernath/cached-middleware-fetch-next/compare/e8cc092457d72195cac5bf906b211074653c7bcf..v0.6.0

Release v0.5.0

Choose a tag to compare

@github-actions github-actions released this 30 Aug 05:28

Changes in v0.5.0

  • chore: bump version to v0.5.0 (eeaeef1)
  • feat: normalize headers/methods, preserve bodies, binary-safe cache, TTL clamp; docs & package metadata updates (1634abd)
  • feat(middleware): add example middleware for cached-fetch integration (3c40cbe)
  • chore: add repository field to package.json for better project visibility (a2248d8)

Installation

npm install cached-middleware-fetch-next@0.5.0

What's Changed

Full Changelog: https://github.com/bookernath/cached-middleware-fetch-next/compare/1634abdf7e24e8e8d23ef13e45d796908626e2a6..v0.5.0

Release v0.4.1

Choose a tag to compare

@github-actions github-actions released this 30 Aug 04:32

Changes in v0.4.1

  • 0.4.1 (31a70d1)
  • Fix TypeScript compilation errors with Vercel cache API (fc7dc9a)
  • chore(deps): update @types/node and undici-types to latest versions (86d37ee)
  • Release version 0.4.0, updating dependencies including @vercel/functions to 2.2.13 (ecd3933)
  • ci(deps): bump actions/checkout from 4 to 5 (b4d8e99)
  • Add release scripts and enhance testing commands in package.json (dd660c2)
  • Update README to clarify library's purpose and link to Next.js limitation on Vercel. Added context on how the library addresses caching issues in Next.js edge middleware. (3eb24b2)
  • Release version 0.3.1 with added support for caching POST and PUT requests, including GraphQL query caching. Updated cache logic to handle these methods and enhanced documentation with examples highlighting GraphQL support. (f2110d4)
  • Release version 0.3.0 with SWR caching strategy. Added support for separate revalidation and expiry times, improved cache management, and updated documentation with examples. Enhanced cache entry structure to include revalidate and expiry timestamps. (c14cde9)
  • Update version to 0.2.0 and enhance caching features. Added support for custom cache key prefixes in CachedFetchOptions and updated cache key generation to align with Next.js behavior. Improved README with examples and clarified cache key processing in the codebase. (020c84e)

Installation

npm install cached-middleware-fetch-next@0.4.1

What's Changed

Full Changelog: https://github.com/bookernath/cached-middleware-fetch-next/compare/86d37ee5e8025a6056e3110d94f07fc89b92e46d..v0.4.1