Skip to content

Conversation

@dependabot-preview
Copy link
Contributor

Bumps babel-preset-gatsby from 0.4.12 to 0.10.0.

Release notes

Sourced from babel-preset-gatsby's releases.

React 15!

Thanks to the efforts of @patrykkopycinski, Gatsby now supports React 15. This should be an easy upgrade for most people as long as your current site is showing deprecation warnings in the console.log. gatsbyjs/gatsby#252

@alampros also contributed a bug fix as he noticed that when setting the host option for gatsby develop and gatsby serve-build that the short version -h overrode the default help option. He changed that to -H so there would no longer be a conflict gatsbyjs/gatsby#247.

New --open flag, more tests, small bug fixes

@alampros added a --open flag to gatsby develop and gatsby serve-build so Gatsby can now automatically open your site in your default browser. gatsbyjs/gatsby@09ea56a

@benstepp continued his testing ways and added integration tests for building pages with Markdown and HTML and added tests for the rewritePath API. Great stuff! gatsbyjs/gatsby#240

@kyleamathews fixed a bug where running gatsby --version wasn't actually returning the version 😬 gatsbyjs/gatsby#249

Tests!, bug fixes, DX improvements

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

  • @michaeljdeeb added a check that hard-coded paths in pages have a path prefix. This is a problem that's bit several people as it's easy to miss gatsbyjs/gatsby#223. Invariants are awesome!
  • @alehlopeh added a new cli command gatsby serve-build so you can easily check that your built site is working as expected. gatsbyjs/gatsby#237

Thanks everyone!

Babel 6! Require local install of Gatsby! 2500 stars!

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:
{
</tr></table> ... (truncated)
Changelog

Sourced from babel-preset-gatsby's changelog.

Change Log

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

0.11.0-next.0 (2020-12-29)

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

0.10.0-next.1 (2020-12-29)

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

0.10.0-next.0 (2020-12-10)

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

0.9.0-next.0 (2020-11-26)

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

0.8.0-next.0 (2020-11-18)

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

0.6.0-next.1 (2020-11-10)

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

0.5.15 (2020-11-02)

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

0.5.14 (2020-10-13)

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

0.5.13 (2020-10-06)

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

0.5.12 (2020-10-01)

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

0.5.11 (2020-09-28)

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

0.5.10 (2020-09-15)

Commits
  • f8cc2a3 chore(release): Publish
  • 968914f chore(release): Publish next
  • 9eb5031 chore(release): Publish next pre-minor
  • a819b9b chore(deps): update dependency cross-env to ^7.0.3 (#28505)
  • 443c8d0 chore(release): Publish next pre-minor
  • fe83465 chore(release): Publish next pre-minor
  • 539dbb0 chore(deps): update babel monorepo (#27528)
  • 3ed71f9 chore(release): Publish pre-release
  • 7337f8c chore(release): Publish pre-release
  • 5c6e3e6 chore(release): Publish
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in the .dependabot/config.yml file in this repo:

  • Update frequency
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Jan 11, 2021
@dependabot-preview
Copy link
Contributor Author

Superseded by #154.

@dependabot-preview dependabot-preview bot deleted the dependabot/npm_and_yarn/babel-preset-gatsby-0.10.0 branch February 8, 2021 04:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant