Skip to content

Releases: opennextjs/opennextjs-aws

v2.1.2

08 Sep 13:05
961fa81
Compare
Choose a tag to compare

Changes

  • 002b0f2: #219: fix window sharp command crash; #220: fix crash when cache-control is an array; #221: fix crash when cookies are missing from edge

v2.1.1

05 Sep 20:24
d617a96
Compare
Choose a tag to compare

Changes

  • 10b0e55: Adds custom build-output-path and app-path arguments; fix custom swr header

v2.1.0

05 Sep 15:49
fdbeb4d
Compare
Choose a tag to compare

Changes

v2.0.5

17 Jul 22:49
274d446
Compare
Choose a tag to compare

Changes

  • ffb2cfd: Server: fix missing react/jsx-runtime for require-hooks

v2.0.4

04 Jul 17:20
f14fdc5
Compare
Choose a tag to compare

Changes

  • a468add: Fix missing HTML files for non blocking fallback pages

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