From 6c3e0f5c2ea4da06c0f2cf5e7be2dd94729ba6b7 Mon Sep 17 00:00:00 2001 From: Michal Piechowiak Date: Tue, 15 Mar 2022 11:57:54 +0100 Subject: [PATCH 1/6] initial --- .../reference/release-notes/v4.10/index.md | 46 +++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 docs/docs/reference/release-notes/v4.10/index.md diff --git a/docs/docs/reference/release-notes/v4.10/index.md b/docs/docs/reference/release-notes/v4.10/index.md new file mode 100644 index 0000000000000..2264c09564b5e --- /dev/null +++ b/docs/docs/reference/release-notes/v4.10/index.md @@ -0,0 +1,46 @@ +--- +date: "2022-03-15" +version: "4.10.0" +title: "v4.10 Release Notes" +--- + +Welcome to `gatsby@4.10.0` release (March 2022 #2) + +Key highlights of this release: + +- [Image CDN](#image-cdn) + +Also check out [notable bugfixes](#notable-bugfixes--improvements). + +**Bleeding Edge:** Want to try new features as soon as possible? Install `gatsby@next` and let us know +if you have any [issues](https://github.com/gatsbyjs/gatsby/issues). + +[Previous release notes](/docs/reference/release-notes/v4.9) + +[Full changelog][full-changelog] + +--- + +## Image CDN + +todo + +https://github.com/gatsbyjs/gatsby/pull/34825 +https://github.com/gatsbyjs/gatsby/pull/34832 +https://github.com/gatsbyjs/gatsby/pull/34831 + +## Notable bugfixes & improvements + +- `gatsby` + - Fixed incorrect "inconsistent node counters" errors, via [PR #35025](https://github.com/gatsbyjs/gatsby/pull/35025) + - Don't write out page-data file if query rerun but result didn't change, via [PR #34925](https://github.com/gatsbyjs/gatsby/pull/34925) +- `gatsby-plugin-sharp` + - Fix generating multiple similar images with different `duotone` settings, via [PR #35075](https://github.com/gatsbyjs/gatsby/pull/35075) + +## Contributors + +A big **Thank You** to [our community who contributed][full-changelog] to this release 💜 + +todo + +[full-changelog]: https://github.com/gatsbyjs/gatsby/compare/gatsby@4.10.0-next.0...gatsby@4.10.0 From f5391850e4760e292e150b9ca9be648748b8c4cb Mon Sep 17 00:00:00 2001 From: Michal Piechowiak Date: Tue, 15 Mar 2022 17:16:36 +0100 Subject: [PATCH 2/6] add more notable fixes & improvements --- docs/docs/reference/release-notes/v4.10/index.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/docs/reference/release-notes/v4.10/index.md b/docs/docs/reference/release-notes/v4.10/index.md index 2264c09564b5e..c5780607c85ae 100644 --- a/docs/docs/reference/release-notes/v4.10/index.md +++ b/docs/docs/reference/release-notes/v4.10/index.md @@ -32,9 +32,12 @@ https://github.com/gatsbyjs/gatsby/pull/34831 ## Notable bugfixes & improvements - `gatsby` - - Fixed incorrect "inconsistent node counters" errors, via [PR #35025](https://github.com/gatsbyjs/gatsby/pull/35025) + - Fix handling of encoded query params, via [PR #34816](https://github.com/gatsbyjs/gatsby/pull/34816) + - Fix incorrect "inconsistent node counters" errors, via [PR #35025](https://github.com/gatsbyjs/gatsby/pull/35025) + - Use `gatsby-config.ts` file when creating new Gatsby project with TypeScript, via [PR #35128](https://github.com/gatsbyjs/gatsby/pull/35128) - Don't write out page-data file if query rerun but result didn't change, via [PR #34925](https://github.com/gatsbyjs/gatsby/pull/34925) - `gatsby-plugin-sharp` + - Fix MaxListenersExceededWarning messages, via [PR #35009](https://github.com/gatsbyjs/gatsby/pull/35009) - Fix generating multiple similar images with different `duotone` settings, via [PR #35075](https://github.com/gatsbyjs/gatsby/pull/35075) ## Contributors From a4cc5df92d9e930c2a6f2c519785310b2d4294f9 Mon Sep 17 00:00:00 2001 From: Ward Peeters Date: Tue, 15 Mar 2022 21:02:31 +0100 Subject: [PATCH 3/6] Update index.md --- docs/docs/reference/release-notes/v4.10/index.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/docs/docs/reference/release-notes/v4.10/index.md b/docs/docs/reference/release-notes/v4.10/index.md index c5780607c85ae..ae10f7e844a47 100644 --- a/docs/docs/reference/release-notes/v4.10/index.md +++ b/docs/docs/reference/release-notes/v4.10/index.md @@ -23,11 +23,9 @@ if you have any [issues](https://github.com/gatsbyjs/gatsby/issues). ## Image CDN -todo +Free your site from slow images forever. With the new Image CDN, we've added better support for remote files and images when building source plugins. Currenlty, WordPress & Contentful are using the new `RemoteFile` GraphQL interface to enable the new `GatsbyImage` resolver. The new resolver downloads images on demand and processes them during the build. Reducing build times and optimizing the user experience. What if we could remove image processing as a whole during the build step? Today with Image CDN on Gatsby Cloud, we defer all image processing at the edge, getting even faster builds! -https://github.com/gatsbyjs/gatsby/pull/34825 -https://github.com/gatsbyjs/gatsby/pull/34832 -https://github.com/gatsbyjs/gatsby/pull/34831 +Checkout our [Enabling Image CDN support Guide](https://www.gatsbyjs.com/docs/how-to/plugins-and-themes/creating-a-source-plugin/#enabling-image-cdn-support) and [Blog Post](https://www.gatsbyjs.com/blog/image-cdn-lightning-fast-image-processing-for-gatsby-cloud) ## Notable bugfixes & improvements From dbfaf5044c7b2e545547141860cebfac4e692ebc Mon Sep 17 00:00:00 2001 From: Lennart Date: Wed, 16 Mar 2022 09:19:24 +0100 Subject: [PATCH 4/6] Update index.md --- .../reference/release-notes/v4.10/index.md | 29 +++++++++++++++++-- 1 file changed, 26 insertions(+), 3 deletions(-) diff --git a/docs/docs/reference/release-notes/v4.10/index.md b/docs/docs/reference/release-notes/v4.10/index.md index ae10f7e844a47..2ab4fef90287b 100644 --- a/docs/docs/reference/release-notes/v4.10/index.md +++ b/docs/docs/reference/release-notes/v4.10/index.md @@ -23,9 +23,32 @@ if you have any [issues](https://github.com/gatsbyjs/gatsby/issues). ## Image CDN -Free your site from slow images forever. With the new Image CDN, we've added better support for remote files and images when building source plugins. Currenlty, WordPress & Contentful are using the new `RemoteFile` GraphQL interface to enable the new `GatsbyImage` resolver. The new resolver downloads images on demand and processes them during the build. Reducing build times and optimizing the user experience. What if we could remove image processing as a whole during the build step? Today with Image CDN on Gatsby Cloud, we defer all image processing at the edge, getting even faster builds! +Free your site from slow images forever. With the new Image CDN, we've added better support for remote files and images when building source plugins. The source plugins for WordPress & Contentful are already using the new `RemoteFile` GraphQL interface to enable the new `GatsbyImage` resolver (so you can try it out today). Other popular CMS and support for local files will follow. The new `GatsbyImage` resolver downloads images on demand and processes them during the build. This results in reduced build times and better user experience. You can even remove image processing as a whole during the build step! With Image CDN on Gatsby Cloud, we defer all image processing at the edge, getting even faster builds! -Checkout our [Enabling Image CDN support Guide](https://www.gatsbyjs.com/docs/how-to/plugins-and-themes/creating-a-source-plugin/#enabling-image-cdn-support) and [Blog Post](https://www.gatsbyjs.com/blog/image-cdn-lightning-fast-image-processing-for-gatsby-cloud) +If you're a source plugin author or written your custom source plugin, check out the [enabling Image CDN support guide](/docs/how-to/plugins-and-themes/creating-a-source-plugin/#enabling-image-cdn-support). You can also read the announcement blogpost [Image CDN: Lightning Fast Image Processing for Gatsby Cloud](/blog/image-cdn-lightning-fast-image-processing-for-gatsby-cloud/) to learn more. + +Here's how you can use it in your queries: + +```graphql +query { + speakerPage { + socialImage { + gatsbyImage(layout: FIXED, width: 440) + } + image { + gatsbyImage(layout: CONSTRAINED, width: 280, height: 280) + } + } +} +``` + +So `gatsbyImage` replaces `gatsbyImageData` that you know from `gatsby-plugin-image` already. Feature parity for its arguments is not 100%, but the most common operations behave the same. Read [How to enable Image CDN](https://support.gatsbyjs.com/hc/en-us/articles/4426393233171) to start using Image CDN today. + +Once Image CDN is enabled, images will be served from a relative URL similar to this: + +``` +/_gatsby/image///. +``` ## Notable bugfixes & improvements @@ -35,7 +58,7 @@ Checkout our [Enabling Image CDN support Guide](https://www.gatsbyjs.com/docs/ho - Use `gatsby-config.ts` file when creating new Gatsby project with TypeScript, via [PR #35128](https://github.com/gatsbyjs/gatsby/pull/35128) - Don't write out page-data file if query rerun but result didn't change, via [PR #34925](https://github.com/gatsbyjs/gatsby/pull/34925) - `gatsby-plugin-sharp` - - Fix MaxListenersExceededWarning messages, via [PR #35009](https://github.com/gatsbyjs/gatsby/pull/35009) + - Fix `MaxListenersExceededWarning` messages, via [PR #35009](https://github.com/gatsbyjs/gatsby/pull/35009) - Fix generating multiple similar images with different `duotone` settings, via [PR #35075](https://github.com/gatsbyjs/gatsby/pull/35075) ## Contributors From 4c50c2b88bd180183f0d79c5599cc8da0cd09797 Mon Sep 17 00:00:00 2001 From: Lennart Date: Wed, 16 Mar 2022 16:22:56 +0100 Subject: [PATCH 5/6] Update index.md --- docs/docs/reference/release-notes/v4.10/index.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/docs/reference/release-notes/v4.10/index.md b/docs/docs/reference/release-notes/v4.10/index.md index 2ab4fef90287b..84b01c781fe49 100644 --- a/docs/docs/reference/release-notes/v4.10/index.md +++ b/docs/docs/reference/release-notes/v4.10/index.md @@ -25,6 +25,8 @@ if you have any [issues](https://github.com/gatsbyjs/gatsby/issues). Free your site from slow images forever. With the new Image CDN, we've added better support for remote files and images when building source plugins. The source plugins for WordPress & Contentful are already using the new `RemoteFile` GraphQL interface to enable the new `GatsbyImage` resolver (so you can try it out today). Other popular CMS and support for local files will follow. The new `GatsbyImage` resolver downloads images on demand and processes them during the build. This results in reduced build times and better user experience. You can even remove image processing as a whole during the build step! With Image CDN on Gatsby Cloud, we defer all image processing at the edge, getting even faster builds! +If you have feedback, please post it to the [umbrella discussion](https://github.com/gatsbyjs/gatsby/discussions/35147). Thanks! + If you're a source plugin author or written your custom source plugin, check out the [enabling Image CDN support guide](/docs/how-to/plugins-and-themes/creating-a-source-plugin/#enabling-image-cdn-support). You can also read the announcement blogpost [Image CDN: Lightning Fast Image Processing for Gatsby Cloud](/blog/image-cdn-lightning-fast-image-processing-for-gatsby-cloud/) to learn more. Here's how you can use it in your queries: From 1706e0137b50dedea0f85b429cc593345bd8d197 Mon Sep 17 00:00:00 2001 From: Michal Piechowiak Date: Wed, 16 Mar 2022 19:36:13 +0100 Subject: [PATCH 6/6] add contributors section --- .../reference/release-notes/v4.10/index.md | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/docs/docs/reference/release-notes/v4.10/index.md b/docs/docs/reference/release-notes/v4.10/index.md index 84b01c781fe49..07d82a4a5de80 100644 --- a/docs/docs/reference/release-notes/v4.10/index.md +++ b/docs/docs/reference/release-notes/v4.10/index.md @@ -67,6 +67,23 @@ Once Image CDN is enabled, images will be served from a relative URL similar to A big **Thank You** to [our community who contributed][full-changelog] to this release 💜 -todo +- [njbmartin](https://github.com/njbmartin): chore(docs): typo in typescript documentation [PR #35040](https://github.com/gatsbyjs/gatsby/pull/35040) +- [baranbbr](https://github.com/baranbbr): chore(docs): Conditionally sourcing files using environment variables [PR #35056](https://github.com/gatsbyjs/gatsby/pull/35056) +- [hasthamalp](https://github.com/hasthamalp): chore(docs): Update query-execution.md [PR #35115](https://github.com/gatsbyjs/gatsby/pull/35115) +- [tcoopman](https://github.com/tcoopman): fix(gatsby): null check for context [PR #35096](https://github.com/gatsbyjs/gatsby/pull/35096) +- [Dusch4593](https://github.com/Dusch4593): chore(docs): Revising scope of `wrapPageElement()` and `wrapRootElement()` [PR #35057](https://github.com/gatsbyjs/gatsby/pull/35057) +- [mckelveygreg](https://github.com/mckelveygreg): chore(gatsby): add generic to GatsbyFunctionRequest [PR #35029](https://github.com/gatsbyjs/gatsby/pull/35029) +- [benackles](https://github.com/benackles): chore(docs): Fix broken link [PR #35071](https://github.com/gatsbyjs/gatsby/pull/35071) +- [tianheg](https://github.com/tianheg): chore(docs): Fix link to TS doc in tutorial [PR #35014](https://github.com/gatsbyjs/gatsby/pull/35014) +- [reviewher](https://github.com/reviewher): fix(gatsby-transformer-excel): Use `readFile` Buffer [PR #35050](https://github.com/gatsbyjs/gatsby/pull/35050) +- [jonohewitt](https://github.com/jonohewitt): fix(gatsby-plugin-sharp): Upgrade `probe-image-size` to fix memory leak warning [PR #35009](https://github.com/gatsbyjs/gatsby/pull/35009) +- [cheru-dev](https://github.com/cheru-dev): chore(docs): Fix typos [PR #35119](https://github.com/gatsbyjs/gatsby/pull/35119) +- [josephjosedev](https://github.com/josephjosedev) + - chore(docs): Update query-extraction link to relay [PR #35045](https://github.com/gatsbyjs/gatsby/pull/35045) + - chore(docs): Update query-extraction.md to point to TS file instead of old JS [PR #35067](https://github.com/gatsbyjs/gatsby/pull/35067) + - docs(gatsby): Update `query-watcher` to reference TS file [PR #35100](https://github.com/gatsbyjs/gatsby/pull/35100) +- [keevan](https://github.com/keevan): docs(gh-pages): improve separate repository instructions [PR #35118](https://github.com/gatsbyjs/gatsby/pull/35118) +- [adambaratz](https://github.com/adambaratz): fix(gatsby): Misspelled cacheIdentifier key [PR #35070](https://github.com/gatsbyjs/gatsby/pull/35070) +- [natalyjazzviolin](https://github.com/natalyjazzviolin): chore(docs): Update migration guide to add more info about image resolvers [PR #35105](https://github.com/gatsbyjs/gatsby/pull/35105) [full-changelog]: https://github.com/gatsbyjs/gatsby/compare/gatsby@4.10.0-next.0...gatsby@4.10.0