All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
1.7.1 (2024-10-28)
1.7.0 (2024-09-27)
1.7.0-alpha.0 (2024-09-10)
- release: 1.6.0 (e97fcca)
1.6.0 (2024-05-30)
- Support Next 15 & React 19 (864bfed)
1.5.0 (2023-11-16)
1.4.0 (2023-10-30)
- deps: support Next 14 (7933bae)
1.3.6 (2023-10-03)
1.3.5 (2023-09-22)
1.3.4 (2023-08-08)
1.3.3 (2023-07-05)
1.3.2 (2023-06-16)
1.3.1 (2023-06-14)
- 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)
1.3.0-alpha.1 (2023-06-10)
- prevent
cookies()
when Draft Mode is disabled (5485fa0)
1.3.0-alpha.0 (2023-06-10)
- support Draft Mode with static rendering (b839d19)
- restore preview share link support (73f2479)
1.2.1 (2023-05-23)
- 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)
- PrismicNextImage: log error if no alternative text is available (only in non-production environments) (#68) (2e01b67)
1.1.0 (2023-05-06)
1.1.0-alpha.2 (2023-05-05)
- regression in
<PrismicPreviewClient>
(f0a6b2f)
1.1.0-alpha.1 (2023-04-28)
- PrismicNextLink: restore
href
prop (ceaf8c6)
- bundle
@prismicio/client
v7 to preventnpm install
issues (eaa5a30) - PrismicNextLink: remove
href
prop (057ec51)
- use more accurate name for unsupported error builder (faf568c)
1.1.0-alpha.0 (2023-04-25)
- support React Server Components and App Router (be9e1a1)
- support projects using
@prismicio/client
v6 (0c48157)
1.0.3 (2023-02-22)
- deps: update dependencies (#54) (9d26909)
- use consistent file path prefix in
types
package.json
property (92a02dc)
1.0.2 (2022-11-18)
1.0.1 (2022-11-17)
- resolve "'
PrismicPreview
' cannot be used as a JSX component" TypeScript error (a96f844)
1.0.0 (2022-11-16)
0.2.0 (2022-11-16)
- support Next 13, drop support for Next 12 (#48)
- remove deprecated
exitPreviewURL
argument forexitPreview()
(fedd246)
0.1.8 (2022-11-11)
0.1.7 (2022-10-18)
- deps: update dependencies (355dcad)
0.1.6 (2022-10-11)
- support
width
andheight
props in<PrismicNextImage>
when layout isintrinsic
orfixed
(#42) (a170999)
0.1.6-alpha.1 (2022-10-06)
0.1.6-alpha.0 (2022-10-06)
- use sdk plugin (bf49fb3)
- 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)
- update CONTRIBUTING.md (fa5b036)
0.1.5 (2022-09-09)
0.1.4 (2022-09-09)
- prevent CDN-level caching of exit preview route implemented with
exitPreview()
(#32) (445a3ae) - support tree-shaking (#36) (c234524)
- update feature list (330bab2)
0.1.3 (2022-05-25)
0.1.2 (2022-04-01)
- remove experimental/beta message (d7f1b55)
- 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)
- replace
enableAutoPreviews()
'scontext
option withpreviewData
(#12) (435b8eb) - support shareable Preview links (#11) (180fee8)
- link root README to package README (609a1f3)
0.0.4 (2022-01-25)
- fixed readme links (41404a8)
0.0.3 (2022-01-25)
- add symlink for README (6e94087)
- adding script back to release (4cdac7c)
- update repo links and add package name (a186468)
- 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)
- update TSDoc with more context (6845353)
- add .github folder (f982a28)
- add defaultURL to res.redirect (e969244)
- add dot files and readme (937006e)
- add experimental warning (303fad3)
- add function to check if event is from prismic toolbar (0b94c18)
- add license (8ffe899)
- add script test (3fa92a1)
- add ts doc (0163937)
- add TS doc for exit preview (ae8916f)
- add ts docs (2affb42)
- add tsdoc (66ab83d)
- clean up (627fc90)
- clean up (6525241)
- clean up setPreviewData (b12dc90)
- comments (c389508)
- delete unused function (eb34c7a)
- export ExitPreviewParams (fc13319)
- export types (6d7fe1d)
- fix imports (53232d2)
- fix imports and remove server (a9d473b)
- if statement to check for token (d9bab90)
- import SetPreviewConfig to index.ts (7a4a300)
- make children optional (8807409)
- make linkResolver optional (9195794)
- minimal PreviewConfig param (3434042)
- refactor and update test (7bc918a)
- refactor setPreviewData to work with test (2d00faf)
- refactor to use req (000c89b)
- release: 0.0.1 (35a8bfb)
- remove <React.Fragment /> (127a169)
- remove async (5a2b828)
- remove comment (48daf16)
- remove logs (11c40a2)
- remove react as peer dependency (d856459)
- remove renderJSON (cebaa34)
- remove unnecessary things (1725d3e)
- remove unused file (6762ded)
- rename (2b5b20f)
- simplify exports (e0e8bf7)
- ts doc (e5b5c7f)
- ts doc for enableAutoPreviews (caf64d6)
- type event as custom event (d41abeb)
- update after rename (dc3d11e)
- update nextjs as peer dependency (85ddf36)
- update package description (0776850)
- update package name to @prismicio/next (5f0ed6a)
- update package-lock.json (1f60d59)
- update repo (c281f75)
- update test (e557277)
- update TS doc for exit preview (206e8c3)
- update tsdoc (38f2430)
- 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)
- update TSDoc with more context (6845353)
- add .github folder (f982a28)
- add defaultURL to res.redirect (e969244)
- add dot files and readme (937006e)
- add function to check if event is from prismic toolbar (0b94c18)
- add license (8ffe899)
- add script test (3fa92a1)
- add ts doc (0163937)
- add TS doc for exit preview (ae8916f)
- add ts docs (2affb42)
- add tsdoc (66ab83d)
- clean up (627fc90)
- clean up (6525241)
- clean up setPreviewData (b12dc90)
- comments (c389508)
- delete unused function (eb34c7a)
- export ExitPreviewParams (fc13319)
- export types (6d7fe1d)
- fix imports (53232d2)
- fix imports and remove server (a9d473b)
- if statement to check for token (d9bab90)
- import SetPreviewConfig to index.ts (7a4a300)
- make children optional (8807409)
- make linkResolver optional (9195794)
- minimal PreviewConfig param (3434042)
- refactor and update test (7bc918a)
- refactor setPreviewData to work with test (2d00faf)
- refactor to use req (000c89b)
- remove <React.Fragment /> (127a169)
- remove async (5a2b828)
- remove comment (48daf16)
- remove logs (11c40a2)
- remove react as peer dependency (d856459)
- remove renderJSON (cebaa34)
- remove unnecessary things (1725d3e)
- remove unused file (6762ded)
- rename (2b5b20f)
- simplify exports (e0e8bf7)
- ts doc (e5b5c7f)
- ts doc for enableAutoPreviews (caf64d6)
- type event as custom event (d41abeb)
- update after rename (dc3d11e)
- update nextjs as peer dependency (85ddf36)
- update package description (0776850)
- update package name to @prismicio/next (5f0ed6a)
- update package-lock.json (1f60d59)
- update repo (c281f75)
- update test (e557277)
- update TS doc for exit preview (206e8c3)
- update tsdoc (38f2430)