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: 5a654faa25c5fef5ab058e634fd56378a26c067a
Choose a base ref
...
head repository: gatsbyjs/gatsby
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 102d92c5ac344bd82ed1767eff6849bd29dcafa1
Choose a head ref

Commits on Jan 28, 2021

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

     - babel-plugin-remove-graphql-queries@2.17.0-next.0
     - babel-preset-gatsby-package@0.13.0-next.0
     - babel-preset-gatsby@0.13.0-next.0
     - create-gatsby@0.6.0-next.0
     - gatsby-admin@0.9.0-next.0
     - gatsby-cli@2.20.0-next.0
     - gatsby-codemods@1.11.0-next.0
     - gatsby-core-utils@1.11.0-next.0
     - gatsby-cypress@0.12.0-next.0
     - gatsby-design-tokens@2.8.0-next.0
     - gatsby-dev-cli@2.15.0-next.0
     - gatsby-graphiql-explorer@0.12.0-next.0
     - gatsby-image@2.12.0-next.0
     - gatsby-legacy-polyfills@0.8.0-next.0
     - gatsby-link@2.12.0-next.0
     - gatsby-page-utils@0.10.0-next.0
     - gatsby-plugin-benchmark-reporting@0.10.0-next.0
     - gatsby-plugin-canonical-urls@2.11.0-next.0
     - gatsby-plugin-catch-links@2.11.0-next.0
     - gatsby-plugin-coffeescript@2.11.0-next.0
     - gatsby-plugin-create-client-paths@2.11.0-next.0
     - gatsby-plugin-cxs@2.11.0-next.0
     - gatsby-plugin-emotion@5.5.0-next.0
     - gatsby-plugin-facebook-analytics@2.12.0-next.0
     - gatsby-plugin-feed@2.14.0-next.0
     - gatsby-plugin-flow@1.11.0-next.0
     - gatsby-plugin-fullstory@2.11.0-next.0
     - gatsby-plugin-glamor@2.11.0-next.0
     - gatsby-plugin-google-analytics@2.12.0-next.0
     - gatsby-plugin-google-gtag@2.9.0-next.0
     - gatsby-plugin-google-tagmanager@2.12.0-next.0
     - gatsby-plugin-graphql-config@0.8.0-next.0
     - gatsby-plugin-guess-js@1.11.0-next.0
     - gatsby-plugin-image@0.8.0-next.0
     - gatsby-plugin-jss@2.11.0-next.0
     - gatsby-plugin-layout@1.11.0-next.0
     - gatsby-plugin-less@4.8.0-next.0
     - gatsby-plugin-lodash@3.11.0-next.0
     - gatsby-plugin-manifest@2.13.0-next.0
     - gatsby-plugin-mdx@1.11.0-next.0
     - gatsby-plugin-netlify-cms@4.11.0-next.0
     - gatsby-plugin-netlify@2.12.0-next.0
     - gatsby-plugin-no-sourcemaps@2.10.0-next.0
     - gatsby-plugin-nprogress@2.11.0-next.0
     - gatsby-plugin-offline@3.11.0-next.0
     - gatsby-plugin-page-creator@2.11.0-next.0
     - gatsby-plugin-postcss@3.8.0-next.0
     - gatsby-plugin-preact@4.8.0-next.0
     - gatsby-plugin-preload-fonts@1.10.0-next.0
     - gatsby-plugin-react-css-modules@2.11.0-next.0
     - gatsby-plugin-react-helmet@3.11.0-next.0
     - gatsby-plugin-remove-trailing-slashes@2.11.0-next.0
     - gatsby-plugin-sass@3.3.0-next.0
     - gatsby-plugin-schema-snapshot@1.8.0-next.0
     - gatsby-plugin-sharp@2.15.0-next.0
     - gatsby-plugin-sitemap@2.13.0-next.0
     - gatsby-plugin-styled-components@3.11.0-next.0
     - gatsby-plugin-styled-jsx@3.11.0-next.0
     - gatsby-plugin-styletron@5.8.0-next.0
     - gatsby-plugin-stylus@2.11.0-next.0
     - gatsby-plugin-subfont@2.10.0-next.0
     - gatsby-plugin-twitter@2.11.0-next.0
     - gatsby-plugin-typescript@2.13.0-next.0
     - gatsby-plugin-typography@2.13.0-next.0
     - gatsby-plugin-utils@0.10.0-next.0
     - gatsby-react-router-scroll@3.8.0-next.0
     - gatsby-recipes@0.10.0-next.0
     - gatsby-remark-autolink-headers@2.12.0-next.0
     - gatsby-remark-code-repls@3.10.0-next.0
     - gatsby-remark-copy-linked-files@2.11.0-next.0
     - gatsby-remark-custom-blocks@2.11.0-next.0
     - gatsby-remark-embed-snippet@4.11.0-next.0
     - gatsby-remark-graphviz@1.11.0-next.0
     - gatsby-remark-images-contentful@2.11.0-next.0
     - gatsby-remark-images@3.12.0-next.0
     - gatsby-remark-katex@3.11.0-next.0
     - gatsby-remark-prismjs@3.14.0-next.0
     - gatsby-remark-responsive-iframe@2.12.0-next.0
     - gatsby-remark-smartypants@2.11.0-next.0
     - gatsby-source-contentful@4.7.0-next.0
     - gatsby-source-drupal@3.14.0-next.0
     - gatsby-source-faker@2.11.0-next.0
     - gatsby-source-filesystem@2.12.0-next.0
     - gatsby-source-graphql@2.15.0-next.0
     - gatsby-source-hacker-news@2.12.0-next.0
     - gatsby-source-lever@2.11.0-next.0
     - gatsby-source-medium@2.11.0-next.0
     - gatsby-source-mongodb@2.11.0-next.0
     - gatsby-source-npm-package-search@2.11.0-next.0
     - gatsby-source-shopify@3.11.0-next.0
     - gatsby-source-wikipedia@2.11.0-next.0
     - gatsby-source-wordpress@3.12.0-next.0
     - gatsby-telemetry@1.11.0-next.0
     - gatsby-theme@0.9.0-next.0
     - gatsby-transformer-asciidoc@1.11.0-next.0
     - gatsby-transformer-csv@2.11.0-next.0
     - gatsby-transformer-documentationjs@4.11.0-next.0
     - gatsby-transformer-excel@2.12.0-next.0
     - gatsby-transformer-hjson@2.12.0-next.0
     - gatsby-transformer-javascript-frontmatter@2.11.0-next.0
     - gatsby-transformer-javascript-static-exports@2.12.0-next.0
     - gatsby-transformer-json@2.12.0-next.0
     - gatsby-transformer-pdf@1.11.0-next.0
     - gatsby-transformer-react-docgen@5.10.0-next.0
     - gatsby-transformer-remark@2.17.0-next.0
     - gatsby-transformer-screenshot@2.11.0-next.0
     - gatsby-transformer-sharp@2.13.0-next.0
     - gatsby-transformer-sqip@2.12.0-next.0
     - gatsby-transformer-toml@2.12.0-next.0
     - gatsby-transformer-xml@2.11.0-next.0
     - gatsby-transformer-yaml@2.12.0-next.0
     - gatsby@2.33.0-next.0
    ascorbic committed Jan 28, 2021
    Copy the full SHA
    1da331a View commit details

Commits on Jan 29, 2021

  1. chore(docs): Fix typo in contributing style guide (#29262)

    Co-authored-by: Lennart <lekoarts@gmail.com>
    lokesh-coder and LekoArts authored Jan 29, 2021
    Copy the full SHA
    3bf70cd View commit details
  2. fix(gatsby-plugin-sharp): make sure to pass the failOnError option to…

    … base64 generation (#29254)
    
    * make sure to pass the failOnError option to base64 generation
    
    * Update packages/gatsby-plugin-sharp/src/index.js
    
    Co-authored-by: Vladimir Razuvaev <vladimir.razuvaev@gmail.com>
    
    Co-authored-by: Dominik Voss <dominik.voss@check24.de>
    Co-authored-by: Vladimir Razuvaev <vladimir.razuvaev@gmail.com>
    3 people authored Jan 29, 2021
    Copy the full SHA
    bc0f5c8 View commit details

Commits on Feb 1, 2021

  1. fix(deps): update minor and patch for gatsby-plugin-subfont (#29282)

    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    renovate[bot] and renovate-bot authored Feb 1, 2021
    Copy the full SHA
    aa89084 View commit details
  2. chore(deps): update dependency danger to ^10.6.1 (#29278)

    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    renovate[bot] and renovate-bot authored Feb 1, 2021
    Copy the full SHA
    55a8b69 View commit details

Commits on Feb 2, 2021

  1. Copy the full SHA
    0b6f2e3 View commit details
  2. docs(gatsby-source-contentful): Add info to readme on use with new im…

    …age plugin (#29297)
    
    * docs(gatsby-source-contentful): Add info to readme on use with new image plugin
    
    * Apply suggestions from code review
    
    Co-authored-by: LB <laurie@gatsbyjs.com>
    
    * Add link to plugin
    
    Co-authored-by: LB <laurie@gatsbyjs.com>
    ascorbic and LB authored Feb 2, 2021
    Copy the full SHA
    c9d4f07 View commit details
  3. docs: release notes for v2.32 (#29253)

    * Add contributors
    
    * Add note about build perf benefits (#29295)
    
    * Update index.md
    
    * Update index.md
    
    * Reformat
    
    * Add image info
    
    * Wording
    
    * Image defaults
    
    * Add notable bugfixes
    
    * Update docs/docs/reference/release-notes/v2.32/index.md
    
    Co-authored-by: Vladimir Razuvaev <vladimir.razuvaev@gmail.com>
    
    * Apply suggestions from code review
    
    Co-authored-by: LB <laurie@gatsbyjs.com>
    
    Co-authored-by: Kyle Mathews <mathews.kyle@gmail.com>
    Co-authored-by: Vladimir Razuvaev <vladimir.razuvaev@gmail.com>
    Co-authored-by: LB <laurie@gatsbyjs.com>
    4 people authored Feb 2, 2021
    Copy the full SHA
    e16c2e4 View commit details
  4. Copy the full SHA
    7b6454b View commit details

Commits on Feb 3, 2021

  1. Copy the full SHA
    563e555 View commit details
  2. Copy the full SHA
    e194d0c View commit details
  3. Updates links to gatsby cloud docs. (#29294)

    * Updates links to gatsby cloud docs.
    
    * Update deploying-to-gatsby-cloud.md
    benrobertsonio authored Feb 3, 2021
    Copy the full SHA
    b2fec7c View commit details
  4. fix(gatsby): use separate eslint-loader for rules that are always req…

    …uired (#29317)
    
    * fix(gatsby): use separate eslint-loader for rules that are always required
    
    * Add the second loader only when custom eslint config is set
    vladar authored Feb 3, 2021
    Copy the full SHA
    a1543bf View commit details

Commits on Feb 4, 2021

  1. Feat: launch gatsby-source-wordpress v4 (#29150)

    Co-authored-by: Vladimir Razuvaev <vladimir.razuvaev@gmail.com>
    Co-authored-by: Ward Peeters <ward@coding-tech.com>
    Co-authored-by: gatsbybot <mathews.kyle+gatsbybot@gmail.com>
    4 people authored Feb 4, 2021
    Copy the full SHA
    862637b View commit details
  2. Copy the full SHA
    2573224 View commit details
  3. fix(assert-changed-files): reset to PR branch and not to some history…

    … that might not have been changed (#29322)
    
    * am I losing my mind?
    
    * reset specifically to PR branch and not to previous state, git merge might have been no-op which wouldn't add entries to reflog
    
    * Revert "am I losing my mind?"
    
    This reverts commit d962aed.
    pieh authored Feb 4, 2021
    Copy the full SHA
    a1ff718 View commit details
  4. chore(release): Publish next

     - create-gatsby@0.6.0-next.1
     - gatsby-admin@0.9.0-next.1
     - gatsby-cli@2.20.0-next.1
     - gatsby-link@2.12.0-next.1
     - gatsby-plugin-image@0.8.0-next.1
     - gatsby-plugin-manifest@2.13.0-next.1
     - gatsby-plugin-sharp@2.15.0-next.1
     - gatsby-plugin-subfont@2.10.0-next.1
     - gatsby-recipes@0.10.0-next.1
     - gatsby-source-contentful@4.7.0-next.1
     - gatsby-source-wordpress@4.1.0-next.1
     - gatsby-transformer-sqip@2.12.0-next.1
     - gatsby@2.33.0-next.1
    vladar committed Feb 4, 2021
    Copy the full SHA
    77f7487 View commit details
  5. chore: fix reset hard in assert-changed-files (#29328)

    * reset only when CI
    
    * update circle
    
    * fail when aborts errors
    wardpeet authored Feb 4, 2021
    Copy the full SHA
    79518c4 View commit details

Commits on Feb 5, 2021

  1. chore: deprecate gatsby-plugin-guess-js (#29321)

    Co-authored-by: gatsbybot <mathews.kyle+gatsbybot@gmail.com>
    pieh and gatsbybot authored Feb 5, 2021
    Copy the full SHA
    7a4b23b View commit details
  2. Copy the full SHA
    ed096c4 View commit details
  3. chore(release): Publish

     - babel-plugin-remove-graphql-queries@3.0.0-next.0
     - babel-preset-gatsby-package@1.0.0-next.0
     - babel-preset-gatsby@1.0.0-next.0
     - create-gatsby@1.0.0-next.0
     - gatsby-admin@0.10.0-next.0
     - gatsby-cli@3.0.0-next.0
     - gatsby-codemods@2.0.0-next.0
     - gatsby-core-utils@2.0.0-next.0
     - gatsby-cypress@1.0.0-next.0
     - gatsby-design-tokens@3.0.0-next.0
     - gatsby-dev-cli@3.0.0-next.0
     - gatsby-graphiql-explorer@1.0.0-next.0
     - gatsby-image@3.0.0-next.0
     - gatsby-legacy-polyfills@1.0.0-next.0
     - gatsby-link@3.0.0-next.0
     - gatsby-page-utils@1.0.0-next.0
     - gatsby-plugin-benchmark-reporting@1.0.0-next.0
     - gatsby-plugin-canonical-urls@3.0.0-next.0
     - gatsby-plugin-catch-links@3.0.0-next.0
     - gatsby-plugin-coffeescript@3.0.0-next.0
     - gatsby-plugin-create-client-paths@3.0.0-next.0
     - gatsby-plugin-cxs@3.0.0-next.0
     - gatsby-plugin-emotion@6.0.0-next.0
     - gatsby-plugin-facebook-analytics@3.0.0-next.0
     - gatsby-plugin-feed@3.0.0-next.0
     - gatsby-plugin-flow@2.0.0-next.0
     - gatsby-plugin-fullstory@3.0.0-next.0
     - gatsby-plugin-glamor@3.0.0-next.0
     - gatsby-plugin-google-analytics@3.0.0-next.0
     - gatsby-plugin-google-gtag@3.0.0-next.0
     - gatsby-plugin-google-tagmanager@3.0.0-next.0
     - gatsby-plugin-graphql-config@0.9.0-next.0
     - gatsby-plugin-image@1.0.0-next.0
     - gatsby-plugin-jss@3.0.0-next.0
     - gatsby-plugin-layout@2.0.0-next.0
     - gatsby-plugin-less@5.0.0-next.0
     - gatsby-plugin-lodash@4.0.0-next.0
     - gatsby-plugin-manifest@3.0.0-next.0
     - gatsby-plugin-mdx@2.0.0-next.0
     - gatsby-plugin-netlify-cms@5.0.0-next.0
     - gatsby-plugin-netlify@3.0.0-next.0
     - gatsby-plugin-no-sourcemaps@3.0.0-next.0
     - gatsby-plugin-nprogress@3.0.0-next.0
     - gatsby-plugin-offline@4.0.0-next.0
     - gatsby-plugin-page-creator@3.0.0-next.0
     - gatsby-plugin-postcss@4.0.0-next.0
     - gatsby-plugin-preact@5.0.0-next.0
     - gatsby-plugin-preload-fonts@2.0.0-next.0
     - gatsby-plugin-react-css-modules@3.0.0-next.0
     - gatsby-plugin-react-helmet@4.0.0-next.0
     - gatsby-plugin-remove-trailing-slashes@3.0.0-next.0
     - gatsby-plugin-sass@4.0.0-next.0
     - gatsby-plugin-schema-snapshot@2.0.0-next.0
     - gatsby-plugin-sharp@3.0.0-next.0
     - gatsby-plugin-sitemap@3.0.0-next.0
     - gatsby-plugin-styled-components@4.0.0-next.0
     - gatsby-plugin-styled-jsx@4.0.0-next.0
     - gatsby-plugin-styletron@6.0.0-next.0
     - gatsby-plugin-stylus@3.0.0-next.0
     - gatsby-plugin-subfont@3.0.0-next.0
     - gatsby-plugin-twitter@3.0.0-next.0
     - gatsby-plugin-typescript@3.0.0-next.0
     - gatsby-plugin-typography@3.0.0-next.0
     - gatsby-plugin-utils@1.0.0-next.0
     - gatsby-react-router-scroll@4.0.0-next.0
     - gatsby-recipes@0.11.0-next.0
     - gatsby-remark-autolink-headers@3.0.0-next.0
     - gatsby-remark-code-repls@4.0.0-next.0
     - gatsby-remark-copy-linked-files@3.0.0-next.0
     - gatsby-remark-custom-blocks@3.0.0-next.0
     - gatsby-remark-embed-snippet@5.0.0-next.0
     - gatsby-remark-graphviz@2.0.0-next.0
     - gatsby-remark-images-contentful@3.0.0-next.0
     - gatsby-remark-images@4.0.0-next.0
     - gatsby-remark-katex@4.0.0-next.0
     - gatsby-remark-prismjs@4.0.0-next.0
     - gatsby-remark-responsive-iframe@3.0.0-next.0
     - gatsby-remark-smartypants@3.0.0-next.0
     - gatsby-source-contentful@5.0.0-next.0
     - gatsby-source-drupal@4.0.0-next.0
     - gatsby-source-faker@3.0.0-next.0
     - gatsby-source-filesystem@3.0.0-next.0
     - gatsby-source-graphql@3.0.0-next.0
     - gatsby-source-hacker-news@3.0.0-next.0
     - gatsby-source-lever@3.0.0-next.0
     - gatsby-source-medium@3.0.0-next.0
     - gatsby-source-mongodb@3.0.0-next.0
     - gatsby-source-npm-package-search@3.0.0-next.0
     - gatsby-source-shopify@4.0.0-next.0
     - gatsby-source-wikipedia@3.0.0-next.0
     - gatsby-source-wordpress@5.0.0-next.0
     - gatsby-telemetry@2.0.0-next.0
     - gatsby-theme@0.10.0-next.0
     - gatsby-transformer-asciidoc@2.0.0-next.0
     - gatsby-transformer-csv@3.0.0-next.0
     - gatsby-transformer-documentationjs@5.0.0-next.0
     - gatsby-transformer-excel@3.0.0-next.0
     - gatsby-transformer-hjson@3.0.0-next.0
     - gatsby-transformer-javascript-frontmatter@3.0.0-next.0
     - gatsby-transformer-javascript-static-exports@3.0.0-next.0
     - gatsby-transformer-json@3.0.0-next.0
     - gatsby-transformer-pdf@2.0.0-next.0
     - gatsby-transformer-react-docgen@6.0.0-next.0
     - gatsby-transformer-remark@3.0.0-next.0
     - gatsby-transformer-screenshot@3.0.0-next.0
     - gatsby-transformer-sharp@3.0.0-next.0
     - gatsby-transformer-sqip@3.0.0-next.0
     - gatsby-transformer-toml@3.0.0-next.0
     - gatsby-transformer-xml@3.0.0-next.0
     - gatsby-transformer-yaml@3.0.0-next.0
     - gatsby@3.0.0-next.0
    wardpeet committed Feb 5, 2021
    Copy the full SHA
    fe4cd06 View commit details
  4. fix(gatsby-plugin-image): Fix blur up on navigate issue (#29333)

    Co-authored-by: gatsbybot <mathews.kyle+gatsbybot@gmail.com>
    ascorbic and gatsbybot authored Feb 5, 2021
    Copy the full SHA
    1443ecd View commit details
  5. fix(babel-preset-gatsby): remove spread operator from node builds (#2…

    …9346)
    
    * fix(babel-preset-gatsby): remove spread operator from node builds
    
    * fix transform-classes
    
    Co-authored-by: Michal Piechowiak <misiek.piechowiak@gmail.com>
    wardpeet and pieh authored Feb 5, 2021
    Copy the full SHA
    d163691 View commit details
  6. chore: update mdx starter & docs (#29359)

    * chore: bump dependencies for gatsby-starter-mdx-basic
    
    * chore: update MDX docs links to use gatsbyjs starter instead of Chris Biscardi's
    meganesu authored Feb 5, 2021
    Copy the full SHA
    a12580a View commit details

Commits on Feb 6, 2021

  1. Copy the full SHA
    936c74e View commit details

Commits on Feb 8, 2021

  1. chore(release): Publish next

     - babel-preset-gatsby@1.0.0-next.1
     - create-gatsby@1.0.0-next.1
     - gatsby-admin@0.10.0-next.1
     - gatsby-cli@3.0.0-next.1
     - gatsby-plugin-image@1.0.0-next.1
     - gatsby-plugin-sharp@3.0.0-next.1
     - gatsby-source-contentful@5.0.0-next.1
     - gatsby-source-wordpress@5.0.0-next.1
     - gatsby-transformer-sqip@3.0.0-next.1
     - gatsby@3.0.0-next.1
    LekoArts committed Feb 8, 2021
    Copy the full SHA
    0a25e3f View commit details
  2. fix(deps): update starters and examples - gatsby (#29243)

    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    renovate[bot] and renovate-bot authored Feb 8, 2021
    Copy the full SHA
    aeea499 View commit details
  3. chore(gatsby-source-wordpress): Update querying-data tutorial (#29353)

    When following these steps I ran into errors as `const { allWpPost } = result.data` was being ran before the graphql promise had finished, `await` was not being used. Adding `await` fixed said errors.
    louis-morgan authored Feb 8, 2021
    Copy the full SHA
    5569428 View commit details
  4. chore(docs): Fix product slugs for building-an-ecommerce-site-with-sh…

    …opify page (#29292)
    
    Co-authored-by: Lennart <lekoarts@gmail.com>
    deraru and LekoArts authored Feb 8, 2021
    Copy the full SHA
    d719644 View commit details
  5. Copy the full SHA
    b93b8bd View commit details
  6. Copy the full SHA
    f4db647 View commit details
  7. Copy the full SHA
    0a42d07 View commit details
  8. Copy the full SHA
    48c3e93 View commit details
  9. Copy the full SHA
    d86aadd View commit details

Commits on Feb 9, 2021

  1. Copy the full SHA
    79c557b View commit details
  2. chore(docs): Remove extra curly brace (#29405)

    Co-authored-by: gatsbybot <mathews.kyle+gatsbybot@gmail.com>
    zonayedpca and gatsbybot authored Feb 9, 2021
    Copy the full SHA
    d81a187 View commit details
  3. Copy the full SHA
    7608ac1 View commit details
  4. Copy the full SHA
    3ac97d8 View commit details
  5. Copy the full SHA
    182d3de View commit details
  6. Copy the full SHA
    7e4ba2b View commit details
  7. docs(gatsby-source-wordpress): add migration from experimental instru…

    …ctions (#29401)
    
    Co-authored-by: gatsbybot <mathews.kyle+gatsbybot@gmail.com>
    TylerBarnes and gatsbybot authored Feb 9, 2021
    Copy the full SHA
    97a0da6 View commit details
  8. gatsby-transformer-sharp: Remove sizes and resolutions node (#29247)

    Co-authored-by: gatsbybot <mathews.kyle+gatsbybot@gmail.com>
    LekoArts and gatsbybot authored Feb 9, 2021
    Copy the full SHA
    22b9c2f View commit details
  9. chore(gatsby): Remove hasNodeChanged (#29208)

    Co-authored-by: gatsbybot <mathews.kyle+gatsbybot@gmail.com>
    LekoArts and gatsbybot authored Feb 9, 2021
    Copy the full SHA
    7c24fd0 View commit details
  10. chore(gatsby): remove many argument from childOf directive (#29368)

    * chore(gatsby): remove `many` argument from `childOf` directive
    
    * Update snapshots
    vladar authored Feb 9, 2021
    Copy the full SHA
    992fed6 View commit details
  11. chore(gatsby): no implicit childOf with dontInfer (#29369)

    * chore(gatsby): no implicit `childOf` with `dontInfer`
    
    BREAKING CHANGE: child[Type] and children[Type] fields are not added automatically to types with `dontInfer` directive
    vladar authored Feb 9, 2021
    Copy the full SHA
    09d6cfb View commit details
  12. chore(gatsby): do not add __typename to GraphQL query (#29399)

    * chore(gatsby): do not add __typename to GraphQL query
    
    BREAKING CHANGE: We no longer add __typename field to abstract types automatically. This will affect a minority of sites that were relying on this old behavior of Relay compiler to discriminate union and interface values in the runtime.
    
    The migration is as simple as adding __typename field to the query manually.
    
    * revert whitespace changes
    vladar authored Feb 9, 2021
    Copy the full SHA
    ddb1d27 View commit details
  13. feat(gatsby): track connections by default in runQuery and getAllNodes (

    #29392)
    
    * feat(gatsby): track runQuery connections by default
    
    * track getAllNodes connections by default too
    
    * update tests
    
    * getAllNodes: track Node connection
    
    * Allow to opt-out of dependency tracking
    vladar authored Feb 9, 2021
    Copy the full SHA
    5cbc085 View commit details
  14. chore(gatsby): remove noDefaultResolvers argument from infer extension (

    #29367)
    
    * chore(gatsby): remove noDefaultResolvers argument from infer extension
    
    BREAKING CHANGE: extensions `dateformat`, `fileByRelativePath`, `link`, `proxy` are not added automatically anymore
    
    See also https://www.gatsbyjs.com/blog/2019-05-17-improvements-to-schema-customization#-nodefaultresolvers-and-inference-modes
    vladar authored Feb 9, 2021
    Copy the full SHA
    5d0dfa2 View commit details
  15. docs(gatsby-source-wordpress): Add preview caveats (#29403)

    Co-authored-by: Lennart <lekoarts@gmail.com>
    TylerBarnes and LekoArts authored Feb 9, 2021
    Copy the full SHA
    04dc2d0 View commit details

Commits on Feb 10, 2021

  1. feat(gatsby): Remove deleteNodes (#29194)

    Co-authored-by: gatsbybot <mathews.kyle+gatsbybot@gmail.com>
    LekoArts and gatsbybot authored Feb 10, 2021
    Copy the full SHA
    7ee8025 View commit details
Showing 1,840 changed files with 168,610 additions and 95,699 deletions.
10 changes: 5 additions & 5 deletions .babelrc.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
let ignore = [`**/dist`]
const ignore = [`**/dist`]

// Jest needs to compile this code, but generally we don't want this copied
// to output folders
if (process.env.NODE_ENV !== `test`) {
ignore.push(`**/__tests__`)
}
// if (process.env.NODE_ENV !== `test`) {
// ignore.push(`**/__tests__`)
// }

module.exports = {
sourceMaps: true,
presets: ["babel-preset-gatsby-package"],
presets: [`babel-preset-gatsby-package`],
ignore,
}
130 changes: 78 additions & 52 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
orbs:
win: circleci/windows@2.2.0
win: circleci/windows@2.4.0
slack: circleci/slack@3.4.1

executors:
@@ -8,15 +8,7 @@ executors:
image:
type: string
# First 10.x LTS release, but old Yarn
default: "10.13"
docker:
- image: circleci/node:<< parameters.image >>
node_10_19:
parameters:
image:
type: string
# More recent Yarn binary
default: "10.19"
default: "12.13"
docker:
- image: circleci/node:<< parameters.image >>

@@ -34,7 +26,12 @@ aliases:
install_node_modules: &install_node_modules
run:
name: Install node modules
command: yarn --frozen-lockfile
command: yarn

check_lockfile: &check_lockfile
run:
name: Check for dirty lockfile
command: ./scripts/check-lockfile.sh || exit 1

persist_cache: &persist_cache
save_cache:
@@ -85,7 +82,7 @@ aliases:
requires:
- lint
- typecheck
- unit_tests_node10
- unit_tests_node12

e2e_tests_production_runtime_alias: &e2e_tests_production_runtime_alias
<<: *e2e-executor
@@ -153,7 +150,7 @@ commands:
default: false
trigger_pattern:
type: string
default: "packages/*|.circleci/*"
default: "packages/*|.circleci/*|scripts/e2e-test.sh"
test_path:
type: string
test_command:
@@ -171,6 +168,9 @@ commands:
- run: ./scripts/assert-changed-files.sh "<< parameters.trigger_pattern >>|<< parameters.test_path >>/*"

- <<: *attach_to_bootstrap
- run:
name: Install gatsby-dev
command: yarn global add gatsby-dev-cli
- run:
name: Run tests (using defaults)
command: ./scripts/e2e-test.sh "<< parameters.test_path >>" "<< parameters.test_command >>"
@@ -182,9 +182,10 @@ jobs:
executor: node
steps:
- checkout
- run: ./scripts/assert-changed-files.sh "packages/*|(e2e|integration)-tests/*|.circleci/*|yarn.lock"
- run: ./scripts/assert-changed-files.sh "packages/*|(e2e|integration)-tests/*|.circleci/*|scripts/e2e-test.sh|yarn.lock"
- <<: *restore_cache
- <<: *install_node_modules
- <<: *check_lockfile
- <<: *persist_cache
- run: yarn bootstrap -- concurrency=2
# Persist the workspace again with all packages already built
@@ -202,7 +203,7 @@ jobs:
- run:
name: "remove workspaces from package.json"
command: |
sed -i ':a;N;$!ba;s/,\n\s*"workspaces":\s\[[^]]*]//g' package.json
sed -i ':a;N;$!ba;s/,\n\s*"workspaces":\s\[[^]]*]/,"workspaces":\["packages\/babel-preset-gatsby"\]/g' package.json
- <<: *install_node_modules
- run: yarn lint:code
- run: yarn lint:docs
@@ -218,14 +219,9 @@ jobs:
- run: yarn typecheck
- run: yarn check-repo-fields

unit_tests_node10:
executor: node
<<: *test_template

unit_tests_node12:
executor:
name: node
image: "12"
<<: *test_template

unit_tests_node14:
@@ -234,6 +230,20 @@ jobs:
image: "14"
<<: *test_template

integration_tests_gatsby_source_wordpress:
machine: true
steps:
- run:
command: |
echo 'export NVM_DIR="/opt/circleci/.nvm"' >> $BASH_ENV
echo ' [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"' >> $BASH_ENV
- run: nvm install v12
- run: nvm alias default v12
- run: nvm use v12
- run: npm i -g yarn@1.22.10
- e2e-test:
test_path: integration-tests/gatsby-source-wordpress

integration_tests_long_term_caching:
executor: node
steps:
@@ -257,7 +267,7 @@ jobs:
steps:
- e2e-test:
test_path: integration-tests/gatsby-cli
trigger_pattern: packages/gatsby-cli/*|packages/gatsby/*|integration-tests/gatsby-cli/*
trigger_pattern: packages/gatsby-cli/*|packages/gatsby/*|integration-tests/gatsby-cli/*|scripts/e2e-test.sh

integration_tests_structured_logging:
executor: node
@@ -286,6 +296,13 @@ jobs:
- store_artifacts:
path: integration-tests/images/__diff_output__

integration_tests_functions:
executor: node
steps:
- e2e-test:
test_path: integration-tests/functions
test_command: yarn test

e2e_tests_path-prefix:
<<: *e2e-executor
environment:
@@ -296,7 +313,7 @@ jobs:
test_path: e2e-tests/path-prefix

e2e_tests_pnp:
executor: node_10_19
executor: node
steps:
- checkout
- run: ./scripts/assert-changed-files.sh "packages/*|.circleci/*"
@@ -310,6 +327,9 @@ jobs:
- run: # Quick upgrade to the v2 (any version, we just need the real set version)
command: yarn policies set-version berry
working_directory: ~/project/e2e-tests/gatsby-pnp
- run: # force typescript to 4.1.5 to pass test
command: sed '$ s/.$/,"resolutions":{"typescript":"4.1.5"}}/' package.json > tmpfile && cat tmpfile > package.json && rm tmpfile
working_directory: ~/project/e2e-tests/gatsby-pnp
- run: # Forces to use the local packages
command: yarn link --all --private ../..
working_directory: ~/project/e2e-tests/gatsby-pnp
@@ -338,14 +358,6 @@ jobs:
e2e_tests_development_runtime:
<<: *e2e_tests_development_runtime_alias

e2e_tests_development_runtime_fast_refresh:
<<: *e2e_tests_development_runtime_alias
environment:
GATSBY_HOT_LOADER: fast-refresh
CYPRESS_HOT_LOADER: fast-refresh
CYPRESS_PROJECT_ID: 917bea
CYPRESS_RECORD_KEY: 4750fb36-4576-4638-a617-d243a381acef

e2e_tests_development_runtime_with_experimental_react:
<<: *e2e_tests_development_runtime_alias

@@ -368,8 +380,8 @@ jobs:
CYPRESS_RECORD_KEY: 3fb49000-4143-4bd8-9ab4-219389060910
steps:
- e2e-test:
test_path: e2e-tests/themes/development-runtime
test_command: yarn test
test_path: e2e-tests/themes
test_command: cd development-runtime; yarn test

themes_e2e_tests_production_runtime:
<<: *e2e-executor
@@ -378,8 +390,8 @@ jobs:
CYPRESS_RECORD_KEY: e4e7b3b8-e1e7-4a74-a0c9-9ac76585236b
steps:
- e2e-test:
test_path: e2e-tests/themes/production-runtime
test_command: yarn test
test_path: e2e-tests/themes
test_command: cd production-runtime; yarn test

mdx_e2e_tests:
<<: *e2e-executor
@@ -415,6 +427,20 @@ jobs:
- store_test_results:
path: e2e-tests/visual-regression/cypress/results

e2e_tests_contentful:
<<: *e2e-executor
environment:
CYPRESS_PROJECT_ID: 2193cm
CYPRESS_RECORD_KEY: 57e9563e-af49-494c-837c-5af53c2d6f76
steps:
- e2e-test:
test_path: e2e-tests/contentful
test_command: yarn test
- store_artifacts:
path: e2e-tests/contentful/__diff_output__
- store_test_results:
path: e2e-tests/contentful/cypress/results

starters_validate:
executor: node
steps:
@@ -466,11 +492,21 @@ jobs:
shell: powershell.exe
steps:
- checkout
- run:
command: ./scripts/assert-changed-files.sh "packages/*|(e2e|integration)-tests/*|.circleci/*|scripts/e2e-test.sh|yarn.lock"
shell: bash.exe
# Restoring cache takes as long as installing node modules, so skipping
# - restore_cache:
# keys:
# - yarn-packages-v2-{{ checksum "yarn.lock" }}
# - yarn-packages-v2-
- run:
name: Install node 12.13
command: |
nvm install 12.13.0
nvm alias default 12.13.0
nvm use 12.13.0
choco install yarn
- run:
name: Set yarn timeout
command: yarn config set network-timeout 300000
@@ -482,9 +518,6 @@ jobs:
# paths:
# - C:\Users\circleci\AppData\Local\Yarn\Cache
# key: yarn-packages-v2-{{ checksum "yarn.lock" }}
- run:
command: ./scripts/assert-changed-files.sh "packages/*|(e2e|integration)-tests/*|.circleci/*"
shell: bash.exe
- run: yarn npm-run-all -s check-versions "lerna-prepare --concurrency=4 --stream"
- run:
name: "Run Tests"
@@ -523,17 +556,6 @@ workflows:
jobs:
- sync_translation_repo

weekly-node-14:
triggers:
- schedule:
cron: "0 1 * * 6"
filters:
branches:
only:
- master
jobs:
- unit_tests_node14

nightly-react-next:
triggers:
- schedule:
@@ -592,18 +614,20 @@ workflows:
<<: *ignore_docs
requires:
- lint
- unit_tests_node10:
- unit_tests_node12:
<<: *ignore_docs
requires:
- lint
- typecheck
- bootstrap
- unit_tests_node12:
- unit_tests_node14:
<<: *ignore_docs
requires:
- lint
- typecheck
- bootstrap
- integration_tests_gatsby_source_wordpress:
<<: *e2e-test-workflow
- integration_tests_long_term_caching:
<<: *e2e-test-workflow
- integration_tests_cache_resilience:
@@ -618,6 +642,8 @@ workflows:
<<: *e2e-test-workflow
- integration_tests_images:
<<: *e2e-test-workflow
- integration_tests_functions:
<<: *e2e-test-workflow
- integration_tests_gatsby_cli:
requires:
- bootstrap
@@ -631,9 +657,9 @@ workflows:
<<: *e2e-test-workflow
- e2e_tests_visual-regression:
<<: *e2e-test-workflow
- e2e_tests_development_runtime:
- e2e_tests_contentful:
<<: *e2e-test-workflow
- e2e_tests_development_runtime_fast_refresh:
- e2e_tests_development_runtime:
<<: *e2e-test-workflow
- e2e_tests_production_runtime:
<<: *e2e-test-workflow
7 changes: 7 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -6,6 +6,7 @@ packages/*/dist/**
packages/*/lib/**
packages/*/scripts/**
**/dist/*
**/public/*
**/__testfixtures__/**
**/__tests__/fixtures/**
peril
@@ -24,3 +25,9 @@ packages/gatsby-image/withIEPolyfill/index.js
packages/gatsby/cache-dir/commonjs/**/*
packages/gatsby-admin/public
packages/gatsby/gatsby-admin-public
packages/gatsby-codemods/transforms
packages/gatsby-source-graphql/batching

packages/gatsby-source-wordpress/test-site/**
!packages/gatsby-source-wordpress/test-site/__tests__
!packages/gatsby-source-wordpress/test-site/test-utils
Loading