From e29d844b830142bd42e50d47a2ad870c31a26f34 Mon Sep 17 00:00:00 2001 From: Kyle Mathews Date: Thu, 15 Jun 2017 12:47:45 -0700 Subject: [PATCH 1/4] update the getting started section --- www/src/pages/docs/index.js | 88 ++++++++++--------------------------- 1 file changed, 22 insertions(+), 66 deletions(-) diff --git a/www/src/pages/docs/index.js b/www/src/pages/docs/index.js index f00fc3269017f..0f4f73d08fb79 100644 --- a/www/src/pages/docs/index.js +++ b/www/src/pages/docs/index.js @@ -1,7 +1,6 @@ import React from "react" import Link from "gatsby-link" -import typography, { rhythm } from "../../utils/typography" import SidebarBody from "../../components/sidebar-body" import Container from "../../components/container" import presets from "../../utils/presets" @@ -11,85 +10,42 @@ class IndexRoute extends React.Component { return (

- Getting started + Get started

- Gatsby lets you transform plain text into dynamic blogs and websites - using the - latest web technologies. A React.js static site generator. + Gatsby is a blazing fast static site generator for React.

+

Install Gatsby's command line tool

- It supports Markdown, HTML, and React.js pages out of the box. Easy to - add - support for additional file types. -

-

Install Gatsby

-

- Stable version:
- npm install -g gatsby -

-

- Pre-stable version:
- npm install -g gatsby@[version number] + npm install -g gatsby@next

-

Install Starters

-

- The best way to get started is by installing Gatsby Starters. There - are four - sites that currently works with - gatsby@1.0.0-alpha16: -

- -

Starter Installation Example

-

- Clone the Gatsby Starter Blog repo:
- - git clone https://github.com/gatsbyjs/gatsby-starter-blog/ - -

-

- Go to folder and checkout the - 1.0 - branch.
- - cd gastsby-starter-blog
- git checkout 1.0 -
-

-

- Install npm packages
- npm install -

+ +

Work through the tutorial

- Run on local server
- gatsby develop + Part one of what will be a 4-part tutorial is finished. It's an + excellent way to gain a deeper understanding of how Gatsby works. + {" "}Go to the tutorial.

Date: Thu, 15 Jun 2017 12:51:29 -0700 Subject: [PATCH 2/4] Update tutorial --- docs/tutorial/part-one.md | 4 ++-- www/src/pages/docs/index.js | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/docs/tutorial/part-one.md b/docs/tutorial/part-one.md index a4f8f46c84008..3843b2ab07437 100644 --- a/docs/tutorial/part-one.md +++ b/docs/tutorial/part-one.md @@ -56,8 +56,8 @@ Now type `cat package.json` and you should see that `gatsby` and `gatsby-link` a "author": "", "license": "ISC", "dependencies": { - "gatsby": "^1.0.0-alpha19", - "gatsby-link": "^1.0.0-alpha16" + "gatsby": "^1.0.0-beta.1", + "gatsby-link": "^1.0.0-beta.1" } } ``` diff --git a/www/src/pages/docs/index.js b/www/src/pages/docs/index.js index 0f4f73d08fb79..ed54160fc540e 100644 --- a/www/src/pages/docs/index.js +++ b/www/src/pages/docs/index.js @@ -43,8 +43,9 @@ class IndexRoute extends React.Component {

Work through the tutorial

- Part one of what will be a 4-part tutorial is finished. It's an - excellent way to gain a deeper understanding of how Gatsby works. + Part one of what will be a 4-part tutorial is finished. It walks you + through building a Gatsby site from scratch to a finished polished + site. {" "}Go to the tutorial.

Date: Thu, 15 Jun 2017 12:57:05 -0700 Subject: [PATCH 3/4] Start using next instead of canary for package versions People are/will base sites on these and now that we're in beta, don't want people basing sites off canary as that's highly unstable. As soon as we hit 1.0, we'll use 1.0 as well. --- examples/client-only-paths/package.json | 10 +++++----- examples/feed/package.json | 8 ++++---- examples/gatsbygram/package.json | 20 +++++++++---------- examples/hn/package.json | 12 +++++------ examples/image-processing/package.json | 16 +++++++-------- examples/no-plugins/package.json | 4 ++-- examples/no-trailing-slashes/package.json | 8 ++++---- examples/redux/package.json | 4 ++-- examples/sitemap/package.json | 8 ++++---- examples/using-contentful/package.json | 10 +++++----- examples/using-drupal/package.json | 10 +++++----- examples/using-glamor/package.json | 10 +++++----- .../using-page-loading-indicator/package.json | 4 ++-- examples/using-path-prefix/package.json | 4 ++-- examples/using-postcss-sass/package.json | 10 +++++----- examples/using-styled-components/package.json | 10 +++++----- 16 files changed, 74 insertions(+), 74 deletions(-) diff --git a/examples/client-only-paths/package.json b/examples/client-only-paths/package.json index b4dee3d688297..856b97d3db863 100644 --- a/examples/client-only-paths/package.json +++ b/examples/client-only-paths/package.json @@ -5,11 +5,11 @@ "version": "1.0.0", "author": "Kyle Mathews ", "dependencies": { - "gatsby": "canary", - "gatsby-link": "canary", - "gatsby-plugin-google-analytics": "canary", - "gatsby-plugin-offline": "canary", - "gatsby-source-drupal": "canary", + "gatsby": "next", + "gatsby-link": "next", + "gatsby-plugin-google-analytics": "next", + "gatsby-plugin-offline": "next", + "gatsby-source-drupal": "next", "lodash": "^4.16.4", "react-addons-css-transition-group": "^15.5.2", "react-typography": "^0.15.0", diff --git a/examples/feed/package.json b/examples/feed/package.json index 4eb8f318abc4b..2a7cf232fdc79 100644 --- a/examples/feed/package.json +++ b/examples/feed/package.json @@ -5,10 +5,10 @@ "version": "1.0.0", "author": "Nicholas Young ", "dependencies": { - "gatsby": "canary", - "gatsby-source-filesystem": "canary", - "gatsby-transformer-remark": "canary", - "gatsby-plugin-feed": "canary" + "gatsby": "next", + "gatsby-source-filesystem": "next", + "gatsby-transformer-remark": "next", + "gatsby-plugin-feed": "next" }, "keywords": [ "gatsby" diff --git a/examples/gatsbygram/package.json b/examples/gatsbygram/package.json index e36ef45c175da..e82eb4c509470 100644 --- a/examples/gatsbygram/package.json +++ b/examples/gatsbygram/package.json @@ -5,16 +5,16 @@ "version": "1.0.0", "author": "Kyle Mathews ", "dependencies": { - "gatsby": "canary", - "gatsby-link": "canary", - "gatsby-plugin-glamor": "canary", - "gatsby-plugin-google-analytics": "canary", - "gatsby-plugin-manifest": "canary", - "gatsby-plugin-offline": "canary", - "gatsby-plugin-sharp": "canary", - "gatsby-source-filesystem": "canary", - "gatsby-transformer-json": "canary", - "gatsby-transformer-sharp": "canary", + "gatsby": "next", + "gatsby-link": "next", + "gatsby-plugin-glamor": "next", + "gatsby-plugin-google-analytics": "next", + "gatsby-plugin-manifest": "next", + "gatsby-plugin-offline": "next", + "gatsby-plugin-sharp": "next", + "gatsby-source-filesystem": "next", + "gatsby-transformer-json": "next", + "gatsby-transformer-sharp": "next", "instagram-screen-scrape": "^2.0.0", "lodash": "^4.16.4", "mkdirp": "^0.5.1", diff --git a/examples/hn/package.json b/examples/hn/package.json index 74023ad9ba09d..db96c65d40212 100644 --- a/examples/hn/package.json +++ b/examples/hn/package.json @@ -6,12 +6,12 @@ "author": "Kyle Mathews ", "dependencies": { "flat": "^2.0.1", - "gatsby": "canary", - "gatsby-link": "canary", - "gatsby-plugin-google-analytics": "canary", - "gatsby-plugin-manifest": "canary", - "gatsby-plugin-offline": "canary", - "gatsby-source-hacker-news": "canary", + "gatsby": "next", + "gatsby-link": "next", + "gatsby-plugin-google-analytics": "next", + "gatsby-plugin-manifest": "next", + "gatsby-plugin-offline": "next", + "gatsby-source-hacker-news": "next", "lodash": "^4.16.4", "slash": "^1.0.0" }, diff --git a/examples/image-processing/package.json b/examples/image-processing/package.json index d914d59cbfc3e..c6f02e2d71554 100644 --- a/examples/image-processing/package.json +++ b/examples/image-processing/package.json @@ -5,14 +5,14 @@ "version": "1.0.0", "author": "Kyle Mathews ", "dependencies": { - "gatsby": "canary", - "gatsby-link": "canary", - "gatsby-plugin-google-analytics": "canary", - "gatsby-plugin-offline": "canary", - "gatsby-plugin-sharp": "canary", - "gatsby-source-drupal": "canary", - "gatsby-source-filesystem": "canary", - "gatsby-transformer-sharp": "canary", + "gatsby": "next", + "gatsby-link": "next", + "gatsby-plugin-google-analytics": "next", + "gatsby-plugin-offline": "next", + "gatsby-plugin-sharp": "next", + "gatsby-source-drupal": "next", + "gatsby-source-filesystem": "next", + "gatsby-transformer-sharp": "next", "react-typography": "^0.15.0", "typography": "^0.15.8", "typography-theme-bootstrap": "^0.15.10" diff --git a/examples/no-plugins/package.json b/examples/no-plugins/package.json index 942097cefe5a8..f6fc53b288212 100644 --- a/examples/no-plugins/package.json +++ b/examples/no-plugins/package.json @@ -5,8 +5,8 @@ "version": "1.0.0", "author": "Scotty Eckenthal ", "dependencies": { - "gatsby": "canary", - "gatsby-link": "canary", + "gatsby": "next", + "gatsby-link": "next", "lodash": "^4.16.4", "slash": "^1.0.0" }, diff --git a/examples/no-trailing-slashes/package.json b/examples/no-trailing-slashes/package.json index b1079eb6eb676..3150422a2b381 100644 --- a/examples/no-trailing-slashes/package.json +++ b/examples/no-trailing-slashes/package.json @@ -5,10 +5,10 @@ "version": "1.0.0", "author": "Scotty Eckenthal ", "dependencies": { - "gatsby": "canary", - "gatsby-link": "canary", - "gatsby-plugin-google-analytics": "canary", - "gatsby-plugin-offline": "canary", + "gatsby": "next", + "gatsby-link": "next", + "gatsby-plugin-google-analytics": "next", + "gatsby-plugin-offline": "next", "lodash": "^4.16.4", "slash": "^1.0.0" }, diff --git a/examples/redux/package.json b/examples/redux/package.json index 5c8f18be5ac78..4e9f60ef4ee1d 100644 --- a/examples/redux/package.json +++ b/examples/redux/package.json @@ -5,8 +5,8 @@ "version": "1.0.0", "author": "Scotty Eckenthal ", "dependencies": { - "gatsby": "canary", - "gatsby-link": "canary", + "gatsby": "next", + "gatsby-link": "next", "lodash": "^4.16.4", "react-redux": "5.0.5", "react-router-redux": "4.0.8", diff --git a/examples/sitemap/package.json b/examples/sitemap/package.json index 90740765f9d96..29d228b972f5f 100644 --- a/examples/sitemap/package.json +++ b/examples/sitemap/package.json @@ -5,10 +5,10 @@ "version": "1.0.0", "author": "Nicholas Young ", "dependencies": { - "gatsby": "canary", - "gatsby-source-filesystem": "canary", - "gatsby-transformer-remark": "canary", - "gatsby-plugin-sitemap": "canary" + "gatsby": "next", + "gatsby-source-filesystem": "next", + "gatsby-transformer-remark": "next", + "gatsby-plugin-sitemap": "next" }, "keywords": [ "gatsby" diff --git a/examples/using-contentful/package.json b/examples/using-contentful/package.json index 326de123a66bc..72fe8fa166df7 100644 --- a/examples/using-contentful/package.json +++ b/examples/using-contentful/package.json @@ -5,11 +5,11 @@ "version": "1.0.0", "author": "Marcus Ericsson (mericsson.com)", "dependencies": { - "gatsby": "canary", - "gatsby-link": "canary", - "gatsby-plugin-google-analytics": "canary", - "gatsby-plugin-offline": "canary", - "gatsby-source-contentful": "canary", + "gatsby": "next", + "gatsby-link": "next", + "gatsby-plugin-google-analytics": "next", + "gatsby-plugin-offline": "next", + "gatsby-source-contentful": "next", "lodash": "^4.16.4", "react-typography": "^0.15.0", "slash": "^1.0.0", diff --git a/examples/using-drupal/package.json b/examples/using-drupal/package.json index bfd71d54cac6f..099078eb65db7 100644 --- a/examples/using-drupal/package.json +++ b/examples/using-drupal/package.json @@ -5,11 +5,11 @@ "version": "1.0.0", "author": "Kyle Mathews ", "dependencies": { - "gatsby": "canary", - "gatsby-link": "canary", - "gatsby-plugin-google-analytics": "canary", - "gatsby-plugin-offline": "canary", - "gatsby-source-drupal": "canary", + "gatsby": "next", + "gatsby-link": "next", + "gatsby-plugin-google-analytics": "next", + "gatsby-plugin-offline": "next", + "gatsby-source-drupal": "next", "lodash": "^4.16.4", "react-typography": "^0.15.0", "slash": "^1.0.0", diff --git a/examples/using-glamor/package.json b/examples/using-glamor/package.json index a58057789c1c3..7666f94dc2a14 100644 --- a/examples/using-glamor/package.json +++ b/examples/using-glamor/package.json @@ -5,11 +5,11 @@ "version": "1.0.0", "author": "Kyle Mathews ", "dependencies": { - "gatsby": "canary", - "gatsby-link": "canary", - "gatsby-plugin-google-analytics": "canary", - "gatsby-plugin-offline": "canary", - "gatsby-plugin-glamor": "canary", + "gatsby": "next", + "gatsby-link": "next", + "gatsby-plugin-google-analytics": "next", + "gatsby-plugin-offline": "next", + "gatsby-plugin-glamor": "next", "lodash": "^4.16.4", "react-typography": "^0.15.0", "slash": "^1.0.0", diff --git a/examples/using-page-loading-indicator/package.json b/examples/using-page-loading-indicator/package.json index 9a9da5b1fda2f..3a522fd2c7967 100644 --- a/examples/using-page-loading-indicator/package.json +++ b/examples/using-page-loading-indicator/package.json @@ -4,8 +4,8 @@ "description": "Gatsby example site using using-page-loading-indicator", "author": "Kyle Mathews", "dependencies": { - "gatsby": "canary", - "gatsby-link": "canary", + "gatsby": "next", + "gatsby-link": "next", "gatsby-plugin-nprogress": "^0.2.0" }, "license": "MIT", diff --git a/examples/using-path-prefix/package.json b/examples/using-path-prefix/package.json index a127919452fa1..05a522cab2ebd 100644 --- a/examples/using-path-prefix/package.json +++ b/examples/using-path-prefix/package.json @@ -4,8 +4,8 @@ "description": "Gatsby example site using using-path-prefix", "author": "Kyle Mathews <mathews.kyle@gmail.com>", "dependencies": { - "gatsby": "canary", - "gatsby-link": "canary" + "gatsby": "next", + "gatsby-link": "next" }, "license": "MIT", "main": "n/a", diff --git a/examples/using-postcss-sass/package.json b/examples/using-postcss-sass/package.json index 2a1694e6a6661..a8e1bdbf8179c 100644 --- a/examples/using-postcss-sass/package.json +++ b/examples/using-postcss-sass/package.json @@ -9,11 +9,11 @@ "author": "Kyle Mathews ", "license": "MIT", "dependencies": { - "gatsby": "canary", - "gatsby-link": "canary", - "gatsby-plugin-google-analytics": "canary", - "gatsby-plugin-offline": "canary", - "gatsby-plugin-postcss-sass": "canary", + "gatsby": "next", + "gatsby-link": "next", + "gatsby-plugin-google-analytics": "next", + "gatsby-plugin-offline": "next", + "gatsby-plugin-postcss-sass": "next", "lost": "^8.0.0", "react-typography": "^0.15.10", "typography": "^0.15.10" diff --git a/examples/using-styled-components/package.json b/examples/using-styled-components/package.json index d5b7d1e102e05..4efa5a6f6cb05 100644 --- a/examples/using-styled-components/package.json +++ b/examples/using-styled-components/package.json @@ -5,11 +5,11 @@ "version": "1.0.0", "author": "Kyle Mathews ", "dependencies": { - "gatsby": "canary", - "gatsby-link": "canary", - "gatsby-plugin-google-analytics": "canary", - "gatsby-plugin-offline": "canary", - "gatsby-plugin-styled-components": "canary", + "gatsby": "next", + "gatsby-link": "next", + "gatsby-plugin-google-analytics": "next", + "gatsby-plugin-offline": "next", + "gatsby-plugin-styled-components": "next", "lodash": "^4.16.4", "react-typography": "^0.15.0", "slash": "^1.0.0", From f73ff019dfce98718a8e847ff0fdece53bbd1b71 Mon Sep 17 00:00:00 2001 From: Kyle Mathews Date: Thu, 15 Jun 2017 13:11:31 -0700 Subject: [PATCH 4/4] Update CHANGELOG for beta 1 --- CHANGELOG.md | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 736613796513f..7205da2683e4a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,37 @@ # Change Log +## [1.0.0-beta.1] - 2017-06-15 + +Our first beta!!! 🎉 + +### 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 + + ## [1.0.0-alpha20] - 2017-06-05 ### Added