Skip to content

Releases: gatsbyjs/gatsby

v1.0.0-beta5 Fix GraphQL version mis-match

24 Jun 00:32

Choose a tag to compare

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

v1.0.0-beta4

23 Jun 23:29

Choose a tag to compare

v1.0.0-beta4 Pre-release
Pre-release

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

1.0.0-beta.3

21 Jun 18:21

Choose a tag to compare

1.0.0-beta.3 Pre-release
Pre-release

Added

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

1.0.0-beta.2

16 Jun 18:13

Choose a tag to compare

1.0.0-beta.2 Pre-release
Pre-release

Quick release with some bug fixing

Added

Fixed

Our first beta!!! 🎉

15 Jun 20:27

Choose a tag to compare

Pre-release

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

Added

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

1.0.0-alpha20 RSS Feed plugin, Contentful source plugin, part 1 of new tutorial

06 Jun 02:21

Choose a tag to compare

Added

Changed

Fixed

Huge release! Some deep refactors to improve reliability & speed plus the implementation of our new API specification

03 Jun 02:05

Choose a tag to compare

Added

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

New 1.0 sites launched

Alpha16 — Fully immutable nodes

26 May 09:32

Choose a tag to compare

Pre-release

Added

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

React Router V4 upgrade, static directory, bug fixes, tests, etc.

16 May 09:14

Choose a tag to compare

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

  • Change node format to hide most node-specific fields under an "internal"
    key. Any code referencing node.type and others will need changed to
    node.internal.type #960
  • Changed the id for the root <div> used by Gatsby to mount React to ___gatsby
  • The default layout component should be at layouts/index.js not layouts/default.js #940 (comment)
  • this.props.children in layout components is now a function #940 (comment)
  • Change the default port for serve-build to 9000
  • Change the path to GraphiQL to /___graphql

Chore

  • Upgrade Jest to v20 #935

New GraphQL compiler!

15 May 17:16

Choose a tag to compare

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
      }
    }
  }
}
`