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@2.24.80
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@2.24.81
Choose a head ref
  • 11 commits
  • 53 files changed
  • 12 contributors

Commits on Oct 16, 2020

  1. Verified

    This commit was signed with the committer’s verified signature.
    renovate-bot Mend Renovate
    Copy the full SHA
    c6388c1 View commit details
  2. fix(gatsby-plugin-google-analytics): Fix gatsby-node so we still have…

    … a warning on older gatsby versions (#27495)
    MichaelDeBoey authored Oct 16, 2020
    Copy the full SHA
    9797828 View commit details
  3. chore(release): Publish

     - gatsby-plugin-google-analytics@2.3.19
     - gatsby-plugin-sass@2.3.17
    pieh committed Oct 16, 2020
    Copy the full SHA
    af973d4 View commit details

Commits on Oct 19, 2020

  1. Copy the full SHA
    6e93fe6 View commit details
  2. Copy the full SHA
    e5b7386 View commit details
  3. Copy the full SHA
    57fdae5 View commit details
  4. docs(guide): Update GraphCMS data sourcing guide (#27475)

    * docs(guide): Update GraphCMS data sourcing guide
    
    * style(lint): prettier --write
    
    * Update docs/docs/sourcing-from-graphcms.md
    
    Co-authored-by: Vladimir Razuvaev <vladimir.razuvaev@gmail.com>
    
    * docs: Add note about beta status
    
    Co-authored-by: Vladimir Razuvaev <vladimir.razuvaev@gmail.com>
    ynnoj and vladar authored Oct 19, 2020
    Copy the full SHA
    47d8041 View commit details
  5. perf(gatsby-plugin-image): Optimise image size functions (#27544)

    * perf(gatsby-plugin-image): Optimise image size functions
    
    * Add test
    ascorbic authored Oct 19, 2020
    Copy the full SHA
    8752477 View commit details
  6. Copy the full SHA
    10d3451 View commit details
  7. feat(gatsby-plugin-utils): save validation resulting value to plugin …

    …options (#27381)
    
    * misc: fix various validation issues in plugin-utils, uncopy typings and us extends to extend Joi types, feat: save validation results back into plugin options.
    
    * fix: add missing comment
    
    * fix: add missing comment
    
    * fix: move gatsby to peer dep
    
    * Undo Joi change
    
    * Add test for this
    
    * Update tests that are failing with new functionality
    
    * Add gatsby as a devDep to gatsby-plugin-utils as we need the types
    
    * Maybe fix type import
    
    Co-authored-by: Max Stoiber <contact@mxstbr.com>
    moonmeister and mxstbr authored Oct 19, 2020
    Copy the full SHA
    0073fb1 View commit details
  8. chore(release): Publish

     - gatsby-admin@0.1.169
     - gatsby-cli@2.12.110
     - gatsby-plugin-feed@2.5.16
     - gatsby-plugin-mdx@1.2.48
     - gatsby-plugin-netlify@2.3.21
     - gatsby-plugin-offline@3.2.34
     - gatsby-plugin-sass@2.3.18
     - gatsby-plugin-sharp@2.6.43
     - gatsby-plugin-utils@0.2.35
     - gatsby-recipes@0.2.32
     - gatsby-remark-images@3.3.36
     - gatsby-source-contentful@2.3.56
     - gatsby-transformer-remark@2.8.43
     - gatsby-transformer-sqip@2.3.44
     - gatsby@2.24.81
    mxstbr committed Oct 19, 2020
    Copy the full SHA
    ecc0ad3 View commit details
Showing with 699 additions and 313 deletions.
  1. +3 −0 .github/ISSUE_TEMPLATE/config.yml
  2. +0 −34 .github/ISSUE_TEMPLATE/feature_request.md
  3. +0 −40 .github/ISSUE_TEMPLATE/question.md
  4. +1 −1 docs/docs/gatsby-lifecycle-apis.md
  5. BIN docs/docs/images/graphcms-query.png
  6. BIN docs/docs/images/graphcms-schema.png
  7. +167 −85 docs/docs/sourcing-from-graphcms.md
  8. +4 −0 packages/gatsby-admin/CHANGELOG.md
  9. +1 −1 packages/gatsby-admin/README.md
  10. +2 −2 packages/gatsby-admin/package.json
  11. +4 −0 packages/gatsby-cli/CHANGELOG.md
  12. +2 −2 packages/gatsby-cli/package.json
  13. +4 −0 packages/gatsby-plugin-feed/CHANGELOG.md
  14. +2 −2 packages/gatsby-plugin-feed/package.json
  15. +6 −0 packages/gatsby-plugin-google-analytics/CHANGELOG.md
  16. +1 −1 packages/gatsby-plugin-google-analytics/package.json
  17. +46 −36 packages/gatsby-plugin-google-analytics/src/gatsby-node.js
  18. +4 −0 packages/gatsby-plugin-mdx/CHANGELOG.md
  19. +2 −2 packages/gatsby-plugin-mdx/package.json
  20. +4 −0 packages/gatsby-plugin-netlify/CHANGELOG.md
  21. +2 −2 packages/gatsby-plugin-netlify/package.json
  22. +4 −0 packages/gatsby-plugin-offline/CHANGELOG.md
  23. +2 −2 packages/gatsby-plugin-offline/package.json
  24. +8 −0 packages/gatsby-plugin-sass/CHANGELOG.md
  25. +3 −2 packages/gatsby-plugin-sass/package.json
  26. +36 −36 packages/gatsby-plugin-sass/src/__tests__/__snapshots__/gatsby-node.js.snap
  27. +97 −0 packages/gatsby-plugin-sass/src/__tests__/gatsby-node.js
  28. +121 −0 packages/gatsby-plugin-sass/src/gatsby-node.js
  29. +6 −0 packages/gatsby-plugin-sharp/CHANGELOG.md
  30. +1 −1 packages/gatsby-plugin-sharp/package.json
  31. +18 −0 packages/gatsby-plugin-sharp/src/__tests__/index.js
  32. +25 −14 packages/gatsby-plugin-sharp/src/index.js
  33. +6 −0 packages/gatsby-plugin-utils/CHANGELOG.md
  34. +5 −2 packages/gatsby-plugin-utils/package.json
  35. +1 −1 packages/gatsby-plugin-utils/src/__tests__/test-plugin-options-schema.ts
  36. +16 −15 packages/gatsby-plugin-utils/src/validate.ts
  37. +6 −0 packages/gatsby-recipes/CHANGELOG.md
  38. +1 −1 packages/gatsby-recipes/package.json
  39. +1 −1 packages/gatsby-recipes/recipes/wordpress.mdx
  40. +4 −0 packages/gatsby-remark-images/CHANGELOG.md
  41. +2 −2 packages/gatsby-remark-images/package.json
  42. +4 −0 packages/gatsby-source-contentful/CHANGELOG.md
  43. +2 −2 packages/gatsby-source-contentful/package.json
  44. +4 −0 packages/gatsby-transformer-remark/CHANGELOG.md
  45. +2 −2 packages/gatsby-transformer-remark/package.json
  46. +4 −0 packages/gatsby-transformer-sqip/CHANGELOG.md
  47. +2 −2 packages/gatsby-transformer-sqip/package.json
  48. +6 −0 packages/gatsby/CHANGELOG.md
  49. +2 −0 packages/gatsby/index.d.ts
  50. +3 −3 packages/gatsby/package.json
  51. +9 −0 packages/gatsby/src/bootstrap/load-plugins/__tests__/__snapshots__/load-plugins.ts.snap
  52. +32 −15 packages/gatsby/src/bootstrap/load-plugins/__tests__/load-plugins.ts
  53. +11 −4 packages/gatsby/src/bootstrap/load-plugins/validate.ts
3 changes: 3 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -6,6 +6,9 @@ contact_links:
- name: Gatsby Discord
url: https://gatsby.dev/discord
about: Ask questions, get help and discuss new things you're building with the Gatsby community
- name: Gatsby Discussions
url: https://github.com/gatsbyjs/gatsby/discussions
about: Have a question or feature request?
- name: AskGatsbyJS Twitter
url: https://twitter.com/AskGatsbyJS
about: The official Twitter account to ask questions and get help with Gatsby
34 changes: 0 additions & 34 deletions .github/ISSUE_TEMPLATE/feature_request.md

This file was deleted.

40 changes: 0 additions & 40 deletions .github/ISSUE_TEMPLATE/question.md

This file was deleted.

2 changes: 1 addition & 1 deletion docs/docs/gatsby-lifecycle-apis.md
Original file line number Diff line number Diff line change
@@ -33,7 +33,7 @@ During the main bootstrap sequence, Gatsby (in this order):
- within this, `createNode` can be called multiple times, which then triggers [onCreateNode](/docs/node-apis/#onCreateNode)
- creates initial GraphQL schema
- runs [resolvableExtensions](/docs/node-apis/#resolvableExtensions) which lets plugins register file types or extensions e.g. [`gatsby-plugin-typescript`](https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby-plugin-typescript/src/gatsby-node.js)
- runs [createPages](/docs/node-apis/#createPages) from the gatsby-node.js in the root directory of the project e.g. implemented by [`page-hot-reloader`](https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby/src/bootstrap/page-hot-reloader.js)
- runs [createPages](/docs/node-apis/#createPages) from the gatsby-node.js in the root directory of the project e.g. implemented by [`page-hot-reloader`](https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby/src/bootstrap/page-hot-reloader.ts)
- within this, `createPage` can be called any number of times, which then triggers [onCreatePage](/docs/node-apis/#onCreatePage)
- runs [createPagesStatefully](/docs/node-apis/#createPagesStatefully)
- runs source nodes again and updates the GraphQL schema to include pages this time
Binary file added docs/docs/images/graphcms-query.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/docs/images/graphcms-schema.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading