Skip to content

Releases: sst/open-next

v3.0.2

24 May 12:08
86765bc
Compare
Choose a tag to compare

Changes

  • 61066fe: Fix polyfill for crypto in the middleware
  • f83d636: Add support for 'deno' server functions
  • 1b3c6fe: Fix static 404 and 500 in page router
  • e98e014: Improve custom config support
  • b3966d2: Fix duplicate cookies

v3.0.1

12 May 14:21
65f7a60
Compare
Choose a tag to compare

Changes

  • ff36f10: Fix next rewrites
  • d5efc43: Fix next version check
  • c2817fe: Handle partial failure in ISR revalidation
  • 3b004dd: Fix for external middleware

v3.0.0

03 May 15:10
ee57945
Compare
Choose a tag to compare

🎉 OpenNext V3 is out 🎉

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

v2.3.9

01 Apr 11:47
3990502
Compare
Choose a tag to compare

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

22 Mar 13:40
78308f4
Compare
Choose a tag to compare

Changes

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

v2.3.7

06 Mar 14:39
ff37de2
Compare
Choose a tag to compare

Changes

  • 3235392: fix: prevent duplication of location header
  • af2d3ce: Fix Image Optimization Support for Next@14.1.1

v2.3.6

13 Feb 16:41
3deb202
Compare
Choose a tag to compare

Changes

  • f9b90b6: Security fix: sharp@0.33.2

v2.3.5

01 Feb 23:16
63fab05
Compare
Choose a tag to compare

Changes

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

v2.3.4

05 Jan 15:59
9a6473a
Compare
Choose a tag to compare

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

29 Nov 06:53
ba6e176
Compare
Choose a tag to compare

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)