All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- New architecture for v2
- This tool is now a scaffolding tool, and creates an app that orchestrates https://github.com/fastly/serve-vercel-build-output and https://github.com/fastly/next-compute-js-server to run a Next.js application.
- Adds support for Next.js 13.
- Supported Next.js versions are 12.3.0 through 13.4.6.
- Note: The App Router is not yet supported.
- New modular design allows us to build support for new versions more easily.
- Next.js applications are built as Vercel Build Output, and then executed using https://github.com/fastly/serve-vercel-build-output.
- Adds support for Edge SSR / Edge API Routes by specifying the
edge
runtime. - Adds support for Edge Middleware.
- Adds support for Incremental Static Regeneration, with support for On-demand Revalidation and Draft Mode (as well as Preview Mode).
- Adds support for React 18's streaming rendering mode.
- Adds support for Edge SSR / Edge API Routes by specifying the
- A handler for pages and API routes that target 'nodejs' have been moved to https://github.com/fastly/next-compute-js-server.
- Next.js applications are built as Vercel Build Output, and then executed using https://github.com/fastly/serve-vercel-build-output.
- Applies "Compute" branding change.
- Switched from yarn to npm.
- Scaffolded application is generated in
next-compute-js/
instead ofcompute-js/
.
0.9.0 - 2023-02-27
- Remove .nvmrc file from generated project
- Remove "engine.node" field from package.json from generated project
0.8.1 - 2023-02-27
- Move build scripts back to package.json
- Update to @fastly/[email protected]
- Update to @fastly/[email protected]
0.8.0 - 2022-12-23
- Update to [email protected]
- Update to @fastly/[email protected]
- Update to @fastly/[email protected]
- Update to @fastly/[email protected]
- fix: Add static.js to .gitignore
0.7.2 - 2022-12-23
- fix: Updates to work with @fastly/[email protected]
0.7.1 - 2022-10-22
- Update to @fastly/[email protected]
0.7.0 - 2022-10-21
- Configure Webpack to always build a single output chunk
0.6.0 - 2022-10-21
- Update README to specify that the @latest tag should be used when executing @fastly/next-compute-js.
- Update to @fastly/[email protected]
0.5.0 - 2022-10-13
- Update to @fastly/[email protected], and specify --suppress-framework-warnings
- Update to @fastly/[email protected]
0.4.1 - 2022-10-11
- Update MDX configuration in example to apply MDX loader only at compile time
- Specify Next.js dependency as exact version 12.3.0
- README updates regarding scripts.build
0.4.0 - 2022-10-07
- Added troubleshooting section to README
- Build scripts are now handled by scripts.build in fastly.toml
- Update to @fastly/[email protected]
0.3.1 - 2022-09-20
- Set default status text ('OK') for 200 status code for static files
- Fix: Make sure response.body exists before attempting to compress it
0.3.0 - 2022-09-15
- Update to @fastly/[email protected]