Skip to content

Releases: sst/open-next

v2.0.3

28 Jun 01:21
8715263
Compare
Choose a tag to compare

Changes

  • 1bcb37b: server: add OpenNext response header to track version

v2.0.2

27 Jun 22:00
d14c985
Compare
Choose a tag to compare

Changes

  • 22e8f70: ISR: support "notFound" and "redirect" in getStaticProps
  • d6db51f: revalidation: fix ISR revalidation for rewritten URL
  • b5a4c0c: Response: setHeader() and writeHead() return "this"

v2.0.1

22 Jun 16:39
8db7e07
Compare
Choose a tag to compare

Changes

  • bbd31b3: server: hash message dedup id

v2.0.0

19 Jun 21:00
ad502ec
Compare
Choose a tag to compare

ISR done right — aka The Conico Release

We made some major improvements to the way ISR works. Staring from v2.0.0, the ISR cache is stored and shared across all server function instances via an S3 bucket. When the cache becomes stale, it's revalidated asynchronously while stale content continues to be served, leveraging AWS CloudFront's stale-while-revalidate (SWR) strategy.

In addition, we now support On-Demand Revalidation.

Read more about our revamped ISR approach.

Upgrading to v2

The open-next build now generates a revalidation-function bundle and a cache asset bundle in the .open-next directory. Here's what you need to do to upgrade:

  1. Create a revalidation Lambda function and connect it to an SQS FIFO queue
  2. Upload the cache files to an S3 bucket
  3. Update new environment variables and permissions for the server function
  4. Optionally, reuse the same bucket for both assets and cache

For an updated overview of the infrastructure with ISR revalidation, check out this architectural diagram.

Changes


🙏 🙏 A big thanks to @conico974, @dalhaan, @dkershner6, and @khuezy for their hard work on this release. And of course, a shout-out to everyone rallying for this feature here and on Discord.

v1.4.0

01 Jun 21:03
b667b85
Compare
Choose a tag to compare

Changes

  • 2df80cc: Support invoking OpenNext programmatically
  • 194b389: Print Next.js version in build log
  • ef30f3c: Allow custom build command
  • 34b5298: Export dist folder

v1.3.8

29 May 22:47
17acd37
Compare
Choose a tag to compare

Changes

  • e16aff7: npm publish root directory

v1.3.7

29 May 21:26
153287e
Compare
Choose a tag to compare

Changes

  • 2c2f6b9: server: fix react resolution for group routes

v1.3.6

26 May 19:14
7f085fa
Compare
Choose a tag to compare

Changes

  • 33460c3: server: Fix react dependencies resolution

v1.3.5

24 May 13:02
b687b16
Compare
Choose a tag to compare

Changes

  • 19d9f95: server: use require() to resolve next/package.json

v1.3.4

24 May 01:09
1b9a136
Compare
Choose a tag to compare

Changes

  • 7a4b8d0: warmer: use debugger for logging
  • 33dab58: server: do not override default alias for older Next.js versions