Releases: gatsbyjs/gatsby
Releases · gatsbyjs/gatsby
v1.0.0-beta5 Fix GraphQL version mis-match
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
v1.0.0-beta4
Added
- Add using-remark example site https://using-remark.gatsbyjs.org/ #1230 @fk
- Add friendly webpack output #1240 @craig-mulligan
- Add documentation on how to use custom webpack-config #1242 @bananenmannfrau
- Add graphql fields for creating responsive images using Contentful image API https://using-contentful.gatsbyjs.org/image-api/ #1228 @KyleAMathews
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
1.0.0-beta.3
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
1.0.0-beta.2
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
Our first beta!!! 🎉
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
linkPrefixtopathPrefixand 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
Pre-release
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.jscomponent #1107 @KyleAMathews - Can now highlight specific line numbers in markdown code blocks #1107 @KyleAMathews
Changed
gatsby-config.jsis no longer required #1107 @KyleAMathews- The Gatsby
serve-buildcommand is now justserve#1107 @KyleAMathews
Fixed
Huge release! Some deep refactors to improve reliability & speed plus the implementation of our new API specification
Pre-release
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:
upsertPageis nowcreatePageaddFieldToNodeis nowcreateNodeFielddeletePageByPathis nowdeletePageaddNodeToParentis nowcreateParentChildLink
clientEntryis nowonClientEntry
onNodeCreateis nowonCreateNodeonUpsertPageis nowonCreatePageextendNodeTypeis nowsetFieldsOnGraphQLNodeType
modifyHeadComponentsandmodifyPostBodyComponentswere removed in favor of a
new APIonRenderBody.replaceServerBodyRenderis nowreplaceRenderer
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
Alpha16 — Fully immutable nodes
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
updateNodeaction creator as part of making nodes immutable in #1035.
Now sites/plugins should useaddFieldToNodefor adding fields to nodes created
by other plugins andaddNodeToParentfor 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.
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
toFormatargument to the ImageSharp GraphQL type so can change
format of image e.g. frompngtojpg. - 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 referencingnode.typeand 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.jsnotlayouts/default.js#940 (comment) this.props.childrenin 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!
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 yourpackage.jsonandgatsby-config.jsneed 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
}
}
}
}
`