Skip to content

v2.0.0

Latest
Compare
Choose a tag to compare
@angeloashmore angeloashmore released this 29 Jan 22:23
· 2 commits to main since this release

@prismicio/next has been modernized and streamlined. Most websites built with the App Router will not need any changes to upgrade, while websites built with the Pages Router will need slight changes.

For a full API reference, see the Prismic docs.

To upgrade, see the v1 to v2 upgrade guide.

New features

  • Support ESM environments, including Vercel Edge Runtime and Cloudflare Pages.

Breaking changes

  • Move all Pages Router support to a dedicated entry: @prismicio/next/pages.
  • Remove createLocaleRedirect(). See Replace createLocaleRedirect() for details.