opennextjs-aws

Open-source Next.js adapter for AWS

MIT License

Stars
3.9K

Bot releases are visible (Hide)

opennextjs-aws - v2.3.2

Published by github-actions[bot] 12 months ago

Changes

  • 4be2ac8: Reduce AWS S3 warning logs; add maxAttempts config to AWS SDK call
opennextjs-aws - v2.3.1

Published by github-actions[bot] 12 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
opennextjs-aws - v2.3.0

Published by github-actions[bot] 12 months ago

Changes

  • 22e3e47: Fix inconsistencies with swr and isr (#289)
opennextjs-aws - v2.2.4

Published by github-actions[bot] about 1 year ago

Changes

  • e3f67da: Fix 404 on index page; passthrough headers via middleware redirect; fix trailingSlash causing infinite loop
opennextjs-aws - v2.2.3

Published by github-actions[bot] about 1 year ago

Changes

  • 2d9e538: Make package path available at runtime
  • 83ed943: Add OpenNext version header only in debug mode
opennextjs-aws - v2.2.2

Published by github-actions[bot] about 1 year ago

Changes

  • 68ae99a: Fix trailing slash; Fix cookies in next-config; Allow custom sharp version
opennextjs-aws - v2.2.1

Published by github-actions[bot] about 1 year ago

Changes

  • 4158d4f: Fix memory leak from too many files opened; add opt-out flags for app and pages cache revalidation
opennextjs-aws - v2.2.0

Published by github-actions[bot] about 1 year ago

Changes

  • 02bd7de: Streaming and cache revalidation
opennextjs-aws - v2.1.5

Published by github-actions[bot] about 1 year ago

Changes

  • 2ae2a1b: Fix windows image optimization build
opennextjs-aws - v2.1.4

Published by github-actions[bot] about 1 year ago

Changes

  • 29c54a4: Fix 2.1.3 cookie parsing with Expires prop
opennextjs-aws - v2.1.3

Published by github-actions[bot] about 1 year ago

Changes

  • 880973f: Set cookies properly in APIGateway response. Fixes #224
opennextjs-aws - v2.1.2

Published by github-actions[bot] about 1 year ago

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
opennextjs-aws - v2.1.1

Published by github-actions[bot] about 1 year ago

Changes

  • 10b0e55: Adds custom build-output-path and app-path arguments; fix custom swr header
opennextjs-aws - v2.1.0

Published by github-actions[bot] about 1 year ago

Changes

  • 67f3dcb: Support Nextjs 13.4.13+
opennextjs-aws - v2.0.5

Published by github-actions[bot] over 1 year ago

Changes

  • ffb2cfd: Server: fix missing react/jsx-runtime for require-hooks
opennextjs-aws - v2.0.4

Published by github-actions[bot] over 1 year ago

Changes

  • a468add: Fix missing HTML files for non blocking fallback pages
opennextjs-aws - v2.0.3

Published by github-actions[bot] over 1 year ago

Changes

  • 1bcb37b: server: add OpenNext response header to track version
opennextjs-aws - v2.0.2

Published by github-actions[bot] over 1 year ago

Changes

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

Published by github-actions[bot] over 1 year ago

Changes

  • bbd31b3: server: hash message dedup id
opennextjs-aws - v2.0.0

Published by github-actions[bot] over 1 year ago

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

  • 855cf92: Improved ISR support

🙏 🙏 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.

Related Projects