gatsby

The best React-based framework with performance, scalability and security built in.

MIT License

Downloads
7.6M
Stars
55.2K
Committers
4.1K

Bot releases are visible (Hide)

gatsby - New MongoDB source plugin!

Published by KyleAMathews about 7 years ago

Exciting to see the first source plugin for a database added!

Added

  • Add gatsby-source-mongodb plugin to gatsby (#1570) @jorishermans
  • [www] Refactor Homepage and Navigation & convert diagram to html/css (#1605) @fk
  • Included example with WP-API-MENUS items (#1619) @sebastienfi
  • added new site to showcase (#1616) @dvzrd
  • Docs: add grommet starter (#1626) @alampros
  • add a bunch of tests for various plugins (#1581) @DSchau

Fixed

  • fix broken gatsby link definition for typescript 2.4.2 (#1628) @DominikGuzei
  • test: fix failing test due to missing argyle image (#1636) @DSchau
  • Revise part one of tutorial to use hello-world starter (#1630) @KyleAMathews
  • Fix passing createNode as argument (#1629) @sebastienfi
  • Don't mutate page context (#1537) @okcoker
  • Updated instructions for Windows (#1621) @sebastienfi
  • Tweak JSS links + add it to plugins page (#1615) @KyleAMathews
gatsby - New plugin adding support for css-in-js library JSS!

Published by KyleAMathews about 7 years ago

Added

  • Implement gatsby-plugin-jss #1431 @wizardzloy
  • Add gatsby-plugin-feed to www #1569 @nicholaswyoung
  • gatsby-transformer-sharp: Added the option to use the original image #1556 @chiedo

Fixed

  • [www] Blog post meta styles #1561 @fk
  • Fix unsupported method in IE #1573 @variadicintegrity
  • Don't set a default title in html.js as not overriden by react-helmet #1578 @KyleAMathews
  • Downgrade Glamor to v2 as v3 unstable #1580 @KyleAMathews
  • Remove the slash between the pathPrefix and pathname when navigating #1574 @DaleWebb
  • Fix url in Contentful example #1596 @axe312ger
  • Small fixes to tutorial #1586 @benmathews
  • Add missing dep to gatsby-source-filesystem #1607 @jquense
  • Wordpress -> WordPress #1608 @Alaev
  • Fix typo #1609 @fk
  • Update modifyWebpackConfig docs #1613 @KyleAMathews
  • Fix broken links #1614 @KyleAMathews
gatsby - 1.3.0 β€” improve cachability of JS bundles + new CSV transformer!

Published by KyleAMathews over 7 years ago

Added

  • docs: add "creating a static blog with gatsby" blog post #1560 @DSchau
  • add tests to gatsby-remark-images #1559 @DSchau
  • add glitch-gatsby-starter-blog #1554 @100ideas
  • use consistent chunk ids #1534 @stevensurgnier
  • Enhance API for multiple feeds #1548 @nicholaswyoung
  • Add new plugin to handle csv files #1496 @ssonal
  • Adds showcase segment for starters/websites built with Gatsby. #1535 @Vagr9K
  • using-javascript-transformers example #1492 @jbolda
  • Add sitemap plugin to www #1541 @nicholaswyoung

Fixed

  • Clone context to prevent mutations #1553 @kyleamathews
  • Update dependencies to avoid hoisting errors #1552 @kyleamathews
  • Set pathPrefix if not defined to an empty string to avoid undefined #1551 @kyleamathews
  • Fix prefixes in gatsby-link + navigateTo #1550 @kyleamathews
  • Make path to packages the same on website as github #1549 @kyleamathews
  • Fixing sw.js 404-ing because of pathPrefix not being prefixed to sw.js properly. Fixing #1539 #1540 @gregsqueeb
  • [gatsby-plugin-sharp] Fix PNG generation when using the "duotone" option #1506 @fk
  • fix: ensure pathPrefix is added to responsive images #1510 @DSchau
  • Fix the onClick override logic #1489 @jakedeichert
  • Check if node.value is set as otherwise cheerio throws an error #1543 @kyleamathews
  • Fix docs referencing outdated React Router API #1523 @ahfarmer
  • Fixes component-renderer to allow for use of internal routing #1542 @scottyeck
  • Center .twitter-tweet-rendered #1529 @fk
  • double '... use use ...' word #1528 @GoreStarry
gatsby - 1.2.0

Published by KyleAMathews over 7 years ago

A few more days, another minor release 😎

Highlight of this release is @felixjung adding support for hot reloading changes to site's html.js during development in #1473

Beyond that, lots of bug fixes and small feature additions from the community!

Added

  • Watch for changes to html.js #1473 @felixjung
  • Add stylus example #1479 @iansinnott
  • Added support for nested img tags in html nodes #1485 @chiedo
  • Allow for env files #1462 @okcoker
  • Create deploy-gatsby.md #1480 @couturecraigj

Fixed

  • Fix Contentful example URL #1483 @oscar-b
  • Fix reference to program.directory #1490 @jakedeichert
  • Prism plugin bugfix alt #1491 @bvaughn
  • Fixes docs referencing removed "1.0" branch source code instead of master. #1495 @Vagr9K
  • fix(gatsby-source-contentful): missing host param in createClient #1487 @Smiter
  • use program directory over cwd #1478 @craig-mulligan
gatsby - First minor release!

Published by KyleAMathews over 7 years ago

Continuing our blistering development pace, in the five days since our initial 1.0.0 release there's been 44 merged PRs by 20 different authors. Thanks everyone!

Added

  • Add gatsby-plugin-twitter for embedding Tweets #1389 @KyleAMathews
  • Document promise/callback interface for async plugins #1409 @KyleAMathews
  • Add an example of a config query to migration docs #1429 @benmccormick
  • Adds more information to documentation pages. #1428 @Vagr9K
  • Add new plugin gatsby-plugin-emotion #1447 @rawrmonstar
  • Gatsby remark images default alt tags and optional linking #1451 @chiedo
  • Add stylus support #1437 @iansinnott
  • [gatsby-source-contentful] Add Support for preview api #1464 @Khaledgarbaya

Fixed

  • Update init-starter.js #1393 @kimown
  • fix URL for packages, using the master branch #1399 @bmackinney
  • Use latest instead of next for versions in examples #1404 @KyleAMathews
  • Update www dependencies #1402 @KyleAMathews
  • Fix frontpage copy issues #1401 @KyleAMathews
  • Add missing return statement #1405 @ahmedlhanafy
  • Fixed documentation #1406 @chiedo
  • fix: Update examples directory URL due to 404 with current link #1410 @bencodezen
  • Add link to gatsby-dev-cli + we're stable + copy editing @KyleAMathews
  • fix glamor + babel modification #1416 @jaredly
  • Typo, grammar and standardising flags #1426 @IrregularShed
  • Fix bug where the target is incorrectly set #1427 @samzhao
  • Fix "gastsby" to "gatsby" on line 34 #1433 @trautlein
  • Fix "Creating Pages" example's variable reference #1430 @benmccormick
  • Fixes the example for navigateTo. #1440 @Vagr9K
  • Properly load options for Remark #1441 @benmccormick
  • Use lowercase require for "rss" #1444 @nicholaswyoung
  • fix issue with ssr for redux example #1445 lemuelbarango
  • Update .nvmrc, Node 8 #1446 @nicholaswyoung
  • Set a key on pages so when switching between pages, the same component instance isn't reusued #1460 @KyleAMathews
  • Removed owner assignation to prevent error #1454 @sebastienfi
  • Update gatsby-node.js #1452 @sebastienfi
  • Update README.md #1453 @sebastienfi
  • Improve typescript example #1466 @fabien0102
  • Remove react-helmet from src/html.js fixes #1443 #1474 @KyleAMathews
  • Updates add-custom-webpack-config.md to fix broken links #1420 @marcustisater
  • Fix source-wordpress npmignore #1476 @KyleAMathews
gatsby - v1 release! πŸŽ‰πŸŽ‰πŸŽ‰

Published by KyleAMathews over 7 years ago

Release blog post at https://www.gatsbyjs.org/blog/gatsby-v1/

Added

  • Adds Material Blog starter to the list of starters. #1344 @Vagr9K committed with KyleAMathews 4 days ago
  • Continuation: WIP update home page with new design #1355 @fk
  • Wordpress source plugin and example site #1321 @sebastienfi
  • [v1.0] Documentation improvements. #1370 @Vagr9K
  • 1.0.0 announcement blog post #1379 @KyleAMathews
  • Adds gatsby-transformer-toml to the core. ##1382 @Vagr9K

Fixed

  • Update README to make it clearer about deploying to gh pages #1343 @jsfeb26
  • Call next() after serving HTML #1349 @levibuzolic
  • Use int for defaultValue of int field #1352 @KyleAMathews
  • Make default sitemap meet expectations #1351 @chiedo
  • Guard against calling ga function if it doesn't (yet) exist #1361 @KyleAMathews
  • Namespace type names for Contentful #1374 @KyleAMathews
  • Add missing parens in code examples #1376 @okcoker
  • Fix gatsby-transformer-react-docgen dependencies #1377 @jquense
gatsby - v1.0.0-beta.6

Published by KyleAMathews over 7 years ago

Perhaps/hopefully the last beta before 1.0.0!

Added

  • Use the sync endpoint to pull data from Contentful #1241 @Khaledgarbaya
  • Use localized space #1266 @Khaledgarbaya
  • gatsby-transformer-javascript-static-exports #1253 @jbolda
  • Added support for HTML img tags #1285 @chiedo
  • [gatsby-source-contentful] support creating localized nodes #1279 @kyleamathews
  • Link pages to their plugin creators for easier understanding/debugging fixes #1281 #1297 @kyleamathews
  • Support NavLink in gatsby-link #1302 @abi
  • Add an example for using the sass plugin #1312 @danielfarrell
  • Add CSS Modules example site #1314 @kyleamathews
  • Add Typescript example #1319 @kyleamathews
  • Support using browserslist for setting per-site browser targeting for JS/CSS transformations #1336 @kyleamathews
  • Add gatsby-plugin-canonical-url #1337 @kyleamathews
  • [source-contentful] Allow for querying gifs & when user queries for image height, actually crop #1339 @kyleamathews

Changed

  • Replace build-images with just images @kyleamathews
  • Make mediaType optional #1299 @kyleamathews
  • Just use name/value for createNodeField #1325 @kyleamathews
  • Renamed remark-responsive-image-plugin @chiedo
  • Write images processed by sharp to public/static along with other assets #1332 @kyleamathews

Fixed

  • using-remark fixes #1250 @fk
  • Broken example commands in DOCS / Getting Started page #1252 @sebastienfi
  • Don't catch links to files #1260 @kyleamathews
  • Improve develop-html stage #1254 @craig-mulligan
  • Make various tweaks to the tutorial #1262 @kyleamathews
  • Add tests for parsing regex args + fix bug #1267 @kyleamathews
  • Fixes for feed plugin README #1273 @kyleamathews
  • [gatsby-source-contentful] Add testing for existing API processing #1274 @kyleamathews
  • Throw error and quit if there's a JS parse error for gatsby-config.js #1296 @kyleamathews
  • Add missing npmignore files #1298 @kyleamathews
  • Move creating 404.html page into plugin so can enforce pages only created by plugins #1300 @kyleamathews
  • Fix occassionally out-of-order query watching which would throw errors #1301 @kyleamathews
  • Waiting for query extraction wasn't actually waiting #1303 @kyleamathews
  • Improved plugin error without exit #1309 @0x80
  • Fixed a small typo in gatsby-plugin-postcss-sass that prevented CSS modules from working #1307 @levibuzolic
  • Don't use the sass loader on build-javascript #1278 @danielfarrell
  • Fixes 1317 Google Analytics plugin; updates attachHistory listener logic #1318 @camsjams
  • Call onRouteUpdate on initial page load #1320 @kyleamathews
  • Fix check if there's a sw plugin added #1323 @kyleamathews
  • Only build 1 html page in development and always serve it #1324 @kyleamathews
  • Fix server/client rendering mismatch #1326 @kyleamathews
  • update gatsby-remark-responsive-iframe readme #1328 @eddywashere
  • Use memory lowdb as it is significantly faster. Also snuck in yurnalist for better console output #1329 @kyleamathews
  • Quit on ctrl-c #1334 @kyleamathews
  • Set keys on head/body components #1335 @kyleamathews
gatsby - v1.0.0-beta5 Fix GraphQL version mis-match

Published by KyleAMathews over 7 years ago

Our versions of GraphQL got mis-matched due to the new release of Relay Compiler so quick new release to fix that.

  • Fix graphql mis-match problem #1248 @kyleamathews
gatsby - v1.0.0-beta4

Published by KyleAMathews over 7 years ago

Added

Changed

  • Refactor Contentful data processing into own module + use more standard GraphQL type names @kyleamathews
  • Prefer floats over integers when inferring a GraphQL field #1229 @kyleamathews

Fixed

  • Fix babel compilation so targets uglify #1244 @kyleamathews
  • Open external image link with rel='noopener' #1227 @wangsongiam
  • Update index.d.ts for gatsby-link #1232 @timsuchanek
gatsby - 1.0.0-beta.3

Published by KyleAMathews over 7 years ago

Added

  • Show better errors when there's a graphql compilation problem #1222 @kyleamathews
  • Add google tagmanager plugin #1123 @0x80
  • Support path prefixes for service workers @kyleamathews
  • When a new service worker is loaded, force reload #1217 @kyleamathews
  • www: Make the header fixed for tablets and up #1215 @fk
  • Update on Gatsby Windows instructions #1216 @sebastienfi
  • Improve GQL query error handling #1214 @0x80
  • An array of linked nodes linking to heterogeneous node types is now converted to a union type #1211 @kyleamathews

Fixed

  • Final fixes to highlight code line whitespace, doc #1207 @fk
  • Increase contentful fetch limit to max of 1000 #1209 @kyleamathews
  • Fix broken links on website #1205 @kyleamathews
  • Merge sidebar components #1191 @fk
  • absolute resolves for gatsby config files #1195 @craig-mulligan
  • Update the default sitemap query #1204 @nicholaswyoung
  • For Contentful, filter out unresolvable entries and create markdown text nodes #1202 @kyleamathews
  • Reduce font-size of the mobile menu labels #1201 @fk
  • gatsby-remark-responsive-image: fix misaligned images #1196 @rstacruz
  • Fix 100% width code highlight background only being drawn for the vis… #1192 @fk
gatsby - 1.0.0-beta.2

Published by KyleAMathews over 7 years ago

Quick release with some bug fixing

Added

  • Add beta 1 blog post #1183 @kyleamathews

Fixed

  • Fix prism line highlighting #1187 @kyleamathews
  • Add .npmignore to source-drupal plugin so it'll publish @kyleamathews
  • Fix building thumbnails when an image is processed multiple times #1185 @kyleamathews
  • Add event when all plugins are finished running so know when to start running queries #1182 @kyleamathews
  • Fix a typo on gatby-link updating #1181 @danielfarrell
gatsby - Our first beta!!! πŸŽ‰

Published by KyleAMathews over 7 years ago

Thanks so much to everyone who's helped get Gatsby to this point. Now onto 1.0.

Added

  • Allow for gatsby-remark-smartypants options #1166 @mitchejj
  • New design (for gatsbyjs.org) + new home page #1170 @kyleamathews
  • Add ability to locally define plugins #1126 @0x80
  • Add rough draft for docs for creating source plugins #1159 @kyleamathews
  • Optimizations around prefetching page resources #1133 @kyleamathews
  • Redux example site #1081 @scottyeck
  • Sitemap Generator Plugin #1115 @nicholaswyoung
  • Add documentation to gatsby-remark-prism @kyleamathews

Changed

  • Move all filter operators for connections under a top-level "filter" field #1177 @kyleamathews
  • Change linkPrefix to pathPrefix and add an example site #1155 @kyleamathews
  • Make the plugin options for remark plugins the second argument (like everywhere else) #1167 @kyleamathews
  • Start using next instead of canary in example sites for package versions @kyleamathews

Fixed

  • Fix graphql compiler on typescript #949 @fabien0102
  • Replace react.createClass with ES6 classes in exmaples html.js, add PropTypes #1169 @abachuk
  • Fix windows build issue #1158 @kyleamathews
  • Use custom delimiter when flattening example values for enum fields so easy to convert back @kyleamathews
  • gatsby-remark-responsive-images: use span instead of div #1151 @rstacruz
  • Add check that we can actually find a linked image file node @kyleamathews
  • Ignore SVGs in gatsby-remark-responsive-image #1157 @fk
  • Replace using levelup for caching with lowdb to avoid native dependency #1142 @kyleamathews
  • Fix Appveyor bug regarding build all examples on release #1118 @jbolda
gatsby - 1.0.0-alpha20 RSS Feed plugin, Contentful source plugin, part 1 of new tutorial

Published by KyleAMathews over 7 years ago

Added

  • RSS Feed plugin #1073 @nicholaswyoung
  • Contentful source plugin #1084 @mericsson
  • MVP part 1 of new community Gatsby tutorial #1107 @kyleamathews
  • Debuggin help when building HTML fails #1109 @kyleamathews
  • Default html.js component #1107 @kyleamathews
  • Can now highlight specific line numbers in markdown code blocks #1107 @kyleamathews

Changed

  • gatsby-config.js is no longer required #1107 @kyleamathews
  • The Gatsby serve-build command is now just serve #1107 @kyleamathews

Fixed

  • Windows builds on Appveyor #1049 @jbolda

Added

  • Add a helpful 404 page during development that lists the page you might have wanted @kyleamathews
    to link to or how to create a new page at that link #1051 @kyleamathews
  • Add "Plop" script for quickly creating new packages #1059 @kyleamathews
  • Add new plugin supporting server rendering of Styled Components #1060 @gutenye
  • Add new plugin supporting server rendering of react-helmet #1085 @kyleamathews
  • Add new plugin for extracting JSDocs information from JavaScript files using documentation.js #1053 @kyleamathews
  • Add new API spec (rough draft) @kyleamathews https://www.gatsbyjs.org/docs/api-specification/
  • Add new API reference pages @kyleamathews e.g. https://www.gatsbyjs.org/docs/node-apis/
  • Add "duotone" image processing option to gatsby-plugin-sharp #1047 @fk
  • Add example site for image processing @fk https://image-processing.gatsbyjs.org/
  • Add example site for css-in-js library Glamor @kyleamathews https://using-glamor.gatsbyjs.org/
  • Add example site for css-in-js library Styled Components @kyleamathews https://using-styled-components.gatsbyjs.org/

Changed

Grand big API renaming based on our new API spec https://www.gatsbyjs.org/docs/api-specification/

API changes:

Action creators:

  • upsertPage is now createPage
  • addFieldToNode is now createNodeField
  • deletePageByPath is now deletePage
  • addNodeToParent is now createParentChildLink

gatsby-browser.js APIs:

  • clientEntry is now onClientEntry

gatsby-node.js APIs:

  • onNodeCreate is now onCreateNode
  • onUpsertPage is now onCreatePage
  • extendNodeType is now setFieldsOnGraphQLNodeType

gatsby-ssr.js APIs:

  • modifyHeadComponents and modifyPostBodyComponents were removed in favor of a
    new API onRenderBody.
  • replaceServerBodyRender is now replaceRenderer

Fixed

  • Fix sharp image quality and force file format (#1054) @0x80
  • Expose crop focus parameter and make consistent with base64 #1055 @0x80
  • Clean up TravisCI config #1066 @hawkrives
  • Fix inference bug #1087 @jquense
  • Provide default context for GraphQL #1052 @kyleamathews
  • Make determining when a given stage is finished much more reliable #1080 @kyleamathews
  • Pick values off plugin's package.json to avoid weird metadata from NPM #1090 @kyleamathews

New 1.0 sites launched

gatsby - Alpha16 β€” Fully immutable nodes

Published by KyleAMathews over 7 years ago

Added

  • Made nodes fully immutable @kyleamathews #1035
  • Migration guide @kyleamathews #1032
  • Add no-plugins example @scottyeck #1028
  • Add support for "internal" plugins #1010
  • Expose internal Gatsby data through GraphQL @kyleamathews #1014

Changed

  • Removed updateNode action creator as part of making nodes immutable in #1035.
    Now sites/plugins should use addFieldToNode for adding fields to nodes created
    by other plugins and addNodeToParent for adding a new node as a child to
    an existing node.

Fixed

  • Don't override the default onClick handler in gatsby-link @scottyeck #1019
gatsby - React Router V4 upgrade, static directory, bug fixes, tests, etc.

Published by KyleAMathews over 7 years ago

Added

  • Update version of React Router to v4 #940
  • API proxy for use during development #957
  • "static" directory for files to be copied directly into the "public"
    directory #956
  • Add toFormat argument to the ImageSharp GraphQL type so can change
    format of image e.g. from png to jpg.
  • React Docgen transformer plugin for parsing propType info from React
    components #928

Changed

Chore

  • Upgrade Jest to v20 #935
gatsby - New GraphQL compiler!

Published by KyleAMathews over 7 years ago

Added

  • Use the Relay Modern compiler for extracting GraphQL queries from components.
    This allows us to now support components being added to all components. This
    means you can now write queries next to the views that use them. #912
  • Hook for modifying pages #863
  • New Drupal source plugin and example site #890
  • Detect if a site's plugins have changed and when they do, delete the site
    cache as it might now be invalid #927
  • New way to make connections between nodes e.g. article --> author #902

Changed

  • Combine transformer and typegen plugins. The distinction between the two
    types of plugins has proved somewhat artificial so they were combined. Any
    typegen plugins in your package.json and gatsby-config.js need to be
    removed. #918
  • Gatsby now garbage collects old nodes. Source plugins should now "touch"
  • nodes that haven't changed #861
  • Due to adopting the Relay compiler, GraphQL query template strings need
    named "graphql" plus must be named. So if previously you wrote:
export const pageQuery = `
{
  allMarkdownMark {
    edges {
      node {
        id
      }
    }
  }
}
`

You must now write:

export const pageQuery = graphql`
query IndexQuery {
  allMarkdownMark {
    edges {
      node {
        id
      }
    }
  }
}
`
gatsby - Smarter faster data processing (oh and data hot reloading!)

Published by KyleAMathews over 7 years ago

Gatsby v1's data layer is starting to feel quite solid.

For this latest alpha, I did a almost complete refactor of the data layer adding in Redux and ideas from event sourcing and modern build tools like Buck and Bazel from Facebook and Google respectively.

Now all data processing is incremental and completely cached. On booting, Gatsby looks at your data contents to decide if new processing is needed and only processes data that's actually changed. One large site built on 1.0 saw it's bootstrap time drop from nearly a minute to under 5 seconds!

And as part of this work, Gatsby's data system now automatically watches all your data sources for changes and reprocesses data on the fly. Remote or local data, if you change it, the change will be automatically pushed to the development version of your site. This is handy for editing a local markdown file but also a gatsby plugin can be monitoring a remote API for changes and automatically pull down data and update your site when something is updated.

Imagine a small team working on a site with a developer and two people working on content hosted on a CMS. Every time content is updated, the developer sees the changes in near real-time on the development site.

This was the last big piece blocking 1.0.0 from being released. There are a number of smaller tasks to complete but these should be more predictable in scope. There's plenty of smaller tasks to do! Please come help out!

Breaking changes

gatsby - Add support to JS frontmatter for named exports

Published by KyleAMathews over 7 years ago

@NMinhNguyen added this very nice PR adding support for named exports to JS frontmatter https://github.com/gatsbyjs/gatsby/pull/838

So this is now supported:

export const data = {
  titles: ['My title', 'My other title'],
}
gatsby - Fix sourcemaps, templating logic, and updates for React 0.15.5

Published by KyleAMathews over 7 years ago

  • @0x80 noticed that source maps weren't working in Chrome in development and asked about it. That, combined with a serendipitous tweet by @gaearon, led to #812 where we swapped out using the eval source-maps technique for cheap-module-source-maps.
  • @donysukardi got us React 16 ready by removing our uses of React.createClass and the built-in proptypes #809
  • @danperkins fixed a logic bug in our router generation where nested templates weren't being tied to their parent templates correctly #808
  • @kyleamathews replaced the old default starter with a much simpler one to make it simpler to understand Gatsby when new plus easier to use the starter as a base for building new sites #806