diff --git a/docs/docs/glossary/mdx.md b/docs/docs/glossary/mdx.md index 15d3984c5e289..72dd7480df6cf 100644 --- a/docs/docs/glossary/mdx.md +++ b/docs/docs/glossary/mdx.md @@ -38,7 +38,7 @@ export const Figure = props => { Now you can import this component into your Markdown document. ```markdown -import { Figure } from './components/Figure'; +import { Figure } from "./components/Figure" # Hello world! diff --git a/docs/docs/glossary/server-side-rendering.md b/docs/docs/glossary/server-side-rendering.md index abd479032702b..7fd222c10d7a5 100644 --- a/docs/docs/glossary/server-side-rendering.md +++ b/docs/docs/glossary/server-side-rendering.md @@ -44,6 +44,6 @@ Instead of purely server-side rendering, Gatsby uses the same APIs to create sta - [Why server-side render?](/blog/2019-04-02-behind-the-scenes-what-makes-gatsby-great/#why-server-side-render) from _Behind the Scenes: What makes Gatsby Great_ -- [Search Engine Optimization (SEO) and Social Sharing Cards with Gatsby](/tutorial/seo-and-social-sharing-cards-tutorial/#reach-skip-nav) +- [Adding an SEO Component](/docs/how-to/adding-common-features/adding-seo-component/) - [What is a Static Site Generator?](/docs/glossary/static-site-generator/#what-is-a-static-site-generator) from the Gatsby docs diff --git a/docs/docs/how-to/images-and-media/using-gatsby-plugin-image.md b/docs/docs/how-to/images-and-media/using-gatsby-plugin-image.md index ba436f4b6524e..128162dd90aa7 100644 --- a/docs/docs/how-to/images-and-media/using-gatsby-plugin-image.md +++ b/docs/docs/how-to/images-and-media/using-gatsby-plugin-image.md @@ -233,11 +233,21 @@ module.exports = { ## Using images from a CMS or CDN -Many source plugins have native support for `gatsby-plugin-image`, with images served directly from a content delivery network (CDN). This means that builds are faster, because there is no need to download images and process them locally. The query syntax varies according to the plugin, as do the supported transformation features and image formats. Make sure you update to the latest version of the source plugin to ensure there is support. For plugins that are not in this list you can use [dynamic images from `gatsby-transformer-sharp`](#dynamic-images). +### Gatsby Cloud Image CDN -### Source plugins +Image CDN is Gatsby Clouds image hosting and transformation service. It speeds up your build times by deferring image downloading and processing until the first user requests an image. Image CDN also speeds up your frontend performance by serving CDN hosted images on the same domain as your Gatsby Cloud site. In our testing this can shave up to 300ms off of frontend page load times and as a result improve your lighthouse scores. -These source plugins support using `gatsby-plugin-image` with images served from their CDN. +For more information on what Image CDN is, how to use it, and what the platform limits are, visit the [Gatsby Cloud knowledge base article on "What Is Image CDN?"](https://support.gatsbyjs.com/hc/en-us/articles/4426379634835-What-is-Image-CDN-). To learn which source plugins currently support it and how to enable and use Image CDN on Gatsby Cloud take a look at the ["How-to Enable Image CDN" article](https://support.gatsbyjs.com/hc/en-us/articles/4426393233171). + +For all supported source plugins, the query syntax and feature-set is identical. Check your source plugin's documentation or the [Gatsby Cloud knowledge base article on "Configuring source plugins for Image CDN"](https://support.gatsbyjs.com/hc/en-us/articles/4522338898579-Configuring-Source-Plugins-for-Image-CDN) for more info. + +### Source plugins with their own CDN + +Many source plugins have native support for `gatsby-plugin-image`, with images served directly from that CMS's content delivery network (CDN). This means that builds are faster than local images because there is no need to download images and process them. While this is faster for builds, it isn't as performant on the frontend as [Gatsby Cloud's Image CDN](#gatsby-cloud-image-cdn) due to images being served from a different domain than the domain your site is hosted on. + +The query syntax varies according to the plugin, as do the supported transformation features and image formats. Make sure you update to the latest version of the source plugin to ensure there is support. For plugins that are not in this list you can use [dynamic images from `gatsby-transformer-sharp`](#dynamic-images). + +These source plugins support using `gatsby-plugin-image` with images served from their own CDN. - [AgilityCMS](https://github.com/agility/gatsby-image-agilitycms) - [Contentful](/plugins/gatsby-source-contentful/#using-the-new-gatsby-image-plugin) @@ -247,12 +257,6 @@ These source plugins support using `gatsby-plugin-image` with images served from - [Sanity](/plugins/gatsby-source-sanity/#using-images) - [Shopify](https://github.com/gatsbyjs/gatsby-source-shopify-experimental#images) -### Image CDNs - -A dedicated image CDN can be used with sources that don't have their own CDN, or where you need more transforms or formats than the CDN offers. - -- [imgix](/plugins/@imgix/gatsby/) - ### Plugin authors If you maintain a source plugin or image CDN, there is a toolkit to help you add support for `gatsby-plugin-image`. See [Adding Gatsby Image support to your plugin](/docs/how-to/plugins-and-themes/adding-gatsby-image-support/) for more details. You can then open a PR to add your plugin to this list. diff --git a/docs/docs/how-to/local-development/graphql-typegen.md b/docs/docs/how-to/local-development/graphql-typegen.md index 1a48bd7233d38..765db00efd8de 100644 --- a/docs/docs/how-to/local-development/graphql-typegen.md +++ b/docs/docs/how-to/local-development/graphql-typegen.md @@ -9,7 +9,7 @@ examples: If you're already using [Gatsby with TypeScript](/docs/how-to/custom-configuration/typescript) and manually typing the results of your queries, you'll learn in this guide how Gatsby's automatic GraphQL Typegen feature can make your life easier. By relying on the types that are generated by Gatsby itself and using autocompletion for GraphQL queries in your IDE you'll be able to write GraphQL queries quicker and safer. -This feature was added in `gatsby@4.15.0`. +This feature was added in `gatsby@4.15.0`. By default, this feature is only generating files during `gatsby develop`. ## Prerequisites @@ -105,6 +105,54 @@ export const createSchemaCustomization: GatsbyNode["createSchemaCustomization"] Read the [Customizing the GraphQL schema guide](/docs/reference/graphql-data-layer/schema-customization/) to learn how to explicitly define types in your site or source plugin. +### GraphQL fragments + +Fragments allow you to reuse parts of GraphQL queries throughout your site and collocate specific parts of a query to individual files. Learn more about it in the [Using GraphQL fragments guide](/docs/reference/graphql-data-layer/using-graphql-fragments/). + +In the context of GraphQL Typegen fragments enable you to have individual TypeScript types for nested parts of your queries since each fragment will be its own TypeScript type. You then can use these types to e.g. type arguments of components consuming the GraphQL data. + +Here's an example (also used in [using-graphql-typegen](https://github.com/gatsbyjs/gatsby/tree/master/examples/using-graphql-typegen)) with a `Info` component that gets the `buildTime` as an argument. This `Info` component and its `SiteInformation` fragment is used in the `src/pages/index.tsx` file then: + +```tsx:title=src/components/info.tsx +import * as React from "react" +import { graphql } from "gatsby" + +// highlight-next-line +const Info = ({ buildTime }: { buildTime?: any }) => { + return ( +

+ Build time: {buildTime} +

+ ) +} + +export default Info + +// highlight-start +export const query = graphql` + fragment SiteInformation on Site { + buildTime + } +` +// highlight-end +``` + +```graphql:title=src/pages/index.tsx +# Rest of the page above... + +query IndexPage { + site { + ...SiteInformation + } +} +``` + +This way a `SiteInformationFragment` TypeScript type will be created that you can use in the `Info` component: + +```tsx:title=src/components/info.tsx +const Info = ({ buildTime }: { buildTime?: Queries.SiteInformationFragment["buildTime"] }) => {} +``` + ### Tips - When adding a new key to your GraphQL query you'll need to save the file before new TypeScript types are generated. The autogenerated files are only updated on file saves. diff --git a/docs/docs/how-to/plugins-and-themes/configuring-usage-with-plugin-options.md b/docs/docs/how-to/plugins-and-themes/configuring-usage-with-plugin-options.md index 79b065e351575..af67181ce09e1 100644 --- a/docs/docs/how-to/plugins-and-themes/configuring-usage-with-plugin-options.md +++ b/docs/docs/how-to/plugins-and-themes/configuring-usage-with-plugin-options.md @@ -48,12 +48,12 @@ Any JavaScript data type can be passed in as an option. The following table lists possible options values and an example plugin that makes use of them. -| Data Type | Sample Value | Example Plugin | -| --------- | -------------------------------- | ---------------------------------------------------------------- | -| Boolean | `true` | [`gatsby-plugin-sharp`](/plugins/gatsby-plugin-sharp/) | -| String | `/src/data/` | [`gatsby-source-filesystem`](/plugins/gatsby-source-filesystem/) | -| Array | `["/about-us/", "/projects/*"]` | [`gatsby-plugin-offline`](/plugins/gatsby-plugin-offline/) | -| Object | `{ default: "./src/layout.js" }` | [`gatsby-plugin-mdx`](/plugins/gatsby-plugin-mdx/) | +| Data Type | Sample Value | Example Plugin | +| --------- | ------------------------------- | ---------------------------------------------------------------- | +| Boolean | `true` | [`gatsby-plugin-sharp`](/plugins/gatsby-plugin-sharp/) | +| String | `/src/data/` | [`gatsby-source-filesystem`](/plugins/gatsby-source-filesystem/) | +| Array | `["/about-us/", "/projects/*"]` | [`gatsby-plugin-offline`](/plugins/gatsby-plugin-offline/) | +| Object | `{ mdxOptions: {} }` | [`gatsby-plugin-mdx`](/plugins/gatsby-plugin-mdx/) | **Note**: Themes (which are a type of plugin) are able to receive options from a site's `gatsby-config.js` to be used in its `gatsby-config.js` in order to allow themes to be composed together. This is done by exporting the `gatsby-config.js` as a function instead of an object. You can see an example of this in the [`gatsby-theme-blog`](https://github.com/gatsbyjs/themes/tree/master/packages/gatsby-theme-blog) and [`gatsby-theme-blog-core`](https://github.com/gatsbyjs/themes/tree/master/packages/gatsby-theme-blog-core) repositories. Plugins are not capable of this functionality. diff --git a/docs/docs/how-to/plugins-and-themes/using-a-plugin-in-your-site.md b/docs/docs/how-to/plugins-and-themes/using-a-plugin-in-your-site.md index 1848ebb51661c..e082dd4f11901 100644 --- a/docs/docs/how-to/plugins-and-themes/using-a-plugin-in-your-site.md +++ b/docs/docs/how-to/plugins-and-themes/using-a-plugin-in-your-site.md @@ -34,7 +34,7 @@ Add the plugin as a project dependency in your `package.json` file by running th npm install gatsby-plugin-sitemap ``` -Check the plugin's README file to see if there are any other dependencies that you also need to install. (For example, [`gatsby-plugin-mdx`](/plugins/gatsby-plugin-mdx/) also requires `@mdx-js/mdx` and `@mdx-js/react` to be installed.) +Check the plugin's README file to see if there are any other dependencies that you also need to install. (For example, [`gatsby-plugin-mdx`](/plugins/gatsby-plugin-mdx/) also requires `@mdx-js/react` to be installed.) ### Step 2: Configure the plugin in your `gatsby-config.js` file diff --git a/docs/docs/how-to/querying-data/page-query.md b/docs/docs/how-to/querying-data/page-query.md index 1d7f8aadba675..c57b7fedd7b32 100644 --- a/docs/docs/how-to/querying-data/page-query.md +++ b/docs/docs/how-to/querying-data/page-query.md @@ -153,7 +153,7 @@ Consider the following query: ```js:title=src/templates/blog-post.js export const query = graphql` - query MdxBlogPost { + query { mdx(title: { eq: "Using a Theme" }) { id title @@ -168,7 +168,7 @@ In addition to hardcoding an argument directly into the page query, you can pass ```js:title=src/templates/blog-post.js export const query = graphql` - query MdxBlogPost($title: String) { // highlight-line + query ($title: String) { // highlight-line mdx(title: {eq: $title}) { // highlight-line id title diff --git a/docs/docs/how-to/routing/customizing-components.md b/docs/docs/how-to/routing/customizing-components.md index c01f79e7b458b..bf8cd29225840 100644 --- a/docs/docs/how-to/routing/customizing-components.md +++ b/docs/docs/how-to/routing/customizing-components.md @@ -6,7 +6,7 @@ Using MDX, you can replace every HTML element that Markdown renders with a custom implementation. This allows you to use a set of design system components when rendering. -```jsx:title=src/components/layout.js +```jsx:title=src/components/layout.jsx import { MDXProvider } from "@mdx-js/react" import * as DesignSystem from "your-design-system" @@ -28,7 +28,7 @@ export default function Layout({ children }) { } ``` -**Note**: you can also provide your own custom components to the `MDXProvider` that make them globally available while writing MDX. You can find more details about this pattern in the [Importing and Using Components in MDX guide](/docs/mdx/importing-and-using-components#make-components-available-globally-as-shortcodes). +**Note**: You can also provide your own custom components to the `MDXProvider` that make them globally available while writing MDX. You can find more details about this pattern in the [Importing and Using Components in MDX guide](/docs/how-to/routing/mdx#make-components-available-globally-as-shortcodes). The following components can be customized with the MDXProvider: @@ -68,10 +68,10 @@ The following components can be customized with the MDXProvider: ## How does this work? -Components passed to the MDXProvider are used to render the HTML elements -that Markdown creates. It uses -[React's Context API](https://reactjs.org/docs/context.html). +Components passed to the MDXProvider are used to render the HTML elements that Markdown creates. It uses [React's Context API](https://reactjs.org/docs/context.html). ## Related - [MDX components](https://mdxjs.com/getting-started/) +- [Adding Components to Markdown with MDX](/docs/how-to/routing/mdx/) +- [gatsby-plugin-mdx README](/plugins/gatsby-plugin-mdx) diff --git a/docs/docs/how-to/routing/mdx.md b/docs/docs/how-to/routing/mdx.md index d3ecf2765eb1b..5625c45c35290 100644 --- a/docs/docs/how-to/routing/mdx.md +++ b/docs/docs/how-to/routing/mdx.md @@ -1,5 +1,5 @@ --- -title: Add components to content using MDX +title: Adding MDX Pages examples: - label: Using MDX href: "https://github.com/gatsbyjs/gatsby/tree/master/examples/using-mdx" @@ -11,47 +11,55 @@ examples: This is useful in content-driven sites where you want the ability to introduce components like charts or alerts without having to configure a plugin. MDX also shines in interactive blog posts, documenting design systems, or long form articles with immersive or dynamic interactions. -## Part 1: Getting Started with MDX +## Prerequisites + +- A Gatsby project set up with `gatsby@4.21.0` or later. + +## Installation and configuration If you already have a Gatsby site that you'd like to add MDX to, you can follow these steps for configuring the [gatsby-plugin-mdx](/plugins/gatsby-plugin-mdx/) plugin. > **Starting a new project?** Skip the setup and create a new project using `npm init gatsby` > > Choose the option "Add Markdown and MDX support" to add the necessary MDX dependencies. - +> > **Already using Remark?** Check out the How-To Guide on [Migrating from Remark to MDX](/docs/how-to/routing/migrate-remark-to-mdx). -1. **Add `gatsby-plugin-mdx`** and MDX as dependencies +1. Install the required dependencies: ```shell - npm install gatsby-plugin-mdx @mdx-js/mdx@v1 @mdx-js/react@v1 + npm install gatsby-plugin-mdx gatsby-source-filesystem @mdx-js/react ``` -2. **Update your `gatsby-config.js`** to use `gatsby-plugin-mdx` +1. Update your `gatsby-config.js` to use `gatsby-plugin-mdx` and `gatsby-source-filesystem` - ```javascript:title=gatsby-config.js + ```js:title=gatsby-config.js module.exports = { plugins: [ - // .... - `gatsby-plugin-mdx`, + // Your other plugins... + `gatsby-plugin-mdx`, + { + resolve: `gatsby-source-filesystem`, + options: { + name: `pages`, + path: `${__dirname}/src/pages`, + }, + }, ], } ``` -3. **Restart your local development server** by running `gatsby develop`. +1. Restart your local development server by running `gatsby develop`. - - -## Part 2: Writing Pages in MDX +## Writing pages in MDX After installing `gatsby-plugin-mdx`, MDX files located in the `src/pages` directory will automatically be turned into pages. +> `gatsby-plugin-mdx` looks for MDX files and automatically transpiles them so that Gatsby can render them. Make sure to parse these MDX files with `gatsby-source-filesystem`, otherwise they can't be located. + Pages are rendered at a URL that is constructed from the filesystem path inside `src/pages`. For example, an MDX file at `src/pages/awesome.mdx` will result in a page being rendered at `yoursite.com/awesome`. -**Create a new `.mdx` file** in the `src/pages` directory. You can use [Markdown syntax](/docs/reference/markdown-syntax) to add different HTML elements. +Create a new `.mdx` file in the `src/pages` directory (e.g. `src/pages/chart-info.mdx`). You can use [Markdown syntax](/docs/reference/markdown-syntax) to add different HTML elements. ### Using frontmatter in MDX @@ -62,7 +70,7 @@ queries. You can declare frontmatter at the beginning of your MDX document: ```mdx --- title: Hello, world! -path: /hello-world +slug: /hello-world date: 2019-01-29 --- @@ -74,24 +82,17 @@ You can then query for this frontmatter data with [GraphQL](/docs/conceptual/gra ```graphql query { allMdx { - edges { - node { - frontmatter { - title - path - date(formatString: "MMMM DD, YYYY") - } + nodes { + frontmatter { + title + slug + date(formatString: "MMMM DD, YYYY") } } } } ``` -> **Note:** To query `MDX` content, it must be included in the node system using a -> source like the `gatsby-source-filesystem` plugin first. -> -> Check out the How-To Guide: [How to Source Data from the Filesystem](/docs/how-to/sourcing-data/sourcing-from-the-filesystem/). - Frontmatter is also available in `props.pageContext.frontmatter` and can be accessed in blocks of JSX in your MDX document: @@ -107,7 +108,7 @@ author: Jay Gatsby (Blog post content, components, etc.) ``` -## Part 3: Importing JSX components and MDX documents +## Importing JSX components into MDX documents MDX allows you to use React components alongside Markdown. You can import components from third-party libraries (like [`theme-ui`](https://theme-ui.com/components)) to take advantage of pre-built functionality like data visualizations, email signup forms, or call-to-action buttons. You can also import and reuse _your own_ React components and even other MDX documents. @@ -127,16 +128,21 @@ You can import your own components. > **Note:** If you would like to include frontmatter metadata _and_ import components, the frontmatter needs to appear at the top of the file and then imports can follow. - +## Defining a layout + +You can use regular [layout components](/docs/how-to/routing/layout-components/) to apply layout to your sub pages. + +To inject them, you have several options: + +1. Use the [`wrapPageElement` API](/docs/reference/config-files/gatsby-browser/#wrapPageElement) including its [SSR counterpart](/docs/reference/config-files/gatsby-ssr/#wrapPageElement). +1. Add an `export default Layout` statement to your MDX file, see [MDX documentation on Layout](https://mdxjs.com/docs/using-mdx/#layout). +1. When using the [`createPage` action](/docs/reference/config-files/actions/#createPage) to programatically create pages, you should use the following URI pattern for your page component: `your-layout-component.js?__contentFilePath=absolute-path-to-your-mdx-file.mdx`. To learn more about this, head to the [programmatically creating pages](#programmatically-creating-pages) section just below. ### Make components available globally as shortcodes -To avoid having to import the same component inside of every MDX document you author, you can add components to an `MDXProvider` to make them globally available in MDX pages. This pattern is sometimes referred to as shortcodes. +To avoid having to import the same component inside of every MDX document you author, you can add components to an `MDXProvider` to make them globally available in MDX pages. This pattern is sometimes referred to as **shortcodes**. -```js:title=src/components/layout.js +```jsx:title=src/components/layout.jsx import React from "react" // highlight-start import { MDXProvider } from "@mdx-js/react" @@ -153,7 +159,7 @@ export default function Layout({ children }) { } ``` -All MDX components passed into the `components` prop of the `MDXProvider` will be made available to MDX documents that are nested under the provider. The `MDXProvider` in this example is in a layout component that wraps all MDX pages, you can read about this pattern in [the layout section of the `gatsby-plugin-mdx` README](/plugins/gatsby-plugin-mdx/#default-layouts). +All MDX components passed into the `components` prop of the `MDXProvider` will be made available to MDX documents that are nested under the provider. You have multiple options on how to use this layout component in your site. Learn more in [the layout section of the `gatsby-plugin-mdx` README](/plugins/gatsby-plugin-mdx/#layouts). Now, you can include components in your MDX without importing them: @@ -173,42 +179,243 @@ The Chart is also available since it was passed into the MDXProvider: Because the `` and `` components were passed into the provider, they are available for use in all MDX documents. - +## Programmatically creating pages + +Sometimes you want to be able to programmatically create pages using MDX content that lives at arbitrary locations outside of `src/pages` or in a remote CMS. + +For instance, let's say you have a Gatsby website, and you want to add support for MDX so you can start your blog. The posts will live in `content/posts`. You can do this with the help of `gatsby-source-filesystem` and [`createPages`](/docs/reference/config-files/gatsby-node/#createPages) in `gatsby-node.js`. + +### Source MDX pages from the filesystem + +To let Gatsby know that you'll be working with MDX content you need to add `gatsby-plugin-mdx` to the plugins array in your `gatsby-config.js` file. + +You'll need to use `gatsby-source-filesystem` and tell it to source "posts" from a folder called `content/posts` located in the project's root. + +```js:title=gatsby-config.js +module.exports = { + plugins: [ + `gatsby-plugin-mdx`, + // Add a collection called "posts" that looks + // for files in content/posts + { + resolve: `gatsby-source-filesystem`, + options: { + name: `posts`, + path: `${__dirname}/content/posts`, + }, + }, + ], +} +``` + +You can read about [`gatsby-source-filesystem`](/plugins/gatsby-source-filesystem) if you'd like to learn more. + +### Add MDX files + +Before you can write any GraphQL queries and programmatically create +pages, you need to add some content. -## Part 4: Making GraphQL queries in an MDX File +Make a folder called `content/posts` and create two files in it called +`blog-1.mdx` and `blog-2.mdx`. You can do this on the command line in +a terminal by using the following commands from the root of your +project. -You can fetch data to use in your MDX file by exporting a `pageQuery` -in the same way you would for a `.js` page. The queried data is passed -as a prop, and can be accessed inside any JSX block when writing in -MDX: +```shell +mkdir -p content/posts +touch content/posts/blog-{1,2}.mdx +``` + +> **Note**: +> `mkdir -p path/to/a/directory` will create every folder in the path if it does not exist. +> +> `touch ` will create an empty file named ``. The brackets (`{}`) are an expansion which means you can create multiple files in one command. + +Open up each of the files you just created and add some content. + +```mdx:title=blog-1.mdx +--- +title: Blog Post 1 +slug: /blog-1 +--- + +Trying out MDX +``` + +```mdx:title=blog-2.mdx +--- +title: Blog Post 2 +slug: /blog-2 +--- + +Gatsby is the best +``` + +### Create pages from sourced MDX files + +In order to create pages from the sourced MDX files, you need to construct a query that finds all MDX nodes and pulls out the `slug` field from the `frontmatter` you defined. + +> **Note**: You can open up a GraphiQL console for query testing +> in your browser at `http://localhost:8000/___graphql` + +```graphql +query { + allMdx { + nodes { + id + frontmatter { + slug + } + } + } +} +``` + +```js:title=gatsby-node.js +const path = require("path") + +exports.createPages = async ({ graphql, actions, reporter }) => { + const { createPage } = actions + + const result = await graphql(` + query { + allMdx { + nodes { + id + frontmatter { + slug + } + internal { + contentFilePath + } + } + } + } + `) + + if (result.errors) { + reporter.panicOnBuild('Error loading MDX result', result.errors) + } + + // Create blog post pages. + const posts = result.data.allMdx.nodes + + // you'll call `createPage` for each result + posts.forEach(node => { + createPage({ + // As mentioned above you could also query something else like frontmatter.title above and use a helper function + // like slugify to create a slug + path: node.frontmatter.slug, + // Provide the path to the MDX content file so webpack can pick it up and transform it into JSX + component: node.internal.contentFilePath, + // You can use the values in this context in + // our page layout component + context: { id: node.id }, + }) + }) +} +``` + +For further reading, check out the [createPages](/docs/reference/config-files/gatsby-node/#createPages) API. + +### Make a layout template for your posts + +You can create a file called `posts.jsx` in `src/templates` - this component will be rendered as the template for all posts. Now, create a component that accepts your compiled MDX content via `children` and uses GraphQL `data` to show the title. **Please note:** The query must **not** have a name. This way Gatsby can create a unique one internally and the `__contentFilePath` in the next step will work correctly. + +```jsx:title=src/templates/posts.jsx +import React from "react" +import { graphql } from "gatsby" +import { MDXProvider } from "@mdx-js/react" +import { Link } from "gatsby" + +const shortcodes = { Link } // Provide common components here + +export default function PageTemplate({ data, children }) { + return ( + <> +

{data.mdx.frontmatter.title}

+ + {children} + + + ) +} + +export const query = graphql` + query($id: String!) { + mdx(id: { eq: $id }) { + frontmatter { + title + } + } + } +` +``` + +Now you need to tell `gatsby-plugin-mdx` to use your `PageTemplate` component as layout for your posts. To do this, you need to change the structure of the `component` URI in your `createPage` call: + +From an absolute path to your component (e.g. `/absolute/path/to/layout-component.js`) to a path that contains a query parameter `__contentFilePath` (e.g. `/absolute/path/to/layout-component.js?__contentFilePath=/absolute/path/to/content.mdx`). + +Change your `gatsby-node.js` as following: + +```diff +const path = require("path") ++ const postTemplate = path.resolve(`./src/templates/post.jsx`) + +// Rest of the createPages API... + +createPage({ + path: node.frontmatter.slug, +- component: node.internal.contentFilePath, ++ component: `${postTemplate}?__contentFilePath=${node.internal.contentFilePath}`, + context: { id: node.id }, +}) +``` + +That's it, you're done. Run `gatsby develop` to see your posts wrapped with `posts.jsx`. + +## Adding additional fields to your GraphQL MDX nodes + +To extend your GraphQL nodes, you can use the [`onCreateNode` API](/docs/reference/config-files/gatsby-node/#onCreateNode). + +You can find examples in the [README of `gatsby-plugin-mdx`](/plugins/gatsby-plugin-mdx#extending-the-graphql-mdx-nodes). + +## Making GraphQL queries within an MDX File + +You can fetch data to use within your MDX file by using `StaticQuery`: ```mdx import { graphql } from "gatsby" + ( + # My Awesome Page Here's a paragraph, followed by a paragraph with data!

{props.data.site.siteMetadata.description}

-export const pageQuery = graphql` - query { - site { - siteMetadata { - description - title - } - } - } -` + )} +/> ``` -> Note: For now, this only works [if the `.mdx` file exporting the query is placed in -> `src/pages`](https://github.com/ChristopherBiscardi/gatsby-mdx/issues/187#issuecomment-437161966). -> Exporting GraphQL queries from `.mdx` files that are used for programmatic page creation in -> `gatsby-node.js` via `actions.createPage` [is not currently -> supported](https://github.com/ChristopherBiscardi/gatsby-mdx/issues/187#issuecomment-489005677). +## `gatsby-remark-*` and `remark` plugins + +`gatsby-plugin-mdx` can also use `gatsby-remark-*` (e.g. `gatsby-remark-images`) and `remark` (e.g. `remark-gfm`) plugins. You can learn more about this in the [configuration section](/plugins/gatsby-plugin-mdx#configuration) of `gatsby-plugin-mdx`'s README. + +## Additional Resources + +- [gatsby-plugin-mdx README](/plugins/gatsby-plugin-mdx) +- [What is MDX](https://mdxjs.com/docs/what-is-mdx/) +- [Using MDX](https://mdxjs.com/docs/using-mdx/) +- [Troubleshooting MDX](https://mdxjs.com/docs/troubleshooting-mdx/) diff --git a/docs/docs/how-to/routing/migrate-remark-to-mdx.md b/docs/docs/how-to/routing/migrate-remark-to-mdx.md index 2818b9b841570..258c3be6099ca 100644 --- a/docs/docs/how-to/routing/migrate-remark-to-mdx.md +++ b/docs/docs/how-to/routing/migrate-remark-to-mdx.md @@ -13,7 +13,7 @@ For people who already have an existing blog using `gatsby-transformer-remark` b Add the `gatsby-plugin-mdx` plugin (and its peer dependencies) to your `package.json` file and remove the `gatsby-transformer-remark` plugin. ```shell -npm install @mdx-js/mdx@v1 @mdx-js/react@v1 gatsby-plugin-mdx +npm install @mdx-js/react gatsby-plugin-mdx npm remove gatsby-transformer-remark ``` @@ -49,7 +49,7 @@ Now with this addition, `gatsby-plugin-mdx` will see files that end with both `. ## Update gatsby-node.js -In the `createPages` API call, when you query for `allMarkdownRemark`, replace it with `allMdx`. +In the `createPages` API call, when you query for `allMarkdownRemark`, replace it with `allMdx` and also query for `internal.contentFilePath`. ```diff:title=gatsby-node.js const result = await graphql( @@ -60,6 +60,17 @@ const result = await graphql( sort: { fields: [frontmatter___date], order: DESC } limit: 1000 ) { + nodes { + id + fields { + slug + } ++ internal { ++ contentFilePath ++ } + } + } + } ``` Don't forget to update the `posts` constant by replacing `allMarkdownRemark` with `allMdx`. @@ -69,6 +80,16 @@ Don't forget to update the `posts` constant by replacing `allMarkdownRemark` wit +const posts = result.data.allMdx.nodes ``` +You'll need to update the `component` path passed to the `createPage` action to include the `internal.contentFilePath` as a query param: + +```diff:title=gatsby-node.js +createPage({ + path: post.fields.slug, +- component: blogPost, ++ component: `${blogPost}?__contentFilePath=${post.internal.contentFilePath}`, + context: { +``` + Also, update `onCreateNode` which creates the blog post slugs to watch for the node type of `Mdx` instead of `MarkdownRemark`. ```diff:title=gatsby-node.js @@ -81,36 +102,32 @@ exports.onCreateNode = ({ node, actions, getNode }) => { ## Update usage in pages -Similar to `gatsby-node.js`, wherever you use `allMarkdownRemark` in a GraphQL query, change it to `allMdx`. +Similar to `gatsby-node.js`, wherever you use `allMarkdownRemark`/`markdownRemark` in a GraphQL query, change it to `allMdx`/`mdx`. -Then in your blogpost template, to render the MDX, pull in the `MDXRenderer` React component from `gatsby-plugin-mdx`. +Then in your blogpost template, to render the MDX, add a `children` prop to your page template. -```jsx:title=src/templates/blog-post.js -import { MDXRenderer } from "gatsby-plugin-mdx" +```diff:title=src/templates/blog-post.js +-const BlogPostTemplate = ({ data, location }) => { ++const BlogPostTemplate = ({ data, location, children }) => { ``` -And in the GraphQL query, change the `html` field in `mdx` to `body`. +And in the GraphQL query, remove the `html` field. ```graphql:title=src/templates/blog-post.js -mdx(fields: { slug: { eq: $slug } }) { +mdx(id: { eq: $id }) { id excerpt(pruneLength: 160) - body // highlight-line frontmatter { - ... + # ... } } ``` -And finally swap out the component with `dangerouslySetInnerHTML` to a `MDXRenderer` component: +And finally swap out the component with `dangerouslySetInnerHTML` to just render the `children`: ```diff:title=src/templates/blog-post.js -const post = data.mdx - -// ... - --
-+{post.body} +-
++
{children}
``` ## Update Markdown files that include HTML code @@ -126,5 +143,5 @@ For instance, any HTML component with the `class` attribute needs to be changed ## Additional resources -- Follow [Importing and Using Components in MDX](/docs/mdx/importing-and-using-components/) to find out how you can insert React components in your MDX files. -- Follow [Using MDX Plugins](/docs/how-to/routing/mdx-plugins/) on how to add and use Gatsby Remark or Remark plugins to your MDX site. +- [Adding MDX pages](/docs/how-to/routing/mdx) +- [gatsby-plugin-mdx README](/plugins/gatsby-plugin-mdx) diff --git a/docs/docs/how-to/sourcing-data/headless-cms.md b/docs/docs/how-to/sourcing-data/headless-cms.md index 91999466774bc..21394fbf6bc6b 100644 --- a/docs/docs/how-to/sourcing-data/headless-cms.md +++ b/docs/docs/how-to/sourcing-data/headless-cms.md @@ -51,7 +51,8 @@ The following CMSs have high popularity among Gatsby users and support key funct | [Forestry](https://forestry.io/) | [guide](/docs/sourcing-from-forestry/) | | | | [Gentics Mesh](https://getmesh.io) | [guide](/docs/sourcing-from-gentics-mesh) | | | | [Builder.io](https://www.builder.io/) | [guide](/docs/sourcing-from-builder-io/) | [docs](/plugins/@builder.io/gatsby/) | | -| [Flotiq](https://flotiq.com/) | [guide](/docs/sourcing-from-flotiq/) | [docs](/plugins/gatsby-source-flotiq) | | +| [Flotiq](https://flotiq.com/) | [guide](/docs/sourcing-from-flotiq/) | [docs](/plugins/gatsby-source-flotiq) | +| [Webiny](https://www.webiny.com/) | [guide](https://www.webiny.com/docs/headless-cms/integrations/gatsby) | | [starter](/starters/webiny/gatsby-starter-webiny/) | ## Integrating with other CMSs diff --git a/docs/docs/mdx/getting-started.md b/docs/docs/mdx/getting-started.md deleted file mode 100644 index a1040f98455a2..0000000000000 --- a/docs/docs/mdx/getting-started.md +++ /dev/null @@ -1,52 +0,0 @@ ---- -title: Getting Started with MDX ---- - -The fastest way to get started with Gatsby + MDX is to use the [MDX -starter](https://github.com/gatsbyjs/gatsby-starter-mdx-basic). This -allows you to write `.mdx` files in `src/pages` in order to create new pages on -your site. - -## 🚀 Quick start - -Use `npm init gatsby` to create a new site. At the question "Would you like to install additional features with other plugins?" choose the option "Add Markdown and MDX support". - -## Add MDX to an existing Gatsby site - -If you already have a Gatsby site that you'd like to add MDX to, you -can follow these steps for configuring the [gatsby-plugin-mdx](/plugins/gatsby-plugin-mdx/) plugin. - -Alternatively, you may be looking to configure an existing blog site to use MDX. [This blog post](/blog/2019-11-21-how-to-convert-an-existing-gatsby-blog-to-use-mdx/) walks you through those steps in detail. - -1. **Add `gatsby-plugin-mdx`** and MDX as dependencies - - ```shell - npm install gatsby-plugin-mdx @mdx-js/mdx@v1 @mdx-js/react@v1 - ``` - -2. **Update your `gatsby-config.js`** to use `gatsby-plugin-mdx` - - ```javascript:title=gatsby-config.js - module.exports = { - plugins: [ - // .... - `gatsby-plugin-mdx`, - ], - } - ``` - -3. **Restart `gatsby develop`** and add an `.mdx` page to `src/pages` - -> **Note:** If you want to query for frontmatter, exports, or other fields like -> `tableOfContents` and you haven't previously added a `gatsby-source-filesystem` -> pointing at `src/pages` in your project, you'll want to add one now. - - - -## What's next? - -Go check out the [writing MDX guide](/docs/mdx/writing-pages/) to find out what else you can do -with Gatsby and MDX. diff --git a/docs/docs/mdx/importing-and-using-components.md b/docs/docs/mdx/importing-and-using-components.md deleted file mode 100644 index ffe0acb07b77b..0000000000000 --- a/docs/docs/mdx/importing-and-using-components.md +++ /dev/null @@ -1,122 +0,0 @@ ---- -title: Importing and Using Components in MDX ---- - -You can import your components from other third party libraries, like [`theme-ui`](https://theme-ui.com/components). Use cases for external libraries could be charting libraries for adding rich data visualizations, form components for adding email signups, styled portions of content like pullquotes, or call to action buttons throughout your pages. You can also import and reuse _your own_ React components and MDX documents. - -## Import components for use from another library - -Components imported from other libraries can be rendered inline with your markdown content, allowing you to include rich media like charts, interactive buttons, or styled messages. Components are imported at the top of your MDX documents—in the same syntax they are imported in JavaScript files—and then added using opening and closing brackets like normal JSX elements. - -To include a component from another library (this example uses [the message component from `theme-ui`](https://theme-ui.com/components/message)), you need to import it at the top of your MDX file: - -```mdx ---- -title: Importing Components Example ---- - -import { Message } from "theme-ui" // highlight-line - -You can import your own components. - -MDX gives you JSX in Markdown! // highlight-line -``` - -**Note**: steps for importing custom components or MDX documents from a relative location in your project are also covered in the [Writing Pages in MDX guide](/docs/how-to/routing/mdx/#part-2-writing-pages-in-mdx). - - - -## Make components available globally as shortcodes - -To avoid having to import the same component inside of every MDX document you author, you can add components to an `MDXProvider` to make them globally available in MDX pages. This pattern is sometimes referred to as shortcodes. - -```js:title=src/components/layout.js -import React from "react" -// highlight-start -import { MDXProvider } from "@mdx-js/react" -import { Chart, Pullquote } from "./ui" -import { Message } from "theme-ui" -// highlight-end - -const shortcodes = { Chart, Pullquote, Message } // highlight-line - -export default function Layout({ children }) { - return ( - {children} // highlight-line - ) -} -``` - -All MDX components passed into the `components` prop of the `MDXProvider` will be made available to MDX documents that are nested under the provider. The `MDXProvider` in this example is in a layout component that wraps all MDX pages, you can read about this pattern in [the layout section of the `gatsby-plugin-mdx` README](/plugins/gatsby-plugin-mdx/#default-layouts). - -Now, you can include components in your MDX without importing them: - -```mdx ---- -title: Shortcode Components Example ---- - -Now, if you want to include the Message component, it's available in all MDX documents! - -MDX gives you JSX in Markdown! // highlight-line - -The Chart is also available since it was passed into the MDXProvider: - - // highlight-line -``` - -Because the `` and `` components were passed into the provider, they are available for use in all MDX documents. - - - -## Lazy-loading components - -When you use components in your `.mdx` files, Gatsby will bundle them into the main application bundle. This can cause performance problems. - -In the future, [`gatsby-plugin-mdx`](/plugins/gatsby-plugin-mdx) will address this. In the meantime, it can be prudent to lazy-load very large dependencies. The following snippet provides an example for lazy-loading an imaginary `Thing` component: - -```jsx:title=src/components/LazyThing.js -import React from "react" - -const Placeholder = () => null - -const LazyThing = props => { - // While the component is loading, we'll render a fallback placeholder. - // (The Placeholder is a component that renders nothing). - const [Component, setComponent] = React.useState(() => Placeholder) - - // After the initial render, kick off a dynamic import to fetch - // the real component, and set it into our state. - React.useEffect(() => { - import("./Thing.js").then(Thing => setComponent(() => Thing.default)) - }, []) - - return -} - -export default LazyThing -``` - -Inside your MDX, swap out any references to `Thing` with `LazyThing`: - -```diff --import Thing from "../components/Thing/Thing.js" -+import LazyThing from "../components/Thing/LazyThing.js" - -## Introducing Things - -Here is a demo: - -- -+ -``` - -### Additional resources - -- Follow this detailed [example on using MDX](https://github.com/gatsbyjs/gatsby/tree/master/examples/using-mdx) to import and render components. diff --git a/docs/docs/mdx/index.md b/docs/docs/mdx/index.md deleted file mode 100644 index 9a8736d3bd4ad..0000000000000 --- a/docs/docs/mdx/index.md +++ /dev/null @@ -1,67 +0,0 @@ ---- -title: Adding Components to Markdown with MDX ---- - -When writing long-form content in Markdown you might want to embed [components](/docs/glossary/#component). -This is often achieved by either writing content in JSX or using plugins that -use custom syntax. The first approach isn't optimal because JSX isn't the best -format for content and can make it less approachable to members of a team. Custom -syntax and plugins are often too inflexible and don't promote composition. If -you're finding yourself wanting to add components to your content you can use -`gatsby-plugin-mdx` which is a Gatsby plugin to integrate MDX into your project. - -## What's MDX? - -[MDX][mdx] is Markdown for the component era. -It lets you write JSX embedded inside Markdown. -It’s a great combination because it allows you to use Markdown’s terse -syntax (such as `# Heading`) for your content and JSX for more advanced, -or reusable components. - -This is useful in content-driven sites where you want the ability -to introduce components like charts or alerts without having to -configure a plugin. It emphasizes composition over configuration -and really shines with interactive blog posts, documenting design -systems, or long form articles with immersive or dynamic -interactions. - -When using MDX you can also import other MDX documents and render -them as components. This lets you write something like an FAQ -page in one place and reuse it throughout your website. - -## What does it look like in practice? - -Importing and JSX syntax works just like it does in your components. This -results in a seamless experience for developers and content authors alike. -Markdown and JSX are included alongside each other like this: - -```markdown -import { Chart } from '../components/chart' - -# Here’s a chart - -The chart is rendered inside our MDX document. - - -``` - -## Features - -❤️ **Powerful**: MDX blends Markdown and JSX syntax to fit perfectly in -React/JSX-based projects. - -💻 **Everything is a component**: Use existing components inside your -MDX and import other MDX files as plain components. - -🔧 **Customizable**: Decide which component is rendered for each Markdown -element (`{ h1: MyHeading }`). - -📚 **Markdown-based**: The simplicity and elegance of markdown remains; -you interleave JSX only when you want to. - -🔥 **Blazingly blazing fast**: MDX has no runtime, all compilation occurs -during the build stage. - - - -[mdx]: https://mdxjs.com diff --git a/docs/docs/mdx/programmatically-creating-pages.md b/docs/docs/mdx/programmatically-creating-pages.md deleted file mode 100644 index 29e39e0401c7d..0000000000000 --- a/docs/docs/mdx/programmatically-creating-pages.md +++ /dev/null @@ -1,305 +0,0 @@ ---- -title: Programmatically Creating Pages ---- - -Sometimes you want to be able to programmatically access data from -files in `src/pages/` or create pages using MDX content that lives at -arbitrary locations outside of `src/pages/` or in remote CMSes. - -For instance, let's say you have a Gatsby website, and you want to add -support for MDX so you can start your blog. The posts will live in -`content/posts/`. You can do this with the help of -`gatsby-source-filesystem` and [`createPages`](/docs/reference/config-files/gatsby-node/#createPages) in -`gatsby-node.js`. - -## Source MDX pages from the filesystem - -To let Gatsby know that you'll be working with MDX content you need to -add `gatsby-plugin-mdx` to the plugins array in your `gatsby-config.js` -file. - -You'll need to use `gatsby-source-filesystem` and tell it to source -"posts" from a folder called `content/posts` located in the project's -root. - -> **Note**: `gatsby-plugin-mdx` uses `.mdx` by default as a file extension to -> recognize which files to use. You can also [use `.md` as a file -> extension](/plugins/gatsby-plugin-mdx#extensions) if you want. - -```javascript:title=gatsby-config.js -module.exports = { - plugins: [ - // Add support for *.mdx files in gatsby - "gatsby-plugin-mdx", - - // Add a collection called "posts" that looks - // for files in content/posts/ - { - resolve: "gatsby-source-filesystem", - options: { - name: "posts", - path: `${__dirname}/content/posts/`, - }, - }, - ], -} -``` - -You can read about -[`gatsby-source-filesystem`](/plugins/gatsby-source-filesystem) -if you'd like to learn more. - -## Add MDX files - -Before you can write any GraphQL queries and programmatically create -pages, you need to add some content. - -Make a folder called `content/posts` and create two files in it called -`blog-1.mdx` and `blog-2.mdx`. You can do this on the command line in -a terminal by using the following commands from the root of your -project. - -```shell -mkdir -p content/posts -touch content/posts/blog-{1,2}.mdx -``` - -> **Note**: -> `mkdir -p path/to/a/directory` will create every folder in the path if -> it does not exist. -> -> `touch ` will create an empty file named ``. The -> brackets (`{}`) are [an -> expansion](https://twitter.com/kentcdodds/status/1083399683932868609?s=19) -> which means you can create multiple files in one command. - -Open up each of the files you just created and add some content. - -```mdx:title=blog-1.mdx ---- -title: Blog Post 1 ---- - -Trying out MDX -``` - -```mdx:title=blog-2.mdx ---- -title: Blog Post 2 ---- - -Gatsby is the best -``` - -## Create pages from sourced MDX files - -`gatsby-plugin-mdx` automatically adds a `slug` field to each MDX node derived from the corresponding filename. You can use special characters, whitespaces, or uppercase in the filenames, and `gatsby-plugin-mdx` will "slugify" it, making the slug safe for serving over the internet and human readable. - -In order to create pages from the sourced MDX files, you need -to construct a query that finds all MDX nodes and pulls out -the `slug` field. - -> **Note**: You can open up a GraphiQL console for query testing -> in your browser at `http://localhost:8000/___graphql` - -```graphql -query { - allMdx { - edges { - node { - id - # Slug field added by gatsby-plugin-mdx - slug - } - } - } -} -``` - -```javascript:title=gatsby-node.js -const path = require("path") - -exports.createPages = async ({ graphql, actions, reporter }) => { - // Destructure the createPage function from the actions object - const { createPage } = actions - - const result = await graphql(` - query { - allMdx { - edges { - node { - id - slug - } - } - } - } - `) - - if (result.errors) { - reporter.panicOnBuild('🚨 ERROR: Loading "createPages" query') - } - - // Create blog post pages. - const posts = result.data.allMdx.edges - - // you'll call `createPage` for each result - posts.forEach(({ node }, index) => { - createPage({ - // The slug generated by gatsby-plugin-mdx doesn't contain a slash at the beginning - // You can prepend it with any prefix you want - path: `/blog/${node.slug}`, - // This component will wrap our MDX content - component: path.resolve(`./src/components/posts-page-layout.js`), - // You can use the values in this context in - // our page layout component - context: { id: node.id }, - }) - }) -} -``` - -For further reading, check out the -[createPages](/docs/reference/config-files/gatsby-node/#createPages) -API. - -## Make a template for your posts - -You can create a file called `posts-page-layout.js` in `src/components` - this component -will be rendered as the template for all posts. There's a component, -`MDXRenderer` which is used by `gatsby-plugin-mdx` that will be used to render any -programmatically accessed MDX content. - -For now, to update imports within `.mdx` files, you should rerun your Gatsby development environment. Otherwise, it will raise a `ReferenceError`. To import things dynamically, you can use the `MDXProvider` component and provide it all the common components you'll be using, such as `Link`. - -First, create a component that accepts the queried MDX data (which will be -added in the next step). - -```jsx:title=src/components/posts-page-layout.js -import React from "react" -import { graphql } from "gatsby" -import { MDXProvider } from "@mdx-js/react" -import { MDXRenderer } from "gatsby-plugin-mdx" -import { Link } from "gatsby" - -const shortcodes = { Link } // Provide common components here - -export default function PageTemplate({ data: { mdx } }) { - return ( -
-

{mdx.frontmatter.title}

- - {mdx.body} - -
- ) -} -``` - -Then, write a query that uses `id` which is passed through the -`context` object in `createPage`. GraphQL requires you to declare -the type of arguments at the top of the query before they're used. - -```jsx:title=src/components/posts-page-layout.js -export const pageQuery = graphql` - query BlogPostQuery($id: String) { - mdx(id: { eq: $id }) { - id - body - frontmatter { - title - } - } - } -` -``` - -When you put the component and page query all together, the -component should look like: - -```jsx:title=src/components/posts-page-layout.js -import React from "react" -import { graphql } from "gatsby" -import { MDXProvider } from "@mdx-js/react" -import { MDXRenderer } from "gatsby-plugin-mdx" -import { Link } from "gatsby" - -const shortcodes = { Link } // Provide common components here - -export default function PageTemplate({ data: { mdx } }) { - return ( -
-

{mdx.frontmatter.title}

- - {mdx.body} - -
- ) -} - -export const pageQuery = graphql` - query BlogPostQuery($id: String) { - mdx(id: { eq: $id }) { - id - body - frontmatter { - title - } - } - } -` -``` - -That's it, you're done. Run `gatsby develop` and enjoy your new MDX -powers. - -Now you have all the pieces you need to programmatically create pages -with Gatsby and `gatsby-plugin-mdx`. You can check out our other guides to find out -more about all of the cool stuff you can do with `gatsby-plugin-mdx`. - -## Bonus: Make a blog index - -```jsx:title=src/pages/index.js -import React from "react" -import { Link, graphql } from "gatsby" - -const BlogIndex = ({ data }) => { - const { edges: posts } = data.allMdx - - return ( -
-

Awesome MDX Blog

- -
    - {posts.map(({ node: post }) => ( -
  • - -

    {post.frontmatter.title}

    - -

    {post.excerpt}

    -
  • - ))} -
-
- ) -} - -export const pageQuery = graphql` - query blogIndex { - allMdx { - edges { - node { - id - excerpt - frontmatter { - title - } - slug - } - } - } - } -` - -export default BlogIndex -``` diff --git a/docs/docs/mdx/writing-pages.md b/docs/docs/mdx/writing-pages.md deleted file mode 100644 index 143b35edf7b8f..0000000000000 --- a/docs/docs/mdx/writing-pages.md +++ /dev/null @@ -1,248 +0,0 @@ ---- -title: Writing Pages in MDX ---- - -After [installing](/docs/how-to/routing/mdx/#part-1-getting-started-with-mdx) `gatsby-plugin-mdx`, MDX files -located in `src/pages` will turn into pages. - -Pages are rendered at a URL that is constructed from the filesystem -path inside `src/pages`. An MDX file at `src/pages/awesome.mdx` will -result in a page being rendered at `mysite.com/awesome`. - -> `gatsby-plugin-mdx` looks for MDX files and automatically -> transpiles them so that Gatsby internals can render them. - -## Using frontmatter in MDX - -By default, `gatsby-plugin-mdx` supports [frontmatter](/docs/how-to/routing/adding-markdown-pages/#frontmatter-for-metadata-in-markdown-files) -so you can define things like titles and paths to use in your GraphQL -queries. You can declare frontmatter at the beginning of your MDX document: - -```mdx ---- -title: Hello, world! -path: /hello-world -date: 2019-01-29 ---- - -# Hello, world! -``` - -Which can then be [queried with GraphQL](/docs/conceptual/graphql-concepts/): - -```graphql -query { - allMdx { - edges { - node { - frontmatter { - title - path - date(formatString: "MMMM DD, YYYY") - } - } - } - } -} -``` - -> **Note:** To query `MDX` content, it must be included in the node system using a -> source like the `gatsby-source-filesystem` plugin first. Instructions for sourcing -> content from somewhere like your `/src/pages` directory can be found on the [plugin's README](/plugins/gatsby-source-filesystem/). - -Frontmatter is also available in `props.pageContext.frontmatter` and -can be accessed in blocks of JSX in your MDX document: - -```mdx ---- -title: Building with Gatsby -author: Jay Gatsby ---- - -

{props.pageContext.frontmatter.title}

-{props.pageContext.frontmatter.author} - -(Blog post content, components, etc.) -``` - -## Importing JSX components and MDX documents - -Similarly to what you'd do in plain React, you can import and render JSX components -directly in MDX files. You can also import other MDX documents. - -```mdx:title=src/pages/chart.mdx -import { Chart } from "../components/chart" -import FAQ from "../components/faq.mdx" - -# Here’s a chart - -The chart is rendered inside our MDX document. - - - -``` - -The `` component coming from a `.js` file would be written like any -other React component, while the `` component coming from an `.mdx` -file might look something like this: - - -```mdx:title=src/components/faq.mdx -## Frequently Asked Questions - -### Why Gatsby? - -Gatsby delivers faster, more secure sites and apps from a variety of data -sources - -### Where do I start? - -The documentation offers guides for all different skill levels, you can -find more info at the Gatsby's [Quick Start page](/docs/quick-start) - - - -export default function Layout({ children }) { - return ( - <> - {children} - - ); -} -``` - -> **Note**: the default export concept used in this code block is explained in more detail -> in the docs below on [defining layouts](#defining-a-layout) - -You can read more about using React components from other libraries in the [Importing and Using components in MDX guide](/docs/mdx/importing-and-using-components/). - -## Combining frontmatter and imports - -If you would like to include frontmatter metadata _and_ import components, the frontmatter needs to appear at the top of the file and then imports can follow: - -```mdx ---- -title: Building with Gatsby ---- - -import { Chart } from "../components/chart" - -Markdown and more content... -``` - -## Using JavaScript exports - -MDX supports `export` syntax as well, which enables specific use cases like providing data -for queries and rendering or overriding the default layout on MDX documents. You -don't need to export MDX documents to import them in other files. - -### Exporting page metadata - -You can provide additional data about a given document by exporting. -`gatsby-plugin-mdx` will automatically add it to the GraphQL schema so you -can use the exported data in your queries and in rendering. - -Data exported in MDX documents in this manner is also made available on the -variable name you've assigned it. - -You can export variables, objects, or other data structures: - - -```mdx -export const metadata = { - name: "World", - path: "/world", -}; - -# Hello, - -The span above will read: "Hello, World". - - -export const names = ["Abdullah", "Adam", "Alice", "Aida"] - -
    {names.map(name =>
  • {name}
  • )}
-``` - -The fields `name` and `path` defined on `metadata` could now alternatively -be accessed on MDX nodes in other areas of your Gatsby project by a GraphQL -query like this (this query fetches all MDX nodes and the data exports -associated with them): - -```graphql -query MdxExports { - allMdx { - nodes { - exports { - metadata { - name - path - } - } - } - } -} -``` - -### Defining a layout - -If you have [provided a default layout](/plugins/gatsby-plugin-mdx/?=mdx#default-layouts) in your `gatsby-config.js` -through the `gatsby-plugin-mdx` plugin options, the exported component you define -from this file will replace the default. - - -```mdx:title=src/pages/layout-example.mdx -import PurpleBorder from "../components/purple-border" - -# This will have a purple border - -export default PurpleBorder -``` - -The `` component might look something like this, wrapping the MDX -document in a `
` with a 1px purple border: - -```jsx:title=src/components/purple-border.js -import React from "react" - -const PurpleBorder = ({ children }) => ( -
{children}
-) - -export default PurpleBorder -``` - -## GraphQL queries - -You can fetch data to use in your MDX file by exporting a `pageQuery` -in the same way you would for a `.js` page. The queried data is passed -as a prop, and can be accessed inside any JSX block when writing in -MDX: - - -```mdx -import { graphql } from "gatsby" - -# My Awesome Page - -Here's a paragraph, followed by a paragraph with data! - -

{props.data.site.siteMetadata.description}

- -export const pageQuery = graphql` - query { - site { - siteMetadata { - description - title - } - } - } -` -``` - -> Note: For now, this only works [if the `.mdx` file exporting the query is placed in -> `src/pages`](https://github.com/ChristopherBiscardi/gatsby-mdx/issues/187#issuecomment-437161966). -> Exporting GraphQL queries from `.mdx` files that are used for programmatic page creation in -> `gatsby-node.js` via `actions.createPage` [is not currently -> supported](https://github.com/ChristopherBiscardi/gatsby-mdx/issues/187#issuecomment-489005677). diff --git a/docs/docs/reference/built-in-components/gatsby-head.md b/docs/docs/reference/built-in-components/gatsby-head.md index 5304406ba5915..1b0c7abbf356d 100644 --- a/docs/docs/reference/built-in-components/gatsby-head.md +++ b/docs/docs/reference/built-in-components/gatsby-head.md @@ -88,7 +88,6 @@ You'll need to be aware of these things when using Gatsby Head: - The `Head` function needs to return valid JSX. - Valid tags inside the `Head` function are: `link`, `meta`, `style`, `title`, `base`, `script`, and `noscript`. - Data block ` + Adding-this-text-here-should-not-break-things ) } diff --git a/e2e-tests/production-runtime/src/pages/head-function-export/basic.js b/e2e-tests/production-runtime/src/pages/head-function-export/basic.js index e2bad20c6174f..53117df670295 100644 --- a/e2e-tests/production-runtime/src/pages/head-function-export/basic.js +++ b/e2e-tests/production-runtime/src/pages/head-function-export/basic.js @@ -41,6 +41,7 @@ export function Head() { + Adding-this-text-here-should-not-break-things ) } diff --git a/examples/using-gatsby-image/plugins/gatsby-source-remote-images/gatsby-node.js b/examples/using-gatsby-image/plugins/gatsby-source-remote-images/gatsby-node.js index 00a7dbc2e03fb..9c7b3ebdabde3 100644 --- a/examples/using-gatsby-image/plugins/gatsby-source-remote-images/gatsby-node.js +++ b/examples/using-gatsby-image/plugins/gatsby-source-remote-images/gatsby-node.js @@ -1,27 +1,20 @@ const { createRemoteFileNode } = require(`gatsby-source-filesystem`) exports.onCreateNode = async ( - { - actions: { createNode }, - node, - createContentDigest, - store, - cache, - reporter, - }, - { filter, nodeName = `localFile` } + { actions: { createNode, createNodeField }, node, createNodeId, getCache }, + { filter } ) => { if (filter(node)) { const fileNode = await createRemoteFileNode({ url: node.url, - cache, + parentNodeId: node.id, + getCache, createNode, - createNodeId: createContentDigest, + createNodeId, }) if (fileNode) { - const fileNodeLink = `${nodeName}___NODE` - node[fileNodeLink] = fileNode.id + createNodeField({ node, name: "localFile", value: fileNode.id }) } } } @@ -35,7 +28,7 @@ exports.createSchemaCustomization = ({ actions }) => { title: String credit: String gallery: Boolean - localFile: File @link(from: "localFile___NODE") + localFile: File @link(from: "fields.localFile") } `) diff --git a/examples/using-graphql-typegen/src/components/info.tsx b/examples/using-graphql-typegen/src/components/info.tsx index 2daf4617f9895..e078fdc91a934 100644 --- a/examples/using-graphql-typegen/src/components/info.tsx +++ b/examples/using-graphql-typegen/src/components/info.tsx @@ -1,8 +1,7 @@ import * as React from "react" import { graphql } from "gatsby" - -const Info = ({ buildTime }: { buildTime?: string | null }) => { +const Info = ({ buildTime }: { buildTime?: Queries.SiteInformationFragment["buildTime"] }) => { return (

Build time: {buildTime} diff --git a/integration-tests/gatsby-pipeline/__tests__/fetch-remote-file/index.js b/integration-tests/gatsby-pipeline/__tests__/fetch-remote-file/index.js index 17fb5616a3fe6..c9eb8c7e7ca7e 100644 --- a/integration-tests/gatsby-pipeline/__tests__/fetch-remote-file/index.js +++ b/integration-tests/gatsby-pipeline/__tests__/fetch-remote-file/index.js @@ -24,27 +24,27 @@ describe(`fetch-remote-file`, () => { path.join( __dirname, "../..", - "public/images/50c58a791de3c2303e62084d731799eb/photoA.jpg" + "public/images/ce61bf418df0d6677d2701c4aeff1023/photoA.jpg" ) ) - ).toEqual("a9e57a66a10b2d26a1999a4685d7c9ef") + ).toEqual("37287aaa726d254eabcf3e7ede51a93b") expect( await md5File( path.join( __dirname, "../..", - "public/images/4910e745c3c453b8795d6ba65c79d99b/photoB.jpg" + "public/images/adeb4bc975f3ce4081c6772a0c96ca7b/photoB.jpg" ) ) - ).toEqual("c305dc5c5db45cc773231a507af5116d") + ).toEqual("cef966aac5cfc7972e91e5c5c96829cb") expect( await md5File( path.join( __dirname, "../..", - "public/images/fb673e75e9534b3cc2d2e24085386d48/photoC.jpg" + "public/images/48315d9e12fde935993d8b406f2d6684/photoC.jpg" ) ) - ).toEqual("4ba953ba27236727d7abe7d5b8916432") + ).toEqual("c3d2efe723cd58311db404fd1b1f76a7") }) }) diff --git a/integration-tests/gatsby-pipeline/gatsby-node.js b/integration-tests/gatsby-pipeline/gatsby-node.js index 7f312b54226c8..4258b0068007c 100644 --- a/integration-tests/gatsby-pipeline/gatsby-node.js +++ b/integration-tests/gatsby-pipeline/gatsby-node.js @@ -43,15 +43,15 @@ exports.sourceNodes = ({ actions, createNodeId, createContentDigest }) => { const items = [ { name: "photoA.jpg", - url: "https://images.unsplash.com/photo-1517849845537-4d257902454a?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=300&q=80", + url: "https://storage.googleapis.com/public-test-files/photoA.jpg", }, { name: "photoB.jpg", - url: "https://images.unsplash.com/photo-1552053831-71594a27632d?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=300&q=80", + url: "https://storage.googleapis.com/public-test-files/photoB.jpg", }, { name: "photoC.jpg", - url: "https://images.unsplash.com/photo-1561037404-61cd46aa615b?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=300&q=80", + url: "https://storage.googleapis.com/public-test-files/photoC.jpg", }, ] diff --git a/jest.config.js b/jest.config.js index 9f70047f284e7..7ba7a6d544631 100644 --- a/jest.config.js +++ b/jest.config.js @@ -149,4 +149,5 @@ module.exports = { moduleFileExtensions: [`js`, `jsx`, `ts`, `tsx`, `json`], setupFiles: [`/.jestSetup.js`], setupFilesAfterEnv: [`jest-extended`], + testEnvironment: `/jest.environment.ts`, } diff --git a/jest.environment.ts b/jest.environment.ts new file mode 100644 index 0000000000000..3746371ccf091 --- /dev/null +++ b/jest.environment.ts @@ -0,0 +1,23 @@ +const NodeEnvironment = require(`jest-environment-node`) + +class CustomEnvironment extends NodeEnvironment { + constructor(config, context) { + super(config, context) + } + + async teardown(): Promise { + // close open lmdbs after running test suite + // this prevent dangling open handles that sometimes cause problems + // particularly in windows tests (failures to move or delete a db file) + if (this.global.__GATSBY_OPEN_ROOT_LMDBS) { + for (const rootDb of this.global.__GATSBY_OPEN_ROOT_LMDBS.values()) { + await rootDb.clearAsync() + await rootDb.close() + } + this.global.__GATSBY_OPEN_ROOT_LMDBS = undefined + } + await super.teardown() + } +} + +module.exports = CustomEnvironment diff --git a/packages/babel-plugin-remove-graphql-queries/CHANGELOG.md b/packages/babel-plugin-remove-graphql-queries/CHANGELOG.md index 7bd6282db20d0..7fb291f607925 100644 --- a/packages/babel-plugin-remove-graphql-queries/CHANGELOG.md +++ b/packages/babel-plugin-remove-graphql-queries/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [4.21.0](https://github.com/gatsbyjs/gatsby/commits/babel-plugin-remove-graphql-queries@4.21.0/packages/babel-plugin-remove-graphql-queries) (2022-08-16) + +[🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.21) + +**Note:** Version bump only for package babel-plugin-remove-graphql-queries + ## [4.20.0](https://github.com/gatsbyjs/gatsby/commits/babel-plugin-remove-graphql-queries@4.20.0/packages/babel-plugin-remove-graphql-queries) (2022-08-02) [🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.20) diff --git a/packages/babel-plugin-remove-graphql-queries/package.json b/packages/babel-plugin-remove-graphql-queries/package.json index ba1fe7492bcc1..659bf8c1c96ac 100644 --- a/packages/babel-plugin-remove-graphql-queries/package.json +++ b/packages/babel-plugin-remove-graphql-queries/package.json @@ -1,6 +1,6 @@ { "name": "babel-plugin-remove-graphql-queries", - "version": "4.21.0-next.2", + "version": "4.22.0-next.0", "author": "Jason Quense ", "repository": { "type": "git", @@ -11,12 +11,12 @@ "dependencies": { "@babel/runtime": "^7.15.4", "@babel/types": "^7.15.4", - "gatsby-core-utils": "^3.21.0-next.2" + "gatsby-core-utils": "^3.22.0-next.0" }, "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.21.0-next.0", + "babel-preset-gatsby-package": "^2.22.0-next.0", "cross-env": "^7.0.3" }, "peerDependencies": { diff --git a/packages/babel-preset-gatsby-package/CHANGELOG.md b/packages/babel-preset-gatsby-package/CHANGELOG.md index 910c120cbcc0a..e6a1095e16ce3 100644 --- a/packages/babel-preset-gatsby-package/CHANGELOG.md +++ b/packages/babel-preset-gatsby-package/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [2.21.0](https://github.com/gatsbyjs/gatsby/commits/babel-preset-gatsby-package@2.21.0/packages/babel-preset-gatsby-package) (2022-08-16) + +[🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.21) + +**Note:** Version bump only for package babel-preset-gatsby-package + ## [2.20.0](https://github.com/gatsbyjs/gatsby/commits/babel-preset-gatsby-package@2.20.0/packages/babel-preset-gatsby-package) (2022-08-02) [🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.20) diff --git a/packages/babel-preset-gatsby-package/package.json b/packages/babel-preset-gatsby-package/package.json index 79b9318aa7867..f9a6dfa15ef5f 100644 --- a/packages/babel-preset-gatsby-package/package.json +++ b/packages/babel-preset-gatsby-package/package.json @@ -1,6 +1,6 @@ { "name": "babel-preset-gatsby-package", - "version": "2.21.0-next.0", + "version": "2.22.0-next.0", "author": "Philipp Spiess ", "repository": { "type": "git", diff --git a/packages/babel-preset-gatsby/CHANGELOG.md b/packages/babel-preset-gatsby/CHANGELOG.md index 7a55f17fd2291..d0cbf38121c2f 100644 --- a/packages/babel-preset-gatsby/CHANGELOG.md +++ b/packages/babel-preset-gatsby/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [2.21.0](https://github.com/gatsbyjs/gatsby/commits/babel-preset-gatsby@2.21.0/packages/babel-preset-gatsby) (2022-08-16) + +[🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.21) + +**Note:** Version bump only for package babel-preset-gatsby + ## [2.20.0](https://github.com/gatsbyjs/gatsby/commits/babel-preset-gatsby@2.20.0/packages/babel-preset-gatsby) (2022-08-02) [🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.20) diff --git a/packages/babel-preset-gatsby/package.json b/packages/babel-preset-gatsby/package.json index d2017b53203a6..8cfc81b5d4412 100644 --- a/packages/babel-preset-gatsby/package.json +++ b/packages/babel-preset-gatsby/package.json @@ -1,6 +1,6 @@ { "name": "babel-preset-gatsby", - "version": "2.21.0-next.2", + "version": "2.22.0-next.0", "author": "Philipp Spiess ", "repository": { "type": "git", @@ -22,8 +22,8 @@ "babel-plugin-dynamic-import-node": "^2.3.3", "babel-plugin-macros": "^3.1.0", "babel-plugin-transform-react-remove-prop-types": "^0.4.24", - "gatsby-core-utils": "^3.21.0-next.2", - "gatsby-legacy-polyfills": "^2.21.0-next.0" + "gatsby-core-utils": "^3.22.0-next.0", + "gatsby-legacy-polyfills": "^2.22.0-next.0" }, "peerDependencies": { "@babel/core": "^7.11.6", @@ -38,7 +38,7 @@ }, "devDependencies": { "@babel/cli": "^7.15.4", - "babel-preset-gatsby-package": "^2.21.0-next.0", + "babel-preset-gatsby-package": "^2.22.0-next.0", "cross-env": "^7.0.3", "slash": "^3.0.0" }, diff --git a/packages/create-gatsby/CHANGELOG.md b/packages/create-gatsby/CHANGELOG.md index be488bbc7b69e..21a815ef7972c 100644 --- a/packages/create-gatsby/CHANGELOG.md +++ b/packages/create-gatsby/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [2.21.0](https://github.com/gatsbyjs/gatsby/commits/create-gatsby@2.21.0/packages/create-gatsby) (2022-08-16) + +[🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.21) + +#### Other Changes + +- BREAKING CHANGE(gatsby-plugin-mdx): MDX v2 [#35650](https://github.com/gatsbyjs/gatsby/issues/35650) ([c92db36](https://github.com/gatsbyjs/gatsby/commit/c92db36642268d1ee50c11ea568f836c7e5b4a03)) + ## [2.20.0](https://github.com/gatsbyjs/gatsby/commits/create-gatsby@2.20.0/packages/create-gatsby) (2022-08-02) [🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.20) diff --git a/packages/create-gatsby/package.json b/packages/create-gatsby/package.json index 7a6d8d0e672e8..7056ade226899 100644 --- a/packages/create-gatsby/package.json +++ b/packages/create-gatsby/package.json @@ -1,6 +1,6 @@ { "name": "create-gatsby", - "version": "2.21.0-next.2", + "version": "2.22.0-next.2", "main": "lib/index.js", "bin": "cli.js", "license": "MIT", @@ -17,7 +17,6 @@ ], "devDependencies": { "@ascorbic/worker-threads-shim": "^1.0.0", - "@babel/runtime": "^7.15.4", "@lukeed/uuid": "^2.0.0", "@types/configstore": "^4.0.0", "@types/fs-extra": "^9.0.13", @@ -25,10 +24,9 @@ "ansi-wordwrap": "^1.0.2", "common-tags": "^1.8.2", "enquirer": "^2.3.6", - "eslint": "^7.32.0", "execa": "^5.1.1", "fs-extra": "^10.1.0", - "gatsby-plugin-utils": "^3.15.0-next.2", + "gatsby-plugin-utils": "^3.16.0-next.1", "joi": "^17.4.2", "microbundle": "^0.15.0", "node-fetch": "^2.6.6", diff --git a/packages/gatsby-cli/CHANGELOG.md b/packages/gatsby-cli/CHANGELOG.md index 894b38bbf0a65..c046071c1a569 100644 --- a/packages/gatsby-cli/CHANGELOG.md +++ b/packages/gatsby-cli/CHANGELOG.md @@ -3,6 +3,19 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [4.21.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-cli@4.21.0/packages/gatsby-cli) (2022-08-16) + +[🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.21) + +#### Bug Fixes + +- Panic on gatsby-node.jsx/gatsby-node.tsx [#36308](https://github.com/gatsbyjs/gatsby/issues/36308) ([0ee492c](https://github.com/gatsbyjs/gatsby/commit/0ee492c8bf11917dc08b16acebe92bb752bdc3b7)) +- Add DEV_SSR note to 95312 error [#36295](https://github.com/gatsbyjs/gatsby/issues/36295) ([db531f8](https://github.com/gatsbyjs/gatsby/commit/db531f86f9e89d1da72d44399ad5fb72092be454)) + +#### Other Changes + +- BREAKING CHANGE(gatsby-plugin-mdx): MDX v2 [#35650](https://github.com/gatsbyjs/gatsby/issues/35650) ([c92db36](https://github.com/gatsbyjs/gatsby/commit/c92db36642268d1ee50c11ea568f836c7e5b4a03)) + ## [4.20.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-cli@4.20.0/packages/gatsby-cli) (2022-08-02) [🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.20) diff --git a/packages/gatsby-cli/package.json b/packages/gatsby-cli/package.json index b35a673b11989..2e023ddaf931e 100644 --- a/packages/gatsby-cli/package.json +++ b/packages/gatsby-cli/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-cli", "description": "Gatsby command-line interface for creating new sites and running Gatsby commands", - "version": "4.21.0-next.3", + "version": "4.22.0-next.3", "author": "Kyle Mathews ", "bin": { "gatsby": "cli.js" @@ -25,20 +25,18 @@ "chalk": "^4.1.2", "clipboardy": "^2.3.0", "common-tags": "^1.8.2", - "configstore": "^5.0.1", "convert-hrtime": "^3.0.0", - "create-gatsby": "^2.21.0-next.2", + "create-gatsby": "^2.22.0-next.2", "envinfo": "^7.8.1", "execa": "^5.1.1", "fs-exists-cached": "^1.0.0", "fs-extra": "^10.1.0", - "gatsby-core-utils": "^3.21.0-next.2", - "gatsby-telemetry": "^3.21.0-next.2", + "gatsby-core-utils": "^3.22.0-next.0", + "gatsby-telemetry": "^3.22.0-next.1", "hosted-git-info": "^3.0.8", "is-valid-path": "^0.1.1", "joi": "^17.4.2", "lodash": "^4.17.21", - "meant": "^1.0.3", "node-fetch": "^2.6.6", "opentracing": "^0.14.5", "pretty-error": "^2.1.2", @@ -65,7 +63,7 @@ "@types/hosted-git-info": "^3.0.2", "@types/yargs": "^15.0.14", "babel-plugin-lodash": "^3.3.4", - "babel-preset-gatsby-package": "^2.21.0-next.0", + "babel-preset-gatsby-package": "^2.22.0-next.0", "cross-env": "^7.0.3", "ink": "^3.2.0", "ink-spinner": "^4.0.3", diff --git a/packages/gatsby-cli/src/reporter/reporter.ts b/packages/gatsby-cli/src/reporter/reporter.ts index 49059f45653c8..5913c12942482 100644 --- a/packages/gatsby-cli/src/reporter/reporter.ts +++ b/packages/gatsby-cli/src/reporter/reporter.ts @@ -23,6 +23,7 @@ import { registerAdditionalDiagnosticOutputHandler, AdditionalDiagnosticsOutputHandler, } from "./redux/diagnostics" +import { isTruthy } from "gatsby-core-utils/is-truthy" const errorFormatter = getErrorFormatter() const tracer = globalTracer() @@ -35,7 +36,7 @@ export interface IActivityArgs { tags?: { [key: string]: any } } -let isVerbose = false +let isVerbose = isTruthy(process.env.GATSBY_REPORTER_ISVERBOSE) function isLogIntentMessage(msg: any): msg is ILogIntent { return msg && msg.type === `LOG_INTENT` @@ -74,6 +75,7 @@ class Reporter { */ setVerbose = (_isVerbose: boolean = true): void => { isVerbose = _isVerbose + process.env.GATSBY_REPORTER_ISVERBOSE = isVerbose ? `1` : `0` } /** diff --git a/packages/gatsby-codemods/CHANGELOG.md b/packages/gatsby-codemods/CHANGELOG.md index 299538eb069de..689f55742afda 100644 --- a/packages/gatsby-codemods/CHANGELOG.md +++ b/packages/gatsby-codemods/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [3.21.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-codemods@3.21.0/packages/gatsby-codemods) (2022-08-16) + +[🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.21) + +**Note:** Version bump only for package gatsby-codemods + ## [3.20.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-codemods@3.20.0/packages/gatsby-codemods) (2022-08-02) [🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.20) diff --git a/packages/gatsby-codemods/package.json b/packages/gatsby-codemods/package.json index 994f43fbff116..76db96775158a 100644 --- a/packages/gatsby-codemods/package.json +++ b/packages/gatsby-codemods/package.json @@ -1,6 +1,6 @@ { "name": "gatsby-codemods", - "version": "3.21.0-next.0", + "version": "3.22.0-next.0", "description": "A collection of codemod scripts for use with JSCodeshift that help migrate to newer versions of Gatsby.", "main": "index.js", "scripts": { @@ -36,7 +36,7 @@ }, "devDependencies": { "@babel/cli": "^7.15.4", - "babel-preset-gatsby-package": "^2.21.0-next.0", + "babel-preset-gatsby-package": "^2.22.0-next.0", "cross-env": "^7.0.3" }, "engines": { diff --git a/packages/gatsby-core-utils/CHANGELOG.md b/packages/gatsby-core-utils/CHANGELOG.md index aa048eed395e2..0fd8e02f81ad5 100644 --- a/packages/gatsby-core-utils/CHANGELOG.md +++ b/packages/gatsby-core-utils/CHANGELOG.md @@ -3,6 +3,18 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [3.21.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-core-utils@3.21.0/packages/gatsby-core-utils) (2022-08-16) + +[🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.21) + +#### Chores + +- update dependency del-cli to v5 for gatsby-core-utils [#36286](https://github.com/gatsbyjs/gatsby/issues/36286) ([a4f92b4](https://github.com/gatsbyjs/gatsby/commit/a4f92b4c2bcb75a84f01a857c4ed786fd40d27e7)) + +#### Other Changes + +- BREAKING CHANGE(gatsby-plugin-mdx): MDX v2 [#35650](https://github.com/gatsbyjs/gatsby/issues/35650) ([c92db36](https://github.com/gatsbyjs/gatsby/commit/c92db36642268d1ee50c11ea568f836c7e5b4a03)) + ## [3.20.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-core-utils@3.20.0/packages/gatsby-core-utils) (2022-08-02) [🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.20) diff --git a/packages/gatsby-core-utils/package.json b/packages/gatsby-core-utils/package.json index d40e389ea2aae..e3fecc9061b45 100644 --- a/packages/gatsby-core-utils/package.json +++ b/packages/gatsby-core-utils/package.json @@ -1,6 +1,6 @@ { "name": "gatsby-core-utils", - "version": "3.21.0-next.2", + "version": "3.22.0-next.0", "description": "A collection of gatsby utils used in different gatsby packages", "keywords": [ "gatsby", @@ -81,7 +81,7 @@ "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", "@types/ci-info": "2.0.0", - "babel-preset-gatsby-package": "^2.21.0-next.0", + "babel-preset-gatsby-package": "^2.22.0-next.0", "cross-env": "^7.0.3", "del-cli": "^5.0.0", "is-uuid": "^1.0.2", diff --git a/packages/gatsby-cypress/CHANGELOG.md b/packages/gatsby-cypress/CHANGELOG.md index 0a91d805adca4..0811701091e81 100644 --- a/packages/gatsby-cypress/CHANGELOG.md +++ b/packages/gatsby-cypress/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [2.21.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-cypress@2.21.0/packages/gatsby-cypress) (2022-08-16) + +[🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.21) + +**Note:** Version bump only for package gatsby-cypress + ## [2.20.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-cypress@2.20.0/packages/gatsby-cypress) (2022-08-02) [🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.20) diff --git a/packages/gatsby-cypress/package.json b/packages/gatsby-cypress/package.json index be807008ddbaf..48737e427b1bf 100644 --- a/packages/gatsby-cypress/package.json +++ b/packages/gatsby-cypress/package.json @@ -1,6 +1,6 @@ { "name": "gatsby-cypress", - "version": "2.21.0-next.0", + "version": "2.22.0-next.0", "description": "Cypress tools for Gatsby projects", "main": "index.js", "repository": { @@ -20,7 +20,7 @@ "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.21.0-next.0", + "babel-preset-gatsby-package": "^2.22.0-next.0", "cross-env": "^7.0.3" }, "keywords": [ diff --git a/packages/gatsby-design-tokens/CHANGELOG.md b/packages/gatsby-design-tokens/CHANGELOG.md index 1dc33ff7162d2..079f9c81dd965 100644 --- a/packages/gatsby-design-tokens/CHANGELOG.md +++ b/packages/gatsby-design-tokens/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [4.21.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-design-tokens@4.21.0/packages/gatsby-design-tokens) (2022-08-16) + +[🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.21) + +**Note:** Version bump only for package gatsby-design-tokens + ## [4.20.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-design-tokens@4.20.0/packages/gatsby-design-tokens) (2022-08-02) [🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.20) diff --git a/packages/gatsby-design-tokens/package.json b/packages/gatsby-design-tokens/package.json index 8529587b43e87..5ce53fe19bd77 100644 --- a/packages/gatsby-design-tokens/package.json +++ b/packages/gatsby-design-tokens/package.json @@ -1,6 +1,6 @@ { "name": "gatsby-design-tokens", - "version": "4.21.0-next.0", + "version": "4.22.0-next.0", "description": "Gatsby Design Tokens", "main": "dist/index.js", "module": "dist/index.esm.js", diff --git a/packages/gatsby-dev-cli/CHANGELOG.md b/packages/gatsby-dev-cli/CHANGELOG.md index aa91e4f70f948..272dfc3602556 100644 --- a/packages/gatsby-dev-cli/CHANGELOG.md +++ b/packages/gatsby-dev-cli/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [4.21.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-dev-cli@4.21.0/packages/gatsby-dev-cli) (2022-08-16) + +[🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.21) + +**Note:** Version bump only for package gatsby-dev-cli + ## [4.20.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-dev-cli@4.20.0/packages/gatsby-dev-cli) (2022-08-02) [🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.20) diff --git a/packages/gatsby-dev-cli/package.json b/packages/gatsby-dev-cli/package.json index 1d484a8eedf60..e088472c49e41 100644 --- a/packages/gatsby-dev-cli/package.json +++ b/packages/gatsby-dev-cli/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-dev-cli", "description": "CLI helpers for contributors working on Gatsby", - "version": "4.21.0-next.0", + "version": "4.22.0-next.0", "author": "Kyle Mathews ", "bin": { "gatsby-dev": "./dist/index.js" @@ -27,7 +27,7 @@ "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.21.0-next.0", + "babel-preset-gatsby-package": "^2.22.0-next.0", "cross-env": "^7.0.3" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-dev-cli#readme", diff --git a/packages/gatsby-graphiql-explorer/CHANGELOG.md b/packages/gatsby-graphiql-explorer/CHANGELOG.md index 773aa4822e808..62e10a8482e0a 100644 --- a/packages/gatsby-graphiql-explorer/CHANGELOG.md +++ b/packages/gatsby-graphiql-explorer/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [2.21.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-graphiql-explorer@2.21.0/packages/gatsby-graphiql-explorer) (2022-08-16) + +[🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.21) + +**Note:** Version bump only for package gatsby-graphiql-explorer + ## [2.20.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-graphiql-explorer@2.20.0/packages/gatsby-graphiql-explorer) (2022-08-02) [🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.20) diff --git a/packages/gatsby-graphiql-explorer/package.json b/packages/gatsby-graphiql-explorer/package.json index cf8eb7c32934f..ecfc6762afe67 100644 --- a/packages/gatsby-graphiql-explorer/package.json +++ b/packages/gatsby-graphiql-explorer/package.json @@ -1,6 +1,6 @@ { "name": "gatsby-graphiql-explorer", - "version": "2.21.0-next.0", + "version": "2.22.0-next.0", "description": "GraphiQL IDE with custom features for Gatsby users", "main": "index.js", "scripts": { @@ -38,7 +38,7 @@ "@babel/preset-env": "^7.15.4", "@babel/preset-react": "^7.14.0", "babel-loader": "^8.2.2", - "babel-preset-gatsby-package": "^2.21.0-next.0", + "babel-preset-gatsby-package": "^2.22.0-next.0", "core-js": "^3.22.3", "cross-env": "^7.0.3", "css-loader": "^6.2.0", diff --git a/packages/gatsby-legacy-polyfills/CHANGELOG.md b/packages/gatsby-legacy-polyfills/CHANGELOG.md index 309ecbd461c46..6602c97a9043f 100644 --- a/packages/gatsby-legacy-polyfills/CHANGELOG.md +++ b/packages/gatsby-legacy-polyfills/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [2.21.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-legacy-polyfills@2.21.0/packages/gatsby-legacy-polyfills) (2022-08-16) + +[🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.21) + +**Note:** Version bump only for package gatsby-legacy-polyfills + ## [2.20.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-legacy-polyfills@2.20.0/packages/gatsby-legacy-polyfills) (2022-08-02) [🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.20) diff --git a/packages/gatsby-legacy-polyfills/package.json b/packages/gatsby-legacy-polyfills/package.json index 75e98bec44670..5e9a168e19dfd 100644 --- a/packages/gatsby-legacy-polyfills/package.json +++ b/packages/gatsby-legacy-polyfills/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-legacy-polyfills", "description": "Polyfills for legacy browsers", - "version": "2.21.0-next.0", + "version": "2.22.0-next.0", "main": "dist/polyfills.js", "author": "Ward Peeters ", "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-legacy-polyfills#readme", diff --git a/packages/gatsby-link/CHANGELOG.md b/packages/gatsby-link/CHANGELOG.md index 434e9d6c44ad2..b87cc2cf43ba5 100644 --- a/packages/gatsby-link/CHANGELOG.md +++ b/packages/gatsby-link/CHANGELOG.md @@ -3,6 +3,18 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [4.21.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-link@4.21.0/packages/gatsby-link) (2022-08-16) + +[🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.21) + +#### Bug Fixes + +- Correctly export default for CJS [#36312](https://github.com/gatsbyjs/gatsby/issues/36312) ([abb0baa](https://github.com/gatsbyjs/gatsby/commit/abb0baac94dee30043d669ac39a88a830784603b)) + +#### Chores + +- update dependency del-cli to v5 for gatsby-link [#36287](https://github.com/gatsbyjs/gatsby/issues/36287) ([272b419](https://github.com/gatsbyjs/gatsby/commit/272b419cd85926c4d820f4d37a986d9b1c2326bf)) + ## [4.20.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-link@4.20.0/packages/gatsby-link) (2022-08-02) [🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.20) diff --git a/packages/gatsby-link/package.json b/packages/gatsby-link/package.json index 3a43580d63a6a..9315b865e61c6 100644 --- a/packages/gatsby-link/package.json +++ b/packages/gatsby-link/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-link", "description": "An enhanced Link component for Gatsby sites with support for resource prefetching", - "version": "4.21.0-next.3", + "version": "4.22.0-next.0", "author": "Kyle Mathews ", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -26,7 +26,7 @@ }, "dependencies": { "@types/reach__router": "^1.3.10", - "gatsby-page-utils": "^2.21.0-next.2", + "gatsby-page-utils": "^2.22.0-next.0", "prop-types": "^15.8.1" }, "devDependencies": { diff --git a/packages/gatsby-page-utils/CHANGELOG.md b/packages/gatsby-page-utils/CHANGELOG.md index a51906e70a63c..f87b81272fea6 100644 --- a/packages/gatsby-page-utils/CHANGELOG.md +++ b/packages/gatsby-page-utils/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [2.21.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-page-utils@2.21.0/packages/gatsby-page-utils) (2022-08-16) + +[🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.21) + +**Note:** Version bump only for package gatsby-page-utils + ## [2.20.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-page-utils@2.20.0/packages/gatsby-page-utils) (2022-08-02) [🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.20) diff --git a/packages/gatsby-page-utils/package.json b/packages/gatsby-page-utils/package.json index 8cd653d8d56c4..f76a629871469 100644 --- a/packages/gatsby-page-utils/package.json +++ b/packages/gatsby-page-utils/package.json @@ -1,6 +1,6 @@ { "name": "gatsby-page-utils", - "version": "2.21.0-next.2", + "version": "2.22.0-next.0", "description": "Gatsby library that helps creating pages", "main": "dist/index.js", "types": "dist/index.d.ts", @@ -30,7 +30,7 @@ "bluebird": "^3.7.2", "chokidar": "^3.5.3", "fs-exists-cached": "^1.0.0", - "gatsby-core-utils": "^3.21.0-next.2", + "gatsby-core-utils": "^3.22.0-next.0", "glob": "^7.2.3", "lodash": "^4.17.21", "micromatch": "^4.0.5" @@ -39,7 +39,7 @@ "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", "@types/micromatch": "^4.0.2", - "babel-preset-gatsby-package": "^2.21.0-next.0", + "babel-preset-gatsby-package": "^2.22.0-next.0", "cross-env": "^7.0.3", "rimraf": "^3.0.2", "typescript": "^4.7.4" diff --git a/packages/gatsby-parcel-config/CHANGELOG.md b/packages/gatsby-parcel-config/CHANGELOG.md index 572abdbfab3b4..2bc07f8010dad 100644 --- a/packages/gatsby-parcel-config/CHANGELOG.md +++ b/packages/gatsby-parcel-config/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.12.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-parcel-config@0.12.0/packages/gatsby-parcel-config) (2022-08-16) + +[🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.21) + +**Note:** Version bump only for package gatsby-parcel-config + ## [0.11.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-parcel-config@0.11.0/packages/gatsby-parcel-config) (2022-08-02) [🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.20) diff --git a/packages/gatsby-parcel-config/package.json b/packages/gatsby-parcel-config/package.json index 913fb3612584a..91213db386b70 100644 --- a/packages/gatsby-parcel-config/package.json +++ b/packages/gatsby-parcel-config/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-parcel-config", "main": "lib/index.json", - "version": "0.12.0-next.2", + "version": "0.13.0-next.0", "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-parcel-config#readme", "description": "A minimal Parcel config for use in Gatsby", "repository": { @@ -14,7 +14,7 @@ "parcel": "2.x" }, "dependencies": { - "@gatsbyjs/parcel-namer-relative-to-cwd": "1.6.0-next.2", + "@gatsbyjs/parcel-namer-relative-to-cwd": "1.7.0-next.0", "@parcel/bundler-default": "2.6.2", "@parcel/compressor-raw": "2.6.2", "@parcel/namer-default": "2.6.2", diff --git a/packages/gatsby-parcel-namer-relative-to-cwd/CHANGELOG.md b/packages/gatsby-parcel-namer-relative-to-cwd/CHANGELOG.md index 64973babcc85c..a93fb332e312b 100644 --- a/packages/gatsby-parcel-namer-relative-to-cwd/CHANGELOG.md +++ b/packages/gatsby-parcel-namer-relative-to-cwd/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.6.0](https://github.com/gatsbyjs/gatsby/commits/@gatsbyjs/parcel-namer-relative-to-cwd@1.6.0/packages/@gatsbyjs/parcel-namer-relative-to-cwd) (2022-08-16) + +[🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.21) + +**Note:** Version bump only for package @gatsbyjs/parcel-namer-relative-to-cwd + ## [1.5.0](https://github.com/gatsbyjs/gatsby/commits/@gatsbyjs/parcel-namer-relative-to-cwd@1.5.0/packages/@gatsbyjs/parcel-namer-relative-to-cwd) (2022-08-02) [🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.20) diff --git a/packages/gatsby-parcel-namer-relative-to-cwd/package.json b/packages/gatsby-parcel-namer-relative-to-cwd/package.json index b8bcccc0ffb8e..85ede4e93b04a 100644 --- a/packages/gatsby-parcel-namer-relative-to-cwd/package.json +++ b/packages/gatsby-parcel-namer-relative-to-cwd/package.json @@ -1,7 +1,7 @@ { "name": "@gatsbyjs/parcel-namer-relative-to-cwd", "main": "lib/index.js", - "version": "1.6.0-next.2", + "version": "1.7.0-next.0", "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-parcel-namer-relative-to-cwd#readme", "description": "Parcel namer that preserve directory structure to stabilize output and keep the hierarchy.", "author": "Michal Piechowiak ", @@ -19,12 +19,12 @@ "@babel/runtime": "^7.18.0", "@parcel/namer-default": "2.6.2", "@parcel/plugin": "2.6.2", - "gatsby-core-utils": "^3.21.0-next.2" + "gatsby-core-utils": "^3.22.0-next.0" }, "devDependencies": { "@babel/cli": "^7.17.10", "@babel/core": "^7.18.0", - "babel-preset-gatsby-package": "^2.21.0-next.0", + "babel-preset-gatsby-package": "^2.22.0-next.0", "cross-env": "^7.0.3" }, "scripts": { diff --git a/packages/gatsby-plugin-benchmark-reporting/CHANGELOG.md b/packages/gatsby-plugin-benchmark-reporting/CHANGELOG.md index d6c0c24a33262..78ba6ad0dd12d 100644 --- a/packages/gatsby-plugin-benchmark-reporting/CHANGELOG.md +++ b/packages/gatsby-plugin-benchmark-reporting/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [2.21.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-plugin-benchmark-reporting@2.21.0/packages/gatsby-plugin-benchmark-reporting) (2022-08-16) + +[🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.21) + +**Note:** Version bump only for package gatsby-plugin-benchmark-reporting + ## [2.20.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-plugin-benchmark-reporting@2.20.0/packages/gatsby-plugin-benchmark-reporting) (2022-08-02) [🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.20) diff --git a/packages/gatsby-plugin-benchmark-reporting/package.json b/packages/gatsby-plugin-benchmark-reporting/package.json index 3e91a360d60f1..17fb18f24f178 100644 --- a/packages/gatsby-plugin-benchmark-reporting/package.json +++ b/packages/gatsby-plugin-benchmark-reporting/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-plugin-benchmark-reporting", "description": "Gatsby Benchmark Reporting", - "version": "2.21.0-next.2", + "version": "2.22.0-next.0", "author": "Peter van der Zee ", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -16,12 +16,12 @@ "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.21.0-next.0" + "babel-preset-gatsby-package": "^2.22.0-next.0" }, "dependencies": { "@babel/runtime": "^7.15.4", "fast-glob": "^3.2.11", - "gatsby-core-utils": "^3.21.0-next.2", + "gatsby-core-utils": "^3.22.0-next.0", "node-fetch": "^2.6.7" }, "peerDependencies": { diff --git a/packages/gatsby-plugin-canonical-urls/CHANGELOG.md b/packages/gatsby-plugin-canonical-urls/CHANGELOG.md index be84c0ac7fa58..664950fb2f9bf 100644 --- a/packages/gatsby-plugin-canonical-urls/CHANGELOG.md +++ b/packages/gatsby-plugin-canonical-urls/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [4.21.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-plugin-canonical-urls@4.21.0/packages/gatsby-plugin-canonical-urls) (2022-08-16) + +[🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.21) + +**Note:** Version bump only for package gatsby-plugin-canonical-urls + ## [4.20.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-plugin-canonical-urls@4.20.0/packages/gatsby-plugin-canonical-urls) (2022-08-02) [🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.20) diff --git a/packages/gatsby-plugin-canonical-urls/package.json b/packages/gatsby-plugin-canonical-urls/package.json index 1e7e8ba2b89b1..6d9d36ff12c7d 100644 --- a/packages/gatsby-plugin-canonical-urls/package.json +++ b/packages/gatsby-plugin-canonical-urls/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-plugin-canonical-urls", "description": "Add canonical links to HTML pages Gatsby generates.", - "version": "4.21.0-next.0", + "version": "4.22.0-next.0", "author": "Kyle Mathews ", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -12,7 +12,7 @@ "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.21.0-next.0", + "babel-preset-gatsby-package": "^2.22.0-next.0", "cross-env": "^7.0.3" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-canonical-urls#readme", diff --git a/packages/gatsby-plugin-catch-links/CHANGELOG.md b/packages/gatsby-plugin-catch-links/CHANGELOG.md index 765046782c631..c4b466eb3a65b 100644 --- a/packages/gatsby-plugin-catch-links/CHANGELOG.md +++ b/packages/gatsby-plugin-catch-links/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [4.21.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-plugin-catch-links@4.21.0/packages/gatsby-plugin-catch-links) (2022-08-16) + +[🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.21) + +**Note:** Version bump only for package gatsby-plugin-catch-links + ## [4.20.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-plugin-catch-links@4.20.0/packages/gatsby-plugin-catch-links) (2022-08-02) [🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.20) diff --git a/packages/gatsby-plugin-catch-links/package.json b/packages/gatsby-plugin-catch-links/package.json index 85e22dd5a121e..dc9e6bf6a0ae9 100644 --- a/packages/gatsby-plugin-catch-links/package.json +++ b/packages/gatsby-plugin-catch-links/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-plugin-catch-links", "description": "Intercepts local links from markdown and other non-react pages and does a client-side pushState to avoid the browser having to refresh the page.", - "version": "4.21.0-next.0", + "version": "4.22.0-next.0", "author": "Kyle Mathews ", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -13,7 +13,7 @@ "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.21.0-next.0", + "babel-preset-gatsby-package": "^2.22.0-next.0", "cross-env": "^7.0.3" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-catch-links#readme", diff --git a/packages/gatsby-plugin-coffeescript/CHANGELOG.md b/packages/gatsby-plugin-coffeescript/CHANGELOG.md index eeb2091a400e9..731ea9c248541 100644 --- a/packages/gatsby-plugin-coffeescript/CHANGELOG.md +++ b/packages/gatsby-plugin-coffeescript/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [4.21.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-plugin-coffeescript@4.21.0/packages/gatsby-plugin-coffeescript) (2022-08-16) + +[🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.21) + +**Note:** Version bump only for package gatsby-plugin-coffeescript + ## [4.20.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-plugin-coffeescript@4.20.0/packages/gatsby-plugin-coffeescript) (2022-08-02) [🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.20) diff --git a/packages/gatsby-plugin-coffeescript/package.json b/packages/gatsby-plugin-coffeescript/package.json index 3a87dcd4750b7..aa87cab766bd1 100644 --- a/packages/gatsby-plugin-coffeescript/package.json +++ b/packages/gatsby-plugin-coffeescript/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-plugin-coffeescript", "description": "Adds CoffeeScript support for Gatsby", - "version": "4.21.0-next.0", + "version": "4.22.0-next.0", "author": "Kyle Mathews ", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -18,7 +18,7 @@ "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.21.0-next.0", + "babel-preset-gatsby-package": "^2.22.0-next.0", "cross-env": "^7.0.3" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-coffeescript#readme", diff --git a/packages/gatsby-plugin-cxs/CHANGELOG.md b/packages/gatsby-plugin-cxs/CHANGELOG.md index 262e95acc027b..b29be17795f3e 100644 --- a/packages/gatsby-plugin-cxs/CHANGELOG.md +++ b/packages/gatsby-plugin-cxs/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [4.21.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-plugin-cxs@4.21.0/packages/gatsby-plugin-cxs) (2022-08-16) + +[🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.21) + +**Note:** Version bump only for package gatsby-plugin-cxs + ## [4.20.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-plugin-cxs@4.20.0/packages/gatsby-plugin-cxs) (2022-08-02) [🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.20) diff --git a/packages/gatsby-plugin-cxs/package.json b/packages/gatsby-plugin-cxs/package.json index bd5aa16aaadf2..b9d3707307d61 100644 --- a/packages/gatsby-plugin-cxs/package.json +++ b/packages/gatsby-plugin-cxs/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-plugin-cxs", "description": "Gatsby plugin to add SSR support for ctx", - "version": "4.21.0-next.2", + "version": "4.22.0-next.1", "author": "Chen-Tai Hou ", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -12,10 +12,10 @@ "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.21.0-next.0", + "babel-preset-gatsby-package": "^2.22.0-next.0", "cross-env": "^7.0.3", "cxs": "^6.2.0", - "gatsby-plugin-utils": "^3.15.0-next.2" + "gatsby-plugin-utils": "^3.16.0-next.1" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-cxs#readme", "keywords": [ diff --git a/packages/gatsby-plugin-emotion/CHANGELOG.md b/packages/gatsby-plugin-emotion/CHANGELOG.md index 9e6600ad6e46d..71c1b2739e458 100644 --- a/packages/gatsby-plugin-emotion/CHANGELOG.md +++ b/packages/gatsby-plugin-emotion/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [7.21.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-plugin-emotion@7.21.0/packages/gatsby-plugin-emotion) (2022-08-16) + +[🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.21) + +**Note:** Version bump only for package gatsby-plugin-emotion + ## [7.20.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-plugin-emotion@7.20.0/packages/gatsby-plugin-emotion) (2022-08-02) [🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.20) diff --git a/packages/gatsby-plugin-emotion/package.json b/packages/gatsby-plugin-emotion/package.json index bd197a3e805a9..062e080f03a22 100644 --- a/packages/gatsby-plugin-emotion/package.json +++ b/packages/gatsby-plugin-emotion/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-plugin-emotion", "description": "Gatsby plugin to add support for Emotion", - "version": "7.21.0-next.0", + "version": "7.22.0-next.0", "author": "Tegan Churchill ", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -13,7 +13,7 @@ "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.21.0-next.0", + "babel-preset-gatsby-package": "^2.22.0-next.0", "cross-env": "^7.0.3" }, "peerDependencies": { diff --git a/packages/gatsby-plugin-facebook-analytics/CHANGELOG.md b/packages/gatsby-plugin-facebook-analytics/CHANGELOG.md index 7b062f1971efb..c040f33f9f43a 100644 --- a/packages/gatsby-plugin-facebook-analytics/CHANGELOG.md +++ b/packages/gatsby-plugin-facebook-analytics/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [4.21.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-plugin-facebook-analytics@4.21.0/packages/gatsby-plugin-facebook-analytics) (2022-08-16) + +[🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.21) + +**Note:** Version bump only for package gatsby-plugin-facebook-analytics + ## [4.20.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-plugin-facebook-analytics@4.20.0/packages/gatsby-plugin-facebook-analytics) (2022-08-02) [🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.20) diff --git a/packages/gatsby-plugin-facebook-analytics/package.json b/packages/gatsby-plugin-facebook-analytics/package.json index 217c52e5804d1..ab15017a53938 100644 --- a/packages/gatsby-plugin-facebook-analytics/package.json +++ b/packages/gatsby-plugin-facebook-analytics/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-plugin-facebook-analytics", "description": "Gatsby plugin to add facebook analytics onto a site", - "version": "4.21.0-next.0", + "version": "4.22.0-next.0", "author": "Yeison Daza ", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -12,7 +12,7 @@ "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.21.0-next.0", + "babel-preset-gatsby-package": "^2.22.0-next.0", "cross-env": "^7.0.3" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-facebook-analytics#readme", diff --git a/packages/gatsby-plugin-feed/CHANGELOG.md b/packages/gatsby-plugin-feed/CHANGELOG.md index d2bb9b2a61521..10e6cecdd0c18 100644 --- a/packages/gatsby-plugin-feed/CHANGELOG.md +++ b/packages/gatsby-plugin-feed/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [4.21.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-plugin-feed@4.21.0/packages/gatsby-plugin-feed) (2022-08-16) + +[🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.21) + +**Note:** Version bump only for package gatsby-plugin-feed + ## [4.20.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-plugin-feed@4.20.0/packages/gatsby-plugin-feed) (2022-08-02) [🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.20) diff --git a/packages/gatsby-plugin-feed/package.json b/packages/gatsby-plugin-feed/package.json index 1910321f69352..6ec80e886a4c1 100644 --- a/packages/gatsby-plugin-feed/package.json +++ b/packages/gatsby-plugin-feed/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-plugin-feed", "description": "Creates an RSS feed for your Gatsby site.", - "version": "4.21.0-next.2", + "version": "4.22.0-next.1", "author": "Nicholas Young ", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -11,14 +11,14 @@ "@hapi/joi": "^15.1.1", "common-tags": "^1.8.2", "fs-extra": "^10.1.0", - "gatsby-plugin-utils": "^3.15.0-next.2", + "gatsby-plugin-utils": "^3.16.0-next.1", "lodash.merge": "^4.6.2", "rss": "^1.2.2" }, "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.21.0-next.0", + "babel-preset-gatsby-package": "^2.22.0-next.0", "cross-env": "^7.0.3" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-feed#readme", diff --git a/packages/gatsby-plugin-flow/CHANGELOG.md b/packages/gatsby-plugin-flow/CHANGELOG.md index 5e6891d06a109..c5fb250d4fc66 100644 --- a/packages/gatsby-plugin-flow/CHANGELOG.md +++ b/packages/gatsby-plugin-flow/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [3.21.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-plugin-flow@3.21.0/packages/gatsby-plugin-flow) (2022-08-16) + +[🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.21) + +**Note:** Version bump only for package gatsby-plugin-flow + ## [3.20.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-plugin-flow@3.20.0/packages/gatsby-plugin-flow) (2022-08-02) [🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.20) diff --git a/packages/gatsby-plugin-flow/package.json b/packages/gatsby-plugin-flow/package.json index 3f726cd3bd37c..e6ca76b0524cd 100644 --- a/packages/gatsby-plugin-flow/package.json +++ b/packages/gatsby-plugin-flow/package.json @@ -1,6 +1,6 @@ { "name": "gatsby-plugin-flow", - "version": "3.21.0-next.2", + "version": "3.22.0-next.1", "description": "Provides drop-in support for Flow by adding @babel/preset-flow.", "main": "index.js", "scripts": { @@ -30,9 +30,9 @@ "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.21.0-next.0", + "babel-preset-gatsby-package": "^2.22.0-next.0", "cross-env": "^7.0.3", - "gatsby-plugin-utils": "^3.15.0-next.2" + "gatsby-plugin-utils": "^3.16.0-next.1" }, "peerDependencies": { "gatsby": "^4.0.0-next" diff --git a/packages/gatsby-plugin-fullstory/CHANGELOG.md b/packages/gatsby-plugin-fullstory/CHANGELOG.md index a17ba66289323..c82a40d5c28b9 100644 --- a/packages/gatsby-plugin-fullstory/CHANGELOG.md +++ b/packages/gatsby-plugin-fullstory/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [4.21.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-plugin-fullstory@4.21.0/packages/gatsby-plugin-fullstory) (2022-08-16) + +[🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.21) + +**Note:** Version bump only for package gatsby-plugin-fullstory + ## [4.20.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-plugin-fullstory@4.20.0/packages/gatsby-plugin-fullstory) (2022-08-02) [🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.20) diff --git a/packages/gatsby-plugin-fullstory/package.json b/packages/gatsby-plugin-fullstory/package.json index da0b5474bb974..bd71e41f00b06 100644 --- a/packages/gatsby-plugin-fullstory/package.json +++ b/packages/gatsby-plugin-fullstory/package.json @@ -1,6 +1,6 @@ { "name": "gatsby-plugin-fullstory", - "version": "4.21.0-next.0", + "version": "4.22.0-next.0", "description": "Plugin to add the tracking code for Fullstory.com", "main": "index.js", "scripts": { @@ -29,7 +29,7 @@ "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.21.0-next.0", + "babel-preset-gatsby-package": "^2.22.0-next.0", "cross-env": "^7.0.3" }, "peerDependencies": { diff --git a/packages/gatsby-plugin-gatsby-cloud/CHANGELOG.md b/packages/gatsby-plugin-gatsby-cloud/CHANGELOG.md index 13c08b820d513..a9e8481e92fe2 100644 --- a/packages/gatsby-plugin-gatsby-cloud/CHANGELOG.md +++ b/packages/gatsby-plugin-gatsby-cloud/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [4.21.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-plugin-gatsby-cloud@4.21.0/packages/gatsby-plugin-gatsby-cloud) (2022-08-16) + +[🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.21) + +**Note:** Version bump only for package gatsby-plugin-gatsby-cloud + ## [4.20.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-plugin-gatsby-cloud@4.20.0/packages/gatsby-plugin-gatsby-cloud) (2022-08-02) [🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.20) diff --git a/packages/gatsby-plugin-gatsby-cloud/package.json b/packages/gatsby-plugin-gatsby-cloud/package.json index 8050a62ebf1c7..341cde4bed5fe 100644 --- a/packages/gatsby-plugin-gatsby-cloud/package.json +++ b/packages/gatsby-plugin-gatsby-cloud/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-plugin-gatsby-cloud", "description": "A Gatsby plugin which optimizes working with Gatsby Cloud", - "version": "4.21.0-next.2", + "version": "4.22.0-next.1", "author": "Kyle Mathews ", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -9,8 +9,8 @@ "dependencies": { "@babel/runtime": "^7.15.4", "fs-extra": "^10.1.0", - "gatsby-core-utils": "^3.21.0-next.2", - "gatsby-telemetry": "^3.21.0-next.2", + "gatsby-core-utils": "^3.22.0-next.0", + "gatsby-telemetry": "^3.22.0-next.1", "kebab-hash": "^0.1.2", "lodash": "^4.17.21", "webpack-assets-manifest": "^5.1.0" @@ -18,7 +18,7 @@ "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.21.0-next.0", + "babel-preset-gatsby-package": "^2.22.0-next.0", "cpy-cli": "^3.1.1", "cross-env": "^7.0.3", "del-cli": "^3.0.1", diff --git a/packages/gatsby-plugin-google-analytics/CHANGELOG.md b/packages/gatsby-plugin-google-analytics/CHANGELOG.md index ad3c432a449b3..d2613036d7fd2 100644 --- a/packages/gatsby-plugin-google-analytics/CHANGELOG.md +++ b/packages/gatsby-plugin-google-analytics/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [4.21.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-plugin-google-analytics@4.21.0/packages/gatsby-plugin-google-analytics) (2022-08-16) + +[🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.21) + +**Note:** Version bump only for package gatsby-plugin-google-analytics + ## [4.20.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-plugin-google-analytics@4.20.0/packages/gatsby-plugin-google-analytics) (2022-08-02) [🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.20) diff --git a/packages/gatsby-plugin-google-analytics/package.json b/packages/gatsby-plugin-google-analytics/package.json index 3a9ab9c54b10a..546fb05f69c92 100644 --- a/packages/gatsby-plugin-google-analytics/package.json +++ b/packages/gatsby-plugin-google-analytics/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-plugin-google-analytics", "description": "Gatsby plugin to add google analytics onto a site", - "version": "4.21.0-next.0", + "version": "4.22.0-next.0", "author": "Kyle Mathews ", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -15,7 +15,7 @@ "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", "@testing-library/react": "^11.2.7", - "babel-preset-gatsby-package": "^2.21.0-next.0", + "babel-preset-gatsby-package": "^2.22.0-next.0", "cross-env": "^7.0.3" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-google-analytics#readme", diff --git a/packages/gatsby-plugin-google-gtag/CHANGELOG.md b/packages/gatsby-plugin-google-gtag/CHANGELOG.md index 277fcbed603ab..12ceadec4721e 100644 --- a/packages/gatsby-plugin-google-gtag/CHANGELOG.md +++ b/packages/gatsby-plugin-google-gtag/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [4.21.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-plugin-google-gtag@4.21.0/packages/gatsby-plugin-google-gtag) (2022-08-16) + +[🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.21) + +**Note:** Version bump only for package gatsby-plugin-google-gtag + ## [4.20.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-plugin-google-gtag@4.20.0/packages/gatsby-plugin-google-gtag) (2022-08-02) [🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.20) diff --git a/packages/gatsby-plugin-google-gtag/package.json b/packages/gatsby-plugin-google-gtag/package.json index 93c16053a8c68..9c654a00a1949 100644 --- a/packages/gatsby-plugin-google-gtag/package.json +++ b/packages/gatsby-plugin-google-gtag/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-plugin-google-gtag", "description": "Gatsby plugin to add google gtag onto a site", - "version": "4.21.0-next.0", + "version": "4.22.0-next.0", "author": "Tyler Buchea ", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -13,7 +13,7 @@ "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.21.0-next.0", + "babel-preset-gatsby-package": "^2.22.0-next.0", "cross-env": "^7.0.3" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-google-gtag#readme", diff --git a/packages/gatsby-plugin-google-tagmanager/CHANGELOG.md b/packages/gatsby-plugin-google-tagmanager/CHANGELOG.md index e4c941affb896..7793e4bca2f68 100644 --- a/packages/gatsby-plugin-google-tagmanager/CHANGELOG.md +++ b/packages/gatsby-plugin-google-tagmanager/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [4.21.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-plugin-google-tagmanager@4.21.0/packages/gatsby-plugin-google-tagmanager) (2022-08-16) + +[🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.21) + +**Note:** Version bump only for package gatsby-plugin-google-tagmanager + ## [4.20.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-plugin-google-tagmanager@4.20.0/packages/gatsby-plugin-google-tagmanager) (2022-08-02) [🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.20) diff --git a/packages/gatsby-plugin-google-tagmanager/package.json b/packages/gatsby-plugin-google-tagmanager/package.json index 95c95081c3dc5..3abb7ff878c27 100644 --- a/packages/gatsby-plugin-google-tagmanager/package.json +++ b/packages/gatsby-plugin-google-tagmanager/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-plugin-google-tagmanager", "description": "Gatsby plugin to add google tagmanager onto a site", - "version": "4.21.0-next.2", + "version": "4.22.0-next.1", "author": "Thijs Koerselman ", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -13,9 +13,9 @@ "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.21.0-next.0", + "babel-preset-gatsby-package": "^2.22.0-next.0", "cross-env": "^7.0.3", - "gatsby-plugin-utils": "^3.15.0-next.2" + "gatsby-plugin-utils": "^3.16.0-next.1" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-google-tagmanager#readme", "keywords": [ diff --git a/packages/gatsby-plugin-image/CHANGELOG.md b/packages/gatsby-plugin-image/CHANGELOG.md index 8fce56977446f..f5f8ced7453f4 100644 --- a/packages/gatsby-plugin-image/CHANGELOG.md +++ b/packages/gatsby-plugin-image/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [2.21.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-plugin-image@2.21.0/packages/gatsby-plugin-image) (2022-08-16) + +[🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.21) + +#### Bug Fixes + +- Add `outputPixelDensities` to `SHARP_ATTRIBUTES` [#36203](https://github.com/gatsbyjs/gatsby/issues/36203) ([ae226b5](https://github.com/gatsbyjs/gatsby/commit/ae226b589369e3b724cc3b5ded5b7b1b1a907afb)) + ## [2.20.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-plugin-image@2.20.0/packages/gatsby-plugin-image) (2022-08-02) [🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.20) diff --git a/packages/gatsby-plugin-image/package.json b/packages/gatsby-plugin-image/package.json index b5637ab6b8c4d..fda969c9695be 100644 --- a/packages/gatsby-plugin-image/package.json +++ b/packages/gatsby-plugin-image/package.json @@ -1,6 +1,6 @@ { "name": "gatsby-plugin-image", - "version": "2.21.0-next.2", + "version": "2.22.0-next.2", "scripts": { "build": "npm-run-all --npm-path npm -s clean -p build:*", "build:gatsby-node": "tsc --jsx react --downlevelIteration true --skipLibCheck true --esModuleInterop true --outDir dist/ src/gatsby-node.ts src/babel-plugin-parse-static-images.ts src/resolver-utils.ts src/types.d.ts -d --declarationDir dist/src", @@ -77,13 +77,13 @@ "@babel/runtime": "^7.15.4", "@babel/traverse": "^7.15.4", "babel-jsx-utils": "^1.1.0", - "babel-plugin-remove-graphql-queries": "^4.21.0-next.2", + "babel-plugin-remove-graphql-queries": "^4.22.0-next.0", "camelcase": "^5.3.1", "chokidar": "^3.5.3", "common-tags": "^1.8.2", "fs-extra": "^10.1.0", - "gatsby-core-utils": "^3.21.0-next.2", - "gatsby-plugin-utils": "^3.15.0-next.2", + "gatsby-core-utils": "^3.22.0-next.0", + "gatsby-plugin-utils": "^3.16.0-next.1", "objectFitPolyfill": "^2.3.5", "prop-types": "^15.8.1" }, diff --git a/packages/gatsby-plugin-image/src/components/gatsby-image.browser.tsx b/packages/gatsby-plugin-image/src/components/gatsby-image.browser.tsx index 82ee4a7b1b2ce..6aa6ff9cbefc1 100644 --- a/packages/gatsby-plugin-image/src/components/gatsby-image.browser.tsx +++ b/packages/gatsby-plugin-image/src/components/gatsby-image.browser.tsx @@ -122,12 +122,13 @@ const GatsbyImageHydrator: FC = function GatsbyImageHydrator({ ssrImage.removeAttribute(`data-gatsby-image-ssr`) }, 0) } else { - document.addEventListener(`load`, function onLoadListener() { - document.removeEventListener(`load`, onLoadListener) + onStartLoad?.({ + wasCached: true, + }) + + ssrImage.addEventListener(`load`, function onLoadListener() { + ssrImage.removeEventListener(`load`, onLoadListener) - onStartLoad?.({ - wasCached: true, - }) onLoad?.({ wasCached: true, }) diff --git a/packages/gatsby-plugin-jss/CHANGELOG.md b/packages/gatsby-plugin-jss/CHANGELOG.md index 96a0867f12338..96d7dc82abb0f 100644 --- a/packages/gatsby-plugin-jss/CHANGELOG.md +++ b/packages/gatsby-plugin-jss/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [4.21.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-plugin-jss@4.21.0/packages/gatsby-plugin-jss) (2022-08-16) + +[🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.21) + +**Note:** Version bump only for package gatsby-plugin-jss + ## [4.20.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-plugin-jss@4.20.0/packages/gatsby-plugin-jss) (2022-08-02) [🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.20) diff --git a/packages/gatsby-plugin-jss/package.json b/packages/gatsby-plugin-jss/package.json index 106777fd5f38a..eab3337a306cb 100644 --- a/packages/gatsby-plugin-jss/package.json +++ b/packages/gatsby-plugin-jss/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-plugin-jss", "description": "Gatsby plugin that adds SSR support for JSS", - "version": "4.21.0-next.0", + "version": "4.22.0-next.0", "author": "Vladimir Guguiev ", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -12,7 +12,7 @@ "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.21.0-next.0", + "babel-preset-gatsby-package": "^2.22.0-next.0", "cross-env": "^7.0.3" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-jss#readme", diff --git a/packages/gatsby-plugin-layout/CHANGELOG.md b/packages/gatsby-plugin-layout/CHANGELOG.md index 6bbb92329b9ce..4263b3a2b6540 100644 --- a/packages/gatsby-plugin-layout/CHANGELOG.md +++ b/packages/gatsby-plugin-layout/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [3.21.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-plugin-layout@3.21.0/packages/gatsby-plugin-layout) (2022-08-16) + +[🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.21) + +**Note:** Version bump only for package gatsby-plugin-layout + ## [3.20.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-plugin-layout@3.20.0/packages/gatsby-plugin-layout) (2022-08-02) [🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.20) diff --git a/packages/gatsby-plugin-layout/package.json b/packages/gatsby-plugin-layout/package.json index eedada27ef041..e5ccfa1c24a29 100644 --- a/packages/gatsby-plugin-layout/package.json +++ b/packages/gatsby-plugin-layout/package.json @@ -1,6 +1,6 @@ { "name": "gatsby-plugin-layout", - "version": "3.21.0-next.0", + "version": "3.22.0-next.0", "description": "Reimplements the behavior of layout components in gatsby@1, which was removed in version 2.", "main": "index.js", "scripts": { @@ -29,7 +29,7 @@ "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.21.0-next.0", + "babel-preset-gatsby-package": "^2.22.0-next.0", "cross-env": "^7.0.3" }, "peerDependencies": { diff --git a/packages/gatsby-plugin-less/CHANGELOG.md b/packages/gatsby-plugin-less/CHANGELOG.md index 796bdeed9e47f..86deb0f2a767f 100644 --- a/packages/gatsby-plugin-less/CHANGELOG.md +++ b/packages/gatsby-plugin-less/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [6.21.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-plugin-less@6.21.0/packages/gatsby-plugin-less) (2022-08-16) + +[🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.21) + +**Note:** Version bump only for package gatsby-plugin-less + ## [6.20.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-plugin-less@6.20.0/packages/gatsby-plugin-less) (2022-08-02) [🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.20) diff --git a/packages/gatsby-plugin-less/package.json b/packages/gatsby-plugin-less/package.json index 3110570edb122..ded95580d8fdf 100644 --- a/packages/gatsby-plugin-less/package.json +++ b/packages/gatsby-plugin-less/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-plugin-less", "description": "Gatsby plugin to add support for using Less", - "version": "6.21.0-next.0", + "version": "6.22.0-next.0", "author": "monastic.panic@gmail.com", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -13,7 +13,7 @@ "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.21.0-next.0", + "babel-preset-gatsby-package": "^2.22.0-next.0", "cross-env": "^7.0.3" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-less#readme", diff --git a/packages/gatsby-plugin-lodash/CHANGELOG.md b/packages/gatsby-plugin-lodash/CHANGELOG.md index e9cf57b21c9b0..1c38b75cc8556 100644 --- a/packages/gatsby-plugin-lodash/CHANGELOG.md +++ b/packages/gatsby-plugin-lodash/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [5.21.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-plugin-lodash@5.21.0/packages/gatsby-plugin-lodash) (2022-08-16) + +[🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.21) + +**Note:** Version bump only for package gatsby-plugin-lodash + ## [5.20.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-plugin-lodash@5.20.0/packages/gatsby-plugin-lodash) (2022-08-02) [🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.20) diff --git a/packages/gatsby-plugin-lodash/package.json b/packages/gatsby-plugin-lodash/package.json index 321d9db2b07a6..c21057d059a9a 100644 --- a/packages/gatsby-plugin-lodash/package.json +++ b/packages/gatsby-plugin-lodash/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-plugin-lodash", "description": "Easy modular Lodash builds. Adds the Lodash webpack & Babel plugins to your Gatsby build", - "version": "5.21.0-next.0", + "version": "5.22.0-next.0", "author": "Kyle Mathews ", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -14,7 +14,7 @@ "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.21.0-next.0", + "babel-preset-gatsby-package": "^2.22.0-next.0", "cross-env": "^7.0.3" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-lodash#readme", diff --git a/packages/gatsby-plugin-manifest/CHANGELOG.md b/packages/gatsby-plugin-manifest/CHANGELOG.md index 62a29b518d176..f8189e3f40f25 100644 --- a/packages/gatsby-plugin-manifest/CHANGELOG.md +++ b/packages/gatsby-plugin-manifest/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [4.21.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-plugin-manifest@4.21.0/packages/gatsby-plugin-manifest) (2022-08-16) + +[🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.21) + +#### Chores + +- update sharp [#35539](https://github.com/gatsbyjs/gatsby/issues/35539) ([a9132a5](https://github.com/gatsbyjs/gatsby/commit/a9132a53eac37f713e8cb8a8246c62f4f8d8f142)) + ## [4.20.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-plugin-manifest@4.20.0/packages/gatsby-plugin-manifest) (2022-08-02) [🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.20) diff --git a/packages/gatsby-plugin-manifest/package.json b/packages/gatsby-plugin-manifest/package.json index edf8819d17f60..d4ae1e34c4f05 100644 --- a/packages/gatsby-plugin-manifest/package.json +++ b/packages/gatsby-plugin-manifest/package.json @@ -1,22 +1,22 @@ { "name": "gatsby-plugin-manifest", "description": "Gatsby plugin which adds a manifest.webmanifest to make sites progressive web apps", - "version": "4.21.0-next.2", + "version": "4.22.0-next.1", "author": "Kyle Mathews ", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" }, "dependencies": { "@babel/runtime": "^7.15.4", - "gatsby-core-utils": "^3.21.0-next.2", - "gatsby-plugin-utils": "^3.15.0-next.2", + "gatsby-core-utils": "^3.22.0-next.0", + "gatsby-plugin-utils": "^3.16.0-next.1", "semver": "^7.3.7", - "sharp": "^0.30.3" + "sharp": "^0.30.7" }, "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.21.0-next.0", + "babel-preset-gatsby-package": "^2.22.0-next.0", "cross-env": "^7.0.3" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-manifest#readme", diff --git a/packages/gatsby-plugin-mdx/CHANGELOG.md b/packages/gatsby-plugin-mdx/CHANGELOG.md index b3a490ecc9939..263d630ba62bf 100644 --- a/packages/gatsby-plugin-mdx/CHANGELOG.md +++ b/packages/gatsby-plugin-mdx/CHANGELOG.md @@ -3,6 +3,23 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [4.0.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-plugin-mdx@4.0.0/packages/gatsby-plugin-mdx) (2022-08-16) + +[🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.21) + +#### Bug Fixes + +- Hashing and pluginOptions [#36387](https://github.com/gatsbyjs/gatsby/issues/36387) [#36395](https://github.com/gatsbyjs/gatsby/issues/36395) ([3253a38](https://github.com/gatsbyjs/gatsby/commit/3253a3860c9c74bce23c8c2fd1df651e549566b9)) + +#### Chores + +- Add note about rehype-slug-custom-id ([bc80c23](https://github.com/gatsbyjs/gatsby/commit/bc80c23081943407dbd84d8baf38d466f26c2290)) +- Update .gitignore ([0705ac7](https://github.com/gatsbyjs/gatsby/commit/0705ac7e5e022e46509beb99eadb617541c5e637)) + +#### Other Changes + +- BREAKING CHANGE(gatsby-plugin-mdx): MDX v2 [#35650](https://github.com/gatsbyjs/gatsby/issues/35650) ([c92db36](https://github.com/gatsbyjs/gatsby/commit/c92db36642268d1ee50c11ea568f836c7e5b4a03)) + ## [3.20.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-plugin-mdx@3.20.0/packages/gatsby-plugin-mdx) (2022-08-02) [🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.20) diff --git a/packages/gatsby-plugin-mdx/README.md b/packages/gatsby-plugin-mdx/README.md index a60f793cb1445..056b85a350af7 100644 --- a/packages/gatsby-plugin-mdx/README.md +++ b/packages/gatsby-plugin-mdx/README.md @@ -706,6 +706,7 @@ As MDX v2 changed the way it handles content you might need to update your MDX f - HTML syntax doesn’t work in MDX as it’s replaced by JSX (`` to ``). Instead of HTML comments, you can use JavaScript comments in braces: `{/* comment! */}` - Unescaped left angle bracket / less than (`<`) and left curly brace (`{`) have to be escaped: `\<` or `\{` (or use expressions: `{'<'}`, `{'{'}`) + - If you're using the `enableCustomId` option from `gatsby-remark-autolink-headers` you'll run into problems due to the above. You need to disable this option and use [`rehype-slug-custom-id`](https://github.com/unicorn-utterances/rehype-slug-custom-id) instead. In our testing, most of the time the issue were curly brackets that needed to be escaped with backticks: diff --git a/packages/gatsby-plugin-mdx/package.json b/packages/gatsby-plugin-mdx/package.json index 6673212f74743..63fac00eb7e52 100644 --- a/packages/gatsby-plugin-mdx/package.json +++ b/packages/gatsby-plugin-mdx/package.json @@ -1,6 +1,6 @@ { "name": "gatsby-plugin-mdx", - "version": "4.0.0-next.1", + "version": "4.1.0-next.1", "description": "MDX integration for Gatsby", "main": "dist/index.js", "types": "dist/index.d.ts", @@ -34,8 +34,8 @@ "deepmerge": "^4.2.2", "estree-util-build-jsx": "^2.1.0", "fs-extra": "^10.1.0", - "gatsby-core-utils": "^3.21.0-next.2", - "gatsby-plugin-utils": "^3.15.0-next.2", + "gatsby-core-utils": "^3.22.0-next.0", + "gatsby-plugin-utils": "^3.16.0-next.1", "gray-matter": "^4.0.3", "mdast-util-mdx": "^2.0.0", "mdast-util-to-hast": "^10.2.0", @@ -52,7 +52,7 @@ "@types/estree": "^0.0.50", "@types/mdast": "^3.0.10", "@types/unist": "^2.0.6", - "babel-preset-gatsby-package": "^2.21.0-next.0", + "babel-preset-gatsby-package": "^2.22.0-next.0", "cross-env": "^7.0.3", "del-cli": "^5.0.0", "opentracing": "^0.14.7", diff --git a/packages/gatsby-plugin-mdx/src/get-source-plugins-as-remark-plugins.ts b/packages/gatsby-plugin-mdx/src/get-source-plugins-as-remark-plugins.ts index 10c75bdfa41ac..6a2c7023ad30b 100644 --- a/packages/gatsby-plugin-mdx/src/get-source-plugins-as-remark-plugins.ts +++ b/packages/gatsby-plugin-mdx/src/get-source-plugins-as-remark-plugins.ts @@ -32,30 +32,29 @@ export async function getSourcePluginsAsRemarkPlugins({ const userPlugins = userPluginsFiltered.map(plugin => { const requiredPlugin = plugin.module - const wrappedGatsbyPlugin: Pluggable> = - function wrappedGatsbyPlugin() { - // eslint-disable-next-line @babel/no-invalid-this - const mdxNode = getNode(this.data(`mdxNodeId`) as string) + const wrappedGatsbyPlugin: Pluggable = function wrappedGatsbyPlugin() { + // eslint-disable-next-line @babel/no-invalid-this + const mdxNode = getNode(this.data(`mdxNodeId`) as string) - return async function transformer(markdownAST): Promise { - // Execute gatsby-remark-* plugin - await requiredPlugin( - { - markdownAST, - markdownNode: mdxNode, - getNode, - getNodesByType, - get files() { - return getNodesByType(`File`) - }, - pathPrefix, - reporter, - cache, + return async function transformer(markdownAST): Promise { + // Execute gatsby-remark-* plugin + await requiredPlugin( + { + markdownAST, + markdownNode: mdxNode, + getNode, + getNodesByType, + get files() { + return getNodesByType(`File`) }, - plugin.options || {} - ) - } + pathPrefix, + reporter, + cache, + }, + plugin.pluginOptions || {} + ) } + } return wrappedGatsbyPlugin }) diff --git a/packages/gatsby-plugin-mdx/src/plugin-options.ts b/packages/gatsby-plugin-mdx/src/plugin-options.ts index d0c4a859de673..32c031912c3b8 100644 --- a/packages/gatsby-plugin-mdx/src/plugin-options.ts +++ b/packages/gatsby-plugin-mdx/src/plugin-options.ts @@ -1,7 +1,7 @@ import type { ProcessorOptions } from "@mdx-js/mdx" import type { GatsbyCache, NodePluginArgs, PluginOptions, Store } from "gatsby" import deepmerge from "deepmerge" -import type { IPluginRefObject } from "gatsby-plugin-utils/types" +import type { IPluginInfo } from "gatsby-plugin-utils/types" import { getSourcePluginsAsRemarkPlugins } from "./get-source-plugins-as-remark-plugins" import rehypeMdxMetadataExtractor from "./rehype-metadata-extractor" import { remarkMdxHtmlPlugin } from "./remark-mdx-html-plugin" @@ -10,7 +10,7 @@ import { remarkPathPlugin } from "./remark-path-prefix-plugin" export interface IMdxPluginOptions { extensions: [string] mdxOptions: ProcessorOptions - gatsbyRemarkPlugins?: [IPluginRefObject] + gatsbyRemarkPlugins?: [IPluginInfo] } interface IHelpers { getNode: NodePluginArgs["getNode"] @@ -84,7 +84,7 @@ export const enhanceMdxOptions: EnhanceMdxOptions = async ( if (typeof requiredPlugin.setParserPlugins === `function`) { for (const parserPlugin of requiredPlugin.setParserPlugins( - plugin.options || {} + plugin.pluginOptions || {} )) { if (Array.isArray(parserPlugin)) { const [parser, parserPluginOptions] = parserPlugin diff --git a/packages/gatsby-plugin-netlify-cms/CHANGELOG.md b/packages/gatsby-plugin-netlify-cms/CHANGELOG.md index 4d3b25d2d13b2..2fee78807ff26 100644 --- a/packages/gatsby-plugin-netlify-cms/CHANGELOG.md +++ b/packages/gatsby-plugin-netlify-cms/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [6.21.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-plugin-netlify-cms@6.21.0/packages/gatsby-plugin-netlify-cms) (2022-08-16) + +[🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.21) + +**Note:** Version bump only for package gatsby-plugin-netlify-cms + ## [6.20.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-plugin-netlify-cms@6.20.0/packages/gatsby-plugin-netlify-cms) (2022-08-02) [🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.20) diff --git a/packages/gatsby-plugin-netlify-cms/package.json b/packages/gatsby-plugin-netlify-cms/package.json index 468d258b43eb7..4ed1343dbd14b 100644 --- a/packages/gatsby-plugin-netlify-cms/package.json +++ b/packages/gatsby-plugin-netlify-cms/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-plugin-netlify-cms", "description": "A Gatsby plugin which generates the Netlify CMS single page app", - "version": "6.21.0-next.0", + "version": "6.22.0-next.0", "author": "Shawn Erquhart ", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -20,7 +20,7 @@ "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.21.0-next.0", + "babel-preset-gatsby-package": "^2.22.0-next.0", "cross-env": "^7.0.3", "react": "^16.12.0", "react-dom": "^16.12.0" diff --git a/packages/gatsby-plugin-no-sourcemaps/CHANGELOG.md b/packages/gatsby-plugin-no-sourcemaps/CHANGELOG.md index 89bbd5552d5b2..ba8510971871d 100644 --- a/packages/gatsby-plugin-no-sourcemaps/CHANGELOG.md +++ b/packages/gatsby-plugin-no-sourcemaps/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [4.21.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-plugin-no-sourcemaps@4.21.0/packages/gatsby-plugin-no-sourcemaps) (2022-08-16) + +[🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.21) + +**Note:** Version bump only for package gatsby-plugin-no-sourcemaps + ## [4.20.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-plugin-no-sourcemaps@4.20.0/packages/gatsby-plugin-no-sourcemaps) (2022-08-02) [🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.20) diff --git a/packages/gatsby-plugin-no-sourcemaps/package.json b/packages/gatsby-plugin-no-sourcemaps/package.json index f3234e0aed2c2..cddd5b9367fa7 100644 --- a/packages/gatsby-plugin-no-sourcemaps/package.json +++ b/packages/gatsby-plugin-no-sourcemaps/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-plugin-no-sourcemaps", "description": "Disable sourcemaps when building JavaScript", - "version": "4.21.0-next.0", + "version": "4.22.0-next.0", "author": "Stuart Taylor ", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" diff --git a/packages/gatsby-plugin-nprogress/CHANGELOG.md b/packages/gatsby-plugin-nprogress/CHANGELOG.md index 811eadcbeab14..cea9e1602063f 100644 --- a/packages/gatsby-plugin-nprogress/CHANGELOG.md +++ b/packages/gatsby-plugin-nprogress/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [4.21.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-plugin-nprogress@4.21.0/packages/gatsby-plugin-nprogress) (2022-08-16) + +[🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.21) + +**Note:** Version bump only for package gatsby-plugin-nprogress + ## [4.20.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-plugin-nprogress@4.20.0/packages/gatsby-plugin-nprogress) (2022-08-02) [🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.20) diff --git a/packages/gatsby-plugin-nprogress/package.json b/packages/gatsby-plugin-nprogress/package.json index 80b718f0540ef..18ff4c9914b4c 100644 --- a/packages/gatsby-plugin-nprogress/package.json +++ b/packages/gatsby-plugin-nprogress/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-plugin-nprogress", "description": "Shows page loading indicator when loading page resources is delayed", - "version": "4.21.0-next.0", + "version": "4.22.0-next.0", "author": "Kyle Mathews", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -13,7 +13,7 @@ "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.21.0-next.0", + "babel-preset-gatsby-package": "^2.22.0-next.0", "cross-env": "^7.0.3" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-nprogress#readme", diff --git a/packages/gatsby-plugin-offline/CHANGELOG.md b/packages/gatsby-plugin-offline/CHANGELOG.md index 4356681ddc0c7..a72643cfaf106 100644 --- a/packages/gatsby-plugin-offline/CHANGELOG.md +++ b/packages/gatsby-plugin-offline/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [5.21.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-plugin-offline@5.21.0/packages/gatsby-plugin-offline) (2022-08-16) + +[🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.21) + +**Note:** Version bump only for package gatsby-plugin-offline + ## [5.20.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-plugin-offline@5.20.0/packages/gatsby-plugin-offline) (2022-08-02) [🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.20) diff --git a/packages/gatsby-plugin-offline/package.json b/packages/gatsby-plugin-offline/package.json index 13b984a246922..c044c7d3ab699 100644 --- a/packages/gatsby-plugin-offline/package.json +++ b/packages/gatsby-plugin-offline/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-plugin-offline", "description": "Gatsby plugin which sets up a site to be able to run offline", - "version": "5.21.0-next.2", + "version": "5.22.0-next.1", "author": "Kyle Mathews ", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -9,7 +9,7 @@ "dependencies": { "@babel/runtime": "^7.15.4", "cheerio": "^1.0.0-rc.10", - "gatsby-core-utils": "^3.21.0-next.2", + "gatsby-core-utils": "^3.22.0-next.0", "glob": "^7.2.3", "idb-keyval": "^3.2.0", "lodash": "^4.17.21", @@ -18,10 +18,10 @@ "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.21.0-next.0", + "babel-preset-gatsby-package": "^2.22.0-next.0", "cpy-cli": "^3.1.1", "cross-env": "^7.0.3", - "gatsby-plugin-utils": "^3.15.0-next.2", + "gatsby-plugin-utils": "^3.16.0-next.1", "rewire": "^6.0.0" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-offline#readme", diff --git a/packages/gatsby-plugin-page-creator/CHANGELOG.md b/packages/gatsby-plugin-page-creator/CHANGELOG.md index ea6b364e85f6f..24233bd77ba96 100644 --- a/packages/gatsby-plugin-page-creator/CHANGELOG.md +++ b/packages/gatsby-plugin-page-creator/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [4.21.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-plugin-page-creator@4.21.0/packages/gatsby-plugin-page-creator) (2022-08-16) + +[🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.21) + +#### Other Changes + +- BREAKING CHANGE(gatsby-plugin-mdx): MDX v2 [#35650](https://github.com/gatsbyjs/gatsby/issues/35650) ([c92db36](https://github.com/gatsbyjs/gatsby/commit/c92db36642268d1ee50c11ea568f836c7e5b4a03)) + ## [4.20.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-plugin-page-creator@4.20.0/packages/gatsby-plugin-page-creator) (2022-08-02) [🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.20) diff --git a/packages/gatsby-plugin-page-creator/package.json b/packages/gatsby-plugin-page-creator/package.json index 19848109382b2..44594b1157f74 100644 --- a/packages/gatsby-plugin-page-creator/package.json +++ b/packages/gatsby-plugin-page-creator/package.json @@ -1,6 +1,6 @@ { "name": "gatsby-plugin-page-creator", - "version": "4.21.0-next.2", + "version": "4.22.0-next.2", "description": "Gatsby plugin that automatically creates pages from React components in specified directories", "main": "index.js", "scripts": { @@ -30,17 +30,17 @@ "chokidar": "^3.5.3", "fs-exists-cached": "^1.0.0", "fs-extra": "^10.1.0", - "gatsby-core-utils": "^3.21.0-next.2", - "gatsby-page-utils": "^2.21.0-next.2", - "gatsby-plugin-utils": "^3.15.0-next.2", - "gatsby-telemetry": "^3.21.0-next.2", + "gatsby-core-utils": "^3.22.0-next.0", + "gatsby-page-utils": "^2.22.0-next.0", + "gatsby-plugin-utils": "^3.16.0-next.1", + "gatsby-telemetry": "^3.22.0-next.1", "globby": "^11.1.0", "lodash": "^4.17.21" }, "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.21.0-next.0", + "babel-preset-gatsby-package": "^2.22.0-next.0", "cross-env": "^7.0.3" }, "peerDependencies": { diff --git a/packages/gatsby-plugin-postcss/CHANGELOG.md b/packages/gatsby-plugin-postcss/CHANGELOG.md index ddf7f8cbbd9a7..65e2c8d5cce1d 100644 --- a/packages/gatsby-plugin-postcss/CHANGELOG.md +++ b/packages/gatsby-plugin-postcss/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [5.21.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-plugin-postcss@5.21.0/packages/gatsby-plugin-postcss) (2022-08-16) + +[🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.21) + +**Note:** Version bump only for package gatsby-plugin-postcss + ## [5.20.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-plugin-postcss@5.20.0/packages/gatsby-plugin-postcss) (2022-08-02) [🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.20) diff --git a/packages/gatsby-plugin-postcss/package.json b/packages/gatsby-plugin-postcss/package.json index efa05ea38683b..b0e80de9a1968 100644 --- a/packages/gatsby-plugin-postcss/package.json +++ b/packages/gatsby-plugin-postcss/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-plugin-postcss", "description": "Gatsby plugin to handle PostCSS", - "version": "5.21.0-next.0", + "version": "5.22.0-next.0", "author": "Marat Dreizin ", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -13,7 +13,7 @@ "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.21.0-next.0", + "babel-preset-gatsby-package": "^2.22.0-next.0", "cross-env": "^7.0.3" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-postcss#readme", diff --git a/packages/gatsby-plugin-preact/CHANGELOG.md b/packages/gatsby-plugin-preact/CHANGELOG.md index 476f20f393ac4..484388948e39b 100644 --- a/packages/gatsby-plugin-preact/CHANGELOG.md +++ b/packages/gatsby-plugin-preact/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [6.21.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-plugin-preact@6.21.0/packages/gatsby-plugin-preact) (2022-08-16) + +[🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.21) + +**Note:** Version bump only for package gatsby-plugin-preact + ## [6.20.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-plugin-preact@6.20.0/packages/gatsby-plugin-preact) (2022-08-02) [🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.20) diff --git a/packages/gatsby-plugin-preact/package.json b/packages/gatsby-plugin-preact/package.json index d418aa232f358..aa353edef744a 100644 --- a/packages/gatsby-plugin-preact/package.json +++ b/packages/gatsby-plugin-preact/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-plugin-preact", "description": "A Gatsby plugin which replaces React with Preact", - "version": "6.21.0-next.0", + "version": "6.22.0-next.1", "author": "Kyle Mathews ", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -15,8 +15,8 @@ "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "@pmmmwh/react-refresh-webpack-plugin": "^0.4.3", - "babel-preset-gatsby-package": "^2.21.0-next.0", + "@pmmmwh/react-refresh-webpack-plugin": "^0.5.7", + "babel-preset-gatsby-package": "^2.22.0-next.0", "cross-env": "^7.0.3", "preact": "^10.6.4" }, diff --git a/packages/gatsby-plugin-preload-fonts/CHANGELOG.md b/packages/gatsby-plugin-preload-fonts/CHANGELOG.md index 85082c68ceb81..a9a88e6ef6ddf 100644 --- a/packages/gatsby-plugin-preload-fonts/CHANGELOG.md +++ b/packages/gatsby-plugin-preload-fonts/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [3.21.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-plugin-preload-fonts@3.21.0/packages/gatsby-plugin-preload-fonts) (2022-08-16) + +[🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.21) + +#### Chores + +- update dependency del-cli to v5 for gatsby-plugin-preload-fonts [#36288](https://github.com/gatsbyjs/gatsby/issues/36288) ([a90f40f](https://github.com/gatsbyjs/gatsby/commit/a90f40fdbf368fea8590f57662a357cb670a2cf1)) + ## [3.20.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-plugin-preload-fonts@3.20.0/packages/gatsby-plugin-preload-fonts) (2022-08-02) [🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.20) diff --git a/packages/gatsby-plugin-preload-fonts/package.json b/packages/gatsby-plugin-preload-fonts/package.json index 5fa60fbe3e8d2..32674b393f03b 100644 --- a/packages/gatsby-plugin-preload-fonts/package.json +++ b/packages/gatsby-plugin-preload-fonts/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-plugin-preload-fonts", "description": "Gatsby plugin for preloading fonts per page", - "version": "3.21.0-next.2", + "version": "3.22.0-next.0", "author": "Aaron Ross ", "main": "index.js", "bin": { @@ -15,7 +15,7 @@ "chalk": "^4.1.2", "date-fns": "^2.28.0", "fs-extra": "^10.1.0", - "gatsby-core-utils": "^3.21.0-next.2", + "gatsby-core-utils": "^3.22.0-next.0", "graphql-request": "^1.8.2", "progress": "^2.0.3", "puppeteer": "^3.3.0" @@ -23,7 +23,7 @@ "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.21.0-next.0", + "babel-preset-gatsby-package": "^2.22.0-next.0", "cross-env": "^7.0.3", "del-cli": "^5.0.0" }, diff --git a/packages/gatsby-plugin-react-css-modules/CHANGELOG.md b/packages/gatsby-plugin-react-css-modules/CHANGELOG.md index 7b6c1db575e48..ac0a5c6a641f6 100644 --- a/packages/gatsby-plugin-react-css-modules/CHANGELOG.md +++ b/packages/gatsby-plugin-react-css-modules/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [4.21.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-plugin-react-css-modules@4.21.0/packages/gatsby-plugin-react-css-modules) (2022-08-16) + +[🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.21) + +**Note:** Version bump only for package gatsby-plugin-react-css-modules + ## [4.20.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-plugin-react-css-modules@4.20.0/packages/gatsby-plugin-react-css-modules) (2022-08-02) [🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.20) diff --git a/packages/gatsby-plugin-react-css-modules/package.json b/packages/gatsby-plugin-react-css-modules/package.json index 01e8f2c9e03b9..73891c789f3e4 100644 --- a/packages/gatsby-plugin-react-css-modules/package.json +++ b/packages/gatsby-plugin-react-css-modules/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-plugin-react-css-modules", "description": "Gatsby plugin that transforms styleName to className using compile time CSS module resolution", - "version": "4.21.0-next.0", + "version": "4.22.0-next.0", "author": "Ming Aldrich-Gan ", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -13,7 +13,7 @@ "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.21.0-next.0", + "babel-preset-gatsby-package": "^2.22.0-next.0", "cross-env": "^7.0.3" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-react-css-modules#readme", diff --git a/packages/gatsby-plugin-react-helmet/CHANGELOG.md b/packages/gatsby-plugin-react-helmet/CHANGELOG.md index 471505994e986..416fbc669217e 100644 --- a/packages/gatsby-plugin-react-helmet/CHANGELOG.md +++ b/packages/gatsby-plugin-react-helmet/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [5.21.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-plugin-react-helmet@5.21.0/packages/gatsby-plugin-react-helmet) (2022-08-16) + +[🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.21) + +#### Bug Fixes + +- stop appending empty title tags [#36303](https://github.com/gatsbyjs/gatsby/issues/36303) ([e7f0ce3](https://github.com/gatsbyjs/gatsby/commit/e7f0ce36935b6919f00760ce4fb7655530e999f2)) + ## [5.20.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-plugin-react-helmet@5.20.0/packages/gatsby-plugin-react-helmet) (2022-08-02) [🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.20) diff --git a/packages/gatsby-plugin-react-helmet/package.json b/packages/gatsby-plugin-react-helmet/package.json index 3a3fe21ce74b1..15fa073df363f 100644 --- a/packages/gatsby-plugin-react-helmet/package.json +++ b/packages/gatsby-plugin-react-helmet/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-plugin-react-helmet", "description": "Manage document head data with react-helmet. Provides drop-in server rendering support for Gatsby.", - "version": "5.21.0-next.1", + "version": "5.22.0-next.0", "author": "Kyle Mathews ", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -12,7 +12,7 @@ "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.21.0-next.0", + "babel-preset-gatsby-package": "^2.22.0-next.0", "cross-env": "^7.0.3" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-react-helmet#readme", diff --git a/packages/gatsby-plugin-react-helmet/src/gatsby-node.js b/packages/gatsby-plugin-react-helmet/src/gatsby-node.js index aab9251532a76..b879f3575864e 100644 --- a/packages/gatsby-plugin-react-helmet/src/gatsby-node.js +++ b/packages/gatsby-plugin-react-helmet/src/gatsby-node.js @@ -2,6 +2,6 @@ exports.pluginOptionsSchema = ({ Joi }) => Joi.object({}) exports.onPreInit = ({ reporter }) => { reporter.warn( - `gatsby-plugin-react-helmet: Gatsby now has built-in support for modyfing the document head. Learn more at https://gatsby.dev/gatsby-head` + `gatsby-plugin-react-helmet: Gatsby now has built-in support for modifying the document head. Learn more at https://gatsby.dev/gatsby-head` ) } diff --git a/packages/gatsby-plugin-sass/CHANGELOG.md b/packages/gatsby-plugin-sass/CHANGELOG.md index 2fd77c63726d9..cd078fd065487 100644 --- a/packages/gatsby-plugin-sass/CHANGELOG.md +++ b/packages/gatsby-plugin-sass/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [5.21.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-plugin-sass@5.21.0/packages/gatsby-plugin-sass) (2022-08-16) + +[🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.21) + +**Note:** Version bump only for package gatsby-plugin-sass + ## [5.20.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-plugin-sass@5.20.0/packages/gatsby-plugin-sass) (2022-08-02) [🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.20) diff --git a/packages/gatsby-plugin-sass/package.json b/packages/gatsby-plugin-sass/package.json index 51907cb3aa0cc..2d3179927ff3e 100644 --- a/packages/gatsby-plugin-sass/package.json +++ b/packages/gatsby-plugin-sass/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-plugin-sass", "description": "Gatsby plugin to handle SCSS/Sass files", - "version": "5.21.0-next.2", + "version": "5.22.0-next.1", "author": "Daniel Farrell ", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -15,9 +15,9 @@ "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", "autoprefixer": "^10.4.7", - "babel-preset-gatsby-package": "^2.21.0-next.0", + "babel-preset-gatsby-package": "^2.22.0-next.0", "cross-env": "^7.0.3", - "gatsby-plugin-utils": "^3.15.0-next.2" + "gatsby-plugin-utils": "^3.16.0-next.1" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-sass#readme", "keywords": [ diff --git a/packages/gatsby-plugin-schema-snapshot/CHANGELOG.md b/packages/gatsby-plugin-schema-snapshot/CHANGELOG.md index c875c34ae53dd..4cdb1ae9dfd07 100644 --- a/packages/gatsby-plugin-schema-snapshot/CHANGELOG.md +++ b/packages/gatsby-plugin-schema-snapshot/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [3.21.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-plugin-schema-snapshot@3.21.0/packages/gatsby-plugin-schema-snapshot) (2022-08-16) + +[🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.21) + +**Note:** Version bump only for package gatsby-plugin-schema-snapshot + ## [3.20.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-plugin-schema-snapshot@3.20.0/packages/gatsby-plugin-schema-snapshot) (2022-08-02) [🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.20) diff --git a/packages/gatsby-plugin-schema-snapshot/package.json b/packages/gatsby-plugin-schema-snapshot/package.json index 0b01ee2c6def6..5c1927b9af8b4 100644 --- a/packages/gatsby-plugin-schema-snapshot/package.json +++ b/packages/gatsby-plugin-schema-snapshot/package.json @@ -1,6 +1,6 @@ { "name": "gatsby-plugin-schema-snapshot", - "version": "3.21.0-next.0", + "version": "3.22.0-next.0", "main": "index.js", "license": "MIT", "keywords": [ diff --git a/packages/gatsby-plugin-sharp/CHANGELOG.md b/packages/gatsby-plugin-sharp/CHANGELOG.md index e40d845ff66d6..a6af2cea57761 100644 --- a/packages/gatsby-plugin-sharp/CHANGELOG.md +++ b/packages/gatsby-plugin-sharp/CHANGELOG.md @@ -3,6 +3,15 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [4.21.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-plugin-sharp@4.21.0/packages/gatsby-plugin-sharp) (2022-08-16) + +[🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.21) + +#### Chores + +- Update `got` [#36366](https://github.com/gatsbyjs/gatsby/issues/36366) ([ab55e4e](https://github.com/gatsbyjs/gatsby/commit/ab55e4e30a023d56e4c4332dfd278015a0f49ee0)) +- update sharp [#35539](https://github.com/gatsbyjs/gatsby/issues/35539) ([a9132a5](https://github.com/gatsbyjs/gatsby/commit/a9132a53eac37f713e8cb8a8246c62f4f8d8f142)) + ## [4.20.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-plugin-sharp@4.20.0/packages/gatsby-plugin-sharp) (2022-08-02) [🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.20) diff --git a/packages/gatsby-plugin-sharp/README.md b/packages/gatsby-plugin-sharp/README.md index a9f30f6843982..6d6cbeba925d9 100644 --- a/packages/gatsby-plugin-sharp/README.md +++ b/packages/gatsby-plugin-sharp/README.md @@ -20,7 +20,9 @@ of PNGs then it can significantly reduce build times. ## Install -`npm install gatsby-plugin-sharp` +```shell +npm install gatsby-plugin-sharp +``` ## How to use @@ -32,8 +34,8 @@ plugins: [ options: { // Defaults used for gatsbyImageData and StaticImage defaults: {}, - // Set to false to allow builds to continue on image errors - failOnError: true, + // Set to none to allow builds to continue on image errors + failOn: `none`, // deprecated options and their defaults: base64Width: 20, forceBase64Format: ``, // valid formats: png,jpg,webp @@ -50,7 +52,7 @@ plugins: [ - `defaults`: default values used for `gatsbyImageData` and `StaticImage` from [gatsby-plugin-image](https://www.gatsbyjs.com/plugins/gatsby-plugin-image). Available options are: `formats`,`placeholder`,`quality`,`breakpoints`,`backgroundColor`,`tracedSVGOptions`,`blurredOptions`,`jpgOptions`,`pngOptions`,`webpOptions`,`avifOptions`. For details of these, see [the reference guide](https://www.gatsbyjs.com/docs/reference/built-in-components/gatsby-plugin-image). -- `failOnError`: default = `true`. By default builds will fail if there is a corrupted image. Set to false to continue the build on error. The image will return `undefined`. +- `failOn`: default = `warning`. By default builds will fail if there is a corrupted image. Set to `none` to continue the build on error. The image will return `undefined`. You can customize this option, see [`options.failOn`](https://sharp.pixelplumbing.com/api-constructor#parameters). Other options are deprecated, and should only be used for the legacy `fixed` and `fluid` functions. diff --git a/packages/gatsby-plugin-sharp/package.json b/packages/gatsby-plugin-sharp/package.json index f5a23f1b1ae18..f46373ba41f5a 100644 --- a/packages/gatsby-plugin-sharp/package.json +++ b/packages/gatsby-plugin-sharp/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-plugin-sharp", "description": "Wrapper of the Sharp image manipulation library for Gatsby plugins", - "version": "4.21.0-next.2", + "version": "4.22.0-next.2", "author": "Kyle Mathews ", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -14,25 +14,22 @@ "debug": "^4.3.4", "filenamify": "^4.3.0", "fs-extra": "^10.1.0", - "gatsby-core-utils": "^3.21.0-next.2", - "gatsby-plugin-utils": "^3.15.0-next.2", - "gatsby-telemetry": "^3.21.0-next.2", - "got": "^11.8.5", + "gatsby-core-utils": "^3.22.0-next.0", + "gatsby-plugin-utils": "^3.16.0-next.1", "lodash": "^4.17.21", "mini-svg-data-uri": "^1.4.4", "probe-image-size": "^7.2.3", - "progress": "^2.0.3", "semver": "^7.3.7", - "sharp": "^0.30.3", + "sharp": "^0.30.7", "svgo": "1.3.2" }, "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "@types/sharp": "^0.30.0", - "babel-preset-gatsby-package": "^2.21.0-next.0", + "@types/sharp": "^0.30.5", + "babel-preset-gatsby-package": "^2.22.0-next.0", "cross-env": "^7.0.3", - "gatsby-plugin-image": "^2.21.0-next.2" + "gatsby-plugin-image": "^2.22.0-next.2" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-sharp#readme", "keywords": [ diff --git a/packages/gatsby-plugin-sharp/src/__tests__/__snapshots__/index.js.snap b/packages/gatsby-plugin-sharp/src/__tests__/__snapshots__/index.js.snap index 3429438aaca65..ea17e500aba82 100644 --- a/packages/gatsby-plugin-sharp/src/__tests__/__snapshots__/index.js.snap +++ b/packages/gatsby-plugin-sharp/src/__tests__/__snapshots__/index.js.snap @@ -85,7 +85,7 @@ exports[`gatsby-plugin-sharp fixed correctly infers the width when only the heig "pluginOptions": Object { "base64Width": 20, "defaultQuality": 50, - "failOnError": true, + "failOn": "warning", "forceBase64Format": "", "lazyImageGeneration": true, "stripMetadata": true, @@ -142,7 +142,7 @@ exports[`gatsby-plugin-sharp fixed does not warn when the requested width is equ "pluginOptions": Object { "base64Width": 20, "defaultQuality": 50, - "failOnError": true, + "failOn": "warning", "forceBase64Format": "", "lazyImageGeneration": true, "stripMetadata": true, @@ -185,7 +185,7 @@ exports[`gatsby-plugin-sharp fixed warns when the requested width is greater tha "pluginOptions": Object { "base64Width": 20, "defaultQuality": 50, - "failOnError": true, + "failOn": "warning", "forceBase64Format": "", "lazyImageGeneration": true, "stripMetadata": true, @@ -256,7 +256,7 @@ exports[`gatsby-plugin-sharp fluid accepts srcSet breakpoints 1`] = ` "pluginOptions": Object { "base64Width": 20, "defaultQuality": 50, - "failOnError": true, + "failOn": "warning", "forceBase64Format": "", "lazyImageGeneration": true, "stripMetadata": true, @@ -299,7 +299,7 @@ exports[`gatsby-plugin-sharp fluid adds pathPrefix if defined 1`] = ` "pluginOptions": Object { "base64Width": 20, "defaultQuality": 50, - "failOnError": true, + "failOn": "warning", "forceBase64Format": "", "lazyImageGeneration": true, "stripMetadata": true, @@ -382,7 +382,7 @@ Array [ "pluginOptions": Object { "base64Width": 20, "defaultQuality": 50, - "failOnError": true, + "failOn": "warning", "forceBase64Format": "", "lazyImageGeneration": true, "stripMetadata": true, @@ -464,7 +464,7 @@ Array [ "pluginOptions": Object { "base64Width": 20, "defaultQuality": 50, - "failOnError": true, + "failOn": "warning", "forceBase64Format": "", "lazyImageGeneration": true, "stripMetadata": true, @@ -546,7 +546,7 @@ Array [ "pluginOptions": Object { "base64Width": 20, "defaultQuality": 50, - "failOnError": true, + "failOn": "warning", "forceBase64Format": "", "lazyImageGeneration": true, "stripMetadata": true, @@ -628,7 +628,7 @@ Array [ "pluginOptions": Object { "base64Width": 20, "defaultQuality": 50, - "failOnError": true, + "failOn": "warning", "forceBase64Format": "", "lazyImageGeneration": true, "stripMetadata": true, @@ -688,7 +688,7 @@ Array [ "pluginOptions": Object { "base64Width": 20, "defaultQuality": 50, - "failOnError": true, + "failOn": "warning", "forceBase64Format": "", "lazyImageGeneration": true, "stripMetadata": true, @@ -752,7 +752,7 @@ Array [ "pluginOptions": Object { "base64Width": 20, "defaultQuality": 50, - "failOnError": true, + "failOn": "warning", "forceBase64Format": "", "lazyImageGeneration": true, "stripMetadata": true, @@ -816,7 +816,7 @@ Array [ "pluginOptions": Object { "base64Width": 20, "defaultQuality": 50, - "failOnError": true, + "failOn": "warning", "forceBase64Format": "", "lazyImageGeneration": true, "stripMetadata": true, @@ -880,7 +880,7 @@ Array [ "pluginOptions": Object { "base64Width": 20, "defaultQuality": 50, - "failOnError": true, + "failOn": "warning", "forceBase64Format": "", "lazyImageGeneration": true, "stripMetadata": true, @@ -916,7 +916,7 @@ exports[`gatsby-plugin-sharp fluid does not change the arguments object it is gi "pluginOptions": Object { "base64Width": 20, "defaultQuality": 50, - "failOnError": true, + "failOn": "warning", "forceBase64Format": "", "lazyImageGeneration": true, "stripMetadata": true, @@ -987,7 +987,7 @@ exports[`gatsby-plugin-sharp fluid ensure maxWidth is in srcSet breakpoints 1`] "pluginOptions": Object { "base64Width": 20, "defaultQuality": 50, - "failOnError": true, + "failOn": "warning", "forceBase64Format": "", "lazyImageGeneration": true, "stripMetadata": true, @@ -1082,7 +1082,7 @@ exports[`gatsby-plugin-sharp fluid infers the maxWidth if only maxHeight is give "pluginOptions": Object { "base64Width": 20, "defaultQuality": 50, - "failOnError": true, + "failOn": "warning", "forceBase64Format": "", "lazyImageGeneration": true, "stripMetadata": true, @@ -1125,7 +1125,7 @@ exports[`gatsby-plugin-sharp fluid keeps original file name 1`] = ` "pluginOptions": Object { "base64Width": 20, "defaultQuality": 50, - "failOnError": true, + "failOn": "warning", "forceBase64Format": "", "lazyImageGeneration": true, "stripMetadata": true, @@ -1189,7 +1189,7 @@ exports[`gatsby-plugin-sharp fluid prevents duplicate breakpoints 1`] = ` "pluginOptions": Object { "base64Width": 20, "defaultQuality": 50, - "failOnError": true, + "failOn": "warning", "forceBase64Format": "", "lazyImageGeneration": true, "stripMetadata": true, @@ -1260,7 +1260,7 @@ exports[`gatsby-plugin-sharp fluid reject any breakpoints larger than the origin "pluginOptions": Object { "base64Width": 20, "defaultQuality": 50, - "failOnError": true, + "failOn": "warning", "forceBase64Format": "", "lazyImageGeneration": true, "stripMetadata": true, @@ -1318,7 +1318,7 @@ exports[`gatsby-plugin-sharp queueImageResizing file name works with spaces & sp "pluginOptions": Object { "base64Width": 20, "defaultQuality": 50, - "failOnError": true, + "failOn": "warning", "forceBase64Format": "", "lazyImageGeneration": true, "stripMetadata": true, @@ -1361,7 +1361,7 @@ exports[`gatsby-plugin-sharp queueImageResizing should round height when auto-ca "pluginOptions": Object { "base64Width": 20, "defaultQuality": 50, - "failOnError": true, + "failOn": "warning", "forceBase64Format": "", "lazyImageGeneration": true, "stripMetadata": true, diff --git a/packages/gatsby-plugin-sharp/src/__tests__/plugin-options.ts b/packages/gatsby-plugin-sharp/src/__tests__/plugin-options.ts index e9d74afa5fcf5..02f0376579477 100644 --- a/packages/gatsby-plugin-sharp/src/__tests__/plugin-options.ts +++ b/packages/gatsby-plugin-sharp/src/__tests__/plugin-options.ts @@ -1,15 +1,15 @@ import { testPluginOptionsSchema } from "gatsby-plugin-utils" import { pluginOptionsSchema } from "../../gatsby-node" -import { doMergeDefaults } from "../plugin-options" +import { doMergeDefaults, PluginOptionsDefaults } from "../plugin-options" -const defaults = { +const defaults: PluginOptionsDefaults = { formats: [`auto`, `webp`], placeholder: `dominantColor`, quality: 50, breakpoints: [100, 200], backgroundColor: `rebeccapurple`, tracedSVGOptions: {}, - blurredOptions: { quality: 20 }, + blurredOptions: { width: 20 }, jpgOptions: { quality: 20 }, pngOptions: { quality: 20 }, webpOptions: { quality: 20 }, @@ -74,7 +74,7 @@ describe(`plugin defaults`, () => { }, "backgroundColor": "rebeccapurple", "blurredOptions": Object { - "quality": 20, + "width": 20, }, "breakpoints": Array [ 100, diff --git a/packages/gatsby-plugin-sharp/src/__tests__/utils.js b/packages/gatsby-plugin-sharp/src/__tests__/utils.js index 82b92839a8c39..562bf2221dd8e 100644 --- a/packages/gatsby-plugin-sharp/src/__tests__/utils.js +++ b/packages/gatsby-plugin-sharp/src/__tests__/utils.js @@ -1,5 +1,4 @@ jest.mock(`gatsby/reporter`) -jest.mock(`progress`) const { calculateImageSizes } = require(`../utils`) const reporter = require(`gatsby/reporter`) const sharp = require(`sharp`) diff --git a/packages/gatsby-plugin-sharp/src/gatsby-node.js b/packages/gatsby-plugin-sharp/src/gatsby-node.js index 919d9bee0c4f0..e5abb86aac8ae 100644 --- a/packages/gatsby-plugin-sharp/src/gatsby-node.js +++ b/packages/gatsby-plugin-sharp/src/gatsby-node.js @@ -231,7 +231,12 @@ exports.pluginOptionsSchema = ({ Joi }) => ), stripMetadata: Joi.boolean().default(true), defaultQuality: Joi.number().default(50), + // TODO(v5): Remove deprecated failOnError option failOnError: Joi.boolean().default(true), + failOn: Joi.any() + .valid(`none`, `truncated`, `error`, `warning`) + .default(`warning`) + .description(`Level of sensitivity to invalid images`), defaults: Joi.object({ formats: Joi.array().items( Joi.string().valid(`auto`, `png`, `jpg`, `webp`, `avif`) @@ -255,4 +260,24 @@ exports.pluginOptionsSchema = ({ Joi }) => }).description( `Default options used by gatsby-plugin-image. \nSee https://gatsbyjs.com/docs/reference/built-in-components/gatsby-plugin-image/` ), + }).custom(value => { + const shouldNotFailOnError = !value.failOnError + + if (shouldNotFailOnError) { + // show this warning only once in main process + if (!process.env.GATSBY_WORKER_ID) { + console.warn( + `[gatsby-plugin-sharp]: The "failOnError" option is deprecated. Please use "failOn" instead.` + ) + } + + return { + ...value, + failOn: `none`, + } + } + + return { + ...value, + } }) diff --git a/packages/gatsby-plugin-sharp/src/image-data.ts b/packages/gatsby-plugin-sharp/src/image-data.ts index 5b6de4cf2e1d3..a6c34cb11ea02 100644 --- a/packages/gatsby-plugin-sharp/src/image-data.ts +++ b/packages/gatsby-plugin-sharp/src/image-data.ts @@ -62,7 +62,7 @@ export async function getImageMetadata( } try { - const pipeline = sharp({ failOnError: !!getPluginOptions().failOnError }) + const pipeline = sharp({ failOn: getPluginOptions().failOn }) fs.createReadStream(file.absolutePath).pipe(pipeline) diff --git a/packages/gatsby-plugin-sharp/src/index.js b/packages/gatsby-plugin-sharp/src/index.js index 1e30b2445e0f5..f770efd3f5912 100644 --- a/packages/gatsby-plugin-sharp/src/index.js +++ b/packages/gatsby-plugin-sharp/src/index.js @@ -262,7 +262,7 @@ async function generateBase64({ file, args = {}, reporter }) { }) let pipeline try { - pipeline = !options.failOnError ? sharp({ failOnError: false }) : sharp() + pipeline = sharp({ failOn: pluginOptions.failOn }) if (!options.rotate) { pipeline.rotate() diff --git a/packages/gatsby-plugin-sharp/src/plugin-options.js b/packages/gatsby-plugin-sharp/src/plugin-options.ts similarity index 55% rename from packages/gatsby-plugin-sharp/src/plugin-options.js rename to packages/gatsby-plugin-sharp/src/plugin-options.ts index 5c0f4d7844fb6..84e5663ed9f84 100644 --- a/packages/gatsby-plugin-sharp/src/plugin-options.js +++ b/packages/gatsby-plugin-sharp/src/plugin-options.ts @@ -1,4 +1,68 @@ -const _ = require(`lodash`) +import type { ISharpGatsbyImageArgs, Fit } from "gatsby-plugin-image" +import { pickBy, defaults, mergeWith, omitBy, isNil, identity } from "lodash" +import type { FailOnOptions, SharpOptions } from "sharp" + +export type PluginOptionsDefaults = Pick< + ISharpGatsbyImageArgs, + | "formats" + | "placeholder" + | "quality" + | "breakpoints" + | "backgroundColor" + | "tracedSVGOptions" + | "blurredOptions" + | "jpgOptions" + | "pngOptions" + | "webpOptions" + | "avifOptions" +> + +export interface ISharpPluginOptions { + base64Width?: number + forceBase64Format?: "png" | "webp" | "jpg" | string + useMozJpeg?: boolean + stripMetadata?: boolean + lazyImageGeneration?: boolean + defaultQuality: number + failOn?: SharpOptions["failOn"] + defaults?: PluginOptionsDefaults +} + +interface IDuotoneArgs { + highlight: string + shadow: string + opacity?: number +} + +export interface ITransformArgs { + height: number + width: number + cropFocus?: number | string + toFormat: string + pngCompressionLevel?: number + quality?: number + jpegQuality?: number + pngQuality?: number + webpQuality?: number + jpegProgressive?: boolean + grayscale?: boolean + rotate?: number + trim?: number + duotone?: IDuotoneArgs + background?: string + fit?: Fit + pathPrefix?: string + maxHeight?: number + maxWidth?: number + base64Width?: number +} + +interface IGeneralArgs extends ITransformArgs { + base64: boolean + pathPrefix: string + toFormatBase64: string + pngCompressionSpeed?: number +} // Plugin options are loaded onPreBootstrap in gatsby-node const pluginDefaults = { @@ -8,44 +72,47 @@ const pluginDefaults = { stripMetadata: true, lazyImageGeneration: true, defaultQuality: 50, - failOnError: true, // matches default of the sharp api constructor (https://sharp.pixelplumbing.com/api-constructor) + failOn: `warning` as FailOnOptions, } -const generalArgs = { +const generalArgs: Partial = { quality: 50, - jpegQuality: null, - pngQuality: null, - webpQuality: null, + jpegQuality: undefined, + pngQuality: undefined, + webpQuality: undefined, jpegProgressive: true, pngCompressionLevel: 9, // default is 4 (https://github.com/kornelski/pngquant/blob/4219956d5e080be7905b5581314d913d20896934/rust/bin.rs#L61) pngCompressionSpeed: 4, base64: true, grayscale: false, - duotone: false, + duotone: undefined, pathPrefix: ``, toFormat: ``, toFormatBase64: ``, rotate: 0, } -let pluginOptions = Object.assign({}, pluginDefaults) -exports.setPluginOptions = opts => { +let pluginOptions: ISharpPluginOptions = Object.assign({}, pluginDefaults) +export const setPluginOptions = ( + opts: Record +): ISharpPluginOptions => { pluginOptions = Object.assign({}, pluginOptions, opts) generalArgs.quality = pluginOptions.defaultQuality return pluginOptions } -exports.getPluginOptions = () => pluginOptions -exports.getPluginOptionsDefaults = () => pluginDefaults +export const getPluginOptions = (): ISharpPluginOptions => pluginOptions +export const getPluginOptionsDefaults = (): ISharpPluginOptions => + pluginDefaults /** * Creates a transform object - * - * @param {Partial} args */ -exports.createTransformObject = args => { +export const createTransformObject = ( + args: ITransformArgs +): Partial => { const options = { height: args.height, width: args.width, @@ -67,38 +134,50 @@ exports.createTransformObject = args => { } // get all non falsey values - return _.pickBy(options, _.identity) + return pickBy(options, identity) } /** * Used for gatsbyImageData and StaticImage only */ -exports.mergeDefaults = args => doMergeDefaults(args, pluginOptions.defaults) +export const mergeDefaults = ( + args: ISharpGatsbyImageArgs +): PluginOptionsDefaults & ISharpGatsbyImageArgs => + doMergeDefaults(args, pluginOptions.defaults) -const customizer = (objValue, srcValue) => +const customizer = (objValue: unknown, srcValue: T): T | undefined => Array.isArray(objValue) ? srcValue : undefined -function doMergeDefaults(args, defaults) { +export function doMergeDefaults( + args: ISharpGatsbyImageArgs, + defaults?: PluginOptionsDefaults +): PluginOptionsDefaults & ISharpGatsbyImageArgs { if (!defaults) { return args } - return _.mergeWith({}, defaults, args, customizer) + return mergeWith({}, defaults, args, customizer) } -exports.doMergeDefaults = doMergeDefaults - -exports.healOptions = ( - { defaultQuality: quality, base64Width }, - args, +export const healOptions = ( + { + defaultQuality: quality, + base64Width, + }: Pick, + args: ITransformArgs, fileExtension = ``, defaultArgs = {} -) => { - const options = _.defaults({}, args, { quality }, defaultArgs, generalArgs) +): Partial & { + quality: number +} & ITransformArgs => { + const options = defaults({}, args, { quality }, defaultArgs, generalArgs) + // @ts-ignore - parseInt as safeguard, expects string tho options.quality = parseInt(options.quality, 10) + // @ts-ignore - parseInt as safeguard, expects string tho options.pngCompressionLevel = parseInt(options.pngCompressionLevel, 10) + // @ts-ignore - parseInt as safeguard, expects string tho options.pngCompressionSpeed = parseInt(options.pngCompressionSpeed, 10) options.toFormat = options.toFormat.toLowerCase() - options.toFormatBase64 = options.toFormatBase64.toLowerCase() + options.toFormatBase64 = options.toFormatBase64?.toLowerCase() options.base64Width = options.base64Width || base64Width // when toFormat is not set we set it based on fileExtension @@ -120,9 +199,11 @@ exports.healOptions = ( options.width = 400 } if (options.width !== undefined) { + // @ts-ignore - parseInt as safeguard, expects string tho options.width = parseInt(options.width, 10) } if (options.height !== undefined) { + // @ts-ignore - parseInt as safeguard, expects string tho options.height = parseInt(options.height, 10) } @@ -130,8 +211,10 @@ exports.healOptions = ( if (options.maxWidth === undefined && options.maxHeight === undefined) { options.maxWidth = 800 } else if (options.maxWidth !== undefined) { + // @ts-ignore - parseInt as safeguard, expects string tho options.maxWidth = parseInt(options.maxWidth, 10) } else if (options.maxHeight !== undefined) { + // @ts-ignore - parseInt as safeguard, expects string tho options.maxHeight = parseInt(options.maxHeight, 10) } @@ -147,11 +230,11 @@ exports.healOptions = ( /** * Removes all default values so we have the smallest transform args - * - * @param {Partial} args - * @param {{defaultQuality: number }} pluginOptions */ -exports.removeDefaultValues = (args, pluginOptions) => { +export const removeDefaultValues = ( + args: ITransformArgs, + pluginOptions: ISharpPluginOptions +): Partial => { const options = { height: args.height, width: args.width, @@ -179,5 +262,5 @@ exports.removeDefaultValues = (args, pluginOptions) => { background: args.background, } - return _.omitBy(options, _.isNil) + return omitBy(options, isNil) } diff --git a/packages/gatsby-plugin-sharp/src/process-file.js b/packages/gatsby-plugin-sharp/src/process-file.ts similarity index 70% rename from packages/gatsby-plugin-sharp/src/process-file.js rename to packages/gatsby-plugin-sharp/src/process-file.ts index 94587f907d262..be848464b1f48 100644 --- a/packages/gatsby-plugin-sharp/src/process-file.js +++ b/packages/gatsby-plugin-sharp/src/process-file.ts @@ -1,13 +1,17 @@ -const sharp = require(`./safe-sharp`) -const fs = require(`fs-extra`) -const path = require(`path`) -const debug = require(`debug`)(`gatsby:gatsby-plugin-sharp`) -const duotone = require(`./duotone`) -const { healOptions } = require(`./plugin-options`) -const { SharpError } = require(`./sharp-error`) -const { - createContentDigest, -} = require(`gatsby-core-utils/create-content-digest`) +import sharp from "./safe-sharp" +import fs from "fs-extra" +import path from "path" +import debug from "debug" +import { createContentDigest } from "gatsby-core-utils/create-content-digest" +import duotone from "./duotone" +import { + healOptions, + ITransformArgs, + ISharpPluginOptions, +} from "./plugin-options" +import { SharpError } from "./sharp-error" + +const log = debug(`gatsby:gatsby-plugin-sharp`) // Try to enable the use of SIMD instructions. Seems to provide a smallish // speedup on resizing heavy loads (~10%). Sharp disables this feature by @@ -18,50 +22,20 @@ sharp.simd(true) // Concurrency is handled in gatsby-worker queue instead sharp.concurrency(1) -/** - * @typedef DuotoneArgs - * @property {string} highlight - * @property {string} shadow - * @property {number} opacity - */ - -/** - * @typedef {Object} TransformArgs - * @property {number} height - * @property {number} width - * @property {number} cropFocus - * @property {string} toFormat - * @property {number} pngCompressionLevel - * @property {number} quality - * @property {number} jpegQuality - * @property {number} pngQuality - * @property {number} webpQuality - * @property {boolean} jpegProgressive - * @property {boolean} grayscale - * @property {number} rotate - * @property {number} trim - * @property {DuotoneArgs} duotone - * @property {string} background - * @property {import('sharp').FitEnum} fit - */ - -/** + - * @typedef {Object} Transform - * @property {string} outputPath - * @property {TransformArgs} args - */ - -/** - * @param {String} file - * @param {Transform[]} transforms - */ -exports.processFile = async (file, transforms, options = {}) => { +interface ITransform { + outputPath: string + args: ITransformArgs +} + +export const processFile = async ( + file: string, + transforms: Array, + options = {} as ISharpPluginOptions +): Promise> => { let pipeline try { const inputBuffer = await fs.readFile(file) - pipeline = !options.failOnError - ? sharp(inputBuffer, { failOnError: false }) - : sharp(inputBuffer) + pipeline = sharp(inputBuffer, { failOn: options.failOn }) // Keep Metadata if (!options.stripMetadata) { @@ -75,11 +49,11 @@ exports.processFile = async (file, transforms, options = {}) => { transforms.map(async transform => { try { const { outputPath, args } = transform - debug(`Start processing ${outputPath}`) + log(`Start processing ${outputPath}`) await fs.ensureDir(path.dirname(outputPath)) const transformArgs = healOptions( - { defaultQuality: options.defaultQuality }, + { defaultQuality: options.defaultQuality as number }, args ) @@ -177,7 +151,7 @@ exports.processFile = async (file, transforms, options = {}) => { ) } -exports.createArgsDigest = args => { +export const createArgsDigest = (args: unknown): string => { const argsDigest = createContentDigest(args) return argsDigest.slice(-5) diff --git a/packages/gatsby-plugin-sitemap/CHANGELOG.md b/packages/gatsby-plugin-sitemap/CHANGELOG.md index 4b44867233492..e2318a319c75c 100644 --- a/packages/gatsby-plugin-sitemap/CHANGELOG.md +++ b/packages/gatsby-plugin-sitemap/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [5.21.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-plugin-sitemap@5.21.0/packages/gatsby-plugin-sitemap) (2022-08-16) + +[🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.21) + +**Note:** Version bump only for package gatsby-plugin-sitemap + ## [5.20.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-plugin-sitemap@5.20.0/packages/gatsby-plugin-sitemap) (2022-08-02) [🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.20) diff --git a/packages/gatsby-plugin-sitemap/package.json b/packages/gatsby-plugin-sitemap/package.json index f52d1a6bb5858..a500dfe6a53e3 100644 --- a/packages/gatsby-plugin-sitemap/package.json +++ b/packages/gatsby-plugin-sitemap/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-plugin-sitemap", "description": "Gatsby plugin that automatically creates a sitemap for your site", - "version": "5.21.0-next.2", + "version": "5.22.0-next.1", "contributors": [ "Alex Moon ", "Nicholas Young " @@ -18,9 +18,9 @@ "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.21.0-next.0", + "babel-preset-gatsby-package": "^2.22.0-next.0", "cross-env": "^7.0.3", - "gatsby-plugin-utils": "^3.15.0-next.2" + "gatsby-plugin-utils": "^3.16.0-next.1" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-sitemap#readme", "keywords": [ diff --git a/packages/gatsby-plugin-styled-components/CHANGELOG.md b/packages/gatsby-plugin-styled-components/CHANGELOG.md index 65b4517458c9a..d5086acd79fc7 100644 --- a/packages/gatsby-plugin-styled-components/CHANGELOG.md +++ b/packages/gatsby-plugin-styled-components/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [5.21.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-plugin-styled-components@5.21.0/packages/gatsby-plugin-styled-components) (2022-08-16) + +[🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.21) + +**Note:** Version bump only for package gatsby-plugin-styled-components + ## [5.20.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-plugin-styled-components@5.20.0/packages/gatsby-plugin-styled-components) (2022-08-02) [🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.20) diff --git a/packages/gatsby-plugin-styled-components/package.json b/packages/gatsby-plugin-styled-components/package.json index 4500d67f076a1..c397b94bc9f42 100644 --- a/packages/gatsby-plugin-styled-components/package.json +++ b/packages/gatsby-plugin-styled-components/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-plugin-styled-components", "description": "Gatsby plugin to add support for styled components", - "version": "5.21.0-next.0", + "version": "5.22.0-next.0", "author": "Guten Ye ", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -12,7 +12,7 @@ "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.21.0-next.0", + "babel-preset-gatsby-package": "^2.22.0-next.0", "cross-env": "^7.0.3" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-styled-components#readme", diff --git a/packages/gatsby-plugin-styled-jsx/CHANGELOG.md b/packages/gatsby-plugin-styled-jsx/CHANGELOG.md index 0383d8d455a0b..1644ee26533e9 100644 --- a/packages/gatsby-plugin-styled-jsx/CHANGELOG.md +++ b/packages/gatsby-plugin-styled-jsx/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [5.21.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-plugin-styled-jsx@5.21.0/packages/gatsby-plugin-styled-jsx) (2022-08-16) + +[🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.21) + +**Note:** Version bump only for package gatsby-plugin-styled-jsx + ## [5.20.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-plugin-styled-jsx@5.20.0/packages/gatsby-plugin-styled-jsx) (2022-08-02) [🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.20) diff --git a/packages/gatsby-plugin-styled-jsx/package.json b/packages/gatsby-plugin-styled-jsx/package.json index 478b2ce91b741..a0965fb777dcc 100644 --- a/packages/gatsby-plugin-styled-jsx/package.json +++ b/packages/gatsby-plugin-styled-jsx/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-plugin-styled-jsx", "description": "Adds SSR support for styled-jsx", - "version": "5.21.0-next.0", + "version": "5.22.0-next.0", "author": "Tim Suchanek ", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -12,7 +12,7 @@ "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.21.0-next.0", + "babel-preset-gatsby-package": "^2.22.0-next.0", "cross-env": "^7.0.3" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-styled-jsx#readme", diff --git a/packages/gatsby-plugin-styletron/CHANGELOG.md b/packages/gatsby-plugin-styletron/CHANGELOG.md index 0feb265f78cd6..a896d01fc680d 100644 --- a/packages/gatsby-plugin-styletron/CHANGELOG.md +++ b/packages/gatsby-plugin-styletron/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [7.21.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-plugin-styletron@7.21.0/packages/gatsby-plugin-styletron) (2022-08-16) + +[🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.21) + +#### Chores + +- update [dev] minor and patch dependencies for gatsby-plugin-styletron [#36279](https://github.com/gatsbyjs/gatsby/issues/36279) ([587a8f3](https://github.com/gatsbyjs/gatsby/commit/587a8f3ef9aeb410344cb6b84192681a3ec2c83c)) + ## [7.20.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-plugin-styletron@7.20.0/packages/gatsby-plugin-styletron) (2022-08-02) [🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.20) diff --git a/packages/gatsby-plugin-styletron/package.json b/packages/gatsby-plugin-styletron/package.json index 75e425e0263e4..39b01fbe1f06b 100644 --- a/packages/gatsby-plugin-styletron/package.json +++ b/packages/gatsby-plugin-styletron/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-plugin-styletron", "description": "A Gatsby plugin for styletron with built-in server-side rendering support", - "version": "7.21.0-next.1", + "version": "7.22.0-next.0", "author": "Nadiia Dmytrenko ", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -12,7 +12,7 @@ "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.21.0-next.0", + "babel-preset-gatsby-package": "^2.22.0-next.0", "cross-env": "^7.0.3", "styletron-engine-atomic": "^1.5.0", "styletron-react": "^6.1.0" diff --git a/packages/gatsby-plugin-stylus/CHANGELOG.md b/packages/gatsby-plugin-stylus/CHANGELOG.md index 8f7270109b569..91a07402f063e 100644 --- a/packages/gatsby-plugin-stylus/CHANGELOG.md +++ b/packages/gatsby-plugin-stylus/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [4.21.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-plugin-stylus@4.21.0/packages/gatsby-plugin-stylus) (2022-08-16) + +[🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.21) + +**Note:** Version bump only for package gatsby-plugin-stylus + ## [4.20.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-plugin-stylus@4.20.0/packages/gatsby-plugin-stylus) (2022-08-02) [🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.20) diff --git a/packages/gatsby-plugin-stylus/package.json b/packages/gatsby-plugin-stylus/package.json index 4fa3c23795cf4..07fdf732e0f09 100644 --- a/packages/gatsby-plugin-stylus/package.json +++ b/packages/gatsby-plugin-stylus/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-plugin-stylus", "description": "Gatsby support for Stylus", - "version": "4.21.0-next.0", + "version": "4.22.0-next.0", "author": "Ian Sinnott ", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -14,7 +14,7 @@ "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.21.0-next.0", + "babel-preset-gatsby-package": "^2.22.0-next.0", "cross-env": "^7.0.3" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-stylus#readme", diff --git a/packages/gatsby-plugin-subfont/CHANGELOG.md b/packages/gatsby-plugin-subfont/CHANGELOG.md index 6aaacdb375ed9..dc0a973da8034 100644 --- a/packages/gatsby-plugin-subfont/CHANGELOG.md +++ b/packages/gatsby-plugin-subfont/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [4.21.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-plugin-subfont@4.21.0/packages/gatsby-plugin-subfont) (2022-08-16) + +[🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.21) + +**Note:** Version bump only for package gatsby-plugin-subfont + ## [4.20.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-plugin-subfont@4.20.0/packages/gatsby-plugin-subfont) (2022-08-02) [🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.20) diff --git a/packages/gatsby-plugin-subfont/package.json b/packages/gatsby-plugin-subfont/package.json index e675ab19cf456..d5816c2a860d0 100644 --- a/packages/gatsby-plugin-subfont/package.json +++ b/packages/gatsby-plugin-subfont/package.json @@ -1,6 +1,6 @@ { "name": "gatsby-plugin-subfont", - "version": "4.21.0-next.0", + "version": "4.22.0-next.0", "description": "Runs the font delivery optimizing CLI tool subfont on the homepage of your site during the Gatsby build", "main": "index.js", "scripts": { @@ -30,7 +30,7 @@ "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.21.0-next.0", + "babel-preset-gatsby-package": "^2.22.0-next.0", "cross-env": "^7.0.3" }, "peerDependencies": { diff --git a/packages/gatsby-plugin-twitter/CHANGELOG.md b/packages/gatsby-plugin-twitter/CHANGELOG.md index 54c2b0e044e92..4609162aaa4a8 100644 --- a/packages/gatsby-plugin-twitter/CHANGELOG.md +++ b/packages/gatsby-plugin-twitter/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [4.21.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-plugin-twitter@4.21.0/packages/gatsby-plugin-twitter) (2022-08-16) + +[🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.21) + +**Note:** Version bump only for package gatsby-plugin-twitter + ## [4.20.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-plugin-twitter@4.20.0/packages/gatsby-plugin-twitter) (2022-08-02) [🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.20) diff --git a/packages/gatsby-plugin-twitter/package.json b/packages/gatsby-plugin-twitter/package.json index b01ca08fa0bf4..3bfa3047193a6 100644 --- a/packages/gatsby-plugin-twitter/package.json +++ b/packages/gatsby-plugin-twitter/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-plugin-twitter", "description": "Loads the Twitter JavaScript for embedding tweets.", - "version": "4.21.0-next.2", + "version": "4.22.0-next.1", "author": "Kyle Mathews ", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -12,9 +12,9 @@ "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.21.0-next.0", + "babel-preset-gatsby-package": "^2.22.0-next.0", "cross-env": "^7.0.3", - "gatsby-plugin-utils": "^3.15.0-next.2" + "gatsby-plugin-utils": "^3.16.0-next.1" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-twitter#readme", "keywords": [ diff --git a/packages/gatsby-plugin-typescript/CHANGELOG.md b/packages/gatsby-plugin-typescript/CHANGELOG.md index 71517b69922d9..32f8e5f7c3e46 100644 --- a/packages/gatsby-plugin-typescript/CHANGELOG.md +++ b/packages/gatsby-plugin-typescript/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [4.21.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-plugin-typescript@4.21.0/packages/gatsby-plugin-typescript) (2022-08-16) + +[🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.21) + +#### Bug Fixes + +- only use resourceQuery for supported version of gatsby [#36328](https://github.com/gatsbyjs/gatsby/issues/36328) ([564a8f7](https://github.com/gatsbyjs/gatsby/commit/564a8f7358edd2599199e79c902468fa83f916b2)) + ## [4.20.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-plugin-typescript@4.20.0/packages/gatsby-plugin-typescript) (2022-08-02) [🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.20) diff --git a/packages/gatsby-plugin-typescript/package.json b/packages/gatsby-plugin-typescript/package.json index e340949fdd634..5cf70a8a10b90 100644 --- a/packages/gatsby-plugin-typescript/package.json +++ b/packages/gatsby-plugin-typescript/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-plugin-typescript", "description": "Adds TypeScript support to Gatsby", - "version": "4.21.0-next.3", + "version": "4.22.0-next.0", "author": "Kyle Mathews ", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -16,12 +16,12 @@ "@babel/plugin-proposal-optional-chaining": "^7.14.5", "@babel/preset-typescript": "^7.15.0", "@babel/runtime": "^7.15.4", - "babel-plugin-remove-graphql-queries": "^4.21.0-next.2" + "babel-plugin-remove-graphql-queries": "^4.22.0-next.0" }, "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.21.0-next.0", + "babel-preset-gatsby-package": "^2.22.0-next.0", "cross-env": "^7.0.3" }, "peerDependencies": { diff --git a/packages/gatsby-plugin-typography/CHANGELOG.md b/packages/gatsby-plugin-typography/CHANGELOG.md index 58a21f87b2fe1..07524b43625df 100644 --- a/packages/gatsby-plugin-typography/CHANGELOG.md +++ b/packages/gatsby-plugin-typography/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [4.21.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-plugin-typography@4.21.0/packages/gatsby-plugin-typography) (2022-08-16) + +[🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.21) + +**Note:** Version bump only for package gatsby-plugin-typography + ## [4.20.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-plugin-typography@4.20.0/packages/gatsby-plugin-typography) (2022-08-02) [🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.20) diff --git a/packages/gatsby-plugin-typography/package.json b/packages/gatsby-plugin-typography/package.json index a809f65a1bffa..26cc69790d004 100644 --- a/packages/gatsby-plugin-typography/package.json +++ b/packages/gatsby-plugin-typography/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-plugin-typography", "description": "Gatsby plugin to setup server rendering of Typography.js' CSS", - "version": "4.21.0-next.0", + "version": "4.22.0-next.0", "author": "Kyle Mathews ", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -12,7 +12,7 @@ "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.21.0-next.0", + "babel-preset-gatsby-package": "^2.22.0-next.0", "cross-env": "^7.0.3", "react": "^16.12.0", "react-dom": "^16.12.0", diff --git a/packages/gatsby-plugin-utils/CHANGELOG.md b/packages/gatsby-plugin-utils/CHANGELOG.md index ceba62aecabaf..ae047a775fc37 100644 --- a/packages/gatsby-plugin-utils/CHANGELOG.md +++ b/packages/gatsby-plugin-utils/CHANGELOG.md @@ -3,6 +3,22 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [3.15.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-plugin-utils@3.15.0/packages/gatsby-plugin-utils) (2022-08-16) + +[🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.21) + +#### Bug Fixes + +- Hashing and pluginOptions [#36387](https://github.com/gatsbyjs/gatsby/issues/36387) [#36395](https://github.com/gatsbyjs/gatsby/issues/36395) ([3253a38](https://github.com/gatsbyjs/gatsby/commit/3253a3860c9c74bce23c8c2fd1df651e549566b9)) + +#### Chores + +- update sharp [#35539](https://github.com/gatsbyjs/gatsby/issues/35539) ([a9132a5](https://github.com/gatsbyjs/gatsby/commit/a9132a53eac37f713e8cb8a8246c62f4f8d8f142)) + +#### Other Changes + +- BREAKING CHANGE(gatsby-plugin-mdx): MDX v2 [#35650](https://github.com/gatsbyjs/gatsby/issues/35650) ([c92db36](https://github.com/gatsbyjs/gatsby/commit/c92db36642268d1ee50c11ea568f836c7e5b4a03)) + ## [3.14.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-plugin-utils@3.14.0/packages/gatsby-plugin-utils) (2022-08-02) [🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.20) diff --git a/packages/gatsby-plugin-utils/package.json b/packages/gatsby-plugin-utils/package.json index efdc83f90d5bc..271b0b43ba788 100644 --- a/packages/gatsby-plugin-utils/package.json +++ b/packages/gatsby-plugin-utils/package.json @@ -1,6 +1,6 @@ { "name": "gatsby-plugin-utils", - "version": "3.15.0-next.2", + "version": "3.16.0-next.1", "description": "Gatsby utils that help creating plugins", "main": "dist/index.js", "exports": { @@ -50,8 +50,8 @@ "@gatsbyjs/potrace": "^2.2.0", "fastq": "^1.13.0", "fs-extra": "^10.1.0", - "gatsby-core-utils": "^3.21.0-next.2", - "gatsby-sharp": "^0.15.0-next.0", + "gatsby-core-utils": "^3.22.0-next.0", + "gatsby-sharp": "^0.16.0-next.0", "graphql-compose": "^9.0.7", "import-from": "^4.0.0", "joi": "^17.4.2", @@ -62,7 +62,7 @@ "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.21.0-next.0", + "babel-preset-gatsby-package": "^2.22.0-next.0", "cross-env": "^7.0.3", "msw": "^0.42.3", "rimraf": "^3.0.2", diff --git a/packages/gatsby-plugin-utils/src/polyfill-remote-file/placeholder-handler.ts b/packages/gatsby-plugin-utils/src/polyfill-remote-file/placeholder-handler.ts index f206a546a78bd..f1ac0303349fd 100644 --- a/packages/gatsby-plugin-utils/src/polyfill-remote-file/placeholder-handler.ts +++ b/packages/gatsby-plugin-utils/src/polyfill-remote-file/placeholder-handler.ts @@ -88,7 +88,7 @@ const queue = Queue< } case PlaceholderType.DOMINANT_COLOR: { const fileStream = createReadStream(filePath) - const pipeline = sharp({ failOnError: false }) + const pipeline = sharp({ failOn: `none` }) fileStream.pipe(pipeline) const { dominant } = await pipeline.stats() diff --git a/packages/gatsby-plugin-utils/src/types.ts b/packages/gatsby-plugin-utils/src/types.ts index 2d040e93fc3c7..d3608b0802200 100644 --- a/packages/gatsby-plugin-utils/src/types.ts +++ b/packages/gatsby-plugin-utils/src/types.ts @@ -33,6 +33,9 @@ export interface IPluginInfo { /** Options passed to the plugin */ pluginOptions?: IPluginInfoOptions + + module?: any + modulePath?: string } export interface IPluginInfoOptions { diff --git a/packages/gatsby-react-router-scroll/CHANGELOG.md b/packages/gatsby-react-router-scroll/CHANGELOG.md index ef2f4920d74a2..4774bc8db322c 100644 --- a/packages/gatsby-react-router-scroll/CHANGELOG.md +++ b/packages/gatsby-react-router-scroll/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [5.21.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-react-router-scroll@5.21.0/packages/gatsby-react-router-scroll) (2022-08-16) + +[🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.21) + +**Note:** Version bump only for package gatsby-react-router-scroll + ## [5.20.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-react-router-scroll@5.20.0/packages/gatsby-react-router-scroll) (2022-08-02) [🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.20) diff --git a/packages/gatsby-react-router-scroll/package.json b/packages/gatsby-react-router-scroll/package.json index 7870647a699b0..32a45b33bb607 100644 --- a/packages/gatsby-react-router-scroll/package.json +++ b/packages/gatsby-react-router-scroll/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-react-router-scroll", "description": "React Router scroll management forked from https://github.com/ytase/react-router-scroll for Gatsby", - "version": "5.21.0-next.0", + "version": "5.22.0-next.0", "author": "Jimmy Jia", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -14,7 +14,7 @@ "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", "babel-plugin-dev-expression": "^0.2.3", - "babel-preset-gatsby-package": "^2.21.0-next.0", + "babel-preset-gatsby-package": "^2.22.0-next.0", "cross-env": "^7.0.3", "history": "^5.0.1" }, diff --git a/packages/gatsby-remark-autolink-headers/CHANGELOG.md b/packages/gatsby-remark-autolink-headers/CHANGELOG.md index 8d8deae6ad5ea..1f89debbda140 100644 --- a/packages/gatsby-remark-autolink-headers/CHANGELOG.md +++ b/packages/gatsby-remark-autolink-headers/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [5.21.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-remark-autolink-headers@5.21.0/packages/gatsby-remark-autolink-headers) (2022-08-16) + +[🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.21) + +#### Chores + +- Add note about rehype-slug-custom-id ([bc80c23](https://github.com/gatsbyjs/gatsby/commit/bc80c23081943407dbd84d8baf38d466f26c2290)) + ## [5.20.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-remark-autolink-headers@5.20.0/packages/gatsby-remark-autolink-headers) (2022-08-02) [🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.20) diff --git a/packages/gatsby-remark-autolink-headers/README.md b/packages/gatsby-remark-autolink-headers/README.md index 6922c56b43396..1b014e40f5482 100644 --- a/packages/gatsby-remark-autolink-headers/README.md +++ b/packages/gatsby-remark-autolink-headers/README.md @@ -6,7 +6,9 @@ This is a sub-plugin for `gatsby-transformer-remark`. As demoed below, add this ## Install -`npm install gatsby-remark-autolink-headers` +``` +npm install gatsby-remark-autolink-headers +``` ## How to use @@ -24,7 +26,7 @@ module.exports = { } ``` -Note: if you are using `gatsby-remark-prismjs`, make sure that it’s listed after this plugin. Otherwise, you might face an issue described here: https://github.com/gatsbyjs/gatsby/issues/5764. +**Please note:** If you are using `gatsby-remark-prismjs`, make sure that it’s listed after this plugin. Otherwise, you might face an issue with [redudant details](https://github.com/gatsbyjs/gatsby/issues/5764). ```javascript // good @@ -88,6 +90,8 @@ module.exports = { } ``` +**Please note:** The `enableCustomId` option is not compatible with `gatsby-plugin-mdx` as the syntax is invalid in MDX v2. You should use [`rehype-slug-custom-id`](https://github.com/unicorn-utterances/rehype-slug-custom-id) instead. + ## How to style the anchor link By default, the anchor link has a class of `anchor` (see `className` option to change this name) on the element but has no additional styling. To make it fit your website, you'll have to write some CSS to change the appearance. @@ -100,4 +104,4 @@ a.anchor { } ``` -Note: There are a variety of approaches to styling your Gatsby site, see [styling documentation](https://www.gatsbyjs.com/docs/styling/) for more detail. +**Please note:** There are a variety of approaches to styling your Gatsby site, see [styling documentation](https://www.gatsbyjs.com/docs/styling/) for more detail. diff --git a/packages/gatsby-remark-autolink-headers/package.json b/packages/gatsby-remark-autolink-headers/package.json index 01e7526454348..d196cb53adde8 100644 --- a/packages/gatsby-remark-autolink-headers/package.json +++ b/packages/gatsby-remark-autolink-headers/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-remark-autolink-headers", "description": "Gatsby plugin to autolink headers in markdown processed by Remark", - "version": "5.21.0-next.2", + "version": "5.22.0-next.1", "author": "Kyle Mathews ", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -16,9 +16,9 @@ "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.21.0-next.0", + "babel-preset-gatsby-package": "^2.22.0-next.0", "cross-env": "^7.0.3", - "gatsby-plugin-utils": "^3.15.0-next.2" + "gatsby-plugin-utils": "^3.16.0-next.1" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-remark-autolink-headers#readme", "keywords": [ diff --git a/packages/gatsby-remark-code-repls/CHANGELOG.md b/packages/gatsby-remark-code-repls/CHANGELOG.md index 5e1c4c6452277..8ae2716489fb3 100644 --- a/packages/gatsby-remark-code-repls/CHANGELOG.md +++ b/packages/gatsby-remark-code-repls/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [6.21.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-remark-code-repls@6.21.0/packages/gatsby-remark-code-repls) (2022-08-16) + +[🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.21) + +**Note:** Version bump only for package gatsby-remark-code-repls + ## [6.20.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-remark-code-repls@6.20.0/packages/gatsby-remark-code-repls) (2022-08-02) [🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.20) diff --git a/packages/gatsby-remark-code-repls/package.json b/packages/gatsby-remark-code-repls/package.json index 9455ca3386a53..d72d9e78be309 100644 --- a/packages/gatsby-remark-code-repls/package.json +++ b/packages/gatsby-remark-code-repls/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-remark-code-repls", "description": "Gatsby plugin to auto-generate links to popular REPLs like Babel and Codepen", - "version": "6.21.0-next.0", + "version": "6.22.0-next.0", "author": "Brian Vaughn ", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -18,7 +18,7 @@ "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.21.0-next.0", + "babel-preset-gatsby-package": "^2.22.0-next.0", "cross-env": "^7.0.3" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-remark-code-repls#readme", diff --git a/packages/gatsby-remark-copy-linked-files/CHANGELOG.md b/packages/gatsby-remark-copy-linked-files/CHANGELOG.md index f5fee705a4eea..832e2215f5eee 100644 --- a/packages/gatsby-remark-copy-linked-files/CHANGELOG.md +++ b/packages/gatsby-remark-copy-linked-files/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [5.21.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-remark-copy-linked-files@5.21.0/packages/gatsby-remark-copy-linked-files) (2022-08-16) + +[🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.21) + +**Note:** Version bump only for package gatsby-remark-copy-linked-files + ## [5.20.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-remark-copy-linked-files@5.20.0/packages/gatsby-remark-copy-linked-files) (2022-08-02) [🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.20) diff --git a/packages/gatsby-remark-copy-linked-files/package.json b/packages/gatsby-remark-copy-linked-files/package.json index a1c2e65e10473..c75432c8d9c26 100644 --- a/packages/gatsby-remark-copy-linked-files/package.json +++ b/packages/gatsby-remark-copy-linked-files/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-remark-copy-linked-files", "description": "Find files which are linked to from markdown and copy them to the public directory", - "version": "5.21.0-next.0", + "version": "5.22.0-next.0", "author": "Kyle Mathews ", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -19,7 +19,7 @@ "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.21.0-next.0", + "babel-preset-gatsby-package": "^2.22.0-next.0", "cross-env": "^7.0.3", "remark": "^13.0.0", "remark-mdx": "^1.6.22" diff --git a/packages/gatsby-remark-custom-blocks/CHANGELOG.md b/packages/gatsby-remark-custom-blocks/CHANGELOG.md index 30d7e7002e5ec..338c6c0f23aa0 100644 --- a/packages/gatsby-remark-custom-blocks/CHANGELOG.md +++ b/packages/gatsby-remark-custom-blocks/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [4.21.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-remark-custom-blocks@4.21.0/packages/gatsby-remark-custom-blocks) (2022-08-16) + +[🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.21) + +**Note:** Version bump only for package gatsby-remark-custom-blocks + ## [4.20.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-remark-custom-blocks@4.20.0/packages/gatsby-remark-custom-blocks) (2022-08-02) [🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.20) diff --git a/packages/gatsby-remark-custom-blocks/package.json b/packages/gatsby-remark-custom-blocks/package.json index c5aef4c94b5cd..e9a95f67dbe86 100644 --- a/packages/gatsby-remark-custom-blocks/package.json +++ b/packages/gatsby-remark-custom-blocks/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-remark-custom-blocks", "description": "Gatsby remark plugin for adding custom blocks in markdown", - "version": "4.21.0-next.0", + "version": "4.22.0-next.0", "author": "Mohammad Asad Mohammad ", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -13,7 +13,7 @@ "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.21.0-next.0", + "babel-preset-gatsby-package": "^2.22.0-next.0", "cross-env": "^7.0.3", "rimraf": "^3.0.2", "unist-util-find": "^1.0.2" diff --git a/packages/gatsby-remark-embed-snippet/CHANGELOG.md b/packages/gatsby-remark-embed-snippet/CHANGELOG.md index 01c8c35f102df..bf1751b5b179b 100644 --- a/packages/gatsby-remark-embed-snippet/CHANGELOG.md +++ b/packages/gatsby-remark-embed-snippet/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [7.21.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-remark-embed-snippet@7.21.0/packages/gatsby-remark-embed-snippet) (2022-08-16) + +[🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.21) + +**Note:** Version bump only for package gatsby-remark-embed-snippet + ## [7.20.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-remark-embed-snippet@7.20.0/packages/gatsby-remark-embed-snippet) (2022-08-02) [🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.20) diff --git a/packages/gatsby-remark-embed-snippet/package.json b/packages/gatsby-remark-embed-snippet/package.json index 8290330e35ba3..746c1c9f7472b 100644 --- a/packages/gatsby-remark-embed-snippet/package.json +++ b/packages/gatsby-remark-embed-snippet/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-remark-embed-snippet", "description": "Gatsby plugin to embed formatted code snippets within markdown", - "version": "7.21.0-next.0", + "version": "7.22.0-next.0", "author": "Brian Vaughn ", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -15,7 +15,7 @@ "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.21.0-next.0", + "babel-preset-gatsby-package": "^2.22.0-next.0", "cross-env": "^7.0.3" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-remark-embed-snippet#readme", diff --git a/packages/gatsby-remark-graphviz/CHANGELOG.md b/packages/gatsby-remark-graphviz/CHANGELOG.md index 539c80bebfa67..20b849e3265ad 100644 --- a/packages/gatsby-remark-graphviz/CHANGELOG.md +++ b/packages/gatsby-remark-graphviz/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [4.21.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-remark-graphviz@4.21.0/packages/gatsby-remark-graphviz) (2022-08-16) + +[🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.21) + +**Note:** Version bump only for package gatsby-remark-graphviz + ## [4.20.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-remark-graphviz@4.20.0/packages/gatsby-remark-graphviz) (2022-08-02) [🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.20) diff --git a/packages/gatsby-remark-graphviz/package.json b/packages/gatsby-remark-graphviz/package.json index dda6dcc37c2ba..70558549dcc6b 100644 --- a/packages/gatsby-remark-graphviz/package.json +++ b/packages/gatsby-remark-graphviz/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-remark-graphviz", "description": "Processes graphviz code blocks and renders to SVG using viz.js", - "version": "4.21.0-next.0", + "version": "4.22.0-next.0", "author": "Anthony Marcar ", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -15,7 +15,7 @@ "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.21.0-next.0", + "babel-preset-gatsby-package": "^2.22.0-next.0", "cross-env": "^7.0.3", "hast-util-to-html": "^7.1.3", "mdast-util-to-hast": "^10.2.0", diff --git a/packages/gatsby-remark-images-contentful/CHANGELOG.md b/packages/gatsby-remark-images-contentful/CHANGELOG.md index d47a8f3da7783..a6a12f1dd8859 100644 --- a/packages/gatsby-remark-images-contentful/CHANGELOG.md +++ b/packages/gatsby-remark-images-contentful/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [5.21.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-remark-images-contentful@5.21.0/packages/gatsby-remark-images-contentful) (2022-08-16) + +[🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.21) + +#### Chores + +- update sharp [#35539](https://github.com/gatsbyjs/gatsby/issues/35539) ([a9132a5](https://github.com/gatsbyjs/gatsby/commit/a9132a53eac37f713e8cb8a8246c62f4f8d8f142)) + ## [5.20.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-remark-images-contentful@5.20.0/packages/gatsby-remark-images-contentful) (2022-08-02) [🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.20) diff --git a/packages/gatsby-remark-images-contentful/package.json b/packages/gatsby-remark-images-contentful/package.json index e7f8af5eb9c79..58aaed7786880 100644 --- a/packages/gatsby-remark-images-contentful/package.json +++ b/packages/gatsby-remark-images-contentful/package.json @@ -1,6 +1,6 @@ { "name": "gatsby-remark-images-contentful", - "version": "5.21.0-next.0", + "version": "5.22.0-next.0", "description": "Process Images in Contentful markdown so they can use the images API.", "main": "index.js", "scripts": { @@ -22,13 +22,13 @@ "is-relative-url": "^3.0.0", "lodash": "^4.17.21", "semver": "^7.3.7", - "sharp": "^0.30.3", + "sharp": "^0.30.7", "unist-util-select": "^3.0.4" }, "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.21.0-next.0", + "babel-preset-gatsby-package": "^2.22.0-next.0", "cross-env": "^7.0.3" }, "keywords": [ diff --git a/packages/gatsby-remark-images/CHANGELOG.md b/packages/gatsby-remark-images/CHANGELOG.md index 494a429a7cc5a..97c59324d75e5 100644 --- a/packages/gatsby-remark-images/CHANGELOG.md +++ b/packages/gatsby-remark-images/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [6.21.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-remark-images@6.21.0/packages/gatsby-remark-images) (2022-08-16) + +[🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.21) + +**Note:** Version bump only for package gatsby-remark-images + ## [6.20.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-remark-images@6.20.0/packages/gatsby-remark-images) (2022-08-02) [🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.20) diff --git a/packages/gatsby-remark-images/package.json b/packages/gatsby-remark-images/package.json index f134dcdd6bf4a..eeb46b323a574 100644 --- a/packages/gatsby-remark-images/package.json +++ b/packages/gatsby-remark-images/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-remark-images", "description": "Processes images in markdown so they can be used in the production build.", - "version": "6.21.0-next.2", + "version": "6.22.0-next.1", "author": "Kyle Mathews ", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -11,7 +11,7 @@ "@gatsbyjs/potrace": "^2.2.0", "chalk": "^4.1.2", "cheerio": "^1.0.0-rc.10", - "gatsby-core-utils": "^3.21.0-next.2", + "gatsby-core-utils": "^3.22.0-next.0", "is-relative-url": "^3.0.0", "lodash": "^4.17.21", "mdast-util-definitions": "^4.0.0", @@ -22,9 +22,9 @@ "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.21.0-next.0", + "babel-preset-gatsby-package": "^2.22.0-next.0", "cross-env": "^7.0.3", - "gatsby-plugin-utils": "^3.15.0-next.2", + "gatsby-plugin-utils": "^3.16.0-next.1", "hast-util-to-html": "^7.1.3", "mdast-util-to-hast": "^10.2.0" }, diff --git a/packages/gatsby-remark-katex/CHANGELOG.md b/packages/gatsby-remark-katex/CHANGELOG.md index 2adcd69bd7579..cc97573617594 100644 --- a/packages/gatsby-remark-katex/CHANGELOG.md +++ b/packages/gatsby-remark-katex/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [6.21.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-remark-katex@6.21.0/packages/gatsby-remark-katex) (2022-08-16) + +[🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.21) + +**Note:** Version bump only for package gatsby-remark-katex + ## [6.20.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-remark-katex@6.20.0/packages/gatsby-remark-katex) (2022-08-02) [🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.20) diff --git a/packages/gatsby-remark-katex/package.json b/packages/gatsby-remark-katex/package.json index 5cc93ea974c17..5352b6e10f965 100644 --- a/packages/gatsby-remark-katex/package.json +++ b/packages/gatsby-remark-katex/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-remark-katex", "description": "Transform math nodes to html markup", - "version": "6.21.0-next.0", + "version": "6.22.0-next.0", "author": "Jeffrey Xiao ", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -16,7 +16,7 @@ "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.21.0-next.0", + "babel-preset-gatsby-package": "^2.22.0-next.0", "cross-env": "^7.0.3", "katex": "^0.13.18", "remark": "^13.0.0" diff --git a/packages/gatsby-remark-prismjs/CHANGELOG.md b/packages/gatsby-remark-prismjs/CHANGELOG.md index 29b22f1585bf8..218c4934dfa61 100644 --- a/packages/gatsby-remark-prismjs/CHANGELOG.md +++ b/packages/gatsby-remark-prismjs/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [6.21.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-remark-prismjs@6.21.0/packages/gatsby-remark-prismjs) (2022-08-16) + +[🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.21) + +**Note:** Version bump only for package gatsby-remark-prismjs + ## [6.20.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-remark-prismjs@6.20.0/packages/gatsby-remark-prismjs) (2022-08-02) [🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.20) diff --git a/packages/gatsby-remark-prismjs/package.json b/packages/gatsby-remark-prismjs/package.json index 2dc8d0db1adb1..71bd8bd33d097 100644 --- a/packages/gatsby-remark-prismjs/package.json +++ b/packages/gatsby-remark-prismjs/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-remark-prismjs", "description": "Adds syntax highlighting to code blocks at build time using PrismJS", - "version": "6.21.0-next.0", + "version": "6.22.0-next.0", "author": "Kyle Mathews ", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -14,7 +14,7 @@ "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.21.0-next.0", + "babel-preset-gatsby-package": "^2.22.0-next.0", "cheerio": "^1.0.0-rc.10", "cross-env": "^7.0.3", "prismjs": "^1.21.0", diff --git a/packages/gatsby-remark-responsive-iframe/CHANGELOG.md b/packages/gatsby-remark-responsive-iframe/CHANGELOG.md index 9381347cb07e0..f14c3353b563d 100644 --- a/packages/gatsby-remark-responsive-iframe/CHANGELOG.md +++ b/packages/gatsby-remark-responsive-iframe/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [5.21.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-remark-responsive-iframe@5.21.0/packages/gatsby-remark-responsive-iframe) (2022-08-16) + +[🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.21) + +**Note:** Version bump only for package gatsby-remark-responsive-iframe + ## [5.20.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-remark-responsive-iframe@5.20.0/packages/gatsby-remark-responsive-iframe) (2022-08-02) [🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.20) diff --git a/packages/gatsby-remark-responsive-iframe/package.json b/packages/gatsby-remark-responsive-iframe/package.json index c64eb6275fc5a..41e3d4c4930ae 100644 --- a/packages/gatsby-remark-responsive-iframe/package.json +++ b/packages/gatsby-remark-responsive-iframe/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-remark-responsive-iframe", "description": "Make iframes in Markdown processed by Remark responsive", - "version": "5.21.0-next.0", + "version": "5.22.0-next.0", "author": "Kyle Mathews ", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -16,7 +16,7 @@ "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.21.0-next.0", + "babel-preset-gatsby-package": "^2.22.0-next.0", "cross-env": "^7.0.3", "remark": "^13.0.0", "remark-mdx": "^1.6.22", diff --git a/packages/gatsby-remark-smartypants/CHANGELOG.md b/packages/gatsby-remark-smartypants/CHANGELOG.md index 22ee3dc9ef680..d3b18a6d584e5 100644 --- a/packages/gatsby-remark-smartypants/CHANGELOG.md +++ b/packages/gatsby-remark-smartypants/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [5.21.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-remark-smartypants@5.21.0/packages/gatsby-remark-smartypants) (2022-08-16) + +[🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.21) + +**Note:** Version bump only for package gatsby-remark-smartypants + ## [5.20.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-remark-smartypants@5.20.0/packages/gatsby-remark-smartypants) (2022-08-02) [🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.20) diff --git a/packages/gatsby-remark-smartypants/package.json b/packages/gatsby-remark-smartypants/package.json index c1bc663708334..410b7a3253327 100644 --- a/packages/gatsby-remark-smartypants/package.json +++ b/packages/gatsby-remark-smartypants/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-remark-smartypants", "description": "Use retext-smartypants to auto-enhance typography of markdown", - "version": "5.21.0-next.0", + "version": "5.22.0-next.0", "author": "Kyle Mathews ", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -15,7 +15,7 @@ "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.21.0-next.0", + "babel-preset-gatsby-package": "^2.22.0-next.0", "cross-env": "^7.0.3" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-remark-smartypants#readme", diff --git a/packages/gatsby-script/CHANGELOG.md b/packages/gatsby-script/CHANGELOG.md index 66a3fe7460bc7..fbaf00177fea0 100644 --- a/packages/gatsby-script/CHANGELOG.md +++ b/packages/gatsby-script/CHANGELOG.md @@ -3,6 +3,22 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.6.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-script@1.6.0/packages/gatsby-script) (2022-08-16) + +[🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.21) + +#### Features + +- Do not use context for script collection [#36246](https://github.com/gatsbyjs/gatsby/issues/36246) ([49cf094](https://github.com/gatsbyjs/gatsby/commit/49cf094380bcf69d9239f8abbbd4db9c1968dcf8)) + +#### Bug Fixes + +- Reach router import [#36385](https://github.com/gatsbyjs/gatsby/issues/36385) [#36394](https://github.com/gatsbyjs/gatsby/issues/36394) ([1880491](https://github.com/gatsbyjs/gatsby/commit/18804916a2c7c7660557320db3dfaa8bf1ed718e)) + +#### Chores + +- update dependency del-cli to v5 for gatsby-script [#36289](https://github.com/gatsbyjs/gatsby/issues/36289) ([2ff3b09](https://github.com/gatsbyjs/gatsby/commit/2ff3b09239702f3b9b027ce2acad6082aafe18da)) + ## [1.5.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-script@1.5.0/packages/gatsby-script) (2022-08-02) [🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.20) diff --git a/packages/gatsby-script/package.json b/packages/gatsby-script/package.json index c4861be26c67b..2f2664765d768 100644 --- a/packages/gatsby-script/package.json +++ b/packages/gatsby-script/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-script", "description": "An enhanced script component for Gatsby sites with support for various loading strategies", - "version": "1.6.0-next.1", + "version": "1.7.0-next.1", "author": "Ty Hopp ", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -28,6 +28,7 @@ "typescript": "^4.7.4" }, "peerDependencies": { + "@gatsbyjs/reach-router": "^1.3.5", "react": "^16.9.0 || ^17.0.0 || ^18.0.0", "react-dom": "^16.9.0 || ^17.0.0 || ^18.0.0" }, diff --git a/packages/gatsby-script/src/gatsby-script.tsx b/packages/gatsby-script/src/gatsby-script.tsx index 772b7fb1de7d2..d74594c0e6ebd 100644 --- a/packages/gatsby-script/src/gatsby-script.tsx +++ b/packages/gatsby-script/src/gatsby-script.tsx @@ -2,9 +2,7 @@ import React, { useEffect } from "react" import { collectedScriptsByPage } from "./collected-scripts-by-page" import type { ReactElement, ScriptHTMLAttributes } from "react" import { requestIdleCallback } from "./request-idle-callback-shim" - -// For some reason @gatsbyjs/reach-router does not resolve the same module that core uses, but this does -import { Location, useLocation } from "@reach/router" +import { Location, useLocation } from "@gatsbyjs/reach-router" export enum ScriptStrategy { postHydrate = `post-hydrate`, diff --git a/packages/gatsby-sharp/CHANGELOG.md b/packages/gatsby-sharp/CHANGELOG.md index 789782697f848..c698537230cdc 100644 --- a/packages/gatsby-sharp/CHANGELOG.md +++ b/packages/gatsby-sharp/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.15.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-sharp@0.15.0/packages/gatsby-sharp) (2022-08-16) + +[🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.21) + +#### Chores + +- update sharp [#35539](https://github.com/gatsbyjs/gatsby/issues/35539) ([a9132a5](https://github.com/gatsbyjs/gatsby/commit/a9132a53eac37f713e8cb8a8246c62f4f8d8f142)) + ## [0.14.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-sharp@0.14.0/packages/gatsby-sharp) (2022-08-02) [🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.20) diff --git a/packages/gatsby-sharp/package.json b/packages/gatsby-sharp/package.json index 7ee956efc59f1..d82856558a643 100644 --- a/packages/gatsby-sharp/package.json +++ b/packages/gatsby-sharp/package.json @@ -1,6 +1,6 @@ { "name": "gatsby-sharp", - "version": "0.15.0-next.0", + "version": "0.16.0-next.0", "sideEffects": false, "keywords": [ "gatsby", @@ -14,8 +14,8 @@ "types": "dist/index.d.ts", "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-sharp#readme", "dependencies": { - "@types/sharp": "^0.30.0", - "sharp": "^0.30.3" + "@types/sharp": "^0.30.5", + "sharp": "^0.30.7" }, "devDependencies": { "@babel/cli": "^7.15.5", diff --git a/packages/gatsby-source-contentful/CHANGELOG.md b/packages/gatsby-source-contentful/CHANGELOG.md index 2beacdeda9669..9e1bed6d067fa 100644 --- a/packages/gatsby-source-contentful/CHANGELOG.md +++ b/packages/gatsby-source-contentful/CHANGELOG.md @@ -3,6 +3,22 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +### [7.19.1](https://github.com/gatsbyjs/gatsby/commits/gatsby-source-contentful@7.19.1/packages/gatsby-source-contentful) (2022-08-18) + +**Note:** Version bump only for package gatsby-source-contentful + +## [7.19.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-source-contentful@7.19.0/packages/gatsby-source-contentful) (2022-08-16) + +[🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.21) + +#### Bug Fixes + +- Correctly overwrite field type on Assets [#36337](https://github.com/gatsbyjs/gatsby/issues/36337) ([6ecfe4a](https://github.com/gatsbyjs/gatsby/commit/6ecfe4a05e8f84cd3bac99f45c30be3f1c9d8aa3)) + +#### Chores + +- Update `got` [#36366](https://github.com/gatsbyjs/gatsby/issues/36366) ([ab55e4e](https://github.com/gatsbyjs/gatsby/commit/ab55e4e30a023d56e4c4332dfd278015a0f49ee0)) + ## [7.18.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-source-contentful@7.18.0/packages/gatsby-source-contentful) (2022-08-02) [🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.20) diff --git a/packages/gatsby-source-contentful/package.json b/packages/gatsby-source-contentful/package.json index 5d313288199c9..ba2a8bd3a52d8 100644 --- a/packages/gatsby-source-contentful/package.json +++ b/packages/gatsby-source-contentful/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-source-contentful", "description": "Gatsby source plugin for building websites using the Contentful CMS as a data source", - "version": "7.19.0-next.3", + "version": "7.20.0-next.3", "author": "Marcus Ericsson (mericsson.com)", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -16,10 +16,10 @@ "common-tags": "^1.8.2", "contentful": "^9.1.33", "fs-extra": "^10.1.0", - "gatsby-core-utils": "^3.21.0-next.2", - "gatsby-plugin-utils": "^3.15.0-next.2", - "gatsby-source-filesystem": "^4.21.0-next.3", - "is-online": "^8.5.1", + "gatsby-core-utils": "^3.22.0-next.0", + "gatsby-plugin-utils": "^3.16.0-next.1", + "gatsby-source-filesystem": "^4.22.0-next.2", + "is-online": "^9.0.1", "json-stringify-safe": "^5.0.1", "lodash": "^4.17.21", "node-fetch": "^2.6.7", @@ -29,7 +29,7 @@ "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.21.0-next.0", + "babel-preset-gatsby-package": "^2.22.0-next.0", "cross-env": "^7.0.3", "nock": "^13.2.4" }, diff --git a/packages/gatsby-source-drupal/CHANGELOG.md b/packages/gatsby-source-drupal/CHANGELOG.md index f67f3dd803b51..8f2fc6a5e9bff 100644 --- a/packages/gatsby-source-drupal/CHANGELOG.md +++ b/packages/gatsby-source-drupal/CHANGELOG.md @@ -3,6 +3,16 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +### [5.22.1](https://github.com/gatsbyjs/gatsby/commits/gatsby-source-drupal@5.22.1/packages/gatsby-source-drupal) (2022-08-18) + +**Note:** Version bump only for package gatsby-source-drupal + +## [5.22.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-source-drupal@5.22.0/packages/gatsby-source-drupal) (2022-08-16) + +[🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.21) + +**Note:** Version bump only for package gatsby-source-drupal + ## [5.21.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-source-drupal@5.21.0/packages/gatsby-source-drupal) (2022-08-02) [🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.20) diff --git a/packages/gatsby-source-drupal/package.json b/packages/gatsby-source-drupal/package.json index 9262f5eab90e2..7d2b0e121a340 100644 --- a/packages/gatsby-source-drupal/package.json +++ b/packages/gatsby-source-drupal/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-source-drupal", "description": "Gatsby source plugin for building websites using the Drupal CMS as a data source", - "version": "5.22.0-next.3", + "version": "5.23.0-next.3", "author": "Kyle Mathews ", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -13,8 +13,8 @@ "bluebird": "^3.7.2", "body-parser": "^1.20.0", "fastq": "^1.13.0", - "gatsby-plugin-utils": "^3.15.0-next.2", - "gatsby-source-filesystem": "^4.21.0-next.3", + "gatsby-plugin-utils": "^3.16.0-next.1", + "gatsby-source-filesystem": "^4.22.0-next.2", "got": "^11.8.5", "http2-wrapper": "^2.1.11", "lodash": "^4.17.21", @@ -26,7 +26,7 @@ "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.21.0-next.0", + "babel-preset-gatsby-package": "^2.22.0-next.0", "cross-env": "^7.0.3" }, "engines": { diff --git a/packages/gatsby-source-faker/CHANGELOG.md b/packages/gatsby-source-faker/CHANGELOG.md index ae40eb6ab867c..77e0f4b9670ae 100644 --- a/packages/gatsby-source-faker/CHANGELOG.md +++ b/packages/gatsby-source-faker/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [4.21.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-source-faker@4.21.0/packages/gatsby-source-faker) (2022-08-16) + +[🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.21) + +**Note:** Version bump only for package gatsby-source-faker + ## [4.20.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-source-faker@4.20.0/packages/gatsby-source-faker) (2022-08-02) [🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.20) diff --git a/packages/gatsby-source-faker/package.json b/packages/gatsby-source-faker/package.json index 734923af3e6f8..844965b7d0c5e 100644 --- a/packages/gatsby-source-faker/package.json +++ b/packages/gatsby-source-faker/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-source-faker", "description": "A gatsby plugin to get fake data for testing", - "version": "4.21.0-next.0", + "version": "4.22.0-next.0", "author": "Pavithra Kodmad", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -13,7 +13,7 @@ "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.21.0-next.0", + "babel-preset-gatsby-package": "^2.22.0-next.0", "cross-env": "^7.0.3" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-source-faker#readme", diff --git a/packages/gatsby-source-filesystem/CHANGELOG.md b/packages/gatsby-source-filesystem/CHANGELOG.md index e881d7daa3f22..c55edba5c160e 100644 --- a/packages/gatsby-source-filesystem/CHANGELOG.md +++ b/packages/gatsby-source-filesystem/CHANGELOG.md @@ -3,6 +3,24 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +### [4.21.1](https://github.com/gatsbyjs/gatsby/commits/gatsby-source-filesystem@4.21.1/packages/gatsby-source-filesystem) (2022-08-18) + +#### Chores + +- pin xstate [#36398](https://github.com/gatsbyjs/gatsby/issues/36398) [#36415](https://github.com/gatsbyjs/gatsby/issues/36415) ([29c7ad1](https://github.com/gatsbyjs/gatsby/commit/29c7ad1335cf25af3a326ea2813399ddfd8ea877)) + +## [4.21.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-source-filesystem@4.21.0/packages/gatsby-source-filesystem) (2022-08-16) + +[🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.21) + +#### Bug Fixes + +- update dependency file-type to ^16.5.4 for gatsby-source-filesystem [#36276](https://github.com/gatsbyjs/gatsby/issues/36276) ([2bbe96d](https://github.com/gatsbyjs/gatsby/commit/2bbe96d9099e1c3d9b64ab3bb5c9b257c40386b9)) + +#### Chores + +- Update `got` [#36366](https://github.com/gatsbyjs/gatsby/issues/36366) ([ab55e4e](https://github.com/gatsbyjs/gatsby/commit/ab55e4e30a023d56e4c4332dfd278015a0f49ee0)) + ## [4.20.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-source-filesystem@4.20.0/packages/gatsby-source-filesystem) (2022-08-02) [🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.20) diff --git a/packages/gatsby-source-filesystem/package.json b/packages/gatsby-source-filesystem/package.json index aafd05464b689..6360d90e503c3 100644 --- a/packages/gatsby-source-filesystem/package.json +++ b/packages/gatsby-source-filesystem/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-source-filesystem", "description": "Gatsby source plugin for building websites from local data. Markdown, JSON, images, YAML, CSV, and dozens of other data types supported.", - "version": "4.21.0-next.3", + "version": "4.22.0-next.2", "author": "Kyle Mathews ", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -11,19 +11,17 @@ "chokidar": "^3.5.3", "file-type": "^16.5.4", "fs-extra": "^10.1.0", - "gatsby-core-utils": "^3.21.0-next.2", - "got": "^9.6.0", + "gatsby-core-utils": "^3.22.0-next.0", "md5-file": "^5.0.0", "mime": "^2.5.2", "pretty-bytes": "^5.4.1", - "progress": "^2.0.3", "valid-url": "^1.0.9", - "xstate": "^4.26.1" + "xstate": "4.32.1" }, "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.21.0-next.0", + "babel-preset-gatsby-package": "^2.22.0-next.0", "cross-env": "^7.0.3" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-source-filesystem#readme", diff --git a/packages/gatsby-source-graphql/CHANGELOG.md b/packages/gatsby-source-graphql/CHANGELOG.md index 0a4fb5aae5e4a..41811382a57e0 100644 --- a/packages/gatsby-source-graphql/CHANGELOG.md +++ b/packages/gatsby-source-graphql/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [4.21.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-source-graphql@4.21.0/packages/gatsby-source-graphql) (2022-08-16) + +[🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.21) + +**Note:** Version bump only for package gatsby-source-graphql + ## [4.20.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-source-graphql@4.20.0/packages/gatsby-source-graphql) (2022-08-02) [🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.20) diff --git a/packages/gatsby-source-graphql/package.json b/packages/gatsby-source-graphql/package.json index e8cbd96d707c6..568412b4c6be4 100644 --- a/packages/gatsby-source-graphql/package.json +++ b/packages/gatsby-source-graphql/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-source-graphql", "description": "Gatsby plugin which adds a third-party GraphQL API to Gatsby GraphQL", - "version": "4.21.0-next.2", + "version": "4.22.0-next.0", "author": "Mikhail Novikov ", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -13,14 +13,14 @@ "@graphql-tools/utils": "^8.6.9", "@graphql-tools/wrap": "^8.3.3", "dataloader": "^2.0.0", - "gatsby-core-utils": "^3.21.0-next.2", + "gatsby-core-utils": "^3.22.0-next.0", "invariant": "^2.2.4", "node-fetch": "^2.6.7" }, "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.21.0-next.0", + "babel-preset-gatsby-package": "^2.22.0-next.0", "cross-env": "^7.0.3" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-source-graphql#readme", diff --git a/packages/gatsby-source-hacker-news/CHANGELOG.md b/packages/gatsby-source-hacker-news/CHANGELOG.md index 669029da5000f..9f2e132cebec2 100644 --- a/packages/gatsby-source-hacker-news/CHANGELOG.md +++ b/packages/gatsby-source-hacker-news/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [4.21.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-source-hacker-news@4.21.0/packages/gatsby-source-hacker-news) (2022-08-16) + +[🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.21) + +**Note:** Version bump only for package gatsby-source-hacker-news + ## [4.20.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-source-hacker-news@4.20.0/packages/gatsby-source-hacker-news) (2022-08-02) [🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.20) diff --git a/packages/gatsby-source-hacker-news/package.json b/packages/gatsby-source-hacker-news/package.json index 8337b495581cb..93e9c8b74e604 100644 --- a/packages/gatsby-source-hacker-news/package.json +++ b/packages/gatsby-source-hacker-news/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-source-hacker-news", "description": "Gatsby source plugin for building websites using Hacker News as a data source", - "version": "4.21.0-next.0", + "version": "4.22.0-next.0", "author": "Kyle Mathews ", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -14,7 +14,7 @@ "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.21.0-next.0", + "babel-preset-gatsby-package": "^2.22.0-next.0", "cross-env": "^7.0.3" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-source-hacker-news#readme", diff --git a/packages/gatsby-source-lever/CHANGELOG.md b/packages/gatsby-source-lever/CHANGELOG.md index 9a063a3c04311..6a6ef33b128b8 100644 --- a/packages/gatsby-source-lever/CHANGELOG.md +++ b/packages/gatsby-source-lever/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [4.21.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-source-lever@4.21.0/packages/gatsby-source-lever) (2022-08-16) + +[🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.21) + +**Note:** Version bump only for package gatsby-source-lever + ## [4.20.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-source-lever@4.20.0/packages/gatsby-source-lever) (2022-08-02) [🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.20) diff --git a/packages/gatsby-source-lever/package.json b/packages/gatsby-source-lever/package.json index e4a6cad11a4d9..4b5d5ce59b027 100644 --- a/packages/gatsby-source-lever/package.json +++ b/packages/gatsby-source-lever/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-source-lever", "description": "Gatsby source plugin for building websites using the Lever.co Recruitment Software as a data source.", - "version": "4.21.0-next.0", + "version": "4.22.0-next.0", "author": "Sebastien Fichot ", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -20,7 +20,7 @@ "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.21.0-next.0", + "babel-preset-gatsby-package": "^2.22.0-next.0", "cross-env": "^7.0.3" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-source-lever#readme", diff --git a/packages/gatsby-source-medium/CHANGELOG.md b/packages/gatsby-source-medium/CHANGELOG.md index 5089f87d5e98f..9db3cb8909d55 100644 --- a/packages/gatsby-source-medium/CHANGELOG.md +++ b/packages/gatsby-source-medium/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [4.21.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-source-medium@4.21.0/packages/gatsby-source-medium) (2022-08-16) + +[🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.21) + +**Note:** Version bump only for package gatsby-source-medium + ## [4.20.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-source-medium@4.20.0/packages/gatsby-source-medium) (2022-08-02) [🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.20) diff --git a/packages/gatsby-source-medium/package.json b/packages/gatsby-source-medium/package.json index 42759107b0957..c16b19d9ff9b3 100644 --- a/packages/gatsby-source-medium/package.json +++ b/packages/gatsby-source-medium/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-source-medium", "description": "Gatsby source plugin for building websites using Medium as a data source", - "version": "4.21.0-next.0", + "version": "4.22.0-next.0", "author": "Robert Vogt ", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -13,7 +13,7 @@ "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.21.0-next.0", + "babel-preset-gatsby-package": "^2.22.0-next.0", "cross-env": "^7.0.3" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-source-medium#readme", diff --git a/packages/gatsby-source-mongodb/CHANGELOG.md b/packages/gatsby-source-mongodb/CHANGELOG.md index 5e74964402df7..c4d9c86b15692 100644 --- a/packages/gatsby-source-mongodb/CHANGELOG.md +++ b/packages/gatsby-source-mongodb/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [4.21.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-source-mongodb@4.21.0/packages/gatsby-source-mongodb) (2022-08-16) + +[🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.21) + +**Note:** Version bump only for package gatsby-source-mongodb + ## [4.20.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-source-mongodb@4.20.0/packages/gatsby-source-mongodb) (2022-08-02) [🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.20) diff --git a/packages/gatsby-source-mongodb/package.json b/packages/gatsby-source-mongodb/package.json index c2b78e58069b5..9343851899218 100644 --- a/packages/gatsby-source-mongodb/package.json +++ b/packages/gatsby-source-mongodb/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-source-mongodb", "description": "Source plugin for pulling data into Gatsby from MongoDB collections", - "version": "4.21.0-next.0", + "version": "4.22.0-next.0", "authors": [ "jhermans85@hotmail.com", "hi@elmar.codes" @@ -19,7 +19,7 @@ "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.21.0-next.0", + "babel-preset-gatsby-package": "^2.22.0-next.0", "cross-env": "^7.0.3" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-source-mongodb#readme", diff --git a/packages/gatsby-source-npm-package-search/CHANGELOG.md b/packages/gatsby-source-npm-package-search/CHANGELOG.md index a14d55665ebaa..4f4ee570805ee 100644 --- a/packages/gatsby-source-npm-package-search/CHANGELOG.md +++ b/packages/gatsby-source-npm-package-search/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [4.21.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-source-npm-package-search@4.21.0/packages/gatsby-source-npm-package-search) (2022-08-16) + +[🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.21) + +**Note:** Version bump only for package gatsby-source-npm-package-search + ## [4.20.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-source-npm-package-search@4.20.0/packages/gatsby-source-npm-package-search) (2022-08-02) [🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.20) diff --git a/packages/gatsby-source-npm-package-search/package.json b/packages/gatsby-source-npm-package-search/package.json index 944bdac44e3f7..e0d2f8f83fc84 100644 --- a/packages/gatsby-source-npm-package-search/package.json +++ b/packages/gatsby-source-npm-package-search/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-source-npm-package-search", "description": "Search NPM packages and pull NPM & GitHub metadata from Algolia's NPM index", - "version": "4.21.0-next.0", + "version": "4.22.0-next.0", "author": "james.a.stack@gmail.com", "repository": { "type": "git", @@ -17,7 +17,7 @@ "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.21.0-next.0", + "babel-preset-gatsby-package": "^2.22.0-next.0", "cross-env": "^7.0.3" }, "keywords": [ diff --git a/packages/gatsby-source-shopify/CHANGELOG.md b/packages/gatsby-source-shopify/CHANGELOG.md index 221ab21b3aaa0..01592206f3e03 100644 --- a/packages/gatsby-source-shopify/CHANGELOG.md +++ b/packages/gatsby-source-shopify/CHANGELOG.md @@ -3,6 +3,22 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +### [7.10.1](https://github.com/gatsbyjs/gatsby/commits/gatsby-source-shopify@7.10.1/packages/gatsby-source-shopify) (2022-08-18) + +**Note:** Version bump only for package gatsby-source-shopify + +## [7.10.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-source-shopify@7.10.0/packages/gatsby-source-shopify) (2022-08-16) + +[🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.21) + +#### Features + +- Add query runtime warning for CI environments [#36142](https://github.com/gatsbyjs/gatsby/issues/36142) ([e90448f](https://github.com/gatsbyjs/gatsby/commit/e90448fbd204c3e3725938ab6af9fc3260617a07)) + +#### Chores + +- update sharp [#35539](https://github.com/gatsbyjs/gatsby/issues/35539) ([a9132a5](https://github.com/gatsbyjs/gatsby/commit/a9132a53eac37f713e8cb8a8246c62f4f8d8f142)) + ## [7.9.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-source-shopify@7.9.0/packages/gatsby-source-shopify) (2022-08-02) [🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.20) diff --git a/packages/gatsby-source-shopify/package.json b/packages/gatsby-source-shopify/package.json index 9eae628d05b15..7be9b9a6f4925 100644 --- a/packages/gatsby-source-shopify/package.json +++ b/packages/gatsby-source-shopify/package.json @@ -1,6 +1,6 @@ { "name": "gatsby-source-shopify", - "version": "7.10.0-next.3", + "version": "7.11.0-next.3", "description": "Gatsby source plugin for building websites using Shopify as a data source.", "scripts": { "watch": "tsc-watch --outDir .", @@ -24,19 +24,19 @@ "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-source-shopify#readme", "dependencies": { "@babel/runtime": "^7.15.4", - "gatsby-core-utils": "^3.21.0-next.2", - "gatsby-plugin-utils": "^3.15.0-next.2", - "gatsby-source-filesystem": "^4.21.0-next.3", + "gatsby-core-utils": "^3.22.0-next.0", + "gatsby-plugin-utils": "^3.16.0-next.1", + "gatsby-source-filesystem": "^4.22.0-next.2", "node-fetch": "^2.6.7", - "sharp": "^0.30.3", + "sharp": "^0.30.7", "shift-left": "^0.1.5" }, "devDependencies": { "@types/node": "^14.17.34", "@types/node-fetch": "^2.5.12", - "@types/sharp": "^0.30.0", + "@types/sharp": "^0.30.5", "cross-env": "^7.0.3", - "gatsby-plugin-image": "^2.21.0-next.2", + "gatsby-plugin-image": "^2.22.0-next.2", "msw": "^0.38.2", "prettier": "^2.7.1", "prettier-check": "^2.0.0", diff --git a/packages/gatsby-source-wikipedia/CHANGELOG.md b/packages/gatsby-source-wikipedia/CHANGELOG.md index 960095bf2883c..d0d2477384d6c 100644 --- a/packages/gatsby-source-wikipedia/CHANGELOG.md +++ b/packages/gatsby-source-wikipedia/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [4.21.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-source-wikipedia@4.21.0/packages/gatsby-source-wikipedia) (2022-08-16) + +[🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.21) + +**Note:** Version bump only for package gatsby-source-wikipedia + ## [4.20.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-source-wikipedia@4.20.0/packages/gatsby-source-wikipedia) (2022-08-02) [🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.20) diff --git a/packages/gatsby-source-wikipedia/package.json b/packages/gatsby-source-wikipedia/package.json index c9fb80843c50d..a6c2a6770e443 100644 --- a/packages/gatsby-source-wikipedia/package.json +++ b/packages/gatsby-source-wikipedia/package.json @@ -1,6 +1,6 @@ { "name": "gatsby-source-wikipedia", - "version": "4.21.0-next.0", + "version": "4.22.0-next.0", "description": "Gatsby source plugin for pulling articles from Wikipedia", "main": "index.js", "scripts": { @@ -37,7 +37,7 @@ "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.21.0-next.0", + "babel-preset-gatsby-package": "^2.22.0-next.0", "cross-env": "^7.0.3" }, "engines": { diff --git a/packages/gatsby-source-wordpress/CHANGELOG.md b/packages/gatsby-source-wordpress/CHANGELOG.md index 769851a7583c9..e3069813f4323 100644 --- a/packages/gatsby-source-wordpress/CHANGELOG.md +++ b/packages/gatsby-source-wordpress/CHANGELOG.md @@ -3,6 +3,19 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +### [6.21.1](https://github.com/gatsbyjs/gatsby/commits/gatsby-source-wordpress@6.21.1/packages/gatsby-source-wordpress) (2022-08-18) + +**Note:** Version bump only for package gatsby-source-wordpress + +## [6.21.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-source-wordpress@6.21.0/packages/gatsby-source-wordpress) (2022-08-16) + +[🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.21) + +#### Chores + +- update sharp [#35539](https://github.com/gatsbyjs/gatsby/issues/35539) ([a9132a5](https://github.com/gatsbyjs/gatsby/commit/a9132a53eac37f713e8cb8a8246c62f4f8d8f142)) +- update dependency @types/semver to ^7.3.10 [#36027](https://github.com/gatsbyjs/gatsby/issues/36027) ([a529451](https://github.com/gatsbyjs/gatsby/commit/a5294515f966b336db6c910168bdc06897d2a42b)) + ## [6.20.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-source-wordpress@6.20.0/packages/gatsby-source-wordpress) (2022-08-02) [🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.20) diff --git a/packages/gatsby-source-wordpress/package.json b/packages/gatsby-source-wordpress/package.json index e8fbcaaf74653..c5aad096acafa 100644 --- a/packages/gatsby-source-wordpress/package.json +++ b/packages/gatsby-source-wordpress/package.json @@ -2,7 +2,7 @@ "name": "gatsby-source-wordpress", "description": "Source data from WordPress in an efficient and scalable way.", "author": "Tyler Barnes ", - "version": "6.21.0-next.3", + "version": "6.22.0-next.3", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" }, @@ -27,10 +27,10 @@ "file-type": "^15.0.1", "filesize": "^6.4.0", "fs-extra": "^10.1.0", - "gatsby-core-utils": "^3.21.0-next.2", - "gatsby-plugin-catch-links": "^4.21.0-next.0", - "gatsby-plugin-utils": "^3.15.0-next.2", - "gatsby-source-filesystem": "^4.21.0-next.3", + "gatsby-core-utils": "^3.22.0-next.0", + "gatsby-plugin-catch-links": "^4.22.0-next.0", + "gatsby-plugin-utils": "^3.16.0-next.1", + "gatsby-source-filesystem": "^4.22.0-next.2", "glob": "^7.2.3", "got": "^11.8.5", "lodash": "^4.17.21", @@ -40,7 +40,7 @@ "read-chunk": "^3.2.0", "replaceall": "^0.1.6", "semver": "^7.3.7", - "sharp": "^0.30.3", + "sharp": "^0.30.7", "valid-url": "^1.0.9" }, "devDependencies": { @@ -53,10 +53,10 @@ "@types/semver": "^7.3.10", "babel-plugin-import-globals": "^2.0.0", "babel-plugin-module-resolver": "4.1.0", - "babel-preset-gatsby": "^2.21.0-next.2", - "babel-preset-gatsby-package": "^2.21.0-next.0", + "babel-preset-gatsby": "^2.22.0-next.0", + "babel-preset-gatsby-package": "^2.22.0-next.0", "cross-env": "^7.0.3", - "gatsby-plugin-image": "^2.21.0-next.2", + "gatsby-plugin-image": "^2.22.0-next.2", "identity-obj-proxy": "^3.0.0", "react-test-renderer": "^16.14.0", "rimraf": "^3.0.2", diff --git a/packages/gatsby-telemetry/CHANGELOG.md b/packages/gatsby-telemetry/CHANGELOG.md index 8e3be4dc00650..491b6465eca1f 100644 --- a/packages/gatsby-telemetry/CHANGELOG.md +++ b/packages/gatsby-telemetry/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [3.21.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-telemetry@3.21.0/packages/gatsby-telemetry) (2022-08-16) + +[🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.21) + +#### Chores + +- upgrade git-up [#36358](https://github.com/gatsbyjs/gatsby/issues/36358) ([f2f0acf](https://github.com/gatsbyjs/gatsby/commit/f2f0acf0f8c40312a4ba7988ffa5265eb892e9d2)) + ## [3.20.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-telemetry@3.20.0/packages/gatsby-telemetry) (2022-08-02) [🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.20) diff --git a/packages/gatsby-telemetry/package.json b/packages/gatsby-telemetry/package.json index 74d0bf864e529..de1e98e5ba168 100644 --- a/packages/gatsby-telemetry/package.json +++ b/packages/gatsby-telemetry/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-telemetry", "description": "Gatsby Telemetry", - "version": "3.21.0-next.2", + "version": "3.22.0-next.1", "author": "Jarmo Isotalo ", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -11,12 +11,11 @@ "@babel/runtime": "^7.15.4", "@turist/fetch": "^7.2.0", "@turist/time": "^0.0.2", - "async-retry-ng": "^2.0.1", "boxen": "^4.2.0", "configstore": "^5.0.1", "fs-extra": "^10.1.0", - "gatsby-core-utils": "^3.21.0-next.2", - "git-up": "^4.0.5", + "gatsby-core-utils": "^3.22.0-next.0", + "git-up": "^6.0.0", "is-docker": "^2.2.1", "lodash": "^4.17.21", "node-fetch": "^2.6.7" @@ -24,7 +23,7 @@ "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.21.0-next.0", + "babel-preset-gatsby-package": "^2.22.0-next.0", "cross-env": "^7.0.3", "rimraf": "^3.0.2", "typescript": "^4.7.4" diff --git a/packages/gatsby-transformer-asciidoc/CHANGELOG.md b/packages/gatsby-transformer-asciidoc/CHANGELOG.md index 8d6ed2d8bb5c6..ff2fb77654171 100644 --- a/packages/gatsby-transformer-asciidoc/CHANGELOG.md +++ b/packages/gatsby-transformer-asciidoc/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [3.21.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-transformer-asciidoc@3.21.0/packages/gatsby-transformer-asciidoc) (2022-08-16) + +[🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.21) + +**Note:** Version bump only for package gatsby-transformer-asciidoc + ## [3.20.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-transformer-asciidoc@3.20.0/packages/gatsby-transformer-asciidoc) (2022-08-02) [🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.20) diff --git a/packages/gatsby-transformer-asciidoc/package.json b/packages/gatsby-transformer-asciidoc/package.json index f9b1bbf80213b..650afe1ea713b 100644 --- a/packages/gatsby-transformer-asciidoc/package.json +++ b/packages/gatsby-transformer-asciidoc/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-transformer-asciidoc", "description": "Gatsby transformer plugin for Asciidocs using the Asciidoctor.js library", - "version": "3.21.0-next.0", + "version": "3.22.0-next.0", "author": "Daniel Oliver ", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -13,7 +13,7 @@ "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.21.0-next.0", + "babel-preset-gatsby-package": "^2.22.0-next.0", "cross-env": "^7.0.3", "lodash": "^4.17.21" }, diff --git a/packages/gatsby-transformer-csv/CHANGELOG.md b/packages/gatsby-transformer-csv/CHANGELOG.md index 9cc34d141fc21..bff8475a2a51a 100644 --- a/packages/gatsby-transformer-csv/CHANGELOG.md +++ b/packages/gatsby-transformer-csv/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [4.21.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-transformer-csv@4.21.0/packages/gatsby-transformer-csv) (2022-08-16) + +[🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.21) + +**Note:** Version bump only for package gatsby-transformer-csv + ## [4.20.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-transformer-csv@4.20.0/packages/gatsby-transformer-csv) (2022-08-02) [🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.20) diff --git a/packages/gatsby-transformer-csv/package.json b/packages/gatsby-transformer-csv/package.json index 41af3473c9057..9252ce9f8f955 100644 --- a/packages/gatsby-transformer-csv/package.json +++ b/packages/gatsby-transformer-csv/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-transformer-csv", "description": "Gatsby transformer plugin for CSV files", - "version": "4.21.0-next.0", + "version": "4.22.0-next.0", "author": "Sonal Saldanha ", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -13,7 +13,7 @@ "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.21.0-next.0", + "babel-preset-gatsby-package": "^2.22.0-next.0", "cross-env": "^7.0.3", "json2csv": "^5.0.7" }, diff --git a/packages/gatsby-transformer-documentationjs/CHANGELOG.md b/packages/gatsby-transformer-documentationjs/CHANGELOG.md index f869d867823b8..0da838d5f554d 100644 --- a/packages/gatsby-transformer-documentationjs/CHANGELOG.md +++ b/packages/gatsby-transformer-documentationjs/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [6.21.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-transformer-documentationjs@6.21.0/packages/gatsby-transformer-documentationjs) (2022-08-16) + +[🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.21) + +**Note:** Version bump only for package gatsby-transformer-documentationjs + ## [6.20.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-transformer-documentationjs@6.20.0/packages/gatsby-transformer-documentationjs) (2022-08-02) [🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.20) diff --git a/packages/gatsby-transformer-documentationjs/package.json b/packages/gatsby-transformer-documentationjs/package.json index 4323518aece77..7c8658c299eff 100644 --- a/packages/gatsby-transformer-documentationjs/package.json +++ b/packages/gatsby-transformer-documentationjs/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-transformer-documentationjs", "description": "Gatsby transformer plugin which uses Documentation.js to extract JavaScript documentation", - "version": "6.21.0-next.0", + "version": "6.22.0-next.0", "author": "Kyle Mathews", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -14,7 +14,7 @@ "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.21.0-next.0", + "babel-preset-gatsby-package": "^2.22.0-next.0", "cross-env": "^7.0.3" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-transformer-documentationjs#readme", diff --git a/packages/gatsby-transformer-excel/CHANGELOG.md b/packages/gatsby-transformer-excel/CHANGELOG.md index d227a120531a8..ac4ed1a82dc3f 100644 --- a/packages/gatsby-transformer-excel/CHANGELOG.md +++ b/packages/gatsby-transformer-excel/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [4.21.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-transformer-excel@4.21.0/packages/gatsby-transformer-excel) (2022-08-16) + +[🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.21) + +**Note:** Version bump only for package gatsby-transformer-excel + ## [4.20.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-transformer-excel@4.20.0/packages/gatsby-transformer-excel) (2022-08-02) [🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.20) diff --git a/packages/gatsby-transformer-excel/package.json b/packages/gatsby-transformer-excel/package.json index b719a23dcd30a..bd7c10adce301 100644 --- a/packages/gatsby-transformer-excel/package.json +++ b/packages/gatsby-transformer-excel/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-transformer-excel", "description": "Gatsby transformer plugin for Excel spreadsheets", - "version": "4.21.0-next.0", + "version": "4.22.0-next.0", "author": "SheetJS ", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -13,7 +13,7 @@ "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.21.0-next.0", + "babel-preset-gatsby-package": "^2.22.0-next.0", "cross-env": "^7.0.3" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-transformer-excel#readme", diff --git a/packages/gatsby-transformer-hjson/CHANGELOG.md b/packages/gatsby-transformer-hjson/CHANGELOG.md index 59630732b52dc..a92a2792a9eb3 100644 --- a/packages/gatsby-transformer-hjson/CHANGELOG.md +++ b/packages/gatsby-transformer-hjson/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [4.21.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-transformer-hjson@4.21.0/packages/gatsby-transformer-hjson) (2022-08-16) + +[🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.21) + +**Note:** Version bump only for package gatsby-transformer-hjson + ## [4.20.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-transformer-hjson@4.20.0/packages/gatsby-transformer-hjson) (2022-08-02) [🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.20) diff --git a/packages/gatsby-transformer-hjson/package.json b/packages/gatsby-transformer-hjson/package.json index ad6d500bb2441..efebcf630ec26 100644 --- a/packages/gatsby-transformer-hjson/package.json +++ b/packages/gatsby-transformer-hjson/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-transformer-hjson", "description": "Gatsby transformer plugin for HJSON files", - "version": "4.21.0-next.0", + "version": "4.22.0-next.0", "author": "Remi Barraquand ", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -14,7 +14,7 @@ "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.21.0-next.0", + "babel-preset-gatsby-package": "^2.22.0-next.0", "cross-env": "^7.0.3" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-transformer-hjson#readme", diff --git a/packages/gatsby-transformer-javascript-frontmatter/CHANGELOG.md b/packages/gatsby-transformer-javascript-frontmatter/CHANGELOG.md index e1f92247864a8..fa66c3711d453 100644 --- a/packages/gatsby-transformer-javascript-frontmatter/CHANGELOG.md +++ b/packages/gatsby-transformer-javascript-frontmatter/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [4.21.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-transformer-javascript-frontmatter@4.21.0/packages/gatsby-transformer-javascript-frontmatter) (2022-08-16) + +[🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.21) + +**Note:** Version bump only for package gatsby-transformer-javascript-frontmatter + ## [4.20.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-transformer-javascript-frontmatter@4.20.0/packages/gatsby-transformer-javascript-frontmatter) (2022-08-02) [🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.20) diff --git a/packages/gatsby-transformer-javascript-frontmatter/package.json b/packages/gatsby-transformer-javascript-frontmatter/package.json index 4395dc1904652..575daeadb6e11 100644 --- a/packages/gatsby-transformer-javascript-frontmatter/package.json +++ b/packages/gatsby-transformer-javascript-frontmatter/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-transformer-javascript-frontmatter", "description": "Gatsby transformer plugin for JavaScript to extract exports.frontmatter statically.", - "version": "4.21.0-next.0", + "version": "4.22.0-next.0", "author": "Jacob Bolda ", "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-transformer-javascript-frontmatter#readme", "dependencies": { @@ -13,7 +13,7 @@ "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.21.0-next.0", + "babel-preset-gatsby-package": "^2.22.0-next.0", "cross-env": "^7.0.3" }, "keywords": [ diff --git a/packages/gatsby-transformer-javascript-static-exports/CHANGELOG.md b/packages/gatsby-transformer-javascript-static-exports/CHANGELOG.md index a51f441b7febf..4856895a9c8d6 100644 --- a/packages/gatsby-transformer-javascript-static-exports/CHANGELOG.md +++ b/packages/gatsby-transformer-javascript-static-exports/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [4.21.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-transformer-javascript-static-exports@4.21.0/packages/gatsby-transformer-javascript-static-exports) (2022-08-16) + +[🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.21) + +**Note:** Version bump only for package gatsby-transformer-javascript-static-exports + ## [4.20.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-transformer-javascript-static-exports@4.20.0/packages/gatsby-transformer-javascript-static-exports) (2022-08-02) [🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.20) diff --git a/packages/gatsby-transformer-javascript-static-exports/package.json b/packages/gatsby-transformer-javascript-static-exports/package.json index 968cb2ff3522a..63fef447efc66 100644 --- a/packages/gatsby-transformer-javascript-static-exports/package.json +++ b/packages/gatsby-transformer-javascript-static-exports/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-transformer-javascript-static-exports", "description": "Gatsby transformer plugin for JavaScript to extract exports.data statically.", - "version": "4.21.0-next.0", + "version": "4.22.0-next.0", "author": "Jacob Bolda ", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -15,7 +15,7 @@ "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.21.0-next.0", + "babel-preset-gatsby-package": "^2.22.0-next.0", "cross-env": "^7.0.3" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-transformer-javascript-static-exports#readme", diff --git a/packages/gatsby-transformer-json/CHANGELOG.md b/packages/gatsby-transformer-json/CHANGELOG.md index 63b6360753605..ac0ae92cc55e8 100644 --- a/packages/gatsby-transformer-json/CHANGELOG.md +++ b/packages/gatsby-transformer-json/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [4.21.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-transformer-json@4.21.0/packages/gatsby-transformer-json) (2022-08-16) + +[🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.21) + +**Note:** Version bump only for package gatsby-transformer-json + ## [4.20.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-transformer-json@4.20.0/packages/gatsby-transformer-json) (2022-08-02) [🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.20) diff --git a/packages/gatsby-transformer-json/package.json b/packages/gatsby-transformer-json/package.json index 9ee13387ca95e..7f1043c59acb9 100644 --- a/packages/gatsby-transformer-json/package.json +++ b/packages/gatsby-transformer-json/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-transformer-json", "description": "Gatsby transformer plugin for JSON files", - "version": "4.21.0-next.0", + "version": "4.22.0-next.0", "author": "Kyle Mathews ", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -13,7 +13,7 @@ "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.21.0-next.0", + "babel-preset-gatsby-package": "^2.22.0-next.0", "cross-env": "^7.0.3" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-transformer-json#readme", diff --git a/packages/gatsby-transformer-pdf/CHANGELOG.md b/packages/gatsby-transformer-pdf/CHANGELOG.md index 4d89959a5a6c5..622b0e1a4c805 100644 --- a/packages/gatsby-transformer-pdf/CHANGELOG.md +++ b/packages/gatsby-transformer-pdf/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [3.21.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-transformer-pdf@3.21.0/packages/gatsby-transformer-pdf) (2022-08-16) + +[🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.21) + +**Note:** Version bump only for package gatsby-transformer-pdf + ## [3.20.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-transformer-pdf@3.20.0/packages/gatsby-transformer-pdf) (2022-08-02) [🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.20) diff --git a/packages/gatsby-transformer-pdf/package.json b/packages/gatsby-transformer-pdf/package.json index 385501a9a6e1c..20e5f0d8aa7d2 100644 --- a/packages/gatsby-transformer-pdf/package.json +++ b/packages/gatsby-transformer-pdf/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-transformer-pdf", "description": "Gatsby transformer plugin for pdf files", - "version": "3.21.0-next.0", + "version": "3.22.0-next.0", "author": "Alex Munoz ", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -14,7 +14,7 @@ "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.21.0-next.0", + "babel-preset-gatsby-package": "^2.22.0-next.0", "cross-env": "^7.0.3" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-transformer-pdf#readme", diff --git a/packages/gatsby-transformer-react-docgen/CHANGELOG.md b/packages/gatsby-transformer-react-docgen/CHANGELOG.md index 68cd5a123d7f0..7242883b1a464 100644 --- a/packages/gatsby-transformer-react-docgen/CHANGELOG.md +++ b/packages/gatsby-transformer-react-docgen/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [7.21.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-transformer-react-docgen@7.21.0/packages/gatsby-transformer-react-docgen) (2022-08-16) + +[🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.21) + +**Note:** Version bump only for package gatsby-transformer-react-docgen + ## [7.20.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-transformer-react-docgen@7.20.0/packages/gatsby-transformer-react-docgen) (2022-08-02) [🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.20) diff --git a/packages/gatsby-transformer-react-docgen/package.json b/packages/gatsby-transformer-react-docgen/package.json index 63d41113e9267..cdf37c3fcd6fe 100644 --- a/packages/gatsby-transformer-react-docgen/package.json +++ b/packages/gatsby-transformer-react-docgen/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-transformer-react-docgen", "description": "Expose React component metadata and prop information as GraphQL types", - "version": "7.21.0-next.0", + "version": "7.22.0-next.0", "author": "Jason Quense ", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -17,7 +17,7 @@ "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.21.0-next.0", + "babel-preset-gatsby-package": "^2.22.0-next.0", "cross-env": "^7.0.3", "lodash": "^4.17.21" }, diff --git a/packages/gatsby-transformer-remark/CHANGELOG.md b/packages/gatsby-transformer-remark/CHANGELOG.md index c5c60ff6872db..1d0e480371226 100644 --- a/packages/gatsby-transformer-remark/CHANGELOG.md +++ b/packages/gatsby-transformer-remark/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [5.21.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-transformer-remark@5.21.0/packages/gatsby-transformer-remark) (2022-08-16) + +[🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.21) + +**Note:** Version bump only for package gatsby-transformer-remark + ## [5.20.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-transformer-remark@5.20.0/packages/gatsby-transformer-remark) (2022-08-02) [🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.20) diff --git a/packages/gatsby-transformer-remark/package.json b/packages/gatsby-transformer-remark/package.json index 58d9439705be8..ffc034e9a77cb 100644 --- a/packages/gatsby-transformer-remark/package.json +++ b/packages/gatsby-transformer-remark/package.json @@ -1,14 +1,14 @@ { "name": "gatsby-transformer-remark", "description": "Gatsby transformer plugin for Markdown using the Remark library and ecosystem", - "version": "5.21.0-next.2", + "version": "5.22.0-next.1", "author": "Kyle Mathews ", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" }, "dependencies": { "@babel/runtime": "^7.15.4", - "gatsby-core-utils": "^3.21.0-next.2", + "gatsby-core-utils": "^3.22.0-next.0", "gray-matter": "^4.0.3", "hast-util-raw": "^6.0.2", "hast-util-to-html": "^7.1.3", @@ -33,9 +33,9 @@ "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.21.0-next.0", + "babel-preset-gatsby-package": "^2.22.0-next.0", "cross-env": "^7.0.3", - "gatsby-plugin-utils": "^3.15.0-next.2" + "gatsby-plugin-utils": "^3.16.0-next.1" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-transformer-remark#readme", "keywords": [ diff --git a/packages/gatsby-transformer-screenshot/CHANGELOG.md b/packages/gatsby-transformer-screenshot/CHANGELOG.md index d1aab2e9f5571..b3cadbe6303bd 100644 --- a/packages/gatsby-transformer-screenshot/CHANGELOG.md +++ b/packages/gatsby-transformer-screenshot/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [4.21.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-transformer-screenshot@4.21.0/packages/gatsby-transformer-screenshot) (2022-08-16) + +[🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.21) + +#### Chores + +- update dependency aws-sdk to ^2.1185.0 [#36280](https://github.com/gatsbyjs/gatsby/issues/36280) ([ece58dc](https://github.com/gatsbyjs/gatsby/commit/ece58dcc5cba4af4bf75131722c64082160b9832)) + ## [4.20.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-transformer-screenshot@4.20.0/packages/gatsby-transformer-screenshot) (2022-08-02) [🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.20) diff --git a/packages/gatsby-transformer-screenshot/package.json b/packages/gatsby-transformer-screenshot/package.json index 806c373687cc0..eaaad5ce2451e 100644 --- a/packages/gatsby-transformer-screenshot/package.json +++ b/packages/gatsby-transformer-screenshot/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-transformer-screenshot", "description": "Gatsby transformer plugin that uses AWS Lambda to take screenshots of websites", - "version": "4.21.0-next.1", + "version": "4.22.0-next.0", "author": "Cassandra Beckley ", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -14,7 +14,7 @@ "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.21.0-next.0", + "babel-preset-gatsby-package": "^2.22.0-next.0", "cross-env": "^7.0.3" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-transformer-screenshot#readme", diff --git a/packages/gatsby-transformer-sharp/CHANGELOG.md b/packages/gatsby-transformer-sharp/CHANGELOG.md index e4767b776743b..3e901d4f13b18 100644 --- a/packages/gatsby-transformer-sharp/CHANGELOG.md +++ b/packages/gatsby-transformer-sharp/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [4.21.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-transformer-sharp@4.21.0/packages/gatsby-transformer-sharp) (2022-08-16) + +[🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.21) + +#### Chores + +- update sharp [#35539](https://github.com/gatsbyjs/gatsby/issues/35539) ([a9132a5](https://github.com/gatsbyjs/gatsby/commit/a9132a53eac37f713e8cb8a8246c62f4f8d8f142)) + ## [4.20.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-transformer-sharp@4.20.0/packages/gatsby-transformer-sharp) (2022-08-02) [🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.20) diff --git a/packages/gatsby-transformer-sharp/package.json b/packages/gatsby-transformer-sharp/package.json index 2313a336639ea..bb9dec023641f 100644 --- a/packages/gatsby-transformer-sharp/package.json +++ b/packages/gatsby-transformer-sharp/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-transformer-sharp", "description": "Gatsby transformer plugin for images using Sharp", - "version": "4.21.0-next.2", + "version": "4.22.0-next.1", "author": "Kyle Mathews ", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -12,16 +12,16 @@ "bluebird": "^3.7.2", "common-tags": "^1.8.2", "fs-extra": "^10.1.0", - "gatsby-plugin-utils": "^3.15.0-next.2", + "gatsby-plugin-utils": "^3.16.0-next.1", "probe-image-size": "^7.2.3", "semver": "^7.3.7", - "sharp": "^0.30.3" + "sharp": "^0.30.7" }, "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "@types/sharp": "^0.30.0", - "babel-preset-gatsby-package": "^2.21.0-next.0", + "@types/sharp": "^0.30.5", + "babel-preset-gatsby-package": "^2.22.0-next.0", "cross-env": "^7.0.3" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-transformer-sharp#readme", diff --git a/packages/gatsby-transformer-sqip/CHANGELOG.md b/packages/gatsby-transformer-sqip/CHANGELOG.md index eb26d8e223403..957ee6debf0cb 100644 --- a/packages/gatsby-transformer-sqip/CHANGELOG.md +++ b/packages/gatsby-transformer-sqip/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [4.21.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-transformer-sqip@4.21.0/packages/gatsby-transformer-sqip) (2022-08-16) + +[🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.21) + +**Note:** Version bump only for package gatsby-transformer-sqip + ## [4.20.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-transformer-sqip@4.20.0/packages/gatsby-transformer-sqip) (2022-08-02) [🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.20) diff --git a/packages/gatsby-transformer-sqip/package.json b/packages/gatsby-transformer-sqip/package.json index 2c2ff126b8c2f..3de9e2663efe5 100644 --- a/packages/gatsby-transformer-sqip/package.json +++ b/packages/gatsby-transformer-sqip/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-transformer-sqip", "description": "Generates geometric primitive version of images", - "version": "4.21.0-next.2", + "version": "4.22.0-next.2", "author": "Benedikt Rötsch ", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -9,8 +9,8 @@ "dependencies": { "@babel/runtime": "^7.15.4", "fs-extra": "^10.1.0", - "gatsby-core-utils": "^3.21.0-next.2", - "gatsby-plugin-sharp": "^4.21.0-next.2", + "gatsby-core-utils": "^3.22.0-next.0", + "gatsby-plugin-sharp": "^4.22.0-next.2", "md5-file": "^5.0.0", "mini-svg-data-uri": "^1.4.4", "p-queue": "^6.6.2", @@ -19,7 +19,7 @@ "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.21.0-next.0", + "babel-preset-gatsby-package": "^2.22.0-next.0", "cross-env": "^7.0.3", "debug": "^4.3.4" }, diff --git a/packages/gatsby-transformer-toml/CHANGELOG.md b/packages/gatsby-transformer-toml/CHANGELOG.md index a3d7539a3484e..23e7a583dccc2 100644 --- a/packages/gatsby-transformer-toml/CHANGELOG.md +++ b/packages/gatsby-transformer-toml/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [4.21.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-transformer-toml@4.21.0/packages/gatsby-transformer-toml) (2022-08-16) + +[🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.21) + +**Note:** Version bump only for package gatsby-transformer-toml + ## [4.20.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-transformer-toml@4.20.0/packages/gatsby-transformer-toml) (2022-08-02) [🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.20) diff --git a/packages/gatsby-transformer-toml/package.json b/packages/gatsby-transformer-toml/package.json index 88c9d9071f112..5ac9af1e84a1e 100644 --- a/packages/gatsby-transformer-toml/package.json +++ b/packages/gatsby-transformer-toml/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-transformer-toml", "description": "Gatsby transformer plugin for toml", - "version": "4.21.0-next.0", + "version": "4.22.0-next.0", "author": "Ruben Harutyunyan ", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -14,7 +14,7 @@ "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.21.0-next.0", + "babel-preset-gatsby-package": "^2.22.0-next.0", "cross-env": "^7.0.3" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-transformer-toml#readme", diff --git a/packages/gatsby-transformer-xml/CHANGELOG.md b/packages/gatsby-transformer-xml/CHANGELOG.md index 56450ff61103b..89e3dae949914 100644 --- a/packages/gatsby-transformer-xml/CHANGELOG.md +++ b/packages/gatsby-transformer-xml/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [4.21.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-transformer-xml@4.21.0/packages/gatsby-transformer-xml) (2022-08-16) + +[🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.21) + +**Note:** Version bump only for package gatsby-transformer-xml + ## [4.20.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-transformer-xml@4.20.0/packages/gatsby-transformer-xml) (2022-08-02) [🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.20) diff --git a/packages/gatsby-transformer-xml/package.json b/packages/gatsby-transformer-xml/package.json index 168a07c2f366a..2c8edc3ebdcf6 100644 --- a/packages/gatsby-transformer-xml/package.json +++ b/packages/gatsby-transformer-xml/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-transformer-xml", "description": "Gatsby plugin for parsing XML files. It supports also attributes", - "version": "4.21.0-next.0", + "version": "4.22.0-next.0", "author": "Kyle Mathews ", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -15,7 +15,7 @@ "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.21.0-next.0", + "babel-preset-gatsby-package": "^2.22.0-next.0", "cross-env": "^7.0.3" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-transformer-xml#readme", diff --git a/packages/gatsby-transformer-yaml/CHANGELOG.md b/packages/gatsby-transformer-yaml/CHANGELOG.md index 2f0dc9a9d010a..64428845b2259 100644 --- a/packages/gatsby-transformer-yaml/CHANGELOG.md +++ b/packages/gatsby-transformer-yaml/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [4.21.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-transformer-yaml@4.21.0/packages/gatsby-transformer-yaml) (2022-08-16) + +[🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.21) + +**Note:** Version bump only for package gatsby-transformer-yaml + ## [4.20.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-transformer-yaml@4.20.0/packages/gatsby-transformer-yaml) (2022-08-02) [🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.20) diff --git a/packages/gatsby-transformer-yaml/package.json b/packages/gatsby-transformer-yaml/package.json index eb9be8ba4bdd9..f913699cd87d8 100644 --- a/packages/gatsby-transformer-yaml/package.json +++ b/packages/gatsby-transformer-yaml/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-transformer-yaml", "description": "Gatsby transformer plugin for yaml", - "version": "4.21.0-next.0", + "version": "4.22.0-next.0", "author": "Kyle Mathews ", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -15,7 +15,7 @@ "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.21.0-next.0", + "babel-preset-gatsby-package": "^2.22.0-next.0", "cross-env": "^7.0.3" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-transformer-yaml#readme", diff --git a/packages/gatsby-worker/CHANGELOG.md b/packages/gatsby-worker/CHANGELOG.md index 3388badfb143d..e0417996ad7ff 100644 --- a/packages/gatsby-worker/CHANGELOG.md +++ b/packages/gatsby-worker/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.21.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-worker@1.21.0/packages/gatsby-worker) (2022-08-16) + +[🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.21) + +**Note:** Version bump only for package gatsby-worker + ## [1.20.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-worker@1.20.0/packages/gatsby-worker) (2022-08-02) [🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.20) diff --git a/packages/gatsby-worker/package.json b/packages/gatsby-worker/package.json index 25427f7e082e9..a423940526d12 100644 --- a/packages/gatsby-worker/package.json +++ b/packages/gatsby-worker/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-worker", "description": "Utility to create worker pools", - "version": "1.21.0-next.0", + "version": "1.22.0-next.0", "author": "Michal Piechowiak", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -13,7 +13,7 @@ "devDependencies": { "@babel/cli": "^7.15.4", "@babel/register": "^7.15.3", - "babel-preset-gatsby-package": "^2.21.0-next.0", + "babel-preset-gatsby-package": "^2.22.0-next.0", "cross-env": "^7.0.3", "rimraf": "^3.0.2", "typescript": "^4.7.4" diff --git a/packages/gatsby/CHANGELOG.md b/packages/gatsby/CHANGELOG.md index aae082af0f6da..03ac3eb385eb7 100644 --- a/packages/gatsby/CHANGELOG.md +++ b/packages/gatsby/CHANGELOG.md @@ -3,6 +3,47 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +### [4.21.1](https://github.com/gatsbyjs/gatsby/commits/gatsby@4.21.1/packages/gatsby) (2022-08-18) + +#### Chores + +- pin xstate [#36398](https://github.com/gatsbyjs/gatsby/issues/36398) [#36415](https://github.com/gatsbyjs/gatsby/issues/36415) ([29c7ad1](https://github.com/gatsbyjs/gatsby/commit/29c7ad1335cf25af3a326ea2813399ddfd8ea877)) + +## [4.21.0](https://github.com/gatsbyjs/gatsby/commits/gatsby@4.21.0/packages/gatsby) (2022-08-16) + +[🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.21) + +#### Features + +- Telemetry tracking for Head API [#36352](https://github.com/gatsbyjs/gatsby/issues/36352) ([f664ad2](https://github.com/gatsbyjs/gatsby/commit/f664ad215a9c5fa20dbf04238e69629b58ff2fc2)) +- Do not use context for script collection [#36246](https://github.com/gatsbyjs/gatsby/issues/36246) ([49cf094](https://github.com/gatsbyjs/gatsby/commit/49cf094380bcf69d9239f8abbbd4db9c1968dcf8)) + +#### Bug Fixes + +- Hashing and pluginOptions [#36387](https://github.com/gatsbyjs/gatsby/issues/36387) [#36395](https://github.com/gatsbyjs/gatsby/issues/36395) ([3253a38](https://github.com/gatsbyjs/gatsby/commit/3253a3860c9c74bce23c8c2fd1df651e549566b9)) +- Make runtime error overlay work in non-v8 browsers [#36365](https://github.com/gatsbyjs/gatsby/issues/36365) ([2b4ff76](https://github.com/gatsbyjs/gatsby/commit/2b4ff76976aef0eac0e042ede14cc4cff3aa1846)) +- clear and close lmdb after each test suite close [#36343](https://github.com/gatsbyjs/gatsby/issues/36343) ([f990e08](https://github.com/gatsbyjs/gatsby/commit/f990e082b0713db46c92d2ed8f70bdfb24c100f1)) +- e.remove() is not a function when using Gatsby Head API [#36338](https://github.com/gatsbyjs/gatsby/issues/36338) ([7fcf580](https://github.com/gatsbyjs/gatsby/commit/7fcf58069958dc3abe988ef624f04ef7a5eb2073)) +- Panic on gatsby-node.jsx/gatsby-node.tsx [#36308](https://github.com/gatsbyjs/gatsby/issues/36308) ([0ee492c](https://github.com/gatsbyjs/gatsby/commit/0ee492c8bf11917dc08b16acebe92bb752bdc3b7)) +- update dependency eslint-webpack-plugin to ^2.7.0 [#36041](https://github.com/gatsbyjs/gatsby/issues/36041) ([0d649a8](https://github.com/gatsbyjs/gatsby/commit/0d649a81c7befbd39870959166fd77d25514eef7)) +- Add DEV_SSR note to 95312 error [#36295](https://github.com/gatsbyjs/gatsby/issues/36295) ([db531f8](https://github.com/gatsbyjs/gatsby/commit/db531f86f9e89d1da72d44399ad5fb72092be454)) +- Make