profile
viewpoint
Dustin Schau DSchau @gatsbyjs Mountain View, CA https://dustinschau.com A front-end developer specializing in all things JavaScript. I don't totally suck 👋 Head of Product @gatsbyjs

DSchau/algorithm-playground 28

A live-editing visual comparison of a number of different JavaScript sorting algorithms

DSchau/angular-webpack-simple 3

A simple boilerplate for angular 1.x and webpack

abhi-test-org/gatsby-example-structured-logs 0

An example showing structured logs

amberleyromo/dotme 0

amberley dot dev

boborchard/gatsby-starter-service-relief-poc 0

Gatsby starter for Service Relief websites

DSchau/-gatsby-blog-cosmicjs- 0

🚀⚡️ Blazing fast blog built with Gatsby and Cosmic JS 🔥

DSchau/-gatsby-example-dato-instance-failure-maybe- 0

Sample DatoCMS website built with GatsbyJS

DSchau/advent-of-code 0

Solutions to advent of code (starting with 2017)

DSchau/AdventOfCode2017 0

JS Solutions for AdventOfCode2017

pull request commentgatsbyjs/gatsby

Add Cosmic Benchmark Update Post Script

@jazibsawar thanks for opening this! Closing in favor of #24580

jazibsawar

comment created time in 3 days

PR opened gatsbyjs/gatsby

chore: add cosmicjs data updating script

<!-- Have any questions? Check out the contributing docs at https://gatsby.dev/contribute, or ask in this Pull Request and a Gatsby maintainer will be happy to help :) -->

<!-- Is this a blog post? Check out the docs at https://www.gatsbyjs.org/contributing/blog-contributions/, and please mention if the blog post is pre-approved by someone from Gatsby. -->

Description

<!-- Write a brief description of the changes introduced by this PR -->

Documentation

<!-- Where is this feature or API documented?

  • If docs exist:
    • Update any references, if relevant. This includes Guides and Gatsby Internals docs.
  • If no docs exist:
    • Create a stub for documentation including bullet points for how to use the feature, code snippets (including from happy path tests), etc.
  • Tag @gatsbyjs/learning for review, pairing, polishing of the documentation -->

Related Issues

<!-- Link to the issue that is fixed by this PR (if there is one) e.g. Fixes #1234

Link to an issue that is partially addressed by this PR (if there are any) e.g. Addresses #1234

Link to related issues (if there are any) e.g. Related to #1234 -->

+40 -2

0 comment

3 changed files

pr created time in 3 days

create barnchDSchau/gatsby

branch : cosmicjs-fixed

created branch time in 3 days

Pull request review commentgatsbyjs/gatsby

(draft) Gatsby Gazette - May 2020

+---+title: Gatsby Gazette for May 2020 - The Happy Birthday Edition+date: 2020-05-29+author: Hashim Warren+excerpt: "Learn about May's product, community, and ecosystem updates"+seoTitle: Gatsby Product Updates for May 2020+tags: ["gatsby-gazette", "graphql", "blogs"]+---++This month [Gatsby turned 5](/blog/2020-05-22-happy-fifth-bday-gatsby/) 🎉++We hit a special milestone in May - there are over 2000 Gatsby plugins, and 500 of them are source plugins ([thanks for noticing Chris Ellis](https://github.com/gatsbyjs/gatsby/pull/23558)). So for whatever your use case, for whatever data source, there's a Gatsby plugin that can get you up-and-running quickly. And if you need inspiration for your project, GitHub lists over 200 thousand sites that use Gatsby as a dependency.++We also announced our [series B round of funding round](/blog/2020-05-27-announcing-series-b-funding/). This investment will help us double down on changing the way the web is built. We've already started making Gatsby work better for large and media rich sites. You can keep tabs on Gatsby's progress at [Will It Build](https://willit.build), a new benchmarking site that showcases sub-10 second builds for projects of different sizes and data sources.++## New in Gatsby ++### Strapi Instant Preview++Your content editors can now enjoy “instant preview” with Strapi and Gatsby Cloud! If you're new to Strapi, it’s a JavaScript-based, open source CMS. and a great pair for Gatsby projects. The Gatsby starter the Strapi team made for this project is gorgeous 😍 .++![Strapi blog screenshot](/strapi-blog.png) ++Give Strapi a try with [this step-by-step tutorial](<(/blog/2020-05-12-strapi-instant-content-preview-plugin/)>).++### Faster, and Faster Builds++The nice thing about running your project on Gatsby Cloud is that you can go to sleep, wake up, and your site builds have gotten faster without you having to do anything. We're like a CI/CD tooth fairy.++For example, AgilityCMS is [seeing 5 second builds](https://twitter.com/AgilityCMS/status/1257711270532452354) for their own 500-page website! How can this be? Some say it's [unicorn magic](https://twitter.com/3cordguy/status/1257079916434251780).++Again, you can take a peek at our build time benchmarks at [Will It Build](https://willit.build).++### Faster, and Faster Websites++Fast builds are a great experience for your website's editor, but what about your end-users? The only speed they care about is loading times.++Thanks to a [collaboration with the Chrome team](https://web.dev/granular-chunking-nextjs/), we've made Gatsby sites more performant - again, without you having to make any changes.++How? By bundling a dependency that is used in at least 2 pages, Gatsby can chunk them together so you don't have to download duplicate libraries over and over again.++This won't benefit first-page load, but it improves page navigation as your site needs less Javascript for the next route. Gatsby projects like Ghost’s website saw a 35% reduction in the overall JavaScript they shipped to browsers.++### Faster, and Faster Configuration++When we launched the alpha of Gatsby Recipes in April, it caused a stir in the Web Development community. Immediately many of you understood the potential of Recipes and our vision to make configuring a website as fast and painless as possible.++If you missed the initial launch, Paul Scanlon can bring you up-to-speed with ["Gatsby Recipes - What’s All the Fuss About?"](/blog/2020-05-21-gatsby-recipes/). Also, since the launch there’s been an avalanche of official and community made Recipes, including scripts for configuring:++- React libraries like[React Helmet](https://raw.githubusercontent.com/gatsbyjs/gatsby/master/packages/gatsby-recipes/recipes/gatsby-plugin-react-helmet.mdx) and [Preact](https://raw.githubusercontent.com/gatsbyjs/gatsby/master/packages/gatsby-recipes/recipes/preact.mdx)++- Themes and Starters, like [gatsby-theme-blog](https://raw.githubusercontent.com/gatsbyjs/gatsby/master/packages/gatsby-recipes/recipes/gatsby-theme-blog.mdx) and [gatsby-theme-notes-starter](https://raw.githubusercontent.com/gatsbyjs/gatsby/master/packages/gatsby-recipes/recipes/gatsby-theme-notes.mdx)++- Advanced configs, like [headless WordPress](https://raw.githubusercontent.com/gatsbyjs/gatsby/master/packages/gatsby-recipes/recipes/wordpress.mdx) and [Progressive WebApps](https://raw.githubusercontent.com/gatsbyjs/gatsby/master/packages/gatsby-recipes/recipes/pwa.mdx)++Learn how to develop your own Gatsby Recipes [here](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-recipes). And if you’re looking for ideas, I could really use a Recipe that spins up placeholder sites for all of the unused domains I purchased last year. And for all of the domains I’m going to purchase - and not use - this year.++### TypeScript Support++Gatsby loves the TypeScript community. When you pass one of them, you know exactly what type of person you’re dealing with.++This month we made the Gatsby Typescript plugin part of core Gatsby, so you no longer need to install it to enable TypeScript support in your project. Read our [updated TypeScrip docs](/docs/typescript/) and the Pull Request that enacted this change(https://github.com/gatsbyjs/gatsby/pull/23547). Also [join the Twitter conversation](https://twitter.com/gatsbyjs/status/1258427651066400768).++### GraphQL Tracing++In may we continued to improve our error messaging (see example [here](https://github.com/gatsbyjs/gatsby/pull/24186) and [here](https://github.com/gatsbyjs/gatsby/pull/23741)). But what about slow GraphQL queries? Well, Gatsby now supports performance tracing using the opentracing standard. You can to [enable tracing for GraphQL queries](/docs/performance-tracing/). This is useful because it allows you to debug why querying may be slow in your Gatsby project.++## New in the Gatsby Community ++### Gatsby Days is June 2 - 3++[Register to attend](https://www.gatsbyjs.com/resources/gatsby-days/) our first ever virtual Gatsby Days!++We have a superb [lineup of speakers](/blog/2020-05-13-virtual-gatsby-day-speakers/) from the Gatsby community. And you’ll hear from Gatsby co-founder Kyle Mathews about what’s coming next.++Speaking of Kyle…++### Changelog Podcast: Gatsby's Road to Incremental Builds++Jerod Santo interviewed Kyle for [the Changelog podcast](https://changelog.com/podcast/393). Kyle took a deep dive on how Gatsby decides which features should be in open source, and which features can be enabled by [Gatsby Cloud](https://gatsbyjs.com).++### Gatsby Web Creators++Over on YouTube and Twitch, Gatsby engineers Aisha Blake and Marcy Sutton continued the Web Creator series with episodes on [JavaScript fundamentals](https://www.youtube.com/watch?v=3jrzv7l9vsI) and [building an interactive UI](https://www.youtube.com/watch?v=jiilkXCDNPs).++If you know someone who is new to Web Development, point them to Gatsby Web Creators for a fun introduction to the basics!++### Building an Accessible Gatsby Site++https://www.youtube.com/watch?v=qmcclQ7UPLk++For current web professionals, Marcy livestreamed a session on making websites that everyone can access and use. In her tutorial, you'll learn the fundamentals of building a Gatsby site with web accessibility in mind, from the basics to more advanced techniques and requirements. You’ll get a tour of how to build and test inclusively with HTML, CSS, and JavaScript as applied in a Gatsby site.++### Gatsby Community Kudos++Thank you **Sethu Sathyan** for rapidly building [Startups vs Covid](https://www.startupsvscovid.com/) and for teaching others with your article, [“How to build a website using Gatsby & Airtable in 30 mins”](https://dev.to/sethu/how-to-build-a-website-using-gatsby-airtable-in-30-mins-42gm).++Thank you **Andres Alvarez** for choosing Gatsby for [your first open source PR](https://github.com/gatsbyjs/gatsby/pull/23537)! Your table of contents for the API reference pages will benefit thousands of readers. And thank you **Adam Millerchip** for making your first Gatsby PR and [fixing a common hiccup](https://github.com/gatsbyjs/gatsby/pull/23775) developers were having with our documentation.++Thank you **Brian Han** for noticing and using [our built-in a11y linting](https://twitter.com/_brianhan/status/1262416611316727813). Your shout out is appreciated by the Gatsby team, and increases awareness for a11y in Web Development.++Thank you **Akuoko Daniel Jnr** for helpful your article, ["Increasing Website Performance With Gatsby Plugins"](https://bejamas.io/blog/gatsby-plugins/). The recommendations in your article would make a great Gatsby Recipe! 😉++And special thanks to our long time community member, **Horacio Horacio** for making a site to [teach Gatsby to Web Developers in Spanish](https://aprendegatsby.com/). We appreciate you!
And special thanks to our long time community member, **Horacio Herrera** for making a site to [teach Gatsby to Web Developers in Spanish](https://aprendegatsby.com/). We appreciate you!
hashimwarren

comment created time in 4 days

push eventgatsbyjs/gatsby

Nat Alison

commit sha dafb3bc6727a0527d2e23ddfc3ff4e68824b80f7

refactor(www) utility for loading yaml (#24587)

view details

push time in 4 days

delete branch gatsbyjs/gatsby

delete branch : require-yaml

delete time in 4 days

PR merged gatsbyjs/gatsby

Reviewers
refactor(www) utility for loading yaml status: triage needed

Description

loadYaml utility for loading yaml in a way that works when the site is a theme.

Also switch to safeLoad for safety.

Motivation

We're factoring www into a reusable theme and this enables yaml to be resolved correctly (see #24555 for a similar issue with templates).

+35 -21

0 comment

5 changed files

tesseralis

pr closed time in 4 days

Pull request review commentgatsbyjs/gatsby

Add Cosmic Benchmark Update Post Script

     "serve": "gatsby serve"

Can we add a data-update package.json script that invokes the update-post.js command? a la this: https://github.com/gatsbyjs/gatsby/pull/24517/files#diff-c11783c10707e9768f19927f7a98031a

jazibsawar

comment created time in 4 days

push eventgatsbyjs/gatsby

Kyle Gill

commit sha 409f9e0ac2982fe65250346985182af2763a7c71

chore: update one pager pdf with newer version (#24541)

view details

push time in 5 days

delete branch gatsbyjs/gatsby

delete branch : update-one-pager-pdf

delete time in 5 days

PR merged gatsbyjs/gatsby

chore: update one pager pdf with newer version status: triage needed

Description

<!-- Write a brief description of the changes introduced by this PR -->

@lindaleebumblebee requested the PDF at gatsby-one-pager be updated with a revised version.

This replaces the old pdf with the new one. Future PDFs should go on .com (and this one probably would as well but we'd like to preserve the url and I didn't want to bother with redirects 😬 )

Related Issues

<!-- Link to the issue that is fixed by this PR (if there is one) e.g. Fixes #1234

Link to an issue that is partially addressed by this PR (if there are any) e.g. Addresses #1234

Link to related issues (if there are any) e.g. Related to #1234 -->

None, internal request

+0 -0

0 comment

1 changed file

gillkyle

pr closed time in 5 days

push eventgatsbyjs/gatsby

Knut Melvær

commit sha 078537bd49f87a0393ed0adde0baeb44fe46a6e2

feat(benchmarks): add Sanity.io benchmark (#24517) Co-authored-by: Dustin Schau <DSchau@users.noreply.github.com>

view details

push time in 5 days

PR merged gatsbyjs/gatsby

feat(benchmarks): add Sanity.io benchmark status: needs core review

Description

This adds a benchmarking setup for Sanity.io

(Will send over necessary environment var info in another channel)

+328 -0

0 comment

17 changed files

kmelve

pr closed time in 5 days

pull request commentgatsbyjs/gatsby

chore: add cosmicjs benchmark

Note: just a heads up, I believe we'll need a "data updating" mechanism for this benchmark. I'll reach out to Cosmic!

DSchau

comment created time in 5 days

delete branch DSchau/gatsby

delete branch : benchmark/cosmicjs

delete time in 5 days

push eventgatsbyjs/gatsby

Dustin Schau

commit sha 79986bdf4da863dea49d20ec69098f6dc0f56fcd

chore: normalize quote characters

view details

push time in 5 days

delete branch gatsbyjs/gatsby

delete branch : blog-series-b-announcement

delete time in 5 days

push eventgatsbyjs/gatsby

Michelle Gienow

commit sha 4c511c262ae4e219ff4fd81191d641b26a4411aa

feat(blog): add funding announcement blog post (#24534) Co-authored-by: gatsbybot <mathews.kyle+gatsbybot@gmail.com>

view details

push time in 5 days

PR merged gatsbyjs/gatsby

feat(blog): add funding announcement blog post topic: blogpost

<!-- Have any questions? Check out the contributing docs at https://gatsby.dev/contribute, or ask in this Pull Request and a Gatsby maintainer will be happy to help :) -->

<!-- Is this a blog post? Check out the docs at https://www.gatsbyjs.org/contributing/blog-contributions/, and please mention if the blog post is pre-approved by someone from Gatsby. -->

Description

<!-- Write a brief description of the changes introduced by this PR -->

Documentation

<!-- Where is this feature or API documented?

  • If docs exist:
    • Update any references, if relevant. This includes Guides and Gatsby Internals docs.
  • If no docs exist:
    • Create a stub for documentation including bullet points for how to use the feature, code snippets (including from happy path tests), etc.
  • Tag @gatsbyjs/learning for review, pairing, polishing of the documentation -->

Related Issues

<!-- Link to the issue that is fixed by this PR (if there is one) e.g. Fixes #1234

Link to an issue that is partially addressed by this PR (if there are any) e.g. Addresses #1234

Link to related issues (if there are any) e.g. Related to #1234 -->

+87 -0

0 comment

1 changed file

mgienow

pr closed time in 5 days

Pull request review commentgatsbyjs/gatsby

Add Sanity.io benchmark

+{+  "name": "gatsby-starter-hello-world",+  "private": true,+  "description": "A simplified bare-bones starter for Gatsby",+  "version": "0.1.0",+  "license": "MIT",+  "scripts": {+    "build": "gatsby build",+    "build:send": "cross-env BENCHMARK_REPORTING_URL=true gatsby build",+    "develop": "gatsby develop",+    "format": "prettier --write \"**/*.{js,jsx,json,md}\"",+    "start": "npm run develop",+    "serve": "gatsby serve",+    "update-post": "NODE_ENV=development node update-post.js"

Also should probably be production, although I don't see a reason this would break anything 🤷

kmelve

comment created time in 6 days

Pull request review commentgatsbyjs/gatsby

Add Sanity.io benchmark

+{+  "name": "gatsby-starter-hello-world",+  "private": true,+  "description": "A simplified bare-bones starter for Gatsby",+  "version": "0.1.0",+  "license": "MIT",+  "scripts": {+    "build": "gatsby build",+    "build:send": "cross-env BENCHMARK_REPORTING_URL=true gatsby build",+    "develop": "gatsby develop",+    "format": "prettier --write \"**/*.{js,jsx,json,md}\"",+    "start": "npm run develop",+    "serve": "gatsby serve",+    "update-post": "NODE_ENV=development node update-post.js"
    "data-update": "NODE_ENV=development node update-post.js"
kmelve

comment created time in 6 days

push eventDSchau/gatsby

Dustin Schau

commit sha afbef19ee526ad3f0ea2fec7b99f84934a01e508

chore: add back style

view details

push time in 6 days

PR opened gatsbyjs/gatsby

chore: add cosmicjs benchmark

Description

This adds the base benchmark for eventually integrating CosmicJS on Will it Build?

Documentation

<!-- Where is this feature or API documented?

  • If docs exist:
    • Update any references, if relevant. This includes Guides and Gatsby Internals docs.
  • If no docs exist:
    • Create a stub for documentation including bullet points for how to use the feature, code snippets (including from happy path tests), etc.
  • Tag @gatsbyjs/learning for review, pairing, polishing of the documentation -->

Related Issues

<!-- Link to the issue that is fixed by this PR (if there is one) e.g. Fixes #1234

Link to an issue that is partially addressed by this PR (if there are any) e.g. Addresses #1234

Link to related issues (if there are any) e.g. Related to #1234 -->

+329 -0

0 comment

15 changed files

pr created time in 6 days

create barnchDSchau/gatsby

branch : benchmark/cosmicjs

created branch time in 6 days

push eventgatsbyjs/gatsby

Dustin Schau

commit sha 0c9bcb1e40d4dc31542bcd19dc531e66bcf8f155

chore: swap author

view details

push time in 6 days

push eventgatsbyjs/gatsby

Michelle Gienow

commit sha de5b09c4577ab6d54155b821cec8f956a5041bb2

add willit.build blog post

view details

gatsbybot

commit sha 4deb40ef0393527179898f7a718e6ba4f9e4fa09

Merge remote-tracking branch 'upstream/master' into blog-willit-build

view details

gatsbybot

commit sha e45f9b3601891187b39cdfdcbebb54f955fa28fa

chore: format

view details

Lennart

commit sha 568934208c46bd7d74616b2bad628be543b38805

remove spaces

view details

Lennart

commit sha 71bf7041ee293f5c26beede4427c81ebc0c67d11

add mailto

view details

Lennart

commit sha c4858487610314bbc1ef01fc6bc6840a42e1867c

other mailto

view details

Michelle Gienow

commit sha b22bd2d0160b2022c3977decdbe7a2ef122e4aa0

Adjust quote marks in front matter

view details

Michelle Gienow

commit sha e11b284f29bfa76b88b2c224e70893fca3c2afb5

add alt image text

view details

Hashim Warren

commit sha 14365dde4c7c01b59545f1bc4821db822285aec2

Add Pullquote, correct typos

view details

Hashim Warren

commit sha 174eb6ee123f65c4a19f70f1f1615b7b1e69d6ea

Remove link from within Pullquote component

view details

Michelle Gienow

commit sha 4882f5ab22b96a31e6380615458a8de772101b0b

Fix capitalization

view details

Michelle Gienow

commit sha cb6bc7be12006160bee98d845a99575b519b5c19

Add final punctuation mark.

view details

Dustin Schau

commit sha d281e994b17e2cfb1a5e42700b4611cbe08bddd5

chore: format

view details

Dustin Schau

commit sha 68bf6da2dd9fd1c046566e2e46812ab073421f32

Merge remote-tracking branch 'upstream/blog-willit-build'

view details

push time in 6 days

push eventDSchau/gatsby

Tyler Barnes

commit sha e11c970b3066f6579962dd26410af2b71f16058f

fix(gatsby-plugin-sharp): error if we can't determine dimensio… (#23156) * error if we can't determine dimensions for image * chore: format Co-authored-by: gatsbybot <mathews.kyle+gatsbybot@gmail.com>

view details

Orta

commit sha cfc3b8ccc891474ece5891e54755f5e51fa2ea97

Update typescript.mdx (#23199)

view details

Dan Lemon

commit sha 2ad828fdf5a1373133e45c54326863500f7bba8d

Fix typo in Recipes: eliminateNewLines function (#23205)

view details

Kyle Mathews

commit sha 98075ff6dcce79c2f45e5c9f02210b93434cdf82

Upgrade starters to the latest versions (#23208)

view details

Michelle Gienow

commit sha 22e1073389d2c0732d6223f34e6caffd5653549e

Blog gatsby cli survey (#23116) * Add blog post results for command line survey * Format questions in blog post * chore: format * change run date on survey blog post * chore: format * Update docs/blog/2020-04-17-gatsby-survey-goes-command-line/index.md Co-Authored-By: LB <laurie@gatsbyjs.com> * Apply suggestions from code review Co-Authored-By: LB <laurie@gatsbyjs.com> Co-authored-by: gatsbybot <mathews.kyle+gatsbybot@gmail.com> Co-authored-by: LB <laurie@gatsbyjs.com>

view details

Sidhartha Chatterjee

commit sha afc89e7633bdc71c1f4934d26f2c9ff67ffc26c2

Add package rule for starters

view details

Dyuzz Yu

commit sha 4828f3dbe9dbabc00f65fbc42f0e12e87befda1a

Add my Gatsby-Blog-Starter-Dyuzz (#23097) * Update starters.yml * Update starters.yml * Update starters.yml * Update starters.yml

view details

Miles Crighton

commit sha 104f2cc980a019e4d0234d6aad4248341ccfd3ec

fix(gatsby-remark-prismjs): Use gatsby-highlight class to calculate line numbers (#23031) * Use gatsby-highlight class to calculate line nums * Added highlight line test * Added line num with highlight class snapshot test * Minor correction, closing code-fence * test: explicitely count line number rows instead of trying to match on pretty confusing html * test: use new markup counting method on old test Co-authored-by: Michal Piechowiak <misiek.piechowiak@gmail.com> Co-authored-by: gatsbybot <mathews.kyle+gatsbybot@gmail.com>

view details

Ward Peeters

commit sha 67b7dff9f33d8fa34bdbce0876408b4f9d1f15a8

chore(gatsby-cli): move recipes out of gatsby (#23190) * chore(gatsby-cli): move recipes out of gatsby * make typescript happy * typescript-eslint & optional chaining do not work

view details

Ward Peeters

commit sha 8b6b9f338b6d695a30c80ead459c3a9ca2f165e3

chore(release): Publish - babel-plugin-remove-graphql-queries@2.8.3 - babel-preset-gatsby@0.3.3 - gatsby-cli@2.11.10 - gatsby-codemods@1.2.3 - gatsby-core-utils@1.1.3 - gatsby-cypress@0.3.3 - gatsby-graphiql-explorer@0.3.3 - gatsby-image@2.3.4 - gatsby-link@2.3.4 - gatsby-page-utils@0.1.3 - gatsby-plugin-benchmark-reporting@0.1.4 - gatsby-plugin-canonical-urls@2.2.3 - gatsby-plugin-catch-links@2.2.3 - gatsby-plugin-coffeescript@2.2.3 - gatsby-plugin-create-client-paths@2.2.3 - gatsby-plugin-cxs@2.2.3 - gatsby-plugin-emotion@4.2.2 - gatsby-plugin-facebook-analytics@2.3.2 - gatsby-plugin-feed@2.4.3 - gatsby-plugin-flow@1.2.2 - gatsby-plugin-fullstory@2.2.3 - gatsby-plugin-glamor@2.2.3 - gatsby-plugin-google-analytics@2.2.4 - gatsby-plugin-google-gtag@2.0.2 - gatsby-plugin-google-tagmanager@2.2.3 - gatsby-plugin-guess-js@1.2.3 - gatsby-plugin-jss@2.2.3 - gatsby-plugin-layout@1.2.3 - gatsby-plugin-less@3.1.3 - gatsby-plugin-lodash@3.2.3 - gatsby-plugin-manifest@2.3.5 - gatsby-plugin-mdx@1.1.9 - gatsby-plugin-netlify-cms@4.2.4 - gatsby-plugin-netlify@2.2.3 - gatsby-plugin-nprogress@2.2.3 - gatsby-plugin-offline@3.1.4 - gatsby-plugin-page-creator@2.2.3 - gatsby-plugin-postcss@2.2.3 - gatsby-plugin-preact@3.2.3 - gatsby-plugin-preload-fonts@1.1.3 - gatsby-plugin-react-css-modules@2.2.3 - gatsby-plugin-react-helmet@3.2.4 - gatsby-plugin-remove-trailing-slashes@2.2.3 - gatsby-plugin-sass@2.2.3 - gatsby-plugin-sharp@2.5.6 - gatsby-plugin-sitemap@2.3.4 - gatsby-plugin-styled-components@3.2.3 - gatsby-plugin-styled-jsx@3.2.3 - gatsby-plugin-styletron@4.2.3 - gatsby-plugin-stylus@2.2.3 - gatsby-plugin-subfont@2.1.3 - gatsby-plugin-twitter@2.2.4 - gatsby-plugin-typescript@2.3.3 - gatsby-plugin-typography@2.4.3 - gatsby-react-router-scroll@2.2.2 - gatsby-recipes@0.0.7 - gatsby-remark-autolink-headers@2.2.3 - gatsby-remark-code-repls@3.1.3 - gatsby-remark-copy-linked-files@2.2.3 - gatsby-remark-custom-blocks@2.2.3 - gatsby-remark-embed-snippet@4.2.4 - gatsby-remark-graphviz@1.2.3 - gatsby-remark-images-contentful@2.2.4 - gatsby-remark-images@3.2.4 - gatsby-remark-katex@3.2.3 - gatsby-remark-prismjs@3.4.3 - gatsby-remark-responsive-iframe@2.3.3 - gatsby-remark-smartypants@2.2.3 - gatsby-source-contentful@2.2.9 - gatsby-source-drupal@3.4.5 - gatsby-source-faker@2.2.3 - gatsby-source-filesystem@2.2.4 - gatsby-source-graphql@2.4.2 - gatsby-source-hacker-news@2.3.3 - gatsby-source-lever@2.2.3 - gatsby-source-medium@2.2.3 - gatsby-source-mongodb@2.2.3 - gatsby-source-npm-package-search@2.2.3 - gatsby-source-shopify@3.1.4 - gatsby-source-wikipedia@2.2.3 - gatsby-source-wordpress@3.2.5 - gatsby-telemetry@1.2.5 - gatsby-theme-blog-core@1.3.25 - gatsby-theme-blog@1.4.25 - gatsby-theme-notes@1.2.24 - gatsby-transformer-asciidoc@1.2.3 - gatsby-transformer-csv@2.2.3 - gatsby-transformer-documentationjs@4.2.4 - gatsby-transformer-excel@2.3.3 - gatsby-transformer-hjson@2.3.3 - gatsby-transformer-javascript-frontmatter@2.2.3 - gatsby-transformer-javascript-static-exports@2.3.4 - gatsby-transformer-json@2.3.3 - gatsby-transformer-pdf@1.2.3 - gatsby-transformer-react-docgen@5.1.3 - gatsby-transformer-remark@2.7.3 - gatsby-transformer-screenshot@2.2.3 - gatsby-transformer-sharp@2.4.6 - gatsby-transformer-sqip@2.2.6 - gatsby-transformer-toml@2.3.3 - gatsby-transformer-xml@2.2.3 - gatsby-transformer-yaml@2.3.3 - gatsby@2.20.24

view details

Kyle Mathews

commit sha 2c5e3b83785de6d1842d33b782604c8d744c67c7

feat(recipes): Update gatsby-recipes README.md (#23232) * Update README.md * Update packages/gatsby-recipes/README.md Co-Authored-By: LB <laurie@gatsbyjs.com> Co-authored-by: LB <laurie@gatsbyjs.com>

view details

Michael

commit sha 6af693eec8ea41a3f18579f40147bf5c0c023243

fix brand names (#23233)

view details

Lennart

commit sha b1fa84f152ba5ffc3703c77f22c49d7e386452e5

chore(docs): Add note to "Aliasing" (#23182)

view details

Saad Pasta

commit sha bd843f2b78fa55479b195a6f9315b3c79fc85654

docs: fix "Porting from CRA to Gatsby" provider section (#23218)

view details

Tiffany Brown

commit sha 2ea2a8ec6e7665dcb655beda53ea1f87d4d26d81

docs/glossary: Add Yarn glossary entry. (#23049) * docs/glossary: Add Yarn glossary entry. Included sections on installing Yarn, using Yarn to install Gatsby, and using Yarn instead of npm as the default package manager. - Updated glossary.md, and doc-links.yaml to point to new piece. - Added a description to the front matter. * Updated docs/docs/glossary/yarn.md: Insert a missing space. * Add note to docs/docs/glossary/yarn.md re: npm vs Yarn for site dev. Added note explaining why site developers should use npm for site development.

view details

Jeremy Albright

commit sha 4fd8f8e463402bff2944d98d83f2920dc0792755

fix(gatsby): Add self-signed cert to node trust store (https) (#18703) 1. It upgrades `devcert` to `v1.1.0` to fix https issues. - ~The version is currently pointing to the release branch of my `devcert` fork, as a proof of concept~ - ~If/when `devcert` gets patched and published, I will update the version spec to point to the new version~ 2. It adds a little functionality to trust self-signed, and privately signed, certs - If only flags `--cert-file` and `--key-file` are specified, it assumes it's self-signed, and tells node to trust it. - I've included a new CLI flag, `--ca-file`. If the certificate is signed by a private ca, then include that ca's certificate using this flag in order for node to trust the cert/key pair 3. It adds functionality to collect the ca certificate path from `devcert` during the automatic setup, and tells node to trust it. 4. It updates the documentation to reflect the new changes/process. Co-authored-by: Jeremy Albright <jeremy.albright@manaollc.com> Co-authored-by: Ward Peeters <ward@coding-tech.com> Co-authored-by: LB <laurie@gatsbyjs.com> Co-authored-by: Laurie Barth <laurie@LauriesrkLaptop.fios-router.home>

view details

Kyle Mathews

commit sha c3966b5803ecc64ba28a077621c86bb4808e639e

Create README.md for the "recipes" MDX directory (#23230) * Create README.md for the "recipes" MDX directory * Update README.md * Update packages/gatsby-recipes/recipes/README.md Co-Authored-By: LB <laurie@gatsbyjs.com> * chore: format Co-authored-by: LB <laurie@gatsbyjs.com> Co-authored-by: gatsbybot <mathews.kyle+gatsbybot@gmail.com>

view details

Tyler Barnes

commit sha 8d221094d8d43468bbcb7cc454c34036674a8542

chore(gatsby-benchmark-mdx): update mdx benchmark packages to… (#23206) * update mdx benchmark packages * bump willit version

view details

Nicholas Duffy

commit sha 4433621cb99ab0c20902066bfb91f8806b5fde99

Fix recipes README MDX note (#23211) * Fix recipes README MDX note * Prettier ignore recipes README line

view details

LB

commit sha a35ce7bea9b0252ba810641571594481137210cf

Gatsby Image Visualization (#23115) * Gatsby Image Visualization * first attempt at lingui * add defaults as comments instead * Revert "add defaults as comments instead" This reverts commit 8e4780b15c52442c276d1b1b128ac1c05eecccdd. * making the titles translatable Co-authored-by: Laurie Barth <laurie@LauriesrkLaptop.fios-router.home>

view details

push time in 6 days

push eventgatsbyjs/gatsby

Dustin Schau

commit sha d281e994b17e2cfb1a5e42700b4611cbe08bddd5

chore: format

view details

push time in 6 days

PR closed gatsbyjs/gatsby

add willit.build blog post topic: blogpost
+35 -0

0 comment

1 changed file

mgienow

pr closed time in 6 days

pull request commentgatsbyjs/themes

Conditional seo

👍👍👍

laurieontech

comment created time in 10 days

push eventDSchau/maggieanddustin.com

Dustin Schau

commit sha 5485463313313b86b2817dd113f32f7864243428

chore: update

view details

push time in 13 days

push eventDSchau/maggieanddustin.com

Dustin Schau

commit sha 2dfa4fbb600620fc08ddc50528c6e9b334e3d597

chore: update date

view details

push time in 13 days

startedabhiaiyer91/abhi-plugin-fastly

started time in 15 days

startedmicrosoft/fluentui

started time in 17 days

push eventDSchau/gatsby-news

Tyler Barnes

commit sha 5bd249cd92e679a66ba084fb24db416fff1c86e5

update to latest gatsby-source-wordpress-experimental (#1)

view details

push time in 19 days

PR merged DSchau/gatsby-news

update to latest gatsby-source-wordpress-experimental

Hey @DSchau ! The latest version of the source plugin restores incremental updates speed. As far as I can tell it makes Gutenberg and WooCommerce work too which is a huge plus! I'm not sure if incremental data updates for woo work but I pointed my Gatsby site at an alpha testers WP instance with wp-graphql-woocommerce installed and it fetched the data properly!

+7 -14

1 comment

2 changed files

TylerBarnes

pr closed time in 19 days

pull request commentDSchau/gatsby-news

update to latest gatsby-source-wordpress-experimental

Yessss let’s give it a shot! Thank you!

TylerBarnes

comment created time in 19 days

Pull request review commentgatsbyjs/gatsby

feat(gatsby-link,gatsby): Add support for relative links

 export function withPrefix(path) { }  export function withAssetPrefix(path) {-  return [__PATH_PREFIX__].concat([path.replace(/^\//, ``)]).join(`/`)+  return isRelativePath(path)+    ? path+    : [__PATH_PREFIX__].concat([path.replace(/^\//, ``)]).join(`/`)

🤷 are we comfortable going forward with an assumption?

ascorbic

comment created time in 19 days

Pull request review commentgatsbyjs/gatsby

feat(docs): Clarify terminology for conditional page builds

 ----title: Experimental Page Build Optimizations for Incremental Data Changes+title: Conditional Page Builds --- -Building sites with large amounts of content (10,000s nodes upwards) is relatively fast with Gatsby. However, some projects might start to experience issues when adopting CI/CD principles - continuously building and deploying. Gatsby rebuilds the complete app on each `gatsby build` which means the complete app also needs to be deployed. Doing this each time a small data change occurs unnecessarily increases demand on CPU, memory, and bandwidth.+If you have a large site, you may be able to improve build times for data updates by enabling an experimental feature called "conditional page builds". While this is not as fast as true [incremental builds](https://www.gatsbyjs.com/docs/incremental-builds/) available in Gatsby Cloud, it can save time on the HTML-generation step by not re-rendering HTML for pages with unchanged data. This feature is experimental, but may improve build times for sites with a large number of complex pages. Test it thoroughly with your site before deploying to production.
If you have a large site, you may be able to improve build times for data updates by enabling an experimental feature called "conditional page builds". While this is not as fast as true [Incremental Builds](https://www.gatsbyjs.com/docs/incremental-builds/) available in Gatsby Cloud, it can save time on the HTML-generation step by not re-rendering HTML for pages with unchanged data. This feature is experimental, but _may_ improve build times for sites with a large number of complex pages. Test it thoroughly with your site before deploying to production.
ascorbic

comment created time in 19 days

Pull request review commentgatsbyjs/gatsby

feat(docs): Clarify terminology for conditional page builds

 If there are no changed or deleted paths, then the relevant files will not be cr  ## More information -- This enhancement works by comparing the page data from the previous build to the new page data. This creates a list of page directories that are passed to the static build process.+- This feature works by comparing the page data from the previous build to the new page data. This creates a list of page directories that are passed to the static build process.  - To enable this build option you will need to set an environment variable, which requires access to do so in your build environment.  - This feature is not available with `gatsby develop`. +- You should not try to use this flag alongside incremental builds in Gatsby Cloud, as it uses a different process and may conflict with it.
- You should not try to use this flag alongside Incremental Builds in Gatsby Cloud, as it uses a different process and may conflict with it.
ascorbic

comment created time in 19 days

Pull request review commentgatsbyjs/gatsby

feat(docs): Clarify terminology for conditional page builds

 module.exports = async (program: IProgram): Promise<void> => {    if (process.env.GATSBY_EXPERIMENTAL_PAGE_BUILD_ON_DATA_CHANGES) {     report.panic(-      `The flag ${chalk.yellow(-        `GATSBY_EXPERIMENTAL_PAGE_BUILD_ON_DATA_CHANGES`-      )} is not available with ${chalk.cyan(+      `Conditional page builds are not available with ${chalk.cyan(

I actually probably would keep this as it was -- there wasn't a reference to incremental builds here?

ascorbic

comment created time in 19 days

startedfreiksenet/gatsby-graphql-pagination

started time in 19 days

Pull request review commentgatsbyjs/gatsby

feat(gatsby-link,gatsby): Add support for relative links

 export function withPrefix(path) { }  export function withAssetPrefix(path) {-  return [__PATH_PREFIX__].concat([path.replace(/^\//, ``)]).join(`/`)+  return isRelativePath(path)+    ? path+    : [__PATH_PREFIX__].concat([path.replace(/^\//, ``)]).join(`/`)

sort of but there's browser support to consider for startsWith. It's a better API (that may not have existed or been implemented broadly at the time of this code change), but I'm not convinced it's worth making the change when it's functionally the same thing and more supported.

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/startsWith

ascorbic

comment created time in 19 days

issue commentgatsbyjs/gatsby

Graphql field missing

Hi @emmadigital!

Sorry to hear you're running into an issue. To help us best begin debugging the underlying cause, it is incredibly helpful if you're able to create a minimal reproduction. This is a simplified example of the issue that makes it clear and obvious what the issue is and how we can begin to debug it.

If you're up for it, we'd very much appreciate if you could provide a minimal reproduction and we'll be able to take another look.

Thanks for using Gatsby! 💜

emmadigital

comment created time in 24 days

issue closedgatsbyjs/gatsby

Markdown pages not styled correctly

I am having trouble getting my markdown pages to render correctly. The text is appearing, but is not formatted like Markdown. It is plain html.

I tried removing all my styles to see if that was an issue and it did not work.

My repo is here

closed time in 24 days

cjdunteman

issue commentgatsbyjs/gatsby

Markdown pages not styled correctly

@cjdunteman thanks for letting us know!

I think you'll want to use gatsby-remark-prismjs to get that syntax highlighting. You can see how that works here.

Thanks for using Gatsby 💜

cjdunteman

comment created time in 24 days

push eventgatsbyjs/gatsby

Michael

commit sha 27f5aaa9c219206a190860160e08ee83591ebef3

fix(docs): add trainling slash to doc-links.yaml (#23921)

view details

push time in 24 days

PR merged gatsbyjs/gatsby

fix(docs): add trainling slash to doc-links.yaml status: triage needed

Description

changes:

  • unify all links and add trailing slash

related issues

  • #23547 feature(gatsby): Support TypeScript by default by compiling TS files
+1 -1

0 comment

1 changed file

muescha

pr closed time in 24 days

push eventgatsbyjs/gatsby

Michael

commit sha 5c56595fa064d781b182007c996d32952a2a7901

fix(docs): typescript - 404 (#23920)

view details

push time in 24 days

PR merged gatsbyjs/gatsby

fix(docs): typescript - 404

Description

changes:

  • fix 404 link

Related Issues

  • #23547 feature(gatsby): Support TypeScript by default by compiling TS files
  • #19267 Add link checker for Gatsby Docs
+1 -1

0 comment

1 changed file

muescha

pr closed time in 24 days

pull request commentgatsbyjs/gatsby

Remove micro modules

@43081j Hey! Thanks so much for this pull request, we really appreciate it (and thanks for your first PR to this repo!).

In general -- pull requests that remove dependencies (particularly those which may not have tests or end-to-end tests) are slightly challenging to review. First thing I would like to dive into more is what were you trying to improve with this pull request?

Less dependencies means less overhead and higher trust.

You mention this -- but in general, the hard part of removing dependencies is that these may have been necessary or useful in some cases. Particularly, the query-string dependency used in www may have been useful because some APIs that you swapped to, notably URLSearchParams and the entries method for arrays may not have the best browser support, which means that this could then break in older browsers.

In any scenario -- we really appreciate this pull request, but we could use a little more information and understanding as to what you were trying to accomplish before we'd want to take further action on this.

Thank you!

43081j

comment created time in 24 days

push eventDSchau/gatsby-news

Dustin Schau

commit sha ae962a610520b0e31ff943a80fc47b4fe1c9f3af

chore: add breaking news

view details

push time in a month

push eventDSchau/gatsby-news

Dustin Schau

commit sha 2696e1f8aa6936c1a5f2f75351aa520c3bad6dfc

chore: update

view details

push time in a month

push eventDSchau/gatsby-news

Dustin Schau

commit sha 77bcf1f258d1efcd46543384a14f85f9623b26e4

chore: update

view details

push time in a month

push eventDSchau/gatsby-news

Dustin Schau

commit sha e8bd3e9ebea77a70535fc706a76b736ed8e0cc42

chore: update

view details

push time in a month

push eventDSchau/gatsby-news

Dustin Schau

commit sha ced60d470cd2541a4d698fd9261c0977ed234ec7

chore: unfuck some stuff

view details

push time in a month

push eventDSchau/gatsby-news

Dustin Schau

commit sha e562a364173249f1389a7d55b0061612b7f179af

chore: updates

view details

push time in a month

push eventDSchau/gatsby-news

Dustin Schau

commit sha 0a8f839e6a4e1606ce33f60dcb0ebc210503033c

chore: fix more shit

view details

push time in a month

push eventDSchau/gatsby-news

Dustin Schau

commit sha 481f269d3dcce52664e6e5d5050d7f6a97f57c43

chore: fix bug

view details

push time in a month

push eventDSchau/gatsby-news

Dustin Schau

commit sha e926c0661539f57005d0041be4c33ac30ea5d5b1

chore: add fetch content API

view details

push time in a month

push eventDSchau/gatsby-news

Dustin Schau

commit sha 2072d5bb07ae9c58e32ed9cec2cff8de8c6d9381

chore: some fixes and features

view details

push time in a month

push eventDSchau/gatsby-news

Dustin Schau

commit sha dd1342f91cb40965ddebf8e42feafc830227ad24

chore: some fixes

view details

push time in a month

push eventDSchau/gatsby-news

Dustin Schau

commit sha 1ad021d7d310b6ef033e18b02e2c79b4160ae736

chore: fix some stuff

view details

push time in a month

startedkmcaloon/gatsby-groq

started time in a month

Pull request review commentgatsbyjs/gatsby

Gatsby Headless WordPress Recipes

+# Setup Gatsby with WordPress REST API ++This recipes setups and configures gatsby-source-wordpress and starter page templates for a WordPress-powered Gatsby site.++---++Install necessary NPM packages++<NPMPackage name="gatsby-source-wordpress" />++---++Install `gatsby-source-wordpress` to pull the WordPress data into Gatsby. Note, once this recipe finishes, you will need to update the config to point to your actual WordPress URL+++<GatsbyPlugin name="gatsby-source-wordpress" options={{+  baseUrl: `cms.learnjam.org`,+  protocol: `https`,+  hostingWPCOM: false,+  useACF: true,+  includedRoutes: [+      "**/posts",+      "**/pages",+      "**/users",+      "**/categories",+      "**/tags",+  ]+}} />++---++Create a local Gatsby plugin to create pages for the WordPress data

Ah -- the challenges of editing a file that could/likely does exist. Scratch this -- makes sense!

crock

comment created time in a month

Pull request review commentgatsbyjs/gatsby

Gatsby Headless WordPress Recipes

+# Setup Gatsby with WordPress REST API ++This recipes setups and configures gatsby-source-wordpress and starter page templates for a WordPress-powered Gatsby site.++---++Install necessary NPM packages++<NPMPackage name="gatsby-source-wordpress" />++---++Install `gatsby-source-wordpress` to pull the WordPress data into Gatsby. Note, once this recipe finishes, you will need to update the config to point to your actual WordPress URL+++<GatsbyPlugin name="gatsby-source-wordpress" options={{+  baseUrl: `cms.learnjam.org`,+  protocol: `https`,+  hostingWPCOM: false,+  useACF: true,+  includedRoutes: [+      "**/posts",+      "**/pages",+      "**/users",+      "**/categories",+      "**/tags",+  ]+}} />++---++Create a local Gatsby plugin to create pages for the WordPress data

Is this the best mechanism for this? I'd imagine editing gatsby-node.js is likely a bit easier and cleaner?

crock

comment created time in a month

startedwalaura/watermelon-pizza

started time in a month

issue commentwp-graphql/wp-graphql

Add featuredImage field to Post mutation

@jasonbahl that was gonna be my fallback -- good to know. Thank you!

hughdevore

comment created time in a month

push eventDSchau/gatsby-news

Dustin Schau

commit sha 7428938cf08f9d6a824faac3ef9bdb4264d0e363

chore: tweaks

view details

Dustin Schau

commit sha ccfd498dd5d745df3cce722adeb0ac4aa2616aea

chore: fix some things

view details

push time in a month

issue commentwp-graphql/wp-graphql

Add featuredImage field to Post mutation

Just to chime in on this -- it's currently impossible to set a featured image on a post with WPGraphQL entirely, correct? Is there a workaround in lieu of this feature continuing to be worked upon?

hughdevore

comment created time in a month

startedwp-graphql/wp-graphiql

started time in a month

push eventDSchau/unified-routes

Dustin Schau

commit sha 180cd03b21ba7cf4d7e7d741048ed7d5a83cf714

chore: fix build

view details

push time in a month

MemberEvent

create barnchDSchau/client-only-paths

branch : master

created branch time in a month

created repositoryDSchau/client-only-paths

created time in a month

push eventDSchau/unified-routes

Dustin Schau

commit sha d25c329c5b3653db4c9943069275d2e256d12f29

chore: fix weird bug with build

view details

push time in a month

push eventDSchau/unified-routes

Dustin Schau

commit sha 383e45d62240d06821c1e0c6d89429250ab99f49

chore: add client-only routes

view details

push time in a month

push eventDSchau/unified-routes

Dustin Schau

commit sha 3791fd9571d1cdd5056a20cd622259105a3ecaaf

chore: update

view details

push time in a month

create barnchDSchau/unified-routes

branch : master

created branch time in a month

created repositoryDSchau/unified-routes

created time in a month

create barnchDSchau/gatsby-news

branch : unified-routes

created branch time in a month

push eventgatsbyjs/gatsby

Dustin Schau

commit sha 874088c3a7e58f74b4538d95d77069c1c1cb9267

chore: pin version of gatsby-plugin-mdx (#23615)

view details

push time in a month

delete branch DSchau/gatsby

delete branch : www/pin-plugin-mdx

delete time in a month

PR merged gatsbyjs/gatsby

chore: pin version of gatsby-plugin-mdx

Description

Pins version of gatsby-plugin-mdx to avoid OOMing issues caused by generating HTML for timeToRead.

"Fixes" #23614, but temporarily until we fix the underlying issue.

Related Issues

Relates to #23614

+1 -1

1 comment

1 changed file

DSchau

pr closed time in a month

PR opened gatsbyjs/gatsby

chore: pin version of gatsby-plugin-mdx

Description

Pins version of gatsby-plugin-mdx to avoid OOMing issues caused by generating HTML for timeToRead.

"Fixes" #23614, but temporarily until we fix the underlying issue.

Related Issues

Relates to #23614

+1 -1

0 comment

1 changed file

pr created time in a month

create barnchDSchau/gatsby

branch : www/pin-plugin-mdx

created branch time in a month

issue openedgatsbyjs/gatsby

[bug] gatsby-plugin-mdx timeToRead drastically increases memory usage

Description

A recent change to gatsby-plugin-mdx adds HTML generation to the timeToRead slug, which I believe is causing pretty severe issues with increasing build time (potentially causing OOM issues in some environments).

Steps to reproduce

  1. Use gatsbyjs.org (www/ in this example) and build; you may hit OOM, and you'll definitely see warnings a la
    Query takes too long: File path: /usr/src/app/www/www/src/templates/template-blog-post.js URL path: /blog/2020-04-29-incredimental-builds/ Context: { "slug": "/blog/2020-04-29-incredimental-builds/", "prev": { "title": "2 Months and 2x Performance: Codebrahma accelerates Serverless.com with Gatsby", "link": "/blog/2020-04-27-building-Serverless-site-faster-with-Gatsby/" }, "next": null }
    
  2. Pin the version of gatsby-plugin-mdx to 1.1.11 (I'm not exactly sure which version, the CHANGELOG is not as helpful as I would've thought -> https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby-plugin-mdx/CHANGELOG.md) and build.
  3. No errors / no OOM / etc.

Expected result

It should not OOM.

Actual result

It did.

Related Issues

#19763

created time in a month

issue commentgatsbyjs/gatsby

umlaut in siteurl crashes gatsby

Here's a reproduction.

Are umlauts and these types of special characters even possible in the URL specification? Did some preliminary digging here -- but surfaced this StackOverflow article which may be illustrative.

In any scenario -- this does seem like a bug that should be fixed, but given the above, it may be better to surface an error message (?) alerting the user while also fixing the bug.

@ksjogo what are your thoughts? What's the exact URL that you'd want to express here?

ksjogo

comment created time in a month

create barnchDSchau/umlaut-issue-23468

branch : master

created branch time in a month

created repositoryDSchau/umlaut-issue-23468

created time in a month

push eventgatsbyjs/gatsby

Chris Opperwall

commit sha 8adc7c72ea53e7d4db4be8057359bb7416d9f675

chore(www): Prevent default click behavior on Link mock (#23400)

view details

push time in a month

delete branch gatsbyjs/gatsby

delete branch : silence-jsdom-navigation-console-errors

delete time in a month

PR merged gatsbyjs/gatsby

Reviewers
chore(www): Prevent default click behavior on Link mock

Description

<!-- Write a brief description of the changes introduced by this PR --> When window.location is updated due to a click event on an a tag with an href attribute, jsdom was logging an error to the console even though the tests were passing.

This wraps the onClick prop passed to the Link mock in a function that prevents the default behavior of the click, so that we can test the onClick callback's behavior without triggering an update to window.location.

Documentation

Just test maintenance, no doc updates.

Test Output

There's still a warning about using componentWillMount, but I think that's coming from react-side-effect, which is pulled in by react-helmet. react-helmet was updated to a new major version a few weeks ago that pulls in a new version of react-side-effect which shouldn't have that deprecation warning anymore. I can try pulling in that update too, but I wasn't sure if that was too out of scope for this.

yarn run v1.21.0
$ jest
 PASS  src/components/__tests__/copy.js
 PASS  src/components/code-block/__tests__/index.js
 PASS  src/components/__tests__/banner.js
 PASS  src/components/events/__tests__/event-list.js
 PASS  src/components/__tests__/stub-list.js
 PASS  src/components/__tests__/mdx-link.js
 PASS  src/components/code-block/__tests__/normalize.js
 PASS  src/utils/__tests__/i18n.js
 PASS  src/utils/__tests__/get-csv-features-data.js
 PASS  src/components/__tests__/table-of-contents.js
 PASS  src/utils/__tests__/copy-to-clipboard.js
 PASS  src/components/__tests__/button.js
 PASS  src/templates/__tests__/template-starter-page.js (5.014s)
  ● Console

    console.warn
      Warning: componentWillMount has been renamed, and is not recommended for use. See https://fb.me/react-unsafe-component
-lifecycles for details.
      
      * Move code with side effects to componentDidMount, and set initial state in the constructor.
      * Rename componentWillMount to UNSAFE_componentWillMount to suppress this warning in non-strict mode. In React 17.x, o
nly the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run `npx react-codemod renam
e-unsafe-lifecycles` in your project source folder.
      
      Please update the following components: SideEffect(NullComponent)

      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:88:30)
      at warn (node_modules/react-dom/cjs/react-dom.development.js:51:5)
      at Object.<anonymous>.ReactStrictModeWarnings.flushPendingUnsafeLifecycleWarnings (node_modules/react-dom/cjs/react-dom.development.js:11371:7)
      at flushRenderPhaseStrictModeWarningsInDEV (node_modules/react-dom/cjs/react-dom.development.js:23112:31)
      at commitRootImpl (node_modules/react-dom/cjs/react-dom.development.js:22396:3)
      at unstable_runWithPriority (node_modules/react-dom/node_modules/scheduler/cjs/scheduler.development.js:653:12)
      at runWithPriority$1 (node_modules/react-dom/cjs/react-dom.development.js:11039:10)
      at commitRoot (node_modules/react-dom/cjs/react-dom.development.js:22381:3)

 PASS  src/components/sidebar/__tests__/sidebar.js (5.227s)

Test Suites: 14 passed, 14 total
Tests:       2 skipped, 62 passed, 64 total
Snapshots:   0 total
Time:        6.851s
Ran all test suites.
✨  Done in 9.61s.

Related Issues

Fixes #23326

+12 -4

0 comment

1 changed file

copperwall

pr closed time in a month

issue closedgatsbyjs/gatsby

maintenance(www): unit tests: "Not implemented: navigation (except hash changes)"

Description

The following message prints out several times when running tests on www:

Error: Not implemented: navigation (except hash changes)
          at module.exports (/Users/tesseralis/Code/gatsby/www/node_modules/jsdom/lib/jsdom/browser/not-implemented.js:9:17)
          at navigateFetch (/Users/tesseralis/Code/gatsby/www/node_modules/jsdom/lib/jsdom/living/window/navigation.js:77:3)
          at exports.navigate (/Users/tesseralis/Code/gatsby/www/node_modules/jsdom/lib/jsdom/living/window/navigation.js:55:3)
          at Timeout._onTimeout (/Users/tesseralis/Code/gatsby/www/node_modules/jsdom/lib/jsdom/living/nodes/HTMLHyperlinkElementUtils-impl.js:81:7)
          at listOnTimeout (internal/timers.js:549:17)
          at processTimers (internal/timers.js:492:7) undefined

The tests still pass, but this pollutes the logs and makes it hard to differentiate between actual errors.

Context

This seems to be an issue with JSDOM, as it doesn't implement navigation. There are several solutions proposed in the thread, but since (I'm assuming) the cause of the error is Gatsby's Link (which is a rapper on Reach Router), I'm not sure the best way to fix it.

Repro

  1. cd www
  2. yarn test

closed time in a month

tesseralis

Pull request review commentgatsbyjs/gatsby

feature(gatsby): Support TypeScript by default by compiling TS files

 const loadPlugins = (config = {}, rootDir = null) => {     }   } +  // TypeScript support by default! use the user-provided one if it exists+  const typescriptPlugin = (config.plugins || []).find(+    plugin =>+      plugin.resolve === `gatsby-plugin-typescript` ||+      plugin === `gatsby-plugin-typescript`

Ah -- yeah, aren't these always merged into this shape even if we're starting with a string? Good point.

blainekasten

comment created time in a month

CommitCommentEvent
CommitCommentEvent
CommitCommentEvent

PR opened DSchau/netlify-example

chore: update pr
+1 -1

0 comment

1 changed file

pr created time in a month

create barnchDSchau/netlify-example

branch : pr-example

created branch time in a month

more