Skip to content

Latest commit

 

History

History
980 lines (347 loc) · 34.3 KB

CHANGELOG.md

File metadata and controls

980 lines (347 loc) · 34.3 KB

Change Log

All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.

5.2.9 (2022-06-17)

Bug Fixes

  • apply same fix to typepath generation (8ad9af3)
  • support Slice Zones with missing choices property (eb0386f)

5.2.8 (2022-05-19)

Bug Fixes

5.2.7 (2022-05-16)

Note: Version bump only for package @prismicio/gatsby

5.2.6 (2022-04-19)

Bug Fixes

  • 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)

Bug Fixes

  • support Shared Slices without primary/items models (db83f3d)
  • update @prismicio/imgix (fixes #488) (7eb0269)

5.2.4 (2022-01-10)

Bug Fixes

  • source: exclude empty Slice Zones in GraphQL type (23cb131)

5.2.3 (2021-12-01)

Bug Fixes

  • source: resolve "Unable to serialize object as a key" error on empty Embed fields (5afb496), closes #484

5.2.2 (2021-11-15)

Bug Fixes

  • previews: restore dataRaw document field (3ab85ea)

5.2.1 (2021-11-10)

Bug Fixes

  • replace @prismicio/client's getAll with dangerouslyGetAll (50c0ef2)

5.2.0 (2021-11-10)

Features

  • add routes option to support Route Resolver (#479) (731f1a1)

5.1.1 (2021-11-06)

Bug Fixes

  • source: support Slices without non-repeat/repeat models (5821cf0)

5.1.0 (2021-11-05)

Features

  • type Rich Text and Title fields with custom PrismicStructuredText scalar (#473) (5737479)

5.0.4 (2021-11-03)

Bug Fixes

  • add verbose log when downloading files (e3d4adf)
  • source: restore fetching documents of all languages by defualt (def010a)

5.0.3 (2021-11-03)

Bug Fixes

  • ensure cached localFile fields are not null (#472) (b2d9d01)

5.0.2 (2021-10-30)

Bug Fixes

  • previews: resolve CORS error with @prismicio/client (1d66749)

5.0.1 (2021-10-29)

Bug Fixes

  • allow complete opt-in file downloading (#470) (c1b27b3)

5.0.0 (2021-10-21)

Features

BREAKING CHANGES

  • Changes to Gatsby's query runner requires the plugin to download local files at bootstrap. Add a shouldDownloadFiles plugin option if you use the localFile 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)

Bug Fixes

  • source: skip schema validation if Custom Types API is used (de60737)

5.0.0-next.10 (2021-10-20)

Bug Fixes

  • 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)

Bug Fixes

  • use updated @prismicio/helpers asLink (9f3c93f)

Features

  • improved plugin options validation messages (f7b7ff9)
  • support pageSize plugin option (5cc03b3)

5.0.0-next.8 (2021-09-23)

Features

  • source: move plugin option defaults to Gatsby Node APIs (f92b995)

5.0.0-next.7 (2021-09-18)

Bug Fixes

5.0.0-next.6 (2021-09-17)

Bug Fixes

  • move default function plugin options to Node APIs (d1b39d7)

5.0.0-next.5 (2021-09-16)

Bug Fixes

  • previews: optional repositoryConfigs option for withPrismicPreviewResolver (29b3363)

5.0.0-next.4 (2021-09-16)

5.0.0-next.3 (2021-09-16)

Bug Fixes

  • previews: remove missing styles message (00de4ca)

5.0.0-next.2 (2021-09-15)

Bug Fixes

  • include gatsby-node.js on npm (29eba49)

5.0.0-next.1 (2021-09-15)

5.0.0-next.0 (2021-09-14)

Bug Fixes

  • provide better missing schema message (ddb1d84)

5.0.0-alpha.0 (2021-09-09)

Bug Fixes

  • 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)

Features

  • 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 for richText (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)

BREAKING CHANGES

  • Changes to Gatsby's query runner requires the plugin to download local files at bootstrap. Add a shouldDownloadFiles plugin option if you use the localFile field for Image and Link fields.

5.0.0-next.8 (2021-09-23)

Bug Fixes

  • source: correctly support Cloud Builds on Gatsby Cloud (#450) (555a37d)

5.0.0-next.7 (2021-09-18)

Bug Fixes

5.0.0-next.6 (2021-09-17)

Bug Fixes

  • move default function plugin options to Node APIs (d1b39d7)

5.0.0-next.5 (2021-09-16)

Bug Fixes

  • 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)

Bug Fixes

  • previews: remove missing styles message (00de4ca)

5.0.0-next.2 (2021-09-15)

Bug Fixes

  • include gatsby-node.js on npm (29eba49)

5.0.0-next.1 (2021-09-15)

5.0.0-next.0 (2021-09-14)

Bug Fixes

  • provide better missing schema message (ddb1d84)

5.0.0-alpha.0 (2021-09-09)

Bug Fixes

  • 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)

Features

  • 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 for richText (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)

BREAKING CHANGES

  • Changes to Gatsby's query runner requires the plugin to download local files at bootstrap. Add a shouldDownloadFiles plugin option if you use the localFile field for Image and Link fields.

4.2.0 (2021-10-04)

Features

4.1.7 (2021-10-01)

Bug Fixes

4.1.6 (2021-09-23)

Bug Fixes

  • source: correctly support Cloud Builds on Gatsby Cloud (#450) (555a37d)

4.1.5 (2021-09-15)

Bug Fixes

  • sourec: only normalize data field if it contains fields (1eb81a2)

4.1.4 (2021-09-15)

Bug Fixes

  • correctly resolve root document fields when using transformFieldName (9175c7d), closes #447

4.1.3 (2021-09-01)

Bug Fixes

  • previews: wait for bootstrap to complete before merging data (4b9bfe4)

4.1.2 (2021-08-25)

Bug Fixes

  • image field proxy types (91e07eb)
  • lock @prismicio/client version (43e7795)

4.1.1 (2021-08-25)

Bug Fixes

  • previews: treat null link fields as valid (#433) (4e6cc1d)

4.1.0 (2021-08-18)

Features

4.0.3 (2021-07-28)

Bug Fixes

  • previews: catch error when a field type cannot be found (352c923)

4.0.2 (2021-07-27)

Bug Fixes

  • correctly resolve fields with transformed names (#415) (1c7907f)

4.0.1 (2021-07-20)

Note: Version bump only for package @prismicio/gatsby

4.0.0 (2021-07-20)

Features

4.0.0-beta.22 (2021-07-13)

Bug Fixes

  • update all dependencies (66f71b5)

4.0.0-beta.21 (2021-07-08)

Bug Fixes

Features

  • 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)

Bug Fixes

  • fetch uncached typepaths (deaaaa3)

4.0.0-beta.18 (2021-06-09)

Features

  • previews: add localFile.publicURL to images (d52af64)

4.0.0-beta.17 (2021-06-09)

Bug Fixes

  • prepare imgix URLs by removing query params (3178489)

4.0.0-beta.16 (2021-06-08)

Bug Fixes

  • 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)

Bug Fixes

  • previews: add __typename to match GraphQL API (cf75c7a)

4.0.0-beta.13 (2021-06-01)

Bug Fixes

  • previews: restore content relation document field (7eebe51)

4.0.0-beta.12 (2021-06-01)

Bug Fixes

  • support Node.js 12 fs module (e120087)

4.0.0-beta.11 (2021-06-01)

Bug Fixes

  • previews: handle documents without data (0239cd2), closes #383

4.0.0-beta.10 (2021-06-01)

Bug Fixes

  • update gatsby-image fragments for @imgix/gatsby (0ebf59e)

4.0.0-beta.9 (2021-05-29)

Bug Fixes

  • previews: sanitize all image field URLs (ddaef3f)

4.0.0-beta.8 (2021-05-29)

Bug Fixes

4.0.0-beta.7 (2021-05-28)

Bug Fixes

  • use properly escaped regex (020717e)

4.0.0-beta.6 (2021-05-28)

Bug Fixes

  • manually handle spaces in image URLs (2acad02)

4.0.0-beta.5 (2021-05-28)

Bug Fixes

  • 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)

Bug Fixes

  • previews: position modal at maximum z-index (38df712)

4.0.0-beta.2 (2021-05-28)

Bug Fixes

  • support images in Rich Text previews (3234a83)

4.0.0-beta.1 (2021-05-28)

Bug Fixes

  • pass path to image field proxy (89ade0e)
  • pass path to image proxy (6a84bc9)

Features

  • print failed field refinement path (78d88cf)

4.0.0-beta.0 (2021-05-26)

Note: Version bump only for package @prismicio/gatsby

4.0.0-alpha.12 (2021-05-26)

Bug Fixes

  • retain existing Imgix URL parameters on images (#375) (f812d2e)
  • use more descriptive test-trigger webhook message (7053c39)