Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update gatsby monorepo (major) #424

Merged
merged 1 commit into from Jun 22, 2021

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jun 11, 2021

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
babel-preset-gatsby 0.3.1 -> 1.8.0 age adoption passing confidence
gatsby (changelog) 2.20.17 -> 3.8.0 age adoption passing confidence
gatsby-image 2.3.2 -> 3.8.0 age adoption passing confidence
gatsby-plugin-emotion 4.2.1 -> 6.8.0 age adoption passing confidence
gatsby-plugin-manifest 2.3.3 -> 3.8.0 age adoption passing confidence
gatsby-plugin-react-helmet 3.2.2 -> 4.8.0 age adoption passing confidence
gatsby-plugin-sharp 2.5.4 -> 3.8.0 age adoption passing confidence
gatsby-source-filesystem 2.2.2 -> 3.8.0 age adoption passing confidence
gatsby-transformer-screenshot 2.2.1 -> 3.8.0 age adoption passing confidence
gatsby-transformer-sharp 2.4.4 -> 3.8.0 age adoption passing confidence
gatsby-transformer-yaml 2.3.1 -> 3.8.0 age adoption passing confidence

Release Notes

gatsbyjs/gatsby

v1.8.0

Compare Source

Note: Version bump only for package gatsby-plugin-mdx

v1.7.1

Compare Source

v1.7.0

Compare Source

v1.6.0

Compare Source

v1.5.0

Compare Source

v1.4.0

Compare Source

Added
Fixed

v1.3.0

Compare Source

Note: Version bump only for package babel-preset-gatsby

v1.2.0

Compare Source

Note: Version bump only for package babel-preset-gatsby

v1.1.1

Compare Source

v1.1.0

Compare Source

Note: Version bump only for package babel-preset-gatsby

v1.0.0

Compare Source

Note: Version bump only for package babel-preset-gatsby-package

v0.12.3

Compare Source

Quick release to add this very nice UX improvement contributed by @​LukeSheard and borrowed from Create React App's similar feature: facebook/create-react-app#101

gatsbyjs/gatsby#371

v0.12.2

Compare Source

v0.12.1

Compare Source

v0.12.0

Compare Source

Note: Version bump only for package babel-preset-gatsby

v0.11.0

Compare Source

Note: Version bump only for package babel-preset-gatsby

v0.10.0

Compare Source

Note: Version bump only for package babel-preset-gatsby

v0.9.1

Compare Source

New tests!

@​benstepp waded into the center of Gatsby and refactored one of the core functions AND setup a test framework AND added a number of tests. Awesome! gatsbyjs/gatsby#232

Bug fixes

Developer Experience (DX) improvements

Thanks everyone!

v0.9.0

Compare Source

Another release with two nice DX improvements.

Also we hit 2500 stars as I was writing this review 🎉

Babel 6

Gatsby started its life on Babel 5 but Babel 6 is out and stable so we'll upgrade along with the rest of the ecosystem and take advantage of its improved performance and awesome new plugin api.

Gatsby must now be installed as a dependency of the site

The global Gatsby install now defers to the local install of Gatsby (and throws if it can't find one). This means you can build a site and not worry about needing to upgrade it again as Gatsby accumulates breaking changes. This also helps ensure Gatsby works in environments where you don't want a global install e.g. build servers.

Upgrade instructions
  • Install Gatsby — npm install --save gatsby
  • Install new Babel 6 dependencies (they must be installed locally) — npm install --save babel-plugin-add-module-exports babel-preset-es2015 babel-preset-react babel-preset-stage-1 and npm install --save-dev babel-preset-react-hmre.
  • Uninstall old Babel 5 dependencies (if you added any).
  • The link function from gatsby-helpers.js was renamed to prefixLink to clarify its purpose.
  • Your .babelrc file needs to be upgraded to look like:
{
  "presets": ['react', 'es2015', 'stage-1'],
  "plugins": ['add-module-exports']
}
  • If you modified the default Webpack config in gatsby.config.js, this functionality is now moved to gatsby-node.js and instead of using module.exports, export your config modification function as modifyWebpackConfig. See the updated instructions in the README.
  • If you were differentiating between pages with content (like .md files) and pages without (like pages/profile.js) by looking for truthy page.data, you'll now need check for truthy page.data.body.
  • If your site is under version control, you might want to ignore the new auto-written module .gatsby-context.js.
  • rare if you used the rewritePath, onRouteChange hooks in your app.js — app.js is now not supported. Instead you should export rewritePath in gatsby-node.js and onRouteChange in gatsby-browser.js. The function signatures didn't change. These new files will be gaining more functionality in future releases.

That's it! See you in the issue queues :-)

v0.8.0

Compare Source

v0.7.0

Compare Source

Update to React 0.14

The big change for this release was updating React to 0.14. Thanks to @​patrykkopycinski for his PR!

We're still on the 0.13 series of React Router as their recent 1.0 release will require internal updates to Gatsby. Follow along at gatsbyjs/gatsby#32 if interested.

gatsby serve now gatsby develop

Serve implied Gatsby was just serving up files. Develop conveys the idea better that you're starting up a full-fledged development server with the intent to start developing.

Can now do webpack requires in your html.jsx

Previously you couldn't do webpack requires in your html component as the development server was requiring the module in node context. But with the help of @​petehunt's webpack-require project, you can now require css or anything else you'd like in your html.jsx.

Improved support for prefixing site links e.g. when building for Github Pages.

See the documentation that's been added to the README.

How to upgrade

You'll need to update React in your project to React 0.14 as well as upgrade any React components that relied on older React APIs. Make sure to not install the latest react-router.

v0.6.0

Compare Source

Bug fix

v0.5.16

Compare Source

v0.5.15

Compare Source

Note: Version bump only for package babel-preset-gatsby

v0.5.14

Compare Source

Note: Version bump only for package babel-preset-gatsby

v0.5.13

Compare Source

v0.5.12

Compare Source

v0.5.11

Compare Source

v0.5.10

Compare Source

v0.5.9

Compare Source

v0.5.8

Compare Source

v0.5.7

Compare Source

v0.5.6

Compare Source

v0.5.5

Compare Source

v0.5.4

Compare Source

v0.5.3

Compare Source

v0.5.2

Compare Source

v0.5.1

Compare Source

v0.5.0

Compare Source

v0.4.12

Compare Source

v0.4.11

Compare Source

v0.4.10

Compare Source

v0.4.9

Compare Source

v0.4.8

Compare Source

Note: Version bump only for package babel-preset-gatsby

v0.4.7

Compare Source

Note: Version bump only for package babel-preset-gatsby

v0.4.6

Compare Source

v0.4.5

Compare Source

v0.4.4

Compare Source

v0.4.3

Compare Source

v0.4.2

Compare Source

v0.4.1

Compare Source

Gatsby previously was crashing when trying to copy assets in the post-build step where the asset was not in a directory with a page.

#​39

Fixed in gatsbyjs/gatsby@55fee06

v0.4.0

Compare Source

@​fson added SVG support to the Webpack config in #​34

v0.3.6

Compare Source

v0.3.5

Compare Source

v0.3.4

Compare Source

v0.3.3

Compare Source

v0.3.2

Compare Source


Configuration

📅 Schedule: At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box.

This PR has been generated by WhiteSource Renovate. View repository job log here.

@renovate renovate bot force-pushed the renovate/major-gatsby-monorepo branch 2 times, most recently from ccee2c7 to ba40e24 Compare June 15, 2021 21:31
@renovate renovate bot force-pushed the renovate/major-gatsby-monorepo branch from ba40e24 to 477a3a2 Compare June 22, 2021 21:37
@renovate renovate bot merged commit 6593960 into master Jun 22, 2021
@delete-merged-branch delete-merged-branch bot deleted the renovate/major-gatsby-monorepo branch June 22, 2021 21:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant