# Changelog: `gatsby-script`

All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [2.15.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-script@2.15.0/packages/gatsby-script) (2025-08-27)

[🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v5.15)

**Note:** Version bump only for package gatsby-script

## [2.14.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-script@2.14.0/packages/gatsby-script) (2024-11-06)

[🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v5.14)

#### Chores

- update dependency del-cli to ^5.1.0 for gatsby-script [#38504](https://github.com/gatsbyjs/gatsby/issues/38504) ([ddcc30b](https://github.com/gatsbyjs/gatsby/commit/ddcc30beba00f8a82280bb7f1ee0cea0b2eba4dd))

## [2.13.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-script@2.13.0/packages/gatsby-script) (2023-12-18)

[🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v5.13)

**Note:** Version bump only for package gatsby-script

## [2.12.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-script@2.12.0/packages/gatsby-script) (2023-08-24)

[🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v5.12)

#### Bug Fixes

- update typescript [#38324](https://github.com/gatsbyjs/gatsby/issues/38324) ([5d0d7c1](https://github.com/gatsbyjs/gatsby/commit/5d0d7c12552fa7570bad2002806bca3d18f923de))

## [2.11.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-script@2.11.0/packages/gatsby-script) (2023-06-15)

[🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v5.11)

#### Bug Fixes

- update typescript [#38133](https://github.com/gatsbyjs/gatsby/issues/38133) ([aa7a078](https://github.com/gatsbyjs/gatsby/commit/aa7a078383ca5a549743be3269e9bde44655a185))

## [2.10.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-script@2.10.0/packages/gatsby-script) (2023-05-16)

[🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v5.10)

#### Chores

- update gatsby monorepo [#38014](https://github.com/gatsbyjs/gatsby/issues/38014) ([ee0797c](https://github.com/gatsbyjs/gatsby/commit/ee0797cbfcaafd392f1e9c551c4f294b2d068e68))

## [2.9.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-script@2.9.0/packages/gatsby-script) (2023-04-18)

[🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v5.9)

#### Bug Fixes

- update typescript to v5 (major) [#37906](https://github.com/gatsbyjs/gatsby/issues/37906) ([3859ba6](https://github.com/gatsbyjs/gatsby/commit/3859ba6ce629e658525f858a8799b08c34c3eda5))

#### Chores

- update typescript [#37848](https://github.com/gatsbyjs/gatsby/issues/37848) ([9f92796](https://github.com/gatsbyjs/gatsby/commit/9f92796070b0e73fa92089af93de376c9be9021e))

## [2.8.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-script@2.8.0/packages/gatsby-script) (2023-03-21)

[🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v5.8)

**Note:** Version bump only for package gatsby-script

## [2.7.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-script@2.7.0/packages/gatsby-script) (2023-02-21)

[🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v5.7)

**Note:** Version bump only for package gatsby-script

## [2.6.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-script@2.6.0/packages/gatsby-script) (2023-02-07)

[🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v5.6)

#### Chores

- update typescript [#37596](https://github.com/gatsbyjs/gatsby/issues/37596) ([4f1d1f2](https://github.com/gatsbyjs/gatsby/commit/4f1d1f260472d7768b57960b1e274c8755ca5a67))
- bump @gatsbyjs/reach-router [#37547](https://github.com/gatsbyjs/gatsby/issues/37547) ([7a83513](https://github.com/gatsbyjs/gatsby/commit/7a83513f147c8ab2e3c0a38f99e15743c79d1e25))

## [2.5.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-script@2.5.0/packages/gatsby-script) (2023-01-24)

[🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v5.5)

**Note:** Version bump only for package gatsby-script

## [2.4.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-script@2.4.0/packages/gatsby-script) (2023-01-10)

[🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v5.4)

**Note:** Version bump only for package gatsby-script

## [2.3.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-script@2.3.0/packages/gatsby-script) (2022-12-13)

[🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v5.3)

#### Chores

- update dependency typescript to ^4.9.3 [#37192](https://github.com/gatsbyjs/gatsby/issues/37192) ([204ed0e](https://github.com/gatsbyjs/gatsby/commit/204ed0e220eb9c1c5cdec692e82bce8e3e82e915))
- update dependency prepend-directive to ^1.1.0 for gatsby-script [#37190](https://github.com/gatsbyjs/gatsby/issues/37190) ([2f54c1d](https://github.com/gatsbyjs/gatsby/commit/2f54c1d94ac5c9f28d00d72d659e6ee0b6dffbbf))
- Bump @gatsbyjs/reach-router to v2.0.0 [#37121](https://github.com/gatsbyjs/gatsby/issues/37121) ([aa5808b](https://github.com/gatsbyjs/gatsby/commit/aa5808becb16c4d98953082a7e04b6b7d40cd9a5))

## [2.2.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-script@2.2.0/packages/gatsby-script) (2022-11-25)

[🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v5.2)

#### Bug Fixes

- correct script to match google's current [#36993](https://github.com/gatsbyjs/gatsby/issues/36993) ([5cb5014](https://github.com/gatsbyjs/gatsby/commit/5cb50143057e42ca2e00e90b597bb681cdba7300))

## [2.1.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-script@2.1.0/packages/gatsby-script) (2022-11-22)

[🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v5.1)

**Note:** Version bump only for package gatsby-script

## [2.0.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-script@2.0.0/packages/gatsby-script) (2022-11-08)

[🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v5.0)

#### Features

- Update partial hydration directive [#36868](https://github.com/gatsbyjs/gatsby/issues/36868) ([7f1b57c](https://github.com/gatsbyjs/gatsby/commit/7f1b57c5a5849b3bc997957b3370c3119e79d279))

#### Chores

- apply patches for v5 [#36796](https://github.com/gatsbyjs/gatsby/issues/36796) ([25f79b6](https://github.com/gatsbyjs/gatsby/commit/25f79b6c3719fdf09584ade620a05c66ba2a697c))

## [1.9.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-script@1.9.0/packages/gatsby-script) (2022-09-27)

[🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.24)

#### Bug Fixes

- fix bundling image cdn tools fix [#36534](https://github.com/gatsbyjs/gatsby/issues/36534) ([0ef331d](https://github.com/gatsbyjs/gatsby/commit/0ef331d30eab0731457b6607c9320e2818eb1677))

#### Chores

- allow react/react-dom@experimental [#36533](https://github.com/gatsbyjs/gatsby/issues/36533) ([7ef4a3f](https://github.com/gatsbyjs/gatsby/commit/7ef4a3fe080d45e9edaff9f1d4deebd12a00ddbd))

## [1.8.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-script@1.8.0/packages/gatsby-script) (2022-09-13)

[🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.23)

#### Features

- Client export directive [#36470](https://github.com/gatsbyjs/gatsby/issues/36470) ([320efb7](https://github.com/gatsbyjs/gatsby/commit/320efb77079f7adf4c89b885a7f34e4cc3951906))

#### Chores

- update dependency microbundle to ^0.15.1 for gatsby-script [#36513](https://github.com/gatsbyjs/gatsby/issues/36513) ([80f6616](https://github.com/gatsbyjs/gatsby/commit/80f661600754db1af886ce485578d6533942c099))

## [1.7.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-script@1.7.0/packages/gatsby-script) (2022-08-30)

[🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.22)

#### Bug Fixes

- Reach router import [#36385](https://github.com/gatsbyjs/gatsby/issues/36385) ([4c752d1](https://github.com/gatsbyjs/gatsby/commit/4c752d1e094de9f9968b48655d9c909c990dcec5))

## [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)

#### Chores

- update dependency typescript to ^4.7.4 [#36030](https://github.com/gatsbyjs/gatsby/issues/36030) ([94a3264](https://github.com/gatsbyjs/gatsby/commit/94a32647a8c45de620d2efe99310805910586c8a))

## [1.4.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-script@1.4.0/packages/gatsby-script) (2022-07-19)

[🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.19)

#### Features

- Publish some packages as ESM & CJS [#36012](https://github.com/gatsbyjs/gatsby/issues/36012) ([5bd3063](https://github.com/gatsbyjs/gatsby/commit/5bd3063a1e72c6f98447bfac2bf767cca781330b))

## [1.3.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-script@1.3.0/packages/gatsby-script) (2022-07-05)

[🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.18)

#### Chores

- Add gatsby-parcel-config & update gatsby-script [#35978](https://github.com/gatsbyjs/gatsby/issues/35978) ([5feeea6](https://github.com/gatsbyjs/gatsby/commit/5feeea6866a9a4882672dcb2b5878c6826e229fc))

## [1.2.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-script@1.2.0/packages/gatsby-script) (2022-06-21)

[🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.17)

**Note:** Version bump only for package gatsby-script

## [1.1.0](https://github.com/gatsbyjs/gatsby/commits/gatsby-script@1.1.0/packages/gatsby-script) (2022-06-07)

[🧾 Release notes](https://www.gatsbyjs.com/docs/reference/release-notes/v4.16)

#### Features

- Duplicate script callbacks if no injected script callbacks [#35717](https://github.com/gatsbyjs/gatsby/issues/35717) ([f91f477](https://github.com/gatsbyjs/gatsby/commit/f91f4771e633cf0e566df4d7cae1279431d42bbe))

#### Bug Fixes

- Make load callback work when both load and error callbacks defined [#35760](https://github.com/gatsbyjs/gatsby/issues/35760) ([b491560](https://github.com/gatsbyjs/gatsby/commit/b49156086f9f1e2f3c8919244d350ee754e9fee1))
- Adjust warning control flow [#35721](https://github.com/gatsbyjs/gatsby/issues/35721) ([5f0b2fe](https://github.com/gatsbyjs/gatsby/commit/5f0b2fe6a50a02be9d47b63737b0c65aa3758a4c))

#### Chores

- update dependency typescript to ^4.7.2 [#35808](https://github.com/gatsbyjs/gatsby/issues/35808) ([2c55b79](https://github.com/gatsbyjs/gatsby/commit/2c55b794dd95b40a994f56df5f912219771ccab4))

<a name="before-release-process"></a>
