-
Notifications
You must be signed in to change notification settings - Fork 1
chore(deps): update gatsby monorepo #1046
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
base: master
Are you sure you want to change the base?
Conversation
Branch automerge failureThis PR was configured for branch automerge, however this is not possible so it has been raised as a PR instead.
|
|
This pull request is being automatically deployed with Vercel (learn more). 🔍 Inspect: https://vercel.com/jesses/jessesio/chayl4agn [Deployment for bc26798 failed] |
1ea6537 to
278f287
Compare
278f287 to
e8dedef
Compare
e8dedef to
bdd2ee8
Compare
bdd2ee8 to
ce57b7c
Compare
ce57b7c to
c2fbd44
Compare
c2fbd44 to
dfe4780
Compare
dfe4780 to
3f51e2d
Compare
3f51e2d to
9e03af3
Compare
9e03af3 to
f1820a1
Compare
f1820a1 to
2e68a7c
Compare
2e68a7c to
4f1d554
Compare
4f1d554 to
801d788
Compare
f236609 to
7d89780
Compare
7d89780 to
feb2e7d
Compare
953a406 to
c4c5c71
Compare
c4c5c71 to
ec00740
Compare
ec00740 to
221d5ea
Compare
221d5ea to
335dc57
Compare
335dc57 to
330509e
Compare
330509e to
7935ca7
Compare
7935ca7 to
5d54d50
Compare
5d54d50 to
a95f592
Compare
a95f592 to
d585c62
Compare
d585c62 to
601ad25
Compare
601ad25 to
1976b4f
Compare
1976b4f to
bc26798
Compare
This PR contains the following updates:
0.4.7->0.12.32.22.13->2.32.132.4.5->2.11.02.4.3->2.11.02.5.3->2.13.12.3.2->2.11.01.3.2->1.10.03.3.2->3.10.02.4.9->2.12.12.3.3->2.11.13.2.7->3.10.23.3.2->3.10.02.3.3->2.10.02.6.9->2.14.43.3.2->3.10.02.4.3->2.12.12.3.3->2.11.02.3.3->2.10.03.3.8->3.11.13.5.2->3.13.02.3.2->2.10.02.3.8->2.11.12.8.13->2.16.12.5.3->2.12.1Release Notes
gatsbyjs/gatsby
v0.12.3Compare 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.2Compare Source
v0.12.1Compare Source
v0.12.0Compare Source
Gatsby now ships with richer support for images. Now you can "import" or "require" an image and use it within your React components and under the hood, the images will be automatically optimized.
We're using the image-webpack-loader which uses the popular Imagemin project to minify your images.
There's future (responsive) image work planned! See gatsbyjs/gatsby#285 if you want to get involved.
Upgrade
This is marked as a breaking release as it could interfere with your Webpack config if you already have added image loader support.
If you have added custom image loaders already, to upgrade, in your
modifyWebpackConfigfunction ingatsby-node.jsadd this line:config.removeLoader('images')You'll also need to add
image-webpack-loaderto your site:npm install --save-dev image-webpack-loaderEnjoy!
v0.11.0Compare Source
The headliner of this release is you can now inline CSS in the
<head>of your site. This is a best practice recommended by Google's AMP project among others as you then avoid additional requests which can signifcantly slow down your site. Testing using webpagetest.org showed that moving css inline improved the Speed Index 20-50%!! In one test on a simulated 3G connection, the time to initial render went from ~1.8 seconds to ~1 second.It's a very simple switch to make. See this commit in the default starter gatsbyjs/gatsby-starter-default@1faecb5 It's also documented at https://github.com/gatsbyjs/gatsby#inline-css
Breaking changes
post-build.jsmoved insidegatsby-node.js. If you had added apost-build.jsmodule to your code, this function should now be exported fromgatsby-node.js. A simple way to make the change is to simply requirepost-build.jsthere e.g.exports.postBuild = require('./post-build'). Thanks to @LukeSheard for this! #273staticis split into two stages,build-cssandbuild-htmlandproductionis nowbuild-javascript. We think these are much more sensible names. Thanks to @scottnonnenberg for the this! #253Other notable non-breaking changes
@benstepp did a deep refactor of how we're loading Babel plugins. There shouldn't be any breaking changes but it fixes a number of bugs gatsbyjs/gatsby#279
Some highlights:
.babelrcpassed to webpack.react-hmrerather than being overwritten in develop.js.v0.10.0Compare Source
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 developandgatsby serve-buildthat the short version-hoverrode the default help option. He changed that to-Hso there would no longer be a conflict gatsbyjs/gatsby#247.v0.9.1Compare 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
gatsby-node.jswere being swallowed. @kyleamathews fixed that in gatsbyjs/gatsby@859e412Developer Experience (DX) improvements
gatsby serve-buildso you can easily check that your built site is working as expected. Add serve command in cli gatsbyjs/gatsby#237Thanks everyone!
v0.9.0Compare 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
npm install --save gatsbynpm install --save babel-plugin-add-module-exports babel-preset-es2015 babel-preset-react babel-preset-stage-1andnpm install --save-dev babel-preset-react-hmre.linkfunction fromgatsby-helpers.jswas renamed toprefixLinkto clarify its purpose..babelrcfile needs to be upgraded to look like:gatsby.config.js, this functionality is now moved togatsby-node.jsand instead of using module.exports, export your config modification function asmodifyWebpackConfig. See the updated instructions in the README.page.data, you'll now need check for truthypage.data.body..gatsby-context.js.rewritePath,onRouteChangehooks in your app.js — app.js is now not supported. Instead you should exportrewritePathingatsby-node.jsandonRouteChangeingatsby-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.0Compare Source
v0.7.0Compare 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 servenowgatsby developServe 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.0Compare Source
Bug fix
v0.5.16Compare Source
v0.5.15Compare Source
v0.5.14Compare Source
v0.5.13Compare Source
v0.5.12Compare Source
v0.5.11Compare Source
v0.5.10Compare Source
v0.5.9Compare Source
v0.5.8Compare Source
v0.5.7Compare Source
v0.5.6Compare Source
v0.5.5Compare Source
v0.5.4Compare Source
v0.5.3Compare Source
v0.5.2Compare Source
v0.5.1Compare Source
v0.5.0Compare Source
v0.4.12Compare Source
v0.4.11Compare Source
v0.4.10Compare Source
v0.4.9Compare Source
v0.4.8Compare Source
Configuration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Disabled due to failing status checks.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR has been generated by WhiteSource Renovate. View repository job log here.