Home Blogs What’s New in Version 6 of Edgio Applications
Applications

What’s New in Version 6 of Edgio Applications

About The Author

Outline

Support for Node 16 in Edgio Applications v6

Edgio Applications v6 introduces support for Node.js v16. To upgrade, see the Edgio Applications v6 Migration Guide for step-by-step instructions. Since your apps will now be run with Node.js v16, we strongly recommend using Node.js v16.x when developing your applications. The most important deprecations that developers should be aware of:

  • JWT access control is no longer supported in Version 6. Previous versions allowed configuring on a per-route basis whether requests would be allowed or denied according to a JWT token.
  • Search engine traffic for edge links and permalinks is now automatically blocked by default which removes the need for .noIndexPermalink(). This function is now deprecated and we recommend removing it from your routes. If you want to override this behavior, you can set.

Next.js Runtime Variables

In Next.js, runtime variables are used to provide information to the server at runtime. This information can be used to configure the behavior of the server, such as connecting to a database or to pass data to the server that will be used to render the page.

In previous Edgio Applications versions, all environment variables were resolved at build time and there was no option to change this to use runtime environment variables. As of Version 6.0.5, support for runtime variables is included for the serverRuntimeConfig in next.config.

To get started with Next.js on Edgio, see the Edgio Sites framework guide. For more details about Environment Variables, see the official Next.js documentation.

Next.js 13 Experimental App Folder

In Applications Version 6.0.6, Edgio added basic support for Next 13’s experimental app folder. This is a new feature that aligns Next.js with the future of React and improves the routing and layouts experience.

The app directory can be incrementally adopted alongside the pages directory. Some routes of your application can opt into the new behavior while other routes are kept in the pages directory. To learn more about the app folder, see the Next.js beta docs.

Follow Along

To stay up to date with new Applications features, follow along with the Edgio Changelog. Visit our documentation to check out the full list of officially supported web application frameworks. A collection of example applications can be found on the Edgio Examples repository.

P.S. We’re Edgio, an edge application platform. No matter which framework you choose, SolidJSReactNextNuxt, and many more JavaScript frameworks are supported on Edgio Sites. Get Started and test drive your favorite framework or visit our Forums to learn more.