Releases: prismicio/prismic-react
Releases · prismicio/prismic-react
v3.0.0
@prismicio/next
has been modernized and streamlined. Most websites built with Next.js will need minimal changes to upgrade.
For a full API reference, see the Prismic docs.
To upgrade, see the v2 to v3 upgrade guide.
New features
- Support ESM environments, including Vercel Edge Runtime and Cloudflare Pages.
Breaking changes
- Remove
<PrismicProvider>
. Replace global configuration with directly callingcreateClient()
and defining custom components. - Remove
usePrismicClient()
. Replace with directly importing a client. - Remove
usePrismicPreviewResolver()
. Replace withclient.resolvePreviewURL()
and your router's redirect function. - Remove all query hooks. Replace with
createClient()
and a query library, like TanStack Query.
v2.9.2
chore(release): 2.9.2
v2.9.1
v2.8.0
v2.7.4
chore(release): 2.7.4
v2.7.3
chore(release): 2.7.3
v2.7.2
chore(release): 2.7.2
v2.7.1
chore(release): 2.7.1
v2.7.0
chore(release): 2.7.0
v2.6.2
chore(release): 2.6.2