Skip to content

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

Pre-release
Pre-release
Compare
Choose a tag to compare
@KyleAMathews KyleAMathews released this 03 Jun 02:05
· 20460 commits to master since this release

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