# Change Log

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.

<a name="1.0.3"></a>
## [1.0.3](https://github.com/algolia/gatsby-plugin-algolia/compare/v1.0.2...v1.0.3) (2023-01-17)


### Bug Fixes

* **multiIndex:** separate cache per index ([#173](https://github.com/algolia/gatsby-plugin-algolia/issues/173)) ([5241366](https://github.com/algolia/gatsby-plugin-algolia/commit/5241366)), closes [#171](https://github.com/algolia/gatsby-plugin-algolia/issues/171)



<a name="1.0.2"></a>
## [1.0.2](https://github.com/algolia/gatsby-plugin-algolia/compare/v1.0.1...v1.0.2) (2022-12-05)


### Bug Fixes

* **importing:** safe check of internal.contentDigest ([bbf1350](https://github.com/algolia/gatsby-plugin-algolia/commit/bbf1350)), closes [#168](https://github.com/algolia/gatsby-plugin-algolia/issues/168)



<a name="1.0.1"></a>
## [1.0.1](https://github.com/algolia/gatsby-plugin-algolia/compare/v1.0.0...v1.0.1) (2022-11-29)


### Bug Fixes

* **initial:** when your index has objects without contentDigest, those should be skipped ([a9c1bd2](https://github.com/algolia/gatsby-plugin-algolia/commit/a9c1bd2)), closes [#167](https://github.com/algolia/gatsby-plugin-algolia/issues/167)



<a name="1.0.0"></a>
# [1.0.0](https://github.com/algolia/gatsby-plugin-algolia/compare/v0.26.0...v1.0.0) (2022-11-28)


### Features

* **dependencies:** support gatsby 5 ([658018e](https://github.com/algolia/gatsby-plugin-algolia/commit/658018e)), closes [#166](https://github.com/algolia/gatsby-plugin-algolia/issues/166)
* **indexing:** simplify and rely on contentDigest ([#162](https://github.com/algolia/gatsby-plugin-algolia/issues/162)) ([4cff643](https://github.com/algolia/gatsby-plugin-algolia/commit/4cff643))


### BREAKING CHANGES

* **indexing:** make enablePartialUpdates true, and remove the option
* **indexing:** rely on contentDigest only for matchFields and remove the option
* **indexing:** remove the skipIndexing flag, use either dryRun or continueOnFailure

For migrating to v1 version smoothly:

1. add `id` instead of `objectID` in your query
2. query for `internal { contentDigest }` and do not transform it
3. set `enablePartialUpdates` to `true`
4. set `matchFields` to `['internal.contentDigest']`

<a name="0.26.0"></a>
# [0.26.0](https://github.com/algolia/gatsby-plugin-algolia/compare/v0.25.0...v0.26.0) (2022-02-03)


### Features

* **queries:** allow variables in graphql query ([4ee890d](https://github.com/algolia/gatsby-plugin-algolia/commit/4ee890d))



<a name="0.25.0"></a>
# [0.25.0](https://github.com/algolia/gatsby-plugin-algolia/compare/v0.24.0...v0.25.0) (2021-12-14)


### Features

* **config:** Allow options to be passed to algoliasearch ([#158](https://github.com/algolia/gatsby-plugin-algolia/issues/158)) ([687ca20](https://github.com/algolia/gatsby-plugin-algolia/commit/687ca20))



<a name="0.24.0"></a>
# [0.24.0](https://github.com/algolia/gatsby-plugin-algolia/compare/v0.23.1...v0.24.0) (2021-11-22)


### Features

* **settings:** allow keeping index settings using mergeSettings ([#153](https://github.com/algolia/gatsby-plugin-algolia/issues/153)) ([362d4a1](https://github.com/algolia/gatsby-plugin-algolia/commit/362d4a1))



<a name="0.23.1"></a>
## [0.23.1](https://github.com/algolia/gatsby-plugin-algolia/compare/v0.23.0...v0.23.1) (2021-11-16)


### Bug Fixes

* use unique temporary indices ([#155](https://github.com/algolia/gatsby-plugin-algolia/issues/155)) ([8916a02](https://github.com/algolia/gatsby-plugin-algolia/commit/8916a02))



<a name="0.23.0"></a>
# [0.23.0](https://github.com/algolia/gatsby-plugin-algolia/compare/v0.22.2...v0.23.0) (2021-11-03)


### Bug Fixes

* removing redundant setSettings call ([#152](https://github.com/algolia/gatsby-plugin-algolia/issues/152)) ([7f872fa](https://github.com/algolia/gatsby-plugin-algolia/commit/7f872fa))


### Features

* **peer:** Allow installation with Gatsby 4 ([#154](https://github.com/algolia/gatsby-plugin-algolia/issues/154)) ([a9477c8](https://github.com/algolia/gatsby-plugin-algolia/commit/a9477c8))



<a name="0.22.2"></a>
## [0.22.2](https://github.com/algolia/gatsby-plugin-algolia/compare/v0.22.1...v0.22.2) (2021-09-10)


### Bug Fixes

* **index:** Creates index if it does not exist ([#151](https://github.com/algolia/gatsby-plugin-algolia/issues/151)) ([8f178ea](https://github.com/algolia/gatsby-plugin-algolia/commit/8f178ea)), closes [#150](https://github.com/algolia/gatsby-plugin-algolia/issues/150)



<a name="0.22.1"></a>
## [0.22.1](https://github.com/algolia/gatsby-plugin-algolia/compare/v0.22.0...v0.22.1) (2021-08-23)


### Bug Fixes

* **matchFields:** don't remove unrelated objects ([cedb355](https://github.com/algolia/gatsby-plugin-algolia/commit/cedb355))



<a name="0.22.0"></a>
# [0.22.0](https://github.com/algolia/gatsby-plugin-algolia/compare/v0.21.0...v0.22.0) (2021-07-12)


### Features

* **continueOnFailure:** continue on env variables missing ([7171a14](https://github.com/algolia/gatsby-plugin-algolia/commit/7171a14)), closes [#141](https://github.com/algolia/gatsby-plugin-algolia/issues/141)



<a name="0.21.0"></a>
# [0.21.0](https://github.com/algolia/gatsby-plugin-algolia/compare/v0.20.1...v0.21.0) (2021-07-08)


### Bug Fixes

* **settings:** forward rules and synonyms to index to write ([ad7e076](https://github.com/algolia/gatsby-plugin-algolia/commit/ad7e076))



<a name="0.20.1"></a>
## [0.20.1](https://github.com/algolia/gatsby-plugin-algolia/compare/v0.20.0...v0.20.1) (2021-05-31)


### Bug Fixes

* **continueOnError:** correct error usage ([8e8c0a1](https://github.com/algolia/gatsby-plugin-algolia/commit/8e8c0a1))



<a name="0.20.0"></a>
# [0.20.0](https://github.com/algolia/gatsby-plugin-algolia/compare/v0.19.0...v0.20.0) (2021-05-18)


### Features

* add dryRun option ([#134](https://github.com/algolia/gatsby-plugin-algolia/issues/134)) ([57239ff](https://github.com/algolia/gatsby-plugin-algolia/commit/57239ff))
* **core:** Migrate to algoliasearch@4.x ([#135](https://github.com/algolia/gatsby-plugin-algolia/issues/135)) ([bfa7180](https://github.com/algolia/gatsby-plugin-algolia/commit/bfa7180))



<a name="0.19.0"></a>
# [0.19.0](https://github.com/algolia/gatsby-plugin-algolia/compare/v0.18.2...v0.19.0) (2021-04-14)


### Features

* add continueOnError flag ([#111](https://github.com/algolia/gatsby-plugin-algolia/issues/111)) ([3e438a8](https://github.com/algolia/gatsby-plugin-algolia/commit/3e438a8))



<a name="0.18.2"></a>
## [0.18.2](https://github.com/algolia/gatsby-plugin-algolia/compare/v0.18.1...v0.18.2) (2021-04-13)


### Bug Fixes

* enablePartialUpdates requires only one of the matchFields ([#130](https://github.com/algolia/gatsby-plugin-algolia/issues/130)) ([9d3ffc8](https://github.com/algolia/gatsby-plugin-algolia/commit/9d3ffc8)), closes [#128](https://github.com/algolia/gatsby-plugin-algolia/issues/128)



<a name="0.18.1"></a>
## [0.18.1](https://github.com/algolia/gatsby-plugin-algolia/compare/v0.18.0...v0.18.1) (2021-04-12)


### Bug Fixes

* Correct `reporter` usage + set correct peerDep, engines ([#127](https://github.com/algolia/gatsby-plugin-algolia/issues/127)) ([a6ce625](https://github.com/algolia/gatsby-plugin-algolia/commit/a6ce625))



<a name="0.18.0"></a>
# [0.18.0](https://github.com/algolia/gatsby-plugin-algolia/compare/v0.17.0...v0.18.0) (2021-03-30)


### Features

* deep compare matchFields ([#124](https://github.com/algolia/gatsby-plugin-algolia/issues/124)) ([ca3b967](https://github.com/algolia/gatsby-plugin-algolia/commit/ca3b967))



<a name="0.17.0"></a>
# [0.17.0](https://github.com/algolia/gatsby-plugin-algolia/compare/v0.16.5...v0.17.0) (2021-03-12)


### Features

* **security:** make gatsby a peer dependency ([251b825](https://github.com/algolia/gatsby-plugin-algolia/commit/251b825))



<a name="0.16.5"></a>
## [0.16.5](https://github.com/algolia/gatsby-plugin-algolia/compare/v0.16.4...v0.16.5) (2021-03-12)


### Bug Fixes

* **performance:** allow a slower response to avoid timeouts ([7641b45](https://github.com/algolia/gatsby-plugin-algolia/commit/7641b45))



<a name="0.16.4"></a>
## [0.16.4](https://github.com/algolia/gatsby-plugin-algolia/compare/v0.16.3...v0.16.4) (2021-03-12)


### Bug Fixes

* **security:** Update gatsby-cli to patch vulnerability in yargs ([#120](https://github.com/algolia/gatsby-plugin-algolia/issues/120)) ([654a4eb](https://github.com/algolia/gatsby-plugin-algolia/commit/654a4eb))



<a name="0.16.3"></a>
## [0.16.3](https://github.com/algolia/gatsby-plugin-algolia/compare/v0.16.2...v0.16.3) (2021-02-03)


### Bug Fixes

* **settings:** avoid index settings being wiped ([#112](https://github.com/algolia/gatsby-plugin-algolia/issues/112)) ([5433e95](https://github.com/algolia/gatsby-plugin-algolia/commit/5433e95))



<a name="0.16.2"></a>
## [0.16.2](https://github.com/algolia/gatsby-plugin-algolia/compare/v0.16.1...v0.16.2) (2020-12-17)


### Bug Fixes

* **indexing:** reference correct object for partial update no match ([#114](https://github.com/algolia/gatsby-plugin-algolia/issues/114)) ([daaa77e](https://github.com/algolia/gatsby-plugin-algolia/commit/daaa77e)), closes [#113](https://github.com/algolia/gatsby-plugin-algolia/issues/113)



<a name="0.16.1"></a>
## [0.16.1](https://github.com/algolia/gatsby-plugin-algolia/compare/v0.16.0...v0.16.1) (2020-11-16)


### Bug Fixes

* **engines:** specify node version ([#107](https://github.com/algolia/gatsby-plugin-algolia/issues/107)) ([8c974fb](https://github.com/algolia/gatsby-plugin-algolia/commit/8c974fb)), closes [#106](https://github.com/algolia/gatsby-plugin-algolia/issues/106)



<a name="0.16.0"></a>
# [0.16.0](https://github.com/algolia/gatsby-plugin-algolia/compare/v0.15.0...v0.16.0) (2020-11-07)


### Features

* **indexing:** add skipIndexing flag ([#99](https://github.com/algolia/gatsby-plugin-algolia/issues/99)) ([e0965d7](https://github.com/algolia/gatsby-plugin-algolia/commit/e0965d7))



<a name="0.15.0"></a>
# [0.15.0](https://github.com/algolia/gatsby-plugin-algolia/compare/v0.14.1...v0.15.0) (2020-11-05)


### Features

* **indexing:** allow plugin to work with repeated single index in queries by batching ([#103](https://github.com/algolia/gatsby-plugin-algolia/issues/103)) ([ec29090](https://github.com/algolia/gatsby-plugin-algolia/commit/ec29090))



<a name="0.14.1"></a>
## [0.14.1](https://github.com/algolia/gatsby-plugin-algolia/compare/v0.14.0...v0.14.1) (2020-10-26)


### Bug Fixes

* **settings:** allow empty settings again ([8d0f8cd](https://github.com/algolia/gatsby-plugin-algolia/commit/8d0f8cd))



<a name="0.14.0"></a>
# [0.14.0](https://github.com/algolia/gatsby-plugin-algolia/compare/v0.13.0...v0.14.0) (2020-10-23)


### Features

* **replica:** safely update replicas ([#81](https://github.com/algolia/gatsby-plugin-algolia/issues/81)) ([1bdadb2](https://github.com/algolia/gatsby-plugin-algolia/commit/1bdadb2))



<a name="0.13.0"></a>
# [0.13.0](https://github.com/algolia/gatsby-plugin-algolia/compare/v0.12.1...v0.13.0) (2020-10-13)


### Features

* **concurrentQueries:** add option to disable queries happening at the same time ([#96](https://github.com/algolia/gatsby-plugin-algolia/issues/96)) ([165aed1](https://github.com/algolia/gatsby-plugin-algolia/commit/165aed1))



<a name="0.12.1"></a>
## [0.12.1](https://github.com/algolia/gatsby-plugin-algolia/compare/v0.12.0...v0.12.1) (2020-09-16)


### Bug Fixes

* define variable for fields check ([#94](https://github.com/algolia/gatsby-plugin-algolia/issues/94)) ([150e675](https://github.com/algolia/gatsby-plugin-algolia/commit/150e675))



<a name="0.12.0"></a>
# [0.12.0](https://github.com/algolia/gatsby-plugin-algolia/compare/v0.11.2...v0.12.0) (2020-09-16)


### Bug Fixes

* **partial:** make matchFields required ([dcb93c8](https://github.com/algolia/gatsby-plugin-algolia/commit/dcb93c8)), closes [#93](https://github.com/algolia/gatsby-plugin-algolia/issues/93)


### BREAKING CHANGES

* **partial:** matchFields is now required when using enablePartialUpdates to prevent issues



<a name="0.11.2"></a>
## [0.11.2](https://github.com/algolia/gatsby-plugin-algolia/compare/v0.11.1...v0.11.2) (2020-07-28)


### Bug Fixes

* remove deleted records ([#86](https://github.com/algolia/gatsby-plugin-algolia/issues/86)) ([2f6b6e8](https://github.com/algolia/gatsby-plugin-algolia/commit/2f6b6e8)), closes [#82](https://github.com/algolia/gatsby-plugin-algolia/issues/82)



<a name="0.11.1"></a>
## [0.11.1](https://github.com/algolia/gatsby-plugin-algolia/compare/v0.11.0...v0.11.1) (2020-06-01)



<a name="0.11.0"></a>
# [0.11.0](https://github.com/algolia/gatsby-plugin-algolia/compare/v0.10.0...v0.11.0) (2020-05-04)


### Bug Fixes

* **settings:** use main settings if not provided in query ([#65](https://github.com/algolia/gatsby-plugin-algolia/issues/65)) ([8eea55c](https://github.com/algolia/gatsby-plugin-algolia/commit/8eea55c))



<a name="0.10.0"></a>
# [0.10.0](https://github.com/algolia/gatsby-plugin-algolia/compare/v0.9.0...v0.10.0) (2020-05-04)


### Bug Fixes

* create index before browse ([#61](https://github.com/algolia/gatsby-plugin-algolia/issues/61)) ([1bf7164](https://github.com/algolia/gatsby-plugin-algolia/commit/1bf7164))
* **example:** enablePartialUpdates is false ([#62](https://github.com/algolia/gatsby-plugin-algolia/issues/62)) ([155dbf3](https://github.com/algolia/gatsby-plugin-algolia/commit/155dbf3))



<a name="0.9.0"></a>
# [0.9.0](https://github.com/algolia/gatsby-plugin-algolia/compare/v0.8.1...v0.9.0) (2020-04-24)


### Bug Fixes

* **settings:** allow user provided settings to be replicated ([6f65b81](https://github.com/algolia/gatsby-plugin-algolia/commit/6f65b81)), closes [#57](https://github.com/algolia/gatsby-plugin-algolia/issues/57)



<a name="0.8.1"></a>
## [0.8.1](https://github.com/algolia/gatsby-plugin-algolia/compare/v0.8.0...v0.8.1) (2020-04-23)


### Bug Fixes

* allow "id" instead of "objectID" again ([#56](https://github.com/algolia/gatsby-plugin-algolia/issues/56)) ([4de4b1b](https://github.com/algolia/gatsby-plugin-algolia/commit/4de4b1b))



<a name="0.8.0"></a>
# [0.8.0](https://github.com/algolia/gatsby-plugin-algolia/compare/v0.7.0...v0.8.0) (2020-04-20)


### Features

* Partial updates ([#27](https://github.com/algolia/gatsby-plugin-algolia/issues/27)) ([c0b6e47](https://github.com/algolia/gatsby-plugin-algolia/commit/c0b6e47))



<a name="0.7.0"></a>
# [0.7.0](https://github.com/algolia/gatsby-plugin-algolia/compare/v0.6.0...v0.7.0) (2020-04-10)


### Features

* **replica:** prevent temporary indices to have replicas ([#51](https://github.com/algolia/gatsby-plugin-algolia/issues/51)) ([b3e6fad](https://github.com/algolia/gatsby-plugin-algolia/commit/b3e6fad))



<a name="0.6.0"></a>
# [0.6.0](https://github.com/algolia/gatsby-plugin-algolia/compare/v0.5.0...v0.6.0) (2020-04-01)


### Features

* **exists:** prevent empty index from being overridden ([e587abe](https://github.com/algolia/gatsby-plugin-algolia/commit/e587abe))



<a name="0.5.0"></a>
# [0.5.0](https://github.com/algolia/gatsby-plugin-algolia/compare/v0.4.0...v0.5.0) (2019-11-18)


### Bug Fixes

* **settings:** wait for task to finish ([67f4e46](https://github.com/algolia/gatsby-plugin-algolia/commit/67f4e46))


### BREAKING CHANGES

* **settings:** indexing will take a slight bit longer if settings are applied to be more sure we don't set settings on the wrong index.



<a name="0.4.0"></a>
# [0.4.0](https://github.com/algolia/gatsby-plugin-algolia/compare/v0.3.4...v0.4.0) (2019-11-07)


### Features

* **transformer:** Wait for me! 🙋‍♂️ Ability to await the data transformer ([#40](https://github.com/algolia/gatsby-plugin-algolia/issues/40)) ([d47e35f](https://github.com/algolia/gatsby-plugin-algolia/commit/d47e35f)), closes [#25](https://github.com/algolia/gatsby-plugin-algolia/issues/25)



<a name="0.3.4"></a>
## [0.3.4](https://github.com/algolia/gatsby-plugin-algolia/compare/v0.3.3...v0.3.4) (2019-09-11)

### Bug Fixes

* **settings**: await settings to be sent before moving indices ([231221e](https://github.com/algolia/gatsby-plugin-algolia/commit/231221e)), closes [#37](https://github.com/algolia/gatsby-plugin-algolia/issues/37)

<a name="0.3.3"></a>
## [0.3.3](https://github.com/algolia/gatsby-plugin-algolia/compare/v0.3.2...v0.3.3) (2019-08-12)



<a name="0.3.2"></a>
## [0.3.2](https://github.com/algolia/gatsby-plugin-algolia/compare/v0.3.1...v0.3.2) (2019-07-03)


### Bug Fixes

* **pkg:** add index.js to files ([282b151](https://github.com/algolia/gatsby-plugin-algolia/commit/282b151)), closes [#32](https://github.com/algolia/gatsby-plugin-algolia/issues/32)



<a name="0.3.1"></a>
## [0.3.1](https://github.com/algolia/gatsby-plugin-algolia/compare/v0.3.0...v0.3.1) (2019-07-03)


### Bug Fixes

* Don't publish examples to npm ([#31](https://github.com/algolia/gatsby-plugin-algolia/issues/31)) ([b042481](https://github.com/algolia/gatsby-plugin-algolia/commit/b042481))



<a name="0.3.0"></a>
# [0.3.0](https://github.com/algolia/gatsby-plugin-algolia/compare/v0.2.0...v0.3.0) (2018-11-13)


### Features

* **settings:** allow user to set settings for each query individually ([#17](https://github.com/algolia/gatsby-plugin-algolia/issues/17)) ([ea6e8b1](https://github.com/algolia/gatsby-plugin-algolia/commit/ea6e8b1))



<a name="0.2.0"></a>
# [0.2.0](https://github.com/algolia/gatsby-plugin-algolia/compare/v0.1.0...v0.2.0) (2018-10-02)


### Bug Fixes

* don't "atomic" index when there's no info in main index ([#12](https://github.com/algolia/gatsby-plugin-algolia/issues/12)) ([1be256f](https://github.com/algolia/gatsby-plugin-algolia/commit/1be256f))


### Features

* add more detailed logging ([#14](https://github.com/algolia/gatsby-plugin-algolia/issues/14)) ([5e7372a](https://github.com/algolia/gatsby-plugin-algolia/commit/5e7372a))



<a name="0.1.1"></a>
## [0.1.1](https://github.com/algolia/gatsby-plugin-algolia/compare/v0.1.0...v0.1.1) (2018-09-28)


### Features

* Make sure people use the right name for `query` ([2b47488](https://github.com/algolia/gatsby-plugin-algolia/commit/2b47488))

<a name="0.1.0"></a>
## [0.1.0](https://github.com/algolia/gatsby-plugin-algolia/compare/v0.0.4...v0.1.0) (2018-09-05)


### Features

* Atomic indexing ([cc351f0](https://github.com/algolia/gatsby-plugin-algolia/commit/cc351f0))
  * this will add one more index while you're indexing to always have live data on your index


<a name="0.0.4"></a>
## [0.0.4](https://github.com/algolia/gatsby-plugin-algolia/compare/v0.0.3...v0.0.4) (2018-05-30)


### Features

* Allow multiple indices ([fd6d9e5](https://github.com/algolia/gatsby-plugin-algolia/commit/fd6d9e5))
* make indexName in query and transformer optional ([337fdc8](https://github.com/algolia/gatsby-plugin-algolia/commit/337fdc8))



# Change Log

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
