Skip to content

Latest commit

 

History

History
568 lines (320 loc) · 35.3 KB

CHANGELOG.md

File metadata and controls

568 lines (320 loc) · 35.3 KB

Changelog

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

1.7.1 (2024-10-28)

Bug Fixes

  • draftMode() and cookies() error when using Next.js 15 (#98) (bfc69ba)

1.7.0 (2024-09-27)

1.7.0-alpha.0 (2024-09-10)

Features

Chore

1.6.0 (2024-05-30)

Features

  • Support Next 15 & React 19 (864bfed)

1.5.0 (2023-11-16)

Features

  • add createLocaleRedirect() to simplify i18n routing (#89) (7527b32)

1.4.0 (2023-10-30)

Features

1.3.6 (2023-10-03)

Bug Fixes

  • support shared previews when the preview cookie does not contain _tracker (#88) (02ca22a)

1.3.5 (2023-09-22)

Bug Fixes

  • prevent next build TypeScript errors from redirectToPreviewURL() and exitPreview() (#85) (ab3dcab)

Chore

1.3.4 (2023-08-08)

Bug Fixes

  • redirectToPreviewURL: support unpublished previews in the App Router (#80) (414434b)

1.3.3 (2023-07-05)

Bug Fixes

  • prevent <PrismicNextImage> "Element type is invalid" error (#79) (f002052)

1.3.2 (2023-06-16)

Bug Fixes

  • PrismicNextImage: allow removing Imgix params in React Server Components using null (#75) (b47dd67)

1.3.1 (2023-06-14)

Bug Fixes

  • exitPreview: prevent "Cannot set headers after they are sent to the client" error in the Pages Router (#74) (e4085e3)
  • PrismicPreview: prevent "missing requestAsyncStorage" error in the Pages Router (#73) (8efbbe7)

1.3.0 (2023-06-12)

Features

  • support Draft Mode with static rendering (#72) (eafad65)

Chore

  • remove experimental prismic-next CLI (#71) (812ddd9)

1.3.0-alpha.1 (2023-06-10)

Bug Fixes

  • prevent cookies() when Draft Mode is disabled (5485fa0)

1.3.0-alpha.0 (2023-06-10)

Features

  • support Draft Mode with static rendering (b839d19)

Bug Fixes

  • restore preview share link support (73f2479)

Chore

  • remove experimental prismic-next CLI (#71) (812ddd9)
  • update to latest Next.js canary (0e8d530)

1.2.1 (2023-05-23)

Bug Fixes

  • cli: update warn and info style to match new Next.js style (c661c9f)
  • properly resolve types when using TypeScript's latest module resolution strategy (#70) (7966d39)

1.2.0 (2023-05-19)

Features

  • add prismic-next CLI to clear cached /api/v2 requests (#66) (e257ae1)

Bug Fixes

  • PrismicNextImage: log error if no alternative text is available (only in non-production environments) (#68) (2e01b67)

1.1.0 (2023-05-06)

Features

1.1.0-alpha.2 (2023-05-05)

Features

  • support for previews in App Router (#65) (9c6b23b)

Bug Fixes

  • regression in <PrismicPreviewClient> (f0a6b2f)

1.1.0-alpha.1 (2023-04-28)

Features

  • PrismicNextLink: restore href prop (ceaf8c6)

Bug Fixes

  • bundle @prismicio/client v7 to prevent npm install issues (eaa5a30)
  • PrismicNextLink: remove href prop (057ec51)

Refactor

  • use more accurate name for unsupported error builder (faf568c)

1.1.0-alpha.0 (2023-04-25)

Features

  • support React Server Components and App Router (be9e1a1)

Bug Fixes

  • support projects using @prismicio/client v6 (0c48157)

Chore

  • deps: update all dependencies (9b2cd75)
  • fix type issue in vite.config.ts (4fb85ee)

1.0.3 (2023-02-22)

Bug Fixes

  • PrismicNextImage: use correct height dimension (#61) (e9534c1)

Chore

  • deps: update dependencies (#54) (9d26909)
  • use consistent file path prefix in types package.json property (92a02dc)

1.0.2 (2022-11-18)

Bug Fixes

  • resolve an issue where previews would not show if the default URL led to a 404 page (#51) (b6cf270)

1.0.1 (2022-11-17)

Bug Fixes

  • resolve "'PrismicPreview' cannot be used as a JSX component" TypeScript error (a96f844)

1.0.0 (2022-11-16)

0.2.0 (2022-11-16)

⚠ BREAKING CHANGES

  • support Next 13, drop support for Next 12 (#48)

Features

  • support Next 13, drop support for Next 12 (#48) (c633a49)

Bug Fixes

  • remove deprecated exitPreviewURL argument for exitPreview() (fedd246)

0.1.8 (2022-11-11)

Chore

  • remove @prismicio/client as a dependency (#49) (cf3fd6d)

0.1.7 (2022-10-18)

Refactor

  • use next/script to load the Prismic Toolbar (#46) (1ad5750)

Chore

  • deps: update dependencies (355dcad)

0.1.6 (2022-10-11)

Features

  • support width and height props in <PrismicNextImage> when layout is intrinsic or fixed (#42) (a170999)

Chore

0.1.6-alpha.1 (2022-10-06)

0.1.6-alpha.0 (2022-10-06)

Refactor

Chore

  • ci: restore coverage and size steps (12dd3e4)
  • ci: swap to node 16 (23a526e)
  • deps: maintain lock file (5d94505)
  • replace unbuild with Vite (724d41d)
  • restore package.json version (3bbd73a)

Documentation

0.1.5 (2022-09-09)

Chore

0.1.4 (2022-09-09)

Features

  • add @prismicio/client's ClientConfig to CreateClientConfig (#37) (38d1b24)

Bug Fixes

  • prevent CDN-level caching of exit preview route implemented with exitPreview() (#32) (445a3ae)
  • support tree-shaking (#36) (c234524)

Documentation

Refactor

  • simplify Prismic preview cookie reading (#34) (80e876f)

Chore

0.1.3 (2022-05-25)

Features

Refactor

0.1.2 (2022-04-01)

Features

Bug Fixes

Documentation

  • remove experimental/beta message (d7f1b55)

Chore

  • add missing react-dom dev dependency (b5e570b)
  • ci: update ci to not use workspaces (6891f46)
  • ci: use node 16 (a0eb3ec)
  • clean up .github directory (f66b625)
  • restructure + refresh project (#18) (f0e1170)
  • update package.json version to v0.1.1 (0d498e8)
  • update warning label (8d58178)

0.1.0 (2022-02-28)

0.0.5 (2022-02-21)

Features

  • replace enableAutoPreviews()'s context option with previewData (#12) (435b8eb)
  • support shareable Preview links (#11) (180fee8)

Chore

  • link root README to package README (609a1f3)

0.0.4 (2022-01-25)

Chore

0.0.3 (2022-01-25)

Chore

  • add symlink for README (6e94087)
  • adding script back to release (4cdac7c)
  • update repo links and add package name (a186468)

0.0.2 (2022-01-25)

Features

  • add test command (0e97ed3)
  • add test for setPreviewData (a368498)
  • add tests for preview component (c941d9a)
  • api changes (9b0de37)
  • exitPreview test working (51d3e82)
  • initial commit (275c8d6)
  • make req required on redirectToPreviewURL (b419617)
  • remove event listeners for prismic toolbar events (b42ef2a)
  • wrapping up tests and working event listeners (548340e)

Bug Fixes

  • resolve "Can't set headers after they are sent" warning in preview API endpoint (#7) (d6442f5)

Documentation

  • update TSDoc with more context (6845353)

Chore

0.0.1 (2021-12-20)

Features

  • add test command (0e97ed3)
  • add test for setPreviewData (a368498)
  • add tests for preview component (c941d9a)
  • api changes (9b0de37)
  • exitPreview test working (51d3e82)
  • initial commit (275c8d6)
  • make req required on redirectToPreviewURL (b419617)
  • remove event listeners for prismic toolbar events (b42ef2a)
  • wrapping up tests and working event listeners (548340e)

Documentation

  • update TSDoc with more context (6845353)

Chore