All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.
5.2.9 (2022-06-17)
- apply same fix to typepath generation (8ad9af3)
- support Slice Zones with missing
choices
property (eb0386f)
5.2.8 (2022-05-19)
5.2.7 (2022-05-16)
Note: Version bump only for package @prismicio/gatsby
5.2.6 (2022-04-19)
- previews: retain correct scroll position during preview bootstrapping (#504) (46803df)
- remove default q=50 Imgix parameter for Gatsby images (1067bd0)
5.2.5 (2022-01-11)
- support Shared Slices without primary/items models (db83f3d)
- update @prismicio/imgix (fixes #488) (7eb0269)
5.2.4 (2022-01-10)
- source: exclude empty Slice Zones in GraphQL type (23cb131)
5.2.3 (2021-12-01)
- source: resolve "Unable to serialize object as a key" error on empty Embed fields (5afb496), closes #484
5.2.2 (2021-11-15)
- previews: restore
dataRaw
document field (3ab85ea)
5.2.1 (2021-11-10)
- replace
@prismicio/client
'sgetAll
withdangerouslyGetAll
(50c0ef2)
5.2.0 (2021-11-10)
5.1.1 (2021-11-06)
- source: support Slices without non-repeat/repeat models (5821cf0)
5.1.0 (2021-11-05)
5.0.4 (2021-11-03)
- add verbose log when downloading files (e3d4adf)
- source: restore fetching documents of all languages by defualt (def010a)
5.0.3 (2021-11-03)
5.0.2 (2021-10-30)
- previews: resolve CORS error with
@prismicio/client
(1d66749)
5.0.1 (2021-10-29)
5.0.0 (2021-10-21)
-
Changes to Gatsby's query runner requires the plugin to download local files at bootstrap. Add a
shouldDownloadFiles
plugin option if you use thelocalFile
field for Image and Link fields. -
v5.0.0-alpha.0
-
chore: link test-site to local packages
-
chore: add publish:next script
-
fix: provide better missing schema message
-
style: run prettier
-
chore: update dependencies
-
v5.0.0-next.0
-
chore: update gatsby-plugin-image
-
v5.0.0-next.1
-
chore: fix duplicated changelog
-
fix: include gatsby-node.js on npm
-
v5.0.0-next.2
-
fix(previews): remove missing styles message
-
v5.0.0-next.3
-
chore: update gatsby, gatsby-plugin-image peer dep
-
v5.0.0-next.4
-
fix(previews): optional repositoryConfigs option for withPrismicPreviewResolver
-
v5.0.0-next.5
-
fix: move default function plugin options to Node APIs
-
v5.0.0-next.6
-
fix: use non-.mjs exports
This is primarily to support Storybook without special configuration.
-
v5.0.0-next.7
-
feat(source): move plugin option defaults to Gatsby Node APIs
-
v5.0.0-next.8
-
chore: update yarn.lock
-
refactor: plugin options validation
-
feat: improved plugin options validation messages
-
chore: merge CHANGELOG
-
feat: support pageSize plugin option
-
chore: update dependencies
-
fix: use updated @prismicio/helpers
asLink
-
v5.0.0-next.9
-
fix(source): skip data field normalization for documents without data fields
-
fix(previews): upgrade gatsby-source-prismic dependency
-
v5.0.0-next.10
-
fix(source): skip schema validation if Custom Types API is used
-
v5.0.0-next.11
-
fix: update peerDependencies for Gatsby 4
-
chore: update test site dependencies
-
chore: do not format CHANGELOG with prettier
-
test: temporarily skip snapshot tests in CI
-
test: explicitly pass CI-skipped tests
5.0.0-next.11 (2021-10-20)
- source: skip schema validation if Custom Types API is used (de60737)
5.0.0-next.10 (2021-10-20)
- previews: upgrade gatsby-source-prismic dependency (c8e8e35)
- source: skip data field normalization for documents without data fields (356800a)
5.0.0-next.9 (2021-10-15)
- use updated @prismicio/helpers
asLink
(9f3c93f)
5.0.0-next.8 (2021-09-23)
- source: move plugin option defaults to Gatsby Node APIs (f92b995)
5.0.0-next.7 (2021-09-18)
- use non-.mjs exports (318789e)
5.0.0-next.6 (2021-09-17)
- move default function plugin options to Node APIs (d1b39d7)
5.0.0-next.5 (2021-09-16)
- previews: optional repositoryConfigs option for withPrismicPreviewResolver (29b3363)
5.0.0-next.4 (2021-09-16)
5.0.0-next.3 (2021-09-16)
- previews: remove missing styles message (00de4ca)
5.0.0-next.2 (2021-09-15)
- include gatsby-node.js on npm (29eba49)
5.0.0-next.1 (2021-09-15)
5.0.0-next.0 (2021-09-14)
- provide better missing schema message (ddb1d84)
5.0.0-alpha.0 (2021-09-09)
- correctly register UID field (b08881b)
- improve types (05d2a6f)
- mark data field as non-nullable (2069812)
- only add data type path if model contains data fields (8025bb6)
- previews: display correct package version in error modal (00d3a6e)
- restore type path serialization (907b3ee)
- sanitize runtime image URL field (5a28488)
- setup runtime with correct config (cf14441)
- source: support null link values in runtime (09de6a6)
- support object HTML Serializer (e0a9624)
- url build error (0b6ced0)
- use correct Shared Slice type resolver (5cbdea2)
- use latest
@prismicio/client
(0ea5cef) - use serialized type paths (ea5c427)
- add richText field to StructuredText fields (f967015)
- add runtime manager (f362bcb)
- add runtime normalizer (19c5818)
- add shouldDownloadFiles plugin option (34cc69b)
- allow direct value normalization (413b007)
- deprecate Rich Text
raw
forrichText
(370f28a) - initial parallelization support (217c97f)
- initial Shared Slices support (1e31d9c)
- previews: support Shared Slices (2727b93)
- previews: use new shared runtime (0030398)
- previews: use runtime throughout plugin (937650b)
- previews: use shadow dom for style isolation (f4e5448)
- source: support shared slices in type paths (6f8c677)
- support Gatsby 4 (600e566)
- Changes to Gatsby's query runner requires the plugin to
download local files at bootstrap. Add a
shouldDownloadFiles
plugin option if you use thelocalFile
field for Image and Link fields.
5.0.0-next.8 (2021-09-23)
5.0.0-next.7 (2021-09-18)
- use non-.mjs exports (318789e)
5.0.0-next.6 (2021-09-17)
- move default function plugin options to Node APIs (d1b39d7)
5.0.0-next.5 (2021-09-16)
- previews: optional repositoryConfigs option for withPrismicPreviewResolver (29b3363)
5.0.0-next.4 (2021-09-16)
Note: Version bump only for package @prismicio/gatsby
5.0.0-next.3 (2021-09-16)
- previews: remove missing styles message (00de4ca)
5.0.0-next.2 (2021-09-15)
- include gatsby-node.js on npm (29eba49)
5.0.0-next.1 (2021-09-15)
5.0.0-next.0 (2021-09-14)
- provide better missing schema message (ddb1d84)
5.0.0-alpha.0 (2021-09-09)
- correctly register UID field (b08881b)
- improve types (05d2a6f)
- mark data field as non-nullable (2069812)
- only add data type path if model contains data fields (8025bb6)
- previews: display correct package version in error modal (00d3a6e)
- restore type path serialization (907b3ee)
- sanitize runtime image URL field (5a28488)
- setup runtime with correct config (cf14441)
- source: support null link values in runtime (09de6a6)
- support object HTML Serializer (e0a9624)
- url build error (0b6ced0)
- use correct Shared Slice type resolver (5cbdea2)
- use latest
@prismicio/client
(0ea5cef) - use serialized type paths (ea5c427)
- add richText field to StructuredText fields (f967015)
- add runtime manager (f362bcb)
- add runtime normalizer (19c5818)
- add shouldDownloadFiles plugin option (34cc69b)
- allow direct value normalization (413b007)
- deprecate Rich Text
raw
forrichText
(370f28a) - initial parallelization support (217c97f)
- initial Shared Slices support (1e31d9c)
- previews: support Shared Slices (2727b93)
- previews: use new shared runtime (0030398)
- previews: use runtime throughout plugin (937650b)
- previews: use shadow dom for style isolation (f4e5448)
- source: support shared slices in type paths (6f8c677)
- support Gatsby 4 (600e566)
- Changes to Gatsby's query runner requires the plugin to
download local files at bootstrap. Add a
shouldDownloadFiles
plugin option if you use thelocalFile
field for Image and Link fields.
4.2.0 (2021-10-04)
4.1.7 (2021-10-01)
- update dependencies (57ceb56)
4.1.6 (2021-09-23)
4.1.5 (2021-09-15)
- sourec: only normalize data field if it contains fields (1eb81a2)
4.1.4 (2021-09-15)
4.1.3 (2021-09-01)
- previews: wait for bootstrap to complete before merging data (4b9bfe4)
4.1.2 (2021-08-25)
4.1.1 (2021-08-25)
4.1.0 (2021-08-18)
4.0.3 (2021-07-28)
- previews: catch error when a field type cannot be found (352c923)
4.0.2 (2021-07-27)
4.0.1 (2021-07-20)
Note: Version bump only for package @prismicio/gatsby
4.0.0 (2021-07-20)
- v4.0.0 (#408) (407887f), closes #334 #335 #349 #350 #352 #353 #359 #360 #351 #364 #371 #375 #383 #405 #406
4.0.0-beta.22 (2021-07-13)
- update all dependencies (66f71b5)
4.0.0-beta.21 (2021-07-08)
- previews: warn when provider and styles are missing (87c4f7b)
4.0.0-beta.20 (2021-06-28)
Note: Version bump only for package @prismicio/gatsby
4.0.0-beta.19 (2021-06-28)
- fetch uncached typepaths (deaaaa3)
4.0.0-beta.18 (2021-06-09)
- previews: add
localFile.publicURL
to images (d52af64)
4.0.0-beta.17 (2021-06-09)
- prepare imgix URLs by removing query params (3178489)
4.0.0-beta.16 (2021-06-08)
- previews: use better missing config message (732e061)
4.0.0-beta.15 (2021-06-08)
Note: Version bump only for package @prismicio/gatsby
4.0.0-beta.14 (2021-06-08)
- previews: add __typename to match GraphQL API (cf75c7a)
4.0.0-beta.13 (2021-06-01)
- previews: restore content relation document field (7eebe51)
4.0.0-beta.12 (2021-06-01)
- support Node.js 12 fs module (e120087)
4.0.0-beta.11 (2021-06-01)
4.0.0-beta.10 (2021-06-01)
- update gatsby-image fragments for @imgix/gatsby (0ebf59e)
4.0.0-beta.9 (2021-05-29)
- previews: sanitize all image field URLs (ddaef3f)
4.0.0-beta.8 (2021-05-29)
- decode image URLs (85deba5)
4.0.0-beta.7 (2021-05-28)
- use properly escaped regex (020717e)
4.0.0-beta.6 (2021-05-28)
- manually handle spaces in image URLs (2acad02)
4.0.0-beta.5 (2021-05-28)
- disable automatic PrismicPreviewProvider injection (7638988)
4.0.0-beta.4 (2021-05-28)
Note: Version bump only for package @prismicio/gatsby
4.0.0-beta.3 (2021-05-28)
- previews: position modal at maximum z-index (38df712)
4.0.0-beta.2 (2021-05-28)
- support images in Rich Text previews (3234a83)
4.0.0-beta.1 (2021-05-28)
- print failed field refinement path (78d88cf)
4.0.0-beta.0 (2021-05-26)
Note: Version bump only for package @prismicio/gatsby