Skip to content

Releases: cloudflare/next-on-pages

[email protected]

30 Jul 17:22
0a07f34
Compare
Choose a tag to compare

@cloudflare/[email protected]

30 Jul 17:22
0a07f34
Compare
Choose a tag to compare

Patch Changes

  • 8c04184: fix typescript declaration files not getting properly built

@cloudflare/[email protected]

29 Jul 17:16
502b4cd
Compare
Choose a tag to compare

Minor Changes

  • 4bd4c19: Use request.cf.regionCode for x-vercel-ip-country-region for keeping behavior consistent with documentation

  • 78accfd: Add support for custom worker entrypoints.

    Example:

    import nextOnPagesHandler from '@cloudflare/next-on-pages/fetch-handler';
    
    export default {
      async fetch(request, env, ctx) {
        // do something before running the next-on-pages handler
    
        const response = await nextOnPagesHandler.fetch(request, env, ctx);
    
        // do something after running the next-on-pages handler
    
        return response;
      },
    } as ExportedHandler<{ ASSETS: Fetcher }>;

Patch Changes

  • 2527917: Account for the Vercel CLI no longer generating prerender configs for dynamic ISR functions.

[email protected]

10 Jul 12:00
944f7e7
Compare
Choose a tag to compare

@cloudflare/[email protected]

10 Jul 12:00
944f7e7
Compare
Choose a tag to compare

Patch Changes

  • 9dd9fe4: make sure headers set in middlewares are accessibly by layouts and pages
  • 97d7981: Support for pre-rendered API functions.

[email protected]

24 Jun 18:57
7a6f16c
Compare
Choose a tag to compare

@cloudflare/[email protected]

24 Jun 18:57
7a6f16c
Compare
Choose a tag to compare

Minor Changes

  • c2b173c: Fix: The city name for the location of the requester's public IP address must be encoded according to RFC3986.
  • 2d55e8f: Optimized cache tags manifest loading; cache updates do not block responses
  • fa751e3: add support for the revalidate option in fetch

Patch Changes

  • d3caf91: Middleware move permanently fix

@cloudflare/[email protected]

09 May 21:20
fa02080
Compare
Choose a tag to compare

Patch Changes

  • 317e872: Fix hanging promise caused by fetch patch symbol

@cloudflare/[email protected]

30 Apr 22:10
1493f82
Compare
Choose a tag to compare

Patch Changes

  • 31c2627: update package.json to properly export the typescript types

    the current types are declared in the package.json via typesVersions
    such don't seem to get picked up correctly by all package managers, to for
    the types use the package.json exports field instead

  • 31c2627: fix the setupDevPlatform's options parameter not being optional

[email protected]

23 Apr 12:20
beec78a
Compare
Choose a tag to compare