|
| 1 | +--- |
| 2 | +date: "2021-08-31" |
| 3 | +version: "3.13.0" |
| 4 | +title: "v3.13 Release Notes" |
| 5 | +--- |
| 6 | + |
| 7 | +Welcome to `[email protected]` release (August 2021 #3) |
| 8 | + |
| 9 | +Key highlights of this release: |
| 10 | + |
| 11 | +- [Improved Changelogs](#improved-changelogs) - Better structured and easier to read |
| 12 | +- [`sharp` v0.29](#sharp-v029) - Reduced install size, improved encoding time, and improved AVIF image quality |
| 13 | +- [Faster Sourcing for `gatsby-source-drupal`](#faster-sourcing-for-gatsby-source-drupal) - Speed up fetching data by around 4x |
| 14 | +- [webpack Caching in Development for Everyone](#webpack-caching-in-development-for-everyone) - Activating it for all users |
| 15 | + |
| 16 | +Also check out [notable bugfixes](#notable-bugfixes--improvements). |
| 17 | + |
| 18 | +**Bleeding Edge:** Want to try new features as soon as possible? Install `gatsby@next` and let us know |
| 19 | +if you have any [issues](https://github.com/gatsbyjs/gatsby/issues). |
| 20 | + |
| 21 | +[Previous release notes](/docs/reference/release-notes/v3.12) |
| 22 | + |
| 23 | +[Full changelog ](https://github.com/gatsbyjs/gatsby/compare/[email protected]@3.13.0) |
| 24 | + |
| 25 | +--- |
| 26 | + |
| 27 | +## Improved Changelogs |
| 28 | + |
| 29 | +While the release notes (like the one you're reading right now) are hand-written and manually published, the changelog of each package we publish has been autogenerated by `lerna` in the past and unfortunately the generated output wasn't ideal for users to consume. We know that developers love detailed and accurate changelogs so we decided to replace `lerna` behavior with our own tooling. In [PR #32884](https://github.com/gatsbyjs/gatsby/pull/32886) we added these functionalities and the results are much better. |
| 30 | + |
| 31 | +Take [`gatsby-plugin-image` changelog](https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby-plugin-image/CHANGELOG.md) as an example: |
| 32 | + |
| 33 | +- Each semver release is its own heading (+ the date it was released) |
| 34 | +- If applicable the general release notes are linked |
| 35 | +- The PRs are categorized into features, bug fixes, chores, and other |
| 36 | + |
| 37 | +## `sharp` v0.29 |
| 38 | + |
| 39 | +As always, thanks to [lovell](https://github.com/lovell) for maintaining `sharp` and sending in the [PR #32851](https://github.com/gatsbyjs/gatsby/pull/32851) to update `sharp` (see [`sharp` v0.29 changelog](https://sharp.pixelplumbing.com/changelog#v0290---17th-august-2021)) and our image plugins. `gatsby-plugin-sharp` now no longer uses `imagemin` but native `sharp` methods. |
| 40 | + |
| 41 | +You'll get these benefits by upgrading: |
| 42 | + |
| 43 | +- Reduced JPEG, PNG, and AVIF encoding time by up to 50% |
| 44 | +- Reduced Gatsby install size/time by ~10% (~19MB smaller on filesystem) |
| 45 | +- Improved AVIF image quality and will also work with Chrome 93+ |
| 46 | + |
| 47 | +## Faster Sourcing for `gatsby-source-drupal` |
| 48 | + |
| 49 | +You now can significantly speed up sourcing from your Drupal instance if you install [JSON:API Extras](https://www.drupal.org/project/jsonapi_extras) and enable "Include count in collection queries" (`/admin/config/services/jsonapi/extras`). The [PR #32883](https://github.com/gatsbyjs/gatsby/pull/32883) leverages that information to enable parallel API requests. |
| 50 | + |
| 51 | +For a test site with ~3200 entities and a warm Drupal cache (and no CDN cache), this change dropped sourcing time from 14s to 4s. On a very large production Drupal site (~600k entities), fetching time for a cold build dropped from 2 hours to 30 minutes 🚀. |
| 52 | + |
| 53 | +## webpack Caching in Development for Everyone |
| 54 | + |
| 55 | +After ramping up the opt-in of this feature to 20% in [v3.12](/docs/reference/release-notes/v3.12/#ramping-up-support-for-webpack-caching-in-development) we're now enabling this feature for everyone! So webpack 5 built-in persistent caching is now enabled for everyone both in development and production. It allows webpack to reuse results of previous compilations and significantly speed up those steps. |
| 56 | + |
| 57 | +## Notable bugfixes & improvements |
| 58 | + |
| 59 | +- `gatsby-source-drupal`: Provide an additional config option to specify entities that are not translatable to resolve to default language, via [PR #32548](https://github.com/gatsbyjs/gatsby/pull/32548) |
| 60 | +- `gatsby`: Remove the `removeDimensions` option from svgo config, via [PR #32834](https://github.com/gatsbyjs/gatsby/pull/32834) |
| 61 | +- `gatsby`: Hashes and anchors in redirects also work in production, via [PR #32850](https://github.com/gatsbyjs/gatsby/pull/32850) |
| 62 | +- `gatsby-plugin-gatsby-cloud`: Always create the `redirect.json` file even if you remove all redirects, via [PR #32845](https://github.com/gatsbyjs/gatsby/pull/32845) |
| 63 | +- `gatsby-remark-images`: Only convert supported image extensions, via [PR #32868](https://github.com/gatsbyjs/gatsby/pull/32868) |
| 64 | +- `gatsby-source-wordpress`: Compatibility with Parallel Query Running (PQR), via [PR #32779](https://github.com/gatsbyjs/gatsby/pull/32779) |
| 65 | +- `gatsby-core-utils`: Switch from deprecated `auth` option in `got` to `username`/`password`, via [PR #32665](https://github.com/gatsbyjs/gatsby/pull/32665) |
| 66 | +- `gatsby`: Don't log `FAST_DEV` messages multiple times, via [PR #32961](https://github.com/gatsbyjs/gatsby/pull/32961) |
| 67 | +- `gatsby`: Fix for "Static Query cannot be found" error, via [PR #32949](https://github.com/gatsbyjs/gatsby/pull/32949) |
| 68 | + |
| 69 | +## Contributors |
| 70 | + |
| 71 | +A big **Thank You ** to [our community who contributed ](https://github.com/gatsbyjs/gatsby/compare/[email protected]@3.13.0) to this release 💜 |
| 72 | + |
| 73 | +- [glennforrest](https://github.com/glennforrest): Fix typo of wether to whether [PR #32797](https://github.com/gatsbyjs/gatsby/pull/32797) |
| 74 | +- [apmsooner](https://github.com/apmsooner): feat(gatsby-source-drupal): Default language when non translatable. [PR #32548](https://github.com/gatsbyjs/gatsby/pull/32548) |
| 75 | +- [jonniebigodes](https://github.com/jonniebigodes): chore(docs): Update Storybook guide with Addon [PR #32793](https://github.com/gatsbyjs/gatsby/pull/32793) |
| 76 | +- [bytrangle](https://github.com/bytrangle) |
| 77 | + |
| 78 | + - chore(docs): Remark plugin, add tip for gatsby clean [PR #32822](https://github.com/gatsbyjs/gatsby/pull/32822) |
| 79 | + - chore(docs): Change example for using async in Remark plugin [PR #32874](https://github.com/gatsbyjs/gatsby/pull/32874) |
| 80 | + - chore(docs): Add hint for MDX plugin in remark-plugin-tutorial [PR #32876](https://github.com/gatsbyjs/gatsby/pull/32876) |
| 81 | + |
| 82 | +- [vanessayuenn](https://github.com/vanessayuenn): chore(docs): Add title for image-plugin-architecture [PR #32803](https://github.com/gatsbyjs/gatsby/pull/32803) |
| 83 | +- [mundry](https://github.com/mundry): chore(docs): Fix typos throughout docs [PR #32807](https://github.com/gatsbyjs/gatsby/pull/32807) |
| 84 | +- [nategiraudeau](https://github.com/nategiraudeau): docs(gatsby-source-contentful) provide a code example for rendering rich-text embedded assets images [PR #32777](https://github.com/gatsbyjs/gatsby/pull/32777) |
| 85 | +- [Zemnmez](https://github.com/Zemnmez): gatsby-plugin-image: bump do-sync to v3 [PR #32808](https://github.com/gatsbyjs/gatsby/pull/32808) |
| 86 | +- [Dgiordano33](https://github.com/Dgiordano33): chore(docs): Change Jamstack Article [PR #32764](https://github.com/gatsbyjs/gatsby/pull/32764) |
| 87 | +- [SwiftWinds](https://github.com/SwiftWinds): chore(docs): Fix typo in v3.0 release notes [PR #32844](https://github.com/gatsbyjs/gatsby/pull/32844) |
| 88 | +- [ashiishme](https://github.com/ashiishme): chore(docs): Remove outdated information from Theme Guide [PR #32849](https://github.com/gatsbyjs/gatsby/pull/32849) |
| 89 | +- [facundojmaero](https://github.com/facundojmaero): chore(docs): Fix typo in part 5 of the tutorial [PR #32854](https://github.com/gatsbyjs/gatsby/pull/32854) |
| 90 | +- [herecydev](https://github.com/herecydev): fix(gatsby): Correct server type [PR #32853](https://github.com/gatsbyjs/gatsby/pull/32853) |
| 91 | +- [torn4dom4n](https://github.com/torn4dom4n): chore(docs): Fixes typo in tutorial part 4 [PR #32859](https://github.com/gatsbyjs/gatsby/pull/32859) |
| 92 | +- [lovell](https://github.com/lovell): feat(gatsby-plugin-sharp): reduce encoding time and install size [PR #32851](https://github.com/gatsbyjs/gatsby/pull/32851) |
| 93 | +- [frankpengau](https://github.com/frankpengau): chore(docs): Update Gallery example in tutorial part 2 [PR #32872](https://github.com/gatsbyjs/gatsby/pull/32872) |
| 94 | +- [AnilSeervi](https://github.com/AnilSeervi) |
| 95 | + |
| 96 | + - chore(docs): Fix CSS Modules extension typo [PR #32869](https://github.com/gatsbyjs/gatsby/pull/32869) |
| 97 | + - chore(docs): Fix code highlighting in part 6 [PR #32900](https://github.com/gatsbyjs/gatsby/pull/32900) |
| 98 | + |
| 99 | +- [moinulmoin](https://github.com/moinulmoin): chore(docs): Fix typo in tutorial part 6 [PR #32866](https://github.com/gatsbyjs/gatsby/pull/32866) |
| 100 | +- [Mike-Dax](https://github.com/Mike-Dax): chore(gatsby-remark-images): Only convert supported image extensions [PR #32868](https://github.com/gatsbyjs/gatsby/pull/32868) |
| 101 | +- [jablko](https://github.com/jablko): fix(gatsby): add react-com as devDep [PR #32865](https://github.com/gatsbyjs/gatsby/pull/32865) |
| 102 | +- [barrymcgee](https://github.com/barrymcgee): Update docs on building eCom with Shopify to work with latest versions [PR #32884](https://github.com/gatsbyjs/gatsby/pull/32884) |
| 103 | +- [jfrosch](https://github.com/jfrosch): chore(docs): Update wording for "using-web-fonts" [PR #32902](https://github.com/gatsbyjs/gatsby/pull/32902) |
| 104 | +- [alvis](https://github.com/alvis): fix(gatsby): add this typings to actions [PR #32210](https://github.com/gatsbyjs/gatsby/pull/32210) |
| 105 | +- [satrix321](https://github.com/satrix321): fix(gatsby-core-utils): Switch `auth` option from got to username/password [PR #32665](https://github.com/gatsbyjs/gatsby/pull/32665) |
0 commit comments