The best React-based framework with performance, scalability and security built in.
MIT License
Bot releases are visible (Hide)
Published by KyleAMathews over 8 years ago
localhost
https://github.com/gatsbyjs/gatsby/commit/6543ece4bc65ef841ebaa15bbf2223659e75b410
html.js
file to development. https://github.com/gatsbyjs/gatsby/commit/f9ae585a22bd282a240a2dabb40e33667a269aea
Published by KyleAMathews over 8 years ago
Noted fixer of NPM packages for Windows @NogsMPLS submitted a PR to get Gatsby (hopefully) completely working on Windows! 🎉 🎉 🎉
@gesposito added support to Webpack for requiring fonts https://github.com/gatsbyjs/gatsby/pull/162
@kyleamathews made a few miscallaneous changes
scroll-behavior
package so clicking between links with react-router is more browser-like https://github.com/gatsbyjs/gatsby/commit/b4122dbb36fac74b1e3e7f814a90ab4cfbb71155
parentTemplateFile
to routes for use in theming https://github.com/gatsbyjs/gatsby/commit/86204882ebe7aa6657ab76974b40c194d858e013
Thanks everyone!
Published by KyleAMathews over 8 years ago
Hi folks,
Finished off a major new release of Gatsby in time for ReactConf 🎉
styles.css
file.React Router has made two major releases since Gatsby was first built with a ton of nice improvements. But as Gatsby uses React Router heavily, its breaking changes often cause breaking changes within Gatsby.
The main change is what props are passed to _template
and wrapper components. Previously each component was passed the current page
data and a pages
array of all pages. Now this information is put onto the route
prop passed in by React Router.
Also where previously React Router provided a <RouteHandler/>
component which rendered the children components in _template
files, you should now replace those with {this.props.children}
.
npm install --save react-router@latest lodash@latest
&& npm install --save-dev [email protected] react-transform-catch-errors react-transform-hmr redbox-react
onRouteChange
is now passed the location
object from History.Published by KyleAMathews almost 9 years ago
> DEBUG=gatsby:* gatsby build
Published by KyleAMathews almost 9 years ago
@ChristopherBiscardi added a PR to make it simple to override or extend the default Gatsby Webpack configuration. Gatsby tries to anticipate most needs out of the box but many projects will need some customizations to Webpack.
See the PR and new documentation.
Published by KyleAMathews almost 9 years ago
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 https://github.com/gatsbyjs/gatsby/issues/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.
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.
See the documentation that's been added to the README.
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.
Published by KyleAMathews about 9 years ago
Hopefully this will be fixed soon.
Reported by @luandro at https://github.com/gatsbyjs/gatsby/issues/54
Babel bug report at https://github.com/babel/babel/issues/1889
Published by KyleAMathews about 9 years ago
Published by KyleAMathews about 9 years ago
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 https://github.com/gatsbyjs/gatsby/commit/55fee06a11299ae0d761323e35a80e7c49e1aa74
Published by KyleAMathews about 9 years ago
@fson added SVG support to the Webpack config in #34
Published by KyleAMathews about 9 years ago
@gesposito fixed up Gatsby's support for Babel in https://github.com/gatsbyjs/gatsby/pull/31 as well as converting the starter blog to ES6
Thanks!
Published by KyleAMathews about 9 years ago
@phlogisticfugu created a PR to fix #14
Published by KyleAMathews about 9 years ago
Published by KyleAMathews about 9 years ago
Features added: