Open Next Versions Save

Open source Next.js serverless adapter

v3.0.0

2 weeks ago

:tada: OpenNext V3 is out :tada:

This is the V3 of OpenNext. It includes some breaking changes and cannot be used as a drop-in replacement for V2. If your IAC is using OpenNext V2, you will need to update it to use V3.

If you are using OpenNext V2, please refer to the migration guide to upgrade to V3.

New Features

  • Add support for function splitting
  • Add support for external middleware
  • Custom config file support : open-next.config.ts
  • Support for other deployment targets than lambda (Node.js, Docker and partial support for Cloudflare Workers)
  • Allow for customizing the outputs bundle :
    • Wrapper
    • Converter
    • Incremental Cache (Fetch cache and HTML/JSON/RSC cache)
    • Tag Cache
    • Queue (Used to trigger ISR revalidation)
    • Origin Resolver (Only for external middleware)
    • Image Loader (Only for image optimization)
    • Invoke function (For the warmer function)
    • Create an open-next.output.json file for easier integration with IAC tools

Breaking Changes

  • Edge runtime don't work out of the box anymore. You need to deploy them on a separate function see the config for more info
  • Output directory structure has changed to support function splitting
  • Removed build arguments in favor of open-next.config.ts

Internal Changes

  • Use OpenNextNodeResponse instead of ServerResponse (It uses transform stream to properly handle the stream)
  • Big refactor of the codebase to support function splitting
  • Added new plugins to support the new features and make the codebase more modular

Changes

  • b191ba3: OpenNext V3

v2.3.9

1 month ago

Changes

  • 5c80192: Fix incorrect 200 with wrong buildId for page router
  • 2118ba2: Feat add a static etag for Image Optimization
  • 6a3c69a: fix(edge): remove read-only and blacklisted headers from cloudfront response

v2.3.8

1 month ago

Changes

  • 8cfb801: fix(open-next): parse cookies when converting response to cloudfront

v2.3.7

2 months ago

Changes

  • 3235392: fix: prevent duplication of location header
  • af2d3ce: Fix Image Optimization Support for [email protected]

v2.3.6

3 months ago

Changes

v2.3.5

3 months ago

Changes

  • b9eefca: Fix Cache Support for [email protected]
  • c80f1be: Fix trailing slash redirect to external domain
  • 186e28f: fix(open-next): correctly set cache control for html pages

v2.3.4

4 months ago

Changes

  • e773e67: try to match errors, fallback to raw key/value pair
  • 83b0838: add support for bun lockfile
  • bbf9b30: use dynamic import handler for monorepo entrypoint
  • fd90b26: Changes encoding on cache.body for binary data

v2.3.3

5 months ago

Changes

  • abeb9cd: Setting the right tag values for fetch cache (#304); Fix getHeader crash external rewrites (#321); Added --package-json option to specify package json path (#322); Change querystring format for multi value parameters (#320);Fix tags cache (#317);Fix skip trailing slash redirect (#323)

v2.3.2

6 months ago

Changes

  • 4be2ac8: Reduce AWS S3 warning logs; add maxAttempts config to AWS SDK call

v2.3.1

6 months ago

Changes

  • 95bf402: Display sharp installation log on failure
  • 1ed5ffd: Print plugin info in debug mode
  • 1d83dab: Handle .map files during bundling cache assets