Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: gatsbyjs/gatsby
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: gatsby-plugin-feed@4.12.1
Choose a base ref
...
head repository: gatsbyjs/gatsby
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: gatsby-plugin-feed@4.13.0
Choose a head ref

Commits on Apr 7, 2022

  1. chore(release): Publish next pre-minor

     - babel-plugin-remove-graphql-queries@4.13.0-next.0
     - babel-preset-gatsby-package@2.13.0-next.0
     - babel-preset-gatsby@2.13.0-next.0
     - create-gatsby@2.13.0-next.0
     - gatsby-cli@4.13.0-next.0
     - gatsby-codemods@3.13.0-next.0
     - gatsby-core-utils@3.13.0-next.0
     - gatsby-cypress@2.13.0-next.0
     - gatsby-design-tokens@4.13.0-next.0
     - gatsby-dev-cli@4.13.0-next.0
     - gatsby-graphiql-explorer@2.13.0-next.0
     - gatsby-legacy-polyfills@2.13.0-next.0
     - gatsby-link@4.13.0-next.0
     - gatsby-page-utils@2.13.0-next.0
     - gatsby-parcel-config@0.4.0-next.0
     - gatsby-plugin-benchmark-reporting@2.13.0-next.0
     - gatsby-plugin-canonical-urls@4.13.0-next.0
     - gatsby-plugin-catch-links@4.13.0-next.0
     - gatsby-plugin-coffeescript@4.13.0-next.0
     - gatsby-plugin-cxs@4.13.0-next.0
     - gatsby-plugin-emotion@7.13.0-next.0
     - gatsby-plugin-facebook-analytics@4.13.0-next.0
     - gatsby-plugin-feed@4.13.0-next.0
     - gatsby-plugin-flow@3.13.0-next.0
     - gatsby-plugin-fullstory@4.13.0-next.0
     - gatsby-plugin-gatsby-cloud@4.13.0-next.0
     - gatsby-plugin-google-analytics@4.13.0-next.0
     - gatsby-plugin-google-gtag@4.13.0-next.0
     - gatsby-plugin-google-tagmanager@4.13.0-next.0
     - gatsby-plugin-graphql-config@1.13.0-next.0
     - gatsby-plugin-image@2.13.0-next.0
     - gatsby-plugin-jss@4.13.0-next.0
     - gatsby-plugin-layout@3.13.0-next.0
     - gatsby-plugin-less@6.13.0-next.0
     - gatsby-plugin-lodash@5.13.0-next.0
     - gatsby-plugin-manifest@4.13.0-next.0
     - gatsby-plugin-mdx@3.13.0-next.0
     - gatsby-plugin-netlify-cms@6.13.0-next.0
     - gatsby-plugin-no-sourcemaps@4.13.0-next.0
     - gatsby-plugin-nprogress@4.13.0-next.0
     - gatsby-plugin-offline@5.13.0-next.0
     - gatsby-plugin-page-creator@4.13.0-next.0
     - gatsby-plugin-postcss@5.13.0-next.0
     - gatsby-plugin-preact@6.13.0-next.0
     - gatsby-plugin-preload-fonts@3.13.0-next.0
     - gatsby-plugin-react-css-modules@4.13.0-next.0
     - gatsby-plugin-react-helmet@5.13.0-next.0
     - gatsby-plugin-remove-trailing-slashes@4.13.0-next.0
     - gatsby-plugin-sass@5.13.0-next.0
     - gatsby-plugin-schema-snapshot@3.13.0-next.0
     - gatsby-plugin-sharp@4.13.0-next.0
     - gatsby-plugin-sitemap@5.13.0-next.0
     - gatsby-plugin-styled-components@5.13.0-next.0
     - gatsby-plugin-styled-jsx@5.13.0-next.0
     - gatsby-plugin-styletron@7.13.0-next.0
     - gatsby-plugin-stylus@4.13.0-next.0
     - gatsby-plugin-subfont@4.13.0-next.0
     - gatsby-plugin-twitter@4.13.0-next.0
     - gatsby-plugin-typescript@4.13.0-next.0
     - gatsby-plugin-typography@4.13.0-next.0
     - gatsby-plugin-utils@3.7.0-next.0
     - gatsby-react-router-scroll@5.13.0-next.0
     - gatsby-remark-autolink-headers@5.13.0-next.0
     - gatsby-remark-code-repls@6.13.0-next.0
     - gatsby-remark-copy-linked-files@5.13.0-next.0
     - gatsby-remark-custom-blocks@4.13.0-next.0
     - gatsby-remark-embed-snippet@7.13.0-next.0
     - gatsby-remark-graphviz@4.13.0-next.0
     - gatsby-remark-images-contentful@5.13.0-next.0
     - gatsby-remark-images@6.13.0-next.0
     - gatsby-remark-katex@6.13.0-next.0
     - gatsby-remark-prismjs@6.13.0-next.0
     - gatsby-remark-responsive-iframe@5.13.0-next.0
     - gatsby-remark-smartypants@5.13.0-next.0
     - gatsby-sharp@0.7.0-next.0
     - gatsby-source-contentful@7.11.0-next.0
     - gatsby-source-drupal@5.13.0-next.0
     - gatsby-source-faker@4.13.0-next.0
     - gatsby-source-filesystem@4.13.0-next.0
     - gatsby-source-graphql@4.13.0-next.0
     - gatsby-source-hacker-news@4.13.0-next.0
     - gatsby-source-lever@4.13.0-next.0
     - gatsby-source-medium@4.13.0-next.0
     - gatsby-source-mongodb@4.13.0-next.0
     - gatsby-source-npm-package-search@4.13.0-next.0
     - gatsby-source-shopify@7.2.0-next.0
     - gatsby-source-wikipedia@4.13.0-next.0
     - gatsby-source-wordpress@6.13.0-next.0
     - gatsby-telemetry@3.13.0-next.0
     - gatsby-transformer-asciidoc@3.13.0-next.0
     - gatsby-transformer-csv@4.13.0-next.0
     - gatsby-transformer-documentationjs@6.13.0-next.0
     - gatsby-transformer-excel@4.13.0-next.0
     - gatsby-transformer-hjson@4.13.0-next.0
     - gatsby-transformer-javascript-frontmatter@4.13.0-next.0
     - gatsby-transformer-javascript-static-exports@4.13.0-next.0
     - gatsby-transformer-json@4.13.0-next.0
     - gatsby-transformer-pdf@3.13.0-next.0
     - gatsby-transformer-react-docgen@7.13.0-next.0
     - gatsby-transformer-remark@5.13.0-next.0
     - gatsby-transformer-screenshot@4.13.0-next.0
     - gatsby-transformer-sharp@4.13.0-next.0
     - gatsby-transformer-sqip@4.13.0-next.0
     - gatsby-transformer-toml@4.13.0-next.0
     - gatsby-transformer-xml@4.13.0-next.0
     - gatsby-transformer-yaml@4.13.0-next.0
     - gatsby-worker@1.13.0-next.0
     - gatsby@4.13.0-next.0
    imjoshin committed Apr 7, 2022
    Copy the full SHA
    de86cb7 View commit details

Commits on Apr 8, 2022

  1. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    b669468 View commit details
  2. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    69490a5 View commit details
  3. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    72a7e3c View commit details
  4. fix(gatsby-plugin-gatsby-cloud): use assetPrefix in preload headers

    Co-authored-by: Ezra Ellette <ezra.ellette@gatsbyjs.com>
    EzraEllette and Ezra Ellette authored Apr 8, 2022

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    912cd00 View commit details

Commits on Apr 11, 2022

  1. fix(deps): update starters and examples (#35388)

    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    renovate[bot] and renovate-bot authored Apr 11, 2022

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    a51e87a View commit details
  2. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    408247f View commit details
  3. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    92d384f View commit details
  4. chore(release): Publish next

     - gatsby-plugin-gatsby-cloud@4.13.0-next.1
     - gatsby@4.13.0-next.1
    pieh committed Apr 11, 2022
    Copy the full SHA
    316ac02 View commit details
  5. fix(gatsby-source-wordpress): fix integration tests (#35399)

    * no need to hide this password - it's only used in docker and it's hardcoded in docker-compose.yml
    
    * add new seed data with all plugins already activated
    
    * change test assertions and snapshot
    TylerBarnes authored Apr 11, 2022

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    9b8aadc View commit details
  6. fix(gatsby-plugin-gatsby-cloud): don't add undefined to preload pat…

    …h if assetPrefix is falsy (#35400)
    pieh authored Apr 11, 2022

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    68aabc8 View commit details

Commits on Apr 12, 2022

  1. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    f49f10b View commit details
  2. fix(deps): update starters and examples gatsby packages to ^4.11.3 (#…

    …35401)
    
    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    renovate[bot] and renovate-bot authored Apr 12, 2022

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    68c8e74 View commit details
  3. chore(docs): Release Notes for 4.12 (#35376)

    * Add release notes for 4.12
    
    * Update index.md
    
    * Add RFCs
    
    * thanks-contributors
    imjoshin authored Apr 12, 2022

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    5979c88 View commit details

Commits on Apr 13, 2022

  1. fix(deps): update starters and examples - gatsby (#35413)

    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    renovate[bot] and renovate-bot authored Apr 13, 2022

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    233f54a View commit details
  2. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    f63d13d View commit details

Commits on Apr 14, 2022

  1. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    5698ada View commit details
  2. fix(gatsby): limit node manifest creation limit (#35359)

    * wip: stub out limiting node manfests written to disk
    
    * feat: limit number of node manifests written to disk
    
    * test: add tests for node manifest creation limit
    
    * refactor: remove console.log
    
    * refactor: prioritize node manifests that have updatedAtUTC over those that do not
    
    * fix: parse process.env.NODE_MANIFEST_FILE_LIMIT into a number
    
    * refactor: use Array.slice when limiting created node manifests for easier readability
    
    * fix: broken tests
    veryspry authored Apr 14, 2022

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    6476633 View commit details
  3. fix(gatsby-source-wordpress): localFile id (#35423)

    * additional condition logic
    
    * id fix
    
    * fix localFile link resolver
    
    Co-authored-by: Tyler Barnes <tylerdbarnes@gmail.com>
    kathmbeck and TylerBarnes authored Apr 14, 2022

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    d50457f View commit details

Commits on Apr 15, 2022

  1. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    e1e82bc View commit details

Commits on Apr 19, 2022

  1. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    1b6a35b View commit details
  2. fix(gatsby-link): modify relative links based on trailing slash option (

    #35444)
    
    * fix ending slash issue
    
    * change implementation
    
    * remove extra lines
    
    * correct relative path
    
    * Update packages/gatsby-link/src/rewrite-link-path.js
    
    Co-authored-by: Lennart <lekoarts@gmail.com>
    
    Co-authored-by: Lennart <lekoarts@gmail.com>
    marvinjude and LekoArts authored Apr 19, 2022

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    e30be3e View commit details
  3. fix(gatsby-transformer-screenshot): finished migration from better-qu…

    …eue to fastq (#35425)
    
    * fix(gatsby-transformer-screenshot): finished migration from better-queue to fastq
    
    * chore: fix linting
    doxsch authored Apr 19, 2022

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    3fb8642 View commit details
  4. docs(gatsby): image cdn author docs tweak (#35451)

    * provide full schema customization example
    
    * Update creating-a-source-plugin.md
    TylerBarnes authored Apr 19, 2022

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    697e6f4 View commit details

Commits on Apr 20, 2022

  1. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    dfa5991 View commit details
  2. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    a246011 View commit details

Commits on Apr 21, 2022

  1. feat(gatsby-source-wordpress): bring back defaults before image_cdn (#…

    …35370)
    
    Co-authored-by: Tyler Barnes <tylerdbarnes@gmail.com>
    wardpeet and TylerBarnes authored Apr 21, 2022

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    027acf8 View commit details
  2. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    028f348 View commit details
  3. chore(docs):Update Link URL (#35462)

    The previous link was not working. I messaged the author and he provided me with the new location of the article on GitHub
    tackc authored Apr 21, 2022

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    4627e3d View commit details

Commits on Apr 26, 2022

  1. fix(gatsby-source-contentful): Prevent null pointer exception (#35244) (

    #35492)
    
    Co-authored-by: axe312ger <opensource@axe312.dev>
    Co-authored-by: Lennart <lekoarts@gmail.com>
    Co-authored-by: Ward Peeters <ward@coding-tech.com>
    (cherry picked from commit 7bc7cf6)
    
    Co-authored-by: Xavi Ivars <xivarsribes@vistaprint.com>
    gatsbybot and xavivars authored Apr 26, 2022

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    dc25387 View commit details
  2. chore(release): Publish

     - babel-plugin-remove-graphql-queries@4.13.0
     - babel-preset-gatsby-package@2.13.0
     - babel-preset-gatsby@2.13.0
     - create-gatsby@2.13.0
     - gatsby-cli@4.13.0
     - gatsby-codemods@3.13.0
     - gatsby-core-utils@3.13.0
     - gatsby-cypress@2.13.0
     - gatsby-design-tokens@4.13.0
     - gatsby-dev-cli@4.13.0
     - gatsby-graphiql-explorer@2.13.0
     - gatsby-legacy-polyfills@2.13.0
     - gatsby-link@4.13.0
     - gatsby-page-utils@2.13.0
     - gatsby-parcel-config@0.4.0
     - gatsby-plugin-benchmark-reporting@2.13.0
     - gatsby-plugin-canonical-urls@4.13.0
     - gatsby-plugin-catch-links@4.13.0
     - gatsby-plugin-coffeescript@4.13.0
     - gatsby-plugin-cxs@4.13.0
     - gatsby-plugin-emotion@7.13.0
     - gatsby-plugin-facebook-analytics@4.13.0
     - gatsby-plugin-feed@4.13.0
     - gatsby-plugin-flow@3.13.0
     - gatsby-plugin-fullstory@4.13.0
     - gatsby-plugin-gatsby-cloud@4.13.0
     - gatsby-plugin-google-analytics@4.13.0
     - gatsby-plugin-google-gtag@4.13.0
     - gatsby-plugin-google-tagmanager@4.13.0
     - gatsby-plugin-graphql-config@1.13.0
     - gatsby-plugin-image@2.13.0
     - gatsby-plugin-jss@4.13.0
     - gatsby-plugin-layout@3.13.0
     - gatsby-plugin-less@6.13.0
     - gatsby-plugin-lodash@5.13.0
     - gatsby-plugin-manifest@4.13.0
     - gatsby-plugin-mdx@3.13.0
     - gatsby-plugin-netlify-cms@6.13.0
     - gatsby-plugin-no-sourcemaps@4.13.0
     - gatsby-plugin-nprogress@4.13.0
     - gatsby-plugin-offline@5.13.0
     - gatsby-plugin-page-creator@4.13.0
     - gatsby-plugin-postcss@5.13.0
     - gatsby-plugin-preact@6.13.0
     - gatsby-plugin-preload-fonts@3.13.0
     - gatsby-plugin-react-css-modules@4.13.0
     - gatsby-plugin-react-helmet@5.13.0
     - gatsby-plugin-remove-trailing-slashes@4.13.0
     - gatsby-plugin-sass@5.13.0
     - gatsby-plugin-schema-snapshot@3.13.0
     - gatsby-plugin-sharp@4.13.0
     - gatsby-plugin-sitemap@5.13.0
     - gatsby-plugin-styled-components@5.13.0
     - gatsby-plugin-styled-jsx@5.13.0
     - gatsby-plugin-styletron@7.13.0
     - gatsby-plugin-stylus@4.13.0
     - gatsby-plugin-subfont@4.13.0
     - gatsby-plugin-twitter@4.13.0
     - gatsby-plugin-typescript@4.13.0
     - gatsby-plugin-typography@4.13.0
     - gatsby-plugin-utils@3.7.0
     - gatsby-react-router-scroll@5.13.0
     - gatsby-remark-autolink-headers@5.13.0
     - gatsby-remark-code-repls@6.13.0
     - gatsby-remark-copy-linked-files@5.13.0
     - gatsby-remark-custom-blocks@4.13.0
     - gatsby-remark-embed-snippet@7.13.0
     - gatsby-remark-graphviz@4.13.0
     - gatsby-remark-images-contentful@5.13.0
     - gatsby-remark-images@6.13.0
     - gatsby-remark-katex@6.13.0
     - gatsby-remark-prismjs@6.13.0
     - gatsby-remark-responsive-iframe@5.13.0
     - gatsby-remark-smartypants@5.13.0
     - gatsby-sharp@0.7.0
     - gatsby-source-contentful@7.11.0
     - gatsby-source-drupal@5.13.0
     - gatsby-source-faker@4.13.0
     - gatsby-source-filesystem@4.13.0
     - gatsby-source-graphql@4.13.0
     - gatsby-source-hacker-news@4.13.0
     - gatsby-source-lever@4.13.0
     - gatsby-source-medium@4.13.0
     - gatsby-source-mongodb@4.13.0
     - gatsby-source-npm-package-search@4.13.0
     - gatsby-source-shopify@7.2.0
     - gatsby-source-wikipedia@4.13.0
     - gatsby-source-wordpress@6.13.0
     - gatsby-telemetry@3.13.0
     - gatsby-transformer-asciidoc@3.13.0
     - gatsby-transformer-csv@4.13.0
     - gatsby-transformer-documentationjs@6.13.0
     - gatsby-transformer-excel@4.13.0
     - gatsby-transformer-hjson@4.13.0
     - gatsby-transformer-javascript-frontmatter@4.13.0
     - gatsby-transformer-javascript-static-exports@4.13.0
     - gatsby-transformer-json@4.13.0
     - gatsby-transformer-pdf@3.13.0
     - gatsby-transformer-react-docgen@7.13.0
     - gatsby-transformer-remark@5.13.0
     - gatsby-transformer-screenshot@4.13.0
     - gatsby-transformer-sharp@4.13.0
     - gatsby-transformer-sqip@4.13.0
     - gatsby-transformer-toml@4.13.0
     - gatsby-transformer-xml@4.13.0
     - gatsby-transformer-yaml@4.13.0
     - gatsby-worker@1.13.0
     - gatsby@4.13.0
    tyhopp committed Apr 26, 2022
    Copy the full SHA
    89509ff View commit details
Showing with 12,714 additions and 3,368 deletions.
  1. +1 −0 docs/docs/deploying-to-gitlab-pages.md
  2. +1 −1 docs/docs/how-to/adding-common-features/adding-forms.md
  3. +17 −14 docs/docs/how-to/plugins-and-themes/creating-a-source-plugin.md
  4. +1 −1 docs/docs/how-to/previews-deploys-hosting/deploying-to-s3-cloudfront.md
  5. +57 −0 docs/docs/reference/release-notes/v4.12/index.md
  6. +0 −2 docs/tutorial/blog-netlify-cms-tutorial/index.md
  7. +6 −0 e2e-tests/development-runtime/cypress/integration/remote-file/gatsby-plugin-image.js
  8. +10 −0 e2e-tests/development-runtime/src/pages/remote-file.js
  9. +6 −0 e2e-tests/production-runtime/cypress/integration/remote-file.js
  10. +10 −0 e2e-tests/production-runtime/src/pages/remote-file.js
  11. +4 −0 e2e-tests/trailing-slash/cypress/integration/always.js
  12. +5 −0 e2e-tests/trailing-slash/src/pages/index.js
  13. +0 −4 integration-tests/gatsby-source-wordpress/__tests__/__snapshots__/index.js.snap
  14. +1 −1 integration-tests/gatsby-source-wordpress/__tests__/index.js
  15. +3,993 −371 integration-tests/gatsby-source-wordpress/docker/seed/backup.sql
  16. +2 −2 integration-tests/gatsby-source-wordpress/test-fns/data-resolution.js
  17. +57 −20 integration-tests/node-manifest/__tests__/create-node-manifest.test.js
  18. +38 −0 integration-tests/node-manifest/gatsby-node.js
  19. +1 −1 integration-tests/node-manifest/package.json
  20. +11 −0 integration-tests/node-manifest/utils/get-gatsby-process.js
  21. +10 −0 packages/babel-plugin-remove-graphql-queries/CHANGELOG.md
  22. +3 −3 packages/babel-plugin-remove-graphql-queries/package.json
  23. +10 −0 packages/babel-preset-gatsby-package/CHANGELOG.md
  24. +1 −1 packages/babel-preset-gatsby-package/package.json
  25. +12 −0 packages/babel-preset-gatsby/CHANGELOG.md
  26. +4 −4 packages/babel-preset-gatsby/package.json
  27. +16 −0 packages/create-gatsby/CHANGELOG.md
  28. +2 −2 packages/create-gatsby/package.json
  29. +10 −0 packages/gatsby-cli/CHANGELOG.md
  30. +5 −5 packages/gatsby-cli/package.json
  31. +10 −0 packages/gatsby-codemods/CHANGELOG.md
  32. +2 −2 packages/gatsby-codemods/package.json
  33. +15 −0 packages/gatsby-core-utils/CHANGELOG.md
  34. +2 −2 packages/gatsby-core-utils/package.json
  35. +10 −0 packages/gatsby-cypress/CHANGELOG.md
  36. +2 −2 packages/gatsby-cypress/package.json
  37. +10 −0 packages/gatsby-design-tokens/CHANGELOG.md
  38. +1 −1 packages/gatsby-design-tokens/package.json
  39. +12 −0 packages/gatsby-dev-cli/CHANGELOG.md
  40. +2 −2 packages/gatsby-dev-cli/package.json
  41. +222 −103 packages/gatsby-dev-cli/src/__tests__/watch.js
  42. +29 −1 packages/gatsby-dev-cli/src/index.js
  43. +2 −2 packages/gatsby-dev-cli/src/local-npm-registry/index.js
  44. +5 −5 packages/gatsby-dev-cli/src/local-npm-registry/publish-package.js
  45. +21 −0 packages/gatsby-dev-cli/src/utils/__tests__/get-dependant-packages.js
  46. +16 −6 packages/gatsby-dev-cli/src/utils/__tests__/traverse-package-deps.js
  47. +2 −2 packages/gatsby-dev-cli/src/utils/check-deps-changes.js
  48. +2 −2 packages/gatsby-dev-cli/src/utils/get-monorepo-package-json-path.js
  49. +13 −5 packages/gatsby-dev-cli/src/utils/traverse-package-deps.js
  50. +30 −11 packages/gatsby-dev-cli/src/watch.js
  51. +10 −0 packages/gatsby-graphiql-explorer/CHANGELOG.md
  52. +2 −2 packages/gatsby-graphiql-explorer/package.json
  53. +10 −0 packages/gatsby-legacy-polyfills/CHANGELOG.md
  54. +1 −1 packages/gatsby-legacy-polyfills/package.json
  55. +10 −0 packages/gatsby-link/CHANGELOG.md
  56. +3 −3 packages/gatsby-link/package.json
  57. +9 −1 packages/gatsby-link/src/rewrite-link-path.js
  58. +12 −0 packages/gatsby-page-utils/CHANGELOG.md
  59. +3 −3 packages/gatsby-page-utils/package.json
  60. +1 −1 packages/gatsby-parcel-config/package.json
  61. +10 −0 packages/gatsby-plugin-benchmark-reporting/CHANGELOG.md
  62. +3 −3 packages/gatsby-plugin-benchmark-reporting/package.json
  63. +10 −0 packages/gatsby-plugin-canonical-urls/CHANGELOG.md
  64. +2 −2 packages/gatsby-plugin-canonical-urls/package.json
  65. +10 −0 packages/gatsby-plugin-catch-links/CHANGELOG.md
  66. +2 −2 packages/gatsby-plugin-catch-links/package.json
  67. +10 −0 packages/gatsby-plugin-coffeescript/CHANGELOG.md
  68. +2 −2 packages/gatsby-plugin-coffeescript/package.json
  69. +10 −0 packages/gatsby-plugin-cxs/CHANGELOG.md
  70. +3 −3 packages/gatsby-plugin-cxs/package.json
  71. +10 −0 packages/gatsby-plugin-emotion/CHANGELOG.md
  72. +2 −2 packages/gatsby-plugin-emotion/package.json
  73. +10 −0 packages/gatsby-plugin-facebook-analytics/CHANGELOG.md
  74. +2 −2 packages/gatsby-plugin-facebook-analytics/package.json
  75. +10 −0 packages/gatsby-plugin-feed/CHANGELOG.md
  76. +3 −3 packages/gatsby-plugin-feed/package.json
  77. +10 −0 packages/gatsby-plugin-flow/CHANGELOG.md
  78. +3 −3 packages/gatsby-plugin-flow/package.json
  79. +10 −0 packages/gatsby-plugin-fullstory/CHANGELOG.md
  80. +2 −2 packages/gatsby-plugin-fullstory/package.json
  81. +16 −0 packages/gatsby-plugin-gatsby-cloud/CHANGELOG.md
  82. +4 −4 packages/gatsby-plugin-gatsby-cloud/package.json
  83. +1 −1 packages/gatsby-plugin-gatsby-cloud/src/__tests__/__snapshots__/build-headers-program.js.snap
  84. +22 −5 packages/gatsby-plugin-gatsby-cloud/src/build-headers-program.js
  85. +10 −0 packages/gatsby-plugin-google-analytics/CHANGELOG.md
  86. +2 −2 packages/gatsby-plugin-google-analytics/package.json
  87. +12 −0 packages/gatsby-plugin-google-gtag/CHANGELOG.md
  88. +2 −2 packages/gatsby-plugin-google-gtag/package.json
  89. +10 −0 packages/gatsby-plugin-google-tagmanager/CHANGELOG.md
  90. +3 −3 packages/gatsby-plugin-google-tagmanager/package.json
  91. +10 −0 packages/gatsby-plugin-graphql-config/CHANGELOG.md
  92. +2 −2 packages/gatsby-plugin-graphql-config/package.json
  93. +16 −0 packages/gatsby-plugin-image/CHANGELOG.md
  94. +3 −3 packages/gatsby-plugin-image/package.json
  95. +10 −0 packages/gatsby-plugin-jss/CHANGELOG.md
  96. +2 −2 packages/gatsby-plugin-jss/package.json
  97. +10 −0 packages/gatsby-plugin-layout/CHANGELOG.md
  98. +2 −2 packages/gatsby-plugin-layout/package.json
  99. +10 −0 packages/gatsby-plugin-less/CHANGELOG.md
  100. +2 −2 packages/gatsby-plugin-less/package.json
  101. +10 −0 packages/gatsby-plugin-lodash/CHANGELOG.md
  102. +2 −2 packages/gatsby-plugin-lodash/package.json
  103. +12 −0 packages/gatsby-plugin-manifest/CHANGELOG.md
  104. +4 −4 packages/gatsby-plugin-manifest/package.json
  105. +10 −0 packages/gatsby-plugin-mdx/CHANGELOG.md
  106. +3 −3 packages/gatsby-plugin-mdx/package.json
  107. +10 −0 packages/gatsby-plugin-netlify-cms/CHANGELOG.md
  108. +2 −2 packages/gatsby-plugin-netlify-cms/package.json
  109. +14 −2 packages/gatsby-plugin-netlify-cms/src/gatsby-node.js
  110. +10 −0 packages/gatsby-plugin-no-sourcemaps/CHANGELOG.md
  111. +1 −1 packages/gatsby-plugin-no-sourcemaps/package.json
  112. +10 −0 packages/gatsby-plugin-nprogress/CHANGELOG.md
  113. +2 −2 packages/gatsby-plugin-nprogress/package.json
  114. +10 −0 packages/gatsby-plugin-offline/CHANGELOG.md
  115. +4 −4 packages/gatsby-plugin-offline/package.json
  116. +12 −0 packages/gatsby-plugin-page-creator/CHANGELOG.md
  117. +6 −6 packages/gatsby-plugin-page-creator/package.json
  118. +10 −0 packages/gatsby-plugin-postcss/CHANGELOG.md
  119. +2 −2 packages/gatsby-plugin-postcss/package.json
  120. +12 −0 packages/gatsby-plugin-preact/CHANGELOG.md
  121. +2 −2 packages/gatsby-plugin-preact/package.json
  122. +10 −0 packages/gatsby-plugin-preload-fonts/CHANGELOG.md
  123. +3 −3 packages/gatsby-plugin-preload-fonts/package.json
  124. +10 −0 packages/gatsby-plugin-react-css-modules/CHANGELOG.md
  125. +2 −2 packages/gatsby-plugin-react-css-modules/package.json
  126. +10 −0 packages/gatsby-plugin-react-helmet/CHANGELOG.md
  127. +2 −2 packages/gatsby-plugin-react-helmet/package.json
  128. +10 −0 packages/gatsby-plugin-remove-trailing-slashes/CHANGELOG.md
  129. +2 −2 packages/gatsby-plugin-remove-trailing-slashes/package.json
  130. +12 −0 packages/gatsby-plugin-sass/CHANGELOG.md
  131. +3 −3 packages/gatsby-plugin-sass/package.json
  132. +10 −0 packages/gatsby-plugin-schema-snapshot/CHANGELOG.md
  133. +1 −1 packages/gatsby-plugin-schema-snapshot/package.json
  134. +17 −0 packages/gatsby-plugin-sharp/CHANGELOG.md
  135. +7 −7 packages/gatsby-plugin-sharp/package.json
  136. +1 −1 packages/gatsby-plugin-sharp/src/trace-svg.js
  137. +12 −0 packages/gatsby-plugin-sitemap/CHANGELOG.md
  138. +3 −3 packages/gatsby-plugin-sitemap/package.json
  139. +10 −0 packages/gatsby-plugin-styled-components/CHANGELOG.md
  140. +2 −2 packages/gatsby-plugin-styled-components/package.json
  141. +10 −0 packages/gatsby-plugin-styled-jsx/CHANGELOG.md
  142. +2 −2 packages/gatsby-plugin-styled-jsx/package.json
  143. +10 −0 packages/gatsby-plugin-styletron/CHANGELOG.md
  144. +2 −2 packages/gatsby-plugin-styletron/package.json
  145. +10 −0 packages/gatsby-plugin-stylus/CHANGELOG.md
  146. +2 −2 packages/gatsby-plugin-stylus/package.json
  147. +10 −0 packages/gatsby-plugin-subfont/CHANGELOG.md
  148. +2 −2 packages/gatsby-plugin-subfont/package.json
  149. +10 −0 packages/gatsby-plugin-twitter/CHANGELOG.md
  150. +3 −3 packages/gatsby-plugin-twitter/package.json
  151. +10 −0 packages/gatsby-plugin-typescript/CHANGELOG.md
  152. +3 −3 packages/gatsby-plugin-typescript/package.json
  153. +10 −0 packages/gatsby-plugin-typography/CHANGELOG.md
  154. +2 −2 packages/gatsby-plugin-typography/package.json
  155. +16 −0 packages/gatsby-plugin-utils/CHANGELOG.md
  156. +8 −5 packages/gatsby-plugin-utils/package.json
  157. +29 −0 packages/gatsby-plugin-utils/src/polyfill-remote-file/__tests__/gatsby-image-resolver.ts
  158. +8 −1 packages/gatsby-plugin-utils/src/polyfill-remote-file/graphql/gatsby-image-resolver.ts
  159. +1 −0 packages/gatsby-plugin-utils/src/polyfill-remote-file/graphql/get-remote-file-enums.ts
  160. +118 −79 packages/gatsby-plugin-utils/src/polyfill-remote-file/placeholder-handler.ts
  161. +12 −0 packages/gatsby-react-router-scroll/CHANGELOG.md
  162. +2 −2 packages/gatsby-react-router-scroll/package.json
  163. +10 −0 packages/gatsby-remark-autolink-headers/CHANGELOG.md
  164. +3 −3 packages/gatsby-remark-autolink-headers/package.json
  165. +12 −0 packages/gatsby-remark-code-repls/CHANGELOG.md
  166. +2 −2 packages/gatsby-remark-code-repls/package.json
  167. +12 −0 packages/gatsby-remark-copy-linked-files/CHANGELOG.md
  168. +2 −2 packages/gatsby-remark-copy-linked-files/package.json
  169. +10 −0 packages/gatsby-remark-custom-blocks/CHANGELOG.md
  170. +2 −2 packages/gatsby-remark-custom-blocks/package.json
  171. +10 −0 packages/gatsby-remark-embed-snippet/CHANGELOG.md
  172. +2 −2 packages/gatsby-remark-embed-snippet/package.json
  173. +10 −0 packages/gatsby-remark-graphviz/CHANGELOG.md
  174. +2 −2 packages/gatsby-remark-graphviz/package.json
  175. +12 −0 packages/gatsby-remark-images-contentful/CHANGELOG.md
  176. +2 −2 packages/gatsby-remark-images-contentful/package.json
  177. +10 −0 packages/gatsby-remark-images/CHANGELOG.md
  178. +5 −5 packages/gatsby-remark-images/package.json
  179. +1 −1 packages/gatsby-remark-images/src/__tests__/gatsby-node.js
  180. +1 −1 packages/gatsby-remark-images/src/__tests__/index.js
  181. +1 −1 packages/gatsby-remark-images/src/gatsby-node.js
  182. +1 −1 packages/gatsby-remark-images/src/index.js
  183. +10 −0 packages/gatsby-remark-katex/CHANGELOG.md
  184. +2 −2 packages/gatsby-remark-katex/package.json
  185. +10 −0 packages/gatsby-remark-prismjs/CHANGELOG.md
  186. +2 −2 packages/gatsby-remark-prismjs/package.json
  187. +10 −0 packages/gatsby-remark-responsive-iframe/CHANGELOG.md
  188. +2 −2 packages/gatsby-remark-responsive-iframe/package.json
  189. +10 −0 packages/gatsby-remark-smartypants/CHANGELOG.md
  190. +2 −2 packages/gatsby-remark-smartypants/package.json
  191. +1 −1 packages/gatsby-sharp/package.json
  192. +12 −0 packages/gatsby-source-contentful/CHANGELOG.md
  193. +5 −5 packages/gatsby-source-contentful/package.json
  194. +415 −0 packages/gatsby-source-contentful/src/__fixtures__/unpublished-fields-delivery.js
  195. +587 −0 packages/gatsby-source-contentful/src/__fixtures__/unpublished-fields-preview.js
  196. +197 −15 packages/gatsby-source-contentful/src/__tests__/gatsby-node.js
  197. +14 −3 packages/gatsby-source-contentful/src/normalize.js
  198. +16 −0 packages/gatsby-source-drupal/CHANGELOG.md
  199. +3 −3 packages/gatsby-source-drupal/package.json
  200. +10 −0 packages/gatsby-source-faker/CHANGELOG.md
  201. +2 −2 packages/gatsby-source-faker/package.json
  202. +13 −0 packages/gatsby-source-filesystem/CHANGELOG.md
  203. +3 −3 packages/gatsby-source-filesystem/package.json
  204. +12 −0 packages/gatsby-source-graphql/CHANGELOG.md
  205. +3 −3 packages/gatsby-source-graphql/package.json
  206. +10 −0 packages/gatsby-source-hacker-news/CHANGELOG.md
  207. +2 −2 packages/gatsby-source-hacker-news/package.json
  208. +10 −0 packages/gatsby-source-lever/CHANGELOG.md
  209. +2 −2 packages/gatsby-source-lever/package.json
  210. +10 −0 packages/gatsby-source-medium/CHANGELOG.md
  211. +2 −2 packages/gatsby-source-medium/package.json
  212. +10 −0 packages/gatsby-source-mongodb/CHANGELOG.md
  213. +2 −2 packages/gatsby-source-mongodb/package.json
  214. +10 −0 packages/gatsby-source-npm-package-search/CHANGELOG.md
  215. +2 −2 packages/gatsby-source-npm-package-search/package.json
  216. +17 −0 packages/gatsby-source-shopify/CHANGELOG.md
  217. +5 −5 packages/gatsby-source-shopify/package.json
  218. +10 −0 packages/gatsby-source-wikipedia/CHANGELOG.md
  219. +2 −2 packages/gatsby-source-wikipedia/package.json
  220. +22 −0 packages/gatsby-source-wordpress/CHANGELOG.md
  221. +1 −1 packages/gatsby-source-wordpress/__tests__/process-node.test.js
  222. +24 −3 packages/gatsby-source-wordpress/docs/plugin-options.md
  223. +1 −1 packages/gatsby-source-wordpress/docs/tests.md
  224. +8 −8 packages/gatsby-source-wordpress/package.json
  225. +1 −1 packages/gatsby-source-wordpress/src/steps/create-schema-customization/type-filters.js
  226. +21 −4 packages/gatsby-source-wordpress/src/steps/declare-plugin-options-schema.js
  227. +15 −3 packages/gatsby-source-wordpress/src/steps/source-nodes/create-nodes/process-node.js
  228. +4 −2 packages/gatsby-source-wordpress/src/steps/source-nodes/fetch-nodes/fetch-referenced-media-items.js
  229. +10 −0 packages/gatsby-telemetry/CHANGELOG.md
  230. +3 −3 packages/gatsby-telemetry/package.json
  231. +10 −0 packages/gatsby-transformer-asciidoc/CHANGELOG.md
  232. +2 −2 packages/gatsby-transformer-asciidoc/package.json
  233. +10 −0 packages/gatsby-transformer-csv/CHANGELOG.md
  234. +2 −2 packages/gatsby-transformer-csv/package.json
  235. +10 −0 packages/gatsby-transformer-documentationjs/CHANGELOG.md
  236. +2 −2 packages/gatsby-transformer-documentationjs/package.json
  237. +10 −0 packages/gatsby-transformer-excel/CHANGELOG.md
  238. +2 −2 packages/gatsby-transformer-excel/package.json
  239. +10 −0 packages/gatsby-transformer-hjson/CHANGELOG.md
  240. +2 −2 packages/gatsby-transformer-hjson/package.json
  241. +10 −0 packages/gatsby-transformer-javascript-frontmatter/CHANGELOG.md
  242. +2 −2 packages/gatsby-transformer-javascript-frontmatter/package.json
  243. +10 −0 packages/gatsby-transformer-javascript-static-exports/CHANGELOG.md
  244. +2 −2 packages/gatsby-transformer-javascript-static-exports/package.json
  245. +10 −0 packages/gatsby-transformer-json/CHANGELOG.md
  246. +2 −2 packages/gatsby-transformer-json/package.json
  247. +10 −0 packages/gatsby-transformer-pdf/CHANGELOG.md
  248. +2 −2 packages/gatsby-transformer-pdf/package.json
  249. +10 −0 packages/gatsby-transformer-react-docgen/CHANGELOG.md
  250. +2 −2 packages/gatsby-transformer-react-docgen/package.json
  251. +10 −0 packages/gatsby-transformer-remark/CHANGELOG.md
  252. +4 −4 packages/gatsby-transformer-remark/package.json
  253. +10 −0 packages/gatsby-transformer-screenshot/CHANGELOG.md
  254. +2 −2 packages/gatsby-transformer-screenshot/package.json
  255. +11 −22 packages/gatsby-transformer-screenshot/src/gatsby-node.js
  256. +16 −0 packages/gatsby-transformer-sharp/CHANGELOG.md
  257. +3 −3 packages/gatsby-transformer-sharp/package.json
  258. +1 −1 packages/gatsby-transformer-sharp/src/types.ts
  259. +16 −0 packages/gatsby-transformer-sqip/CHANGELOG.md
  260. +4 −4 packages/gatsby-transformer-sqip/package.json
  261. +10 −0 packages/gatsby-transformer-toml/CHANGELOG.md
  262. +2 −2 packages/gatsby-transformer-toml/package.json
  263. +10 −0 packages/gatsby-transformer-xml/CHANGELOG.md
  264. +2 −2 packages/gatsby-transformer-xml/package.json
  265. +10 −0 packages/gatsby-transformer-yaml/CHANGELOG.md
  266. +2 −2 packages/gatsby-transformer-yaml/package.json
  267. +10 −0 packages/gatsby-worker/CHANGELOG.md
  268. +2 −2 packages/gatsby-worker/package.json
  269. +34 −0 packages/gatsby/CHANGELOG.md
  270. +1 −0 packages/gatsby/index.d.ts
  271. +19 −19 packages/gatsby/package.json
  272. +3 −0 packages/gatsby/src/schema/__tests__/__snapshots__/print.js.snap
  273. +42 −1 packages/gatsby/src/utils/node-manifest.ts
  274. +1,317 −0 renovate.json5
  275. +8 −0 scripts/renovate-config-generator.js
  276. +430 −340 starters/blog/package-lock.json
  277. +17 −17 starters/blog/package.json
  278. +380 −312 starters/default/package-lock.json
  279. +9 −9 starters/default/package.json
  280. +519 −181 starters/gatsby-starter-blog-theme-core/package-lock.json
  281. +1 −1 starters/gatsby-starter-blog-theme-core/package.json
  282. +537 −185 starters/gatsby-starter-blog-theme/package-lock.json
  283. +2 −2 starters/gatsby-starter-blog-theme/package.json
  284. +245 −243 starters/gatsby-starter-minimal-ts/package-lock.json
  285. +3 −3 starters/gatsby-starter-minimal-ts/package.json
  286. +241 −239 starters/gatsby-starter-minimal/package-lock.json
  287. +1 −1 starters/gatsby-starter-minimal/package.json
  288. +438 −189 starters/gatsby-starter-notes-theme/package-lock.json
  289. +1 −1 starters/gatsby-starter-notes-theme/package.json
  290. +519 −181 starters/gatsby-starter-theme/package-lock.json
  291. +1 −1 starters/gatsby-starter-theme/package.json
  292. +241 −239 starters/hello-world/package-lock.json
  293. +1 −1 starters/hello-world/package.json
  294. +213 −229 yarn.lock
1 change: 1 addition & 0 deletions docs/docs/deploying-to-gitlab-pages.md
Original file line number Diff line number Diff line change
@@ -50,6 +50,7 @@ cache:
- public/
pages:
stage: deploy
script:
- npm install
- ./node_modules/.bin/gatsby build --prefix-paths
2 changes: 1 addition & 1 deletion docs/docs/how-to/adding-common-features/adding-forms.md
Original file line number Diff line number Diff line change
@@ -67,7 +67,7 @@ You do this by passing a function that prevents page refresh as an `onSubmit` pr

The `handleSubmit` function calls `preventDefault()` on the event which prevents the page from refreshing. After this, you'll want to insert desired behavior, like sending the data to a third-party service.

You may want to make addition changes to visual form display after submit, like disabling the form submit button after submission, showing a spinning wheel, or changing the button color.
You may want to make additional changes to visual form display after submit, like disabling the form submit button after submission, showing a spinning wheel, or changing the button color.

If you need to use any sort of authentication token to submit data, you can use Gatsby Functions (Gatsby's implementation of serverless functions) to [run this logic while keeping any of your credentials secure](https://www.gatsbyjs.com/docs/reference/functions/getting-started/#forms).

31 changes: 17 additions & 14 deletions docs/docs/how-to/plugins-and-themes/creating-a-source-plugin.md
Original file line number Diff line number Diff line change
@@ -1027,20 +1027,23 @@ It is also recommended that you add a polyfill to provide support back through G
```js
import { addRemoteFilePolyfillInterface } from "gatsby-plugin-utils/polyfill-remote-file"
addRemoteFilePolyfillInterface(
schema.buildObjectType({
name: `YourImageAssetNodeType`,
fields: {
// your fields
},
interfaces: [`Node`, `RemoteFile`],
}),
{
schema,
actions,
// schema and actions are arguments on the `createSchemaCustomization` API
}
)
exports.createSchemaCustomization = ({ actions, schema }) => {
const imageAssetType = addRemoteFilePolyfillInterface(
schema.buildObjectType({
name: `YourImageAssetNodeType`,
fields: {
// your fields - see createSchemaCustomization docs - if you're using schema inference you can also leave this object empty
},
interfaces: [`Node`, `RemoteFile`],
}),
{
schema,
actions,
}
)

actions.createTypes([imageAssetType])
}
```
Implementing the `RemoteFile` interface adds the correct fields to your new GraphQL type and adds the necessary resolvers to handle the type. `RemoteFile` holds the following properties:
Original file line number Diff line number Diff line change
@@ -131,4 +131,4 @@ If you need the full address elsewhere in your config, you can access it via `si
- [Using CloudFront with gatsby-plugin-s3](https://github.com/jariz/gatsby-plugin-s3/blob/master/recipes/with-cloudfront.md)
- [Publishing Your Next Gatsby Site to AWS With AWS Amplify](/blog/2018-08-24-gatsby-aws-hosting/)
- [Escalade Sports: From $5000 to $5/month in Hosting With Gatsby](/blog/2018-06-14-escalade-sports-from-5000-to-5-in-hosting/)
- [Deploy your Gatsby.js Site to AWS S3](https://benenewton.com/deploy-your-gatsby-js-site-to-aws-s-3)
- [Deploy your Gatsby.js Site to AWS S3](https://github.com/bennewton999/blog2018/blob/master/content/posts/11-24-2017/index.md)
57 changes: 57 additions & 0 deletions docs/docs/reference/release-notes/v4.12/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
---
date: "2022-04-12"
version: "4.12.0"
title: "v4.12 Release Notes"
---

Welcome to `gatsby@4.12.0` release (April 2022 #1)

Key highlights of this release:

- [New RFCs](#new-rfcs)

Also check out [notable bugfixes](#notable-bugfixes--improvements).

**Bleeding Edge:** Want to try new features as soon as possible? Install `gatsby@next` and let us know
if you have any [issues](https://github.com/gatsbyjs/gatsby/issues).

[Previous release notes](/docs/reference/release-notes/v4.11)

[Full changelog][full-changelog]

---

## New RFCs

The Gatsby core team is running a collection of RFC's for new features coming to Gatsby. Please review the open RFC's and share your perspective to help us deliver the best possible experience for Gatsby developers, like you!

- [RFC for new Script component in Gatsby](https://github.com/gatsbyjs/gatsby/discussions/35404) - the script component will make it easier to incorporate 3rd party scripts without negatively impacting site performance
- [RFC for new Bundler in Gatsby](https://github.com/gatsbyjs/gatsby/discussions/35357) - Gatsby is evaluating other bundlers in order to deliver faster local development and production build speeds

## Notable bugfixes & improvements

- `gatsby`
- Fix React 18 hydration with offline plugin via [PR #35319](https://github.com/gatsbyjs/gatsby/pull/35319)
- Use gatsby root instead of `process.cwd()` when initializing cache via [PR #35263](https://github.com/gatsbyjs/gatsby/pull/35263)
- Fix intermittent wrong sort results when sorting on materialized field via [PR #35271](https://github.com/gatsbyjs/gatsby/pull/35271)
- Fix URL encoding issue with DSG urls via [PR #35336](https://github.com/gatsbyjs/gatsby/pull/35336)
- Fix URL encoding issue with SSR urls via [PR #35346](https://github.com/gatsbyjs/gatsby/pull/35346)
- `create-gatsby`: Fix missing site title prompt via [PR #35272](https://github.com/gatsbyjs/gatsby/pull/35272)
- `gatsby-core-utils`: Fix exports map for importing from `dist` via [PR #35274](https://github.com/gatsbyjs/gatsby/pull/35274)
- `gatsby-plugin-sharp`: Handle slashes and `..` within paths for Windows via [PR #35246](https://github.com/gatsbyjs/gatsby/pull/35246)
- `gatsby-plugin-utils`: Fix path pieces being too long in image URLs and make url safely encoded via [PR #35160](https://github.com/gatsbyjs/gatsby/pull/35160)
- `gatsby-source-contentful`: Handle backreferences on data updates properly via [PR #35214](https://github.com/gatsbyjs/gatsby/pull/35214)
- `gatsby-source-wordpress`: Fix logic for matching image nodes via [PR #35324](https://github.com/gatsbyjs/gatsby/pull/35324)

## Contributors

A big **Thank You** to [our community who contributed][full-changelog] to this release 💜

- [oneknucklehead](https://github.com/oneknucklehead): chore(babel-preset-gatsby): Updated README to include babel presets [PR #35069](https://github.com/gatsbyjs/gatsby/pull/35069)
- [me4502](https://github.com/me4502): fix(gatsby): ignore crawlers when prefetching [PR #35260](https://github.com/gatsbyjs/gatsby/pull/35260)
- [g00glen00b](https://github.com/g00glen00b): fix(gatsby-source-filesystem): use correct hash when using createFileNodeFromBuffer [PR #35243](https://github.com/gatsbyjs/gatsby/pull/35243)
- [jasonbosco](https://github.com/jasonbosco): chore(docs): Add Typesense as a search engine option [PR #35257](https://github.com/gatsbyjs/gatsby/pull/35257)
- [gmourier](https://github.com/gmourier): chore(docs): Fix Meilisearch spelling [PR #35275](https://github.com/gatsbyjs/gatsby/pull/35275)
- [BrunoAderaldo](https://github.com/BrunoAderaldo): chore(docs): typo in 4.11 release notes [PR #35349](https://github.com/gatsbyjs/gatsby/pull/35349)

[full-changelog]: https://github.com/gatsbyjs/gatsby/compare/gatsby@4.12.0-next.0...gatsby@4.12.0
2 changes: 0 additions & 2 deletions docs/tutorial/blog-netlify-cms-tutorial/index.md
Original file line number Diff line number Diff line change
@@ -2,8 +2,6 @@
title: Making a Gatsby Blog with Netlify CMS
---

https://youtu.be/JeTqxCJC56Q

This tutorial will use [gatsby-personal-starter-blog](https://github.com/thomaswang/gatsby-personal-starter-blog), a Gatsby starter based on the official [gatsby-starter-blog](/starters/gatsbyjs/gatsby-starter-blog/). The differences are that `gatsby-personal-starter-blog` is configured to run the blog on a subdirectory, `/blog`, and comes pre-installed with [Netlify CMS](https://www.netlifycms.org/) for content editing. It also adds VS Code highlighting for code blocks.

## Prerequisites
Original file line number Diff line number Diff line change
@@ -123,6 +123,12 @@ describe(`remote-file`, () => {
expect($el.prop("tagName")).to.be.equal("IMG")
expect($el.prop("src")).to.contain("data:image/jpg;base64")
})
cy.get(".constrained_traced [data-placeholder-image]")
.first()
.should($el => {
expect($el.prop("tagName")).to.be.equal("IMG")
expect($el.prop("src")).to.contain("data:image/svg+xml,%3csvg")
})
cy.get(".full [data-placeholder-image]")
.first()
.should($el => {
10 changes: 10 additions & 0 deletions e2e-tests/development-runtime/src/pages/remote-file.js
Original file line number Diff line number Diff line change
@@ -32,6 +32,11 @@ const RemoteFile = ({ data }) => {
image={node.constrained}
alt=""
/>
<GatsbyImage
className="constrained_traced"
image={node.constrained_traced}
alt=""
/>
<GatsbyImage className="full" image={node.full} alt="" />
</div>
</div>
@@ -64,6 +69,11 @@ export const pageQuery = graphql`
width: 300
placeholder: BLURRED
)
constrained_traced: gatsbyImage(
layout: CONSTRAINED
width: 300
placeholder: TRACED_SVG
)
full: gatsbyImage(layout: FULL_WIDTH, width: 500, placeholder: NONE)
}
}
Original file line number Diff line number Diff line change
@@ -119,6 +119,12 @@ describe(`remote-file`, () => {
expect($el.prop("tagName")).to.be.equal("IMG")
expect($el.prop("src")).to.contain("data:image/jpg;base64")
})
cy.get(".constrained_traced [data-placeholder-image]")
.first()
.should($el => {
expect($el.prop("tagName")).to.be.equal("IMG")
expect($el.prop("src")).to.contain("data:image/svg+xml,%3csvg")
})
cy.get(".full [data-placeholder-image]")
.first()
.should($el => {
10 changes: 10 additions & 0 deletions e2e-tests/production-runtime/src/pages/remote-file.js
Original file line number Diff line number Diff line change
@@ -29,6 +29,11 @@ const RemoteFile = ({ data }) => {
image={node.constrained}
alt=""
/>
<GatsbyImage
className="constrained_traced"
image={node.constrained_traced}
alt=""
/>
<GatsbyImage className="full" image={node.full} alt="" />
</div>
</div>
@@ -61,6 +66,11 @@ export const pageQuery = graphql`
width: 300
placeholder: BLURRED
)
constrained_traced: gatsbyImage(
layout: CONSTRAINED
width: 300
placeholder: TRACED_SVG
)
full: gatsbyImage(layout: FULL_WIDTH, width: 500, placeholder: NONE)
}
}
4 changes: 4 additions & 0 deletions e2e-tests/trailing-slash/cypress/integration/always.js
Original file line number Diff line number Diff line change
@@ -94,6 +94,10 @@ describe(`always`, () => {
cy.waitForRouteChange().assertRoute(`/client-only-splat/with/with/`)
cy.getTestElement(`title`).should(`have.text`, `with/with`)
})
it("relative path with trailing slash", () => {
cy.getTestElement(`relative-path-with-trailing-slash`).click()
cy.waitForRouteChange().assertRoute(`/page-2/`)
})
})

describe(`always (direct visits)`, () => {
5 changes: 5 additions & 0 deletions e2e-tests/trailing-slash/src/pages/index.js
Original file line number Diff line number Diff line change
@@ -121,6 +121,11 @@ const IndexPage = ({ data }) => {
</Link>
</li>
))}
<li>
<Link to="page-2" data-testid="relative-path-with-trailing-slash">
Relative path with trailing slash
</Link>
</li>
</ul>
</main>
)
Original file line number Diff line number Diff line change
@@ -18,10 +18,6 @@ Array [
"id": "cG9zdDo3NzUy",
"mediaItemUrl": "http://localhost:8001/wp-content/uploads/2020/08/1003-1181x1772-1.jpg",
},
Object {
"id": "cG9zdDo3NzYw",
"mediaItemUrl": "http://localhost:8001/wp-content/uploads/2020/08/10-2500x1667-1.jpg",
},
Object {
"id": "cG9zdDo5Ng==",
"mediaItemUrl": "http://localhost:8001/wp-content/uploads/2018/10/brandon-siu-608784-unsplash-scaled.jpg",
Original file line number Diff line number Diff line change
@@ -18,7 +18,7 @@ const {
resetSchema,
} = require(`../test-fns/test-utils/increment-remote-data`)

jest.setTimeout(300000)
jest.setTimeout(100000)

// we run these tests twice in a row
// to make sure everything passes on a warm cache build
Loading