From ec843f96198a988d599e06f5fa0ba6787c1d9f02 Mon Sep 17 00:00:00 2001 From: InstantSearch <66688561+instantsearch-bot@users.noreply.github.com> Date: Wed, 15 Jun 2022 11:00:04 +0200 Subject: [PATCH] chore: release v6.28.0 (#3519) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: François Chalifour Co-authored-by: Haroen Viaene --- CHANGELOG.md | 19 +++++++++++++++++++ examples/autocomplete/package.json | 4 ++-- examples/default-theme/package.json | 4 ++-- examples/e-commerce/package.json | 4 ++-- examples/geo-search/package.json | 6 +++--- examples/hooks-next/package.json | 6 +++--- examples/hooks-react-native/package.json | 4 ++-- examples/hooks-ssr/package.json | 6 +++--- examples/hooks/package.json | 4 ++-- examples/media/package.json | 4 ++-- examples/multi-index/package.json | 4 ++-- examples/next/package.json | 4 ++-- .../package.json | 4 ++-- examples/react-native/package.json | 4 ++-- examples/react-router-v3/package.json | 4 ++-- examples/react-router/package.json | 4 ++-- examples/server-side-rendering/package.json | 4 ++-- examples/tourism/package.json | 4 ++-- lerna.json | 2 +- .../react-instantsearch-core/package.json | 2 +- .../src/core/version.js | 2 +- .../react-instantsearch-dom-maps/package.json | 2 +- packages/react-instantsearch-dom/package.json | 4 ++-- .../package.json | 4 ++-- .../package.json | 4 ++-- .../react-instantsearch-hooks/package.json | 2 +- .../react-instantsearch-hooks/src/version.ts | 2 +- .../react-instantsearch-native/package.json | 4 ++-- packages/react-instantsearch/package.json | 8 ++++---- 29 files changed, 74 insertions(+), 55 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 490c536154..7fe400c8c7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,22 @@ +# [6.28.0](https://github.com/algolia/react-instantsearch/compare/v6.27.0...v6.28.0) (2022-06-15) + + +### Bug Fixes + +* **hooks-server:** import react server via an expression ([#3515](https://github.com/algolia/react-instantsearch/issues/3515)) ([91b96f7](https://github.com/algolia/react-instantsearch/commit/91b96f743b9315ed5ea781681b77fc7f5604ab6e)), closes [#3512](https://github.com/algolia/react-instantsearch/issues/3512) +* **hooks-web:** fix duplicated key in ([#3513](https://github.com/algolia/react-instantsearch/issues/3513)) ([fc94d80](https://github.com/algolia/react-instantsearch/commit/fc94d806daf139f58b234cdc0b450da2efe861ee)) +* **hooks:** mount widgets in SSR to retrieve HTML ([#3518](https://github.com/algolia/react-instantsearch/issues/3518)) ([aa5f9d8](https://github.com/algolia/react-instantsearch/commit/aa5f9d84ddb6e97d05e6ad1baf2c6caa23891281)) +* **types:** allow useInstantSearch to be generic ([#3508](https://github.com/algolia/react-instantsearch/issues/3508)) ([6807232](https://github.com/algolia/react-instantsearch/commit/68072324cf302801502a1b4c3d06703e57b55a97)), closes [algolia/instantsearch.js#5060](https://github.com/algolia/instantsearch.js/issues/5060) +* **types:** support React 18 types ([#3481](https://github.com/algolia/react-instantsearch/issues/3481)) ([74cf8cb](https://github.com/algolia/react-instantsearch/commit/74cf8cb9be8ff3d113b57a50e7083df0d1bc94f2)) + + +### Features + +* **hooks:** introduce `useInstantSearch()` ([#3494](https://github.com/algolia/react-instantsearch/issues/3494)) ([74d522c](https://github.com/algolia/react-instantsearch/commit/74d522c032326658f2a0b8f0001bd593e0085208)) +* **hooks:** support React 18 Strict Mode ([#3514](https://github.com/algolia/react-instantsearch/issues/3514)) ([eeb67c7](https://github.com/algolia/react-instantsearch/commit/eeb67c7b5dc08c696c46d9538f104eeceecef388)) + + + # [6.27.0](https://github.com/algolia/react-instantsearch/compare/v6.26.0...v6.27.0) (2022-06-07) diff --git a/examples/autocomplete/package.json b/examples/autocomplete/package.json index ed29aa1206..eb9b8663b0 100644 --- a/examples/autocomplete/package.json +++ b/examples/autocomplete/package.json @@ -1,6 +1,6 @@ { "name": "example-autocomplete", - "version": "6.27.0", + "version": "6.28.0", "private": true, "license": "MIT", "scripts": { @@ -19,7 +19,7 @@ "react": "17.0.2", "react-autosuggest": "9.4.3", "react-dom": "17.0.2", - "react-instantsearch-dom": "6.27.0" + "react-instantsearch-dom": "6.28.0" }, "browserslist": [ ">0.2%", diff --git a/examples/default-theme/package.json b/examples/default-theme/package.json index 840ac40319..6fdf201a19 100644 --- a/examples/default-theme/package.json +++ b/examples/default-theme/package.json @@ -1,12 +1,12 @@ { "name": "algolia-theme", - "version": "6.27.0", + "version": "6.28.0", "private": true, "dependencies": { "algoliasearch": "4.11.0", "qs": "6.8.0", "react": "17.0.2", "react-dom": "17.0.2", - "react-instantsearch-dom": "6.27.0" + "react-instantsearch-dom": "6.28.0" } } diff --git a/examples/e-commerce/package.json b/examples/e-commerce/package.json index 2046ee9d2f..a00c7840b2 100644 --- a/examples/e-commerce/package.json +++ b/examples/e-commerce/package.json @@ -1,6 +1,6 @@ { "name": "react-instantsearch-e-commerce", - "version": "6.27.0", + "version": "6.28.0", "private": true, "dependencies": { "algoliasearch": "4.11.0", @@ -9,6 +9,6 @@ "react": "17.0.2", "react-compound-slider": "2.2.0", "react-dom": "17.0.2", - "react-instantsearch-dom": "6.27.0" + "react-instantsearch-dom": "6.28.0" } } diff --git a/examples/geo-search/package.json b/examples/geo-search/package.json index dd065f47d7..13ad7beadb 100644 --- a/examples/geo-search/package.json +++ b/examples/geo-search/package.json @@ -1,6 +1,6 @@ { "name": "example-geo-search", - "version": "6.27.0", + "version": "6.28.0", "private": true, "license": "MIT", "scripts": { @@ -18,8 +18,8 @@ "qs": "6.8.0", "react": "17.0.2", "react-dom": "17.0.2", - "react-instantsearch-dom": "6.27.0", - "react-instantsearch-dom-maps": "6.27.0" + "react-instantsearch-dom": "6.28.0", + "react-instantsearch-dom-maps": "6.28.0" }, "browserslist": [ ">0.2%", diff --git a/examples/hooks-next/package.json b/examples/hooks-next/package.json index 8030cb17cc..3b3358508f 100644 --- a/examples/hooks-next/package.json +++ b/examples/hooks-next/package.json @@ -1,6 +1,6 @@ { "name": "hooks-next-example", - "version": "6.27.0", + "version": "6.28.0", "private": true, "scripts": { "dev": "next dev", @@ -14,8 +14,8 @@ "next": "12.1.6", "react": "18.1.0", "react-dom": "18.1.0", - "react-instantsearch-hooks-server": "6.27.0", - "react-instantsearch-hooks-web": "6.27.0" + "react-instantsearch-hooks-server": "6.28.0", + "react-instantsearch-hooks-web": "6.28.0" }, "devDependencies": { "@types/node": "17.0.40", diff --git a/examples/hooks-react-native/package.json b/examples/hooks-react-native/package.json index 1e1eb1cbf7..48ea4ff86f 100644 --- a/examples/hooks-react-native/package.json +++ b/examples/hooks-react-native/package.json @@ -1,6 +1,6 @@ { "name": "hooks-react-native-example", - "version": "6.27.0", + "version": "6.28.0", "private": true, "main": "node_modules/expo/AppEntry.js", "scripts": { @@ -17,7 +17,7 @@ "instantsearch.js": "4.41.0", "react": "17.0.1", "react-dom": "17.0.1", - "react-instantsearch-hooks": "6.27.0", + "react-instantsearch-hooks": "6.28.0", "react-native": "0.64.3", "react-native-web": "0.17.1" }, diff --git a/examples/hooks-ssr/package.json b/examples/hooks-ssr/package.json index a7a1446260..f0dd442854 100644 --- a/examples/hooks-ssr/package.json +++ b/examples/hooks-ssr/package.json @@ -1,6 +1,6 @@ { "name": "hooks-ssr-example", - "version": "6.27.0", + "version": "6.28.0", "private": true, "license": "MIT", "scripts": { @@ -26,7 +26,7 @@ "express": "4.17.1", "react": "18.1.0", "react-dom": "18.1.0", - "react-instantsearch-hooks-server": "6.27.0", - "react-instantsearch-hooks-web": "6.27.0" + "react-instantsearch-hooks-server": "6.28.0", + "react-instantsearch-hooks-web": "6.28.0" } } diff --git a/examples/hooks/package.json b/examples/hooks/package.json index 506e22441c..747d61e556 100644 --- a/examples/hooks/package.json +++ b/examples/hooks/package.json @@ -1,6 +1,6 @@ { "name": "hooks-example", - "version": "6.27.0", + "version": "6.28.0", "private": true, "scripts": { "build": "parcel build index.html", @@ -11,7 +11,7 @@ "instantsearch.js": "4.41.0", "react": "18.1.0", "react-dom": "18.1.0", - "react-instantsearch-hooks-web": "6.27.0" + "react-instantsearch-hooks-web": "6.28.0" }, "devDependencies": { "parcel": "2.2.1" diff --git a/examples/media/package.json b/examples/media/package.json index e2dcd55fdf..54cbcaa47a 100644 --- a/examples/media/package.json +++ b/examples/media/package.json @@ -1,12 +1,12 @@ { "name": "media", - "version": "6.27.0", + "version": "6.28.0", "private": true, "dependencies": { "algoliasearch": "4.11.0", "qs": "6.8.0", "react": "17.0.2", "react-dom": "17.0.2", - "react-instantsearch-dom": "6.27.0" + "react-instantsearch-dom": "6.28.0" } } diff --git a/examples/multi-index/package.json b/examples/multi-index/package.json index b388dd6f81..51720779af 100644 --- a/examples/multi-index/package.json +++ b/examples/multi-index/package.json @@ -1,6 +1,6 @@ { "name": "example-multi-index", - "version": "6.27.0", + "version": "6.28.0", "private": true, "license": "MIT", "scripts": { @@ -17,7 +17,7 @@ "instantsearch.css": "7.4.5", "react": "17.0.2", "react-dom": "17.0.2", - "react-instantsearch-dom": "6.27.0" + "react-instantsearch-dom": "6.28.0" }, "browserslist": [ ">0.2%", diff --git a/examples/next/package.json b/examples/next/package.json index f58e756532..e2287e1b42 100644 --- a/examples/next/package.json +++ b/examples/next/package.json @@ -1,6 +1,6 @@ { "name": "example-next", - "version": "6.27.0", + "version": "6.28.0", "private": true, "license": "MIT", "scripts": { @@ -26,6 +26,6 @@ "qs": "6.8.0", "react": "17.0.2", "react-dom": "17.0.2", - "react-instantsearch-dom": "6.27.0" + "react-instantsearch-dom": "6.28.0" } } diff --git a/examples/react-native-query-suggestions/package.json b/examples/react-native-query-suggestions/package.json index 797b88586f..6c8d5b3e20 100644 --- a/examples/react-native-query-suggestions/package.json +++ b/examples/react-native-query-suggestions/package.json @@ -1,6 +1,6 @@ { "name": "example-react-native-query-suggestions", - "version": "6.27.0", + "version": "6.28.0", "main": "node_modules/expo/AppEntry.js", "scripts": { "build": "echo \"Error: no build specified\" && exit 0", @@ -17,7 +17,7 @@ "prop-types": "15.6.2", "react": "17.0.2", "react-dom": "17.0.2", - "react-instantsearch-native": "6.27.0", + "react-instantsearch-native": "6.28.0", "react-native": "https://github.com/expo/react-native/archive/sdk-37.0.1.tar.gz", "react-native-vector-icons": "6.6.0", "react-native-web": "0.11.7" diff --git a/examples/react-native/package.json b/examples/react-native/package.json index c8a75ad740..e53e09ba1a 100644 --- a/examples/react-native/package.json +++ b/examples/react-native/package.json @@ -1,6 +1,6 @@ { "name": "example-react-native", - "version": "6.27.0", + "version": "6.28.0", "main": "node_modules/expo/AppEntry.js", "scripts": { "build": "echo \"Error: no build specified\" && exit 0", @@ -18,7 +18,7 @@ "prop-types": "15.6.2", "react": "17.0.2", "react-dom": "17.0.2", - "react-instantsearch-native": "6.27.0", + "react-instantsearch-native": "6.28.0", "react-native": "https://github.com/expo/react-native/archive/sdk-37.0.1.tar.gz", "react-native-gesture-handler": "1.6.1", "react-native-modal-dropdown": "0.7.0", diff --git a/examples/react-router-v3/package.json b/examples/react-router-v3/package.json index dc5ab31e06..61ca7f88d6 100644 --- a/examples/react-router-v3/package.json +++ b/examples/react-router-v3/package.json @@ -1,6 +1,6 @@ { "name": "example-react-router-v3", - "version": "6.27.0", + "version": "6.28.0", "private": true, "license": "MIT", "scripts": { @@ -20,7 +20,7 @@ "react": "17.0.2", "react-dom": "17.0.2", "react-fast-compare": "3.0.1", - "react-instantsearch-dom": "6.27.0", + "react-instantsearch-dom": "6.28.0", "react-router": "3.2.1" }, "browserslist": [ diff --git a/examples/react-router/package.json b/examples/react-router/package.json index 03098ad3d5..8c5e49faa6 100644 --- a/examples/react-router/package.json +++ b/examples/react-router/package.json @@ -1,6 +1,6 @@ { "name": "example-react-router", - "version": "6.27.0", + "version": "6.28.0", "private": true, "license": "MIT", "scripts": { @@ -20,7 +20,7 @@ "qs": "6.8.0", "react": "17.0.2", "react-dom": "17.0.2", - "react-instantsearch-dom": "6.27.0", + "react-instantsearch-dom": "6.28.0", "react-router-dom": "5.2.0" }, "browserslist": [ diff --git a/examples/server-side-rendering/package.json b/examples/server-side-rendering/package.json index 9da1f1a918..8ec3119271 100644 --- a/examples/server-side-rendering/package.json +++ b/examples/server-side-rendering/package.json @@ -1,6 +1,6 @@ { "name": "example-server-side-rendering", - "version": "6.27.0", + "version": "6.28.0", "private": true, "license": "MIT", "scripts": { @@ -31,6 +31,6 @@ "prop-types": "15.6.0", "react": "17.0.2", "react-dom": "17.0.2", - "react-instantsearch-dom": "6.27.0" + "react-instantsearch-dom": "6.28.0" } } diff --git a/examples/tourism/package.json b/examples/tourism/package.json index 747279828e..30fb755f79 100644 --- a/examples/tourism/package.json +++ b/examples/tourism/package.json @@ -1,13 +1,13 @@ { "name": "tourism", - "version": "6.27.0", + "version": "6.28.0", "private": true, "dependencies": { "algoliasearch": "4.11.0", "qs": "6.8.0", "react": "17.0.2", "react-dom": "17.0.2", - "react-instantsearch-dom": "6.27.0", + "react-instantsearch-dom": "6.28.0", "rheostat": "2.2.0" } } diff --git a/lerna.json b/lerna.json index 3370a3829a..4c1475679c 100644 --- a/lerna.json +++ b/lerna.json @@ -1,5 +1,5 @@ { - "version": "6.27.0", + "version": "6.28.0", "npmClient": "yarn", "useWorkspaces": true } diff --git a/packages/react-instantsearch-core/package.json b/packages/react-instantsearch-core/package.json index 84e92cb04f..066106a9b7 100644 --- a/packages/react-instantsearch-core/package.json +++ b/packages/react-instantsearch-core/package.json @@ -1,6 +1,6 @@ { "name": "react-instantsearch-core", - "version": "6.27.0", + "version": "6.28.0", "description": "⚡ Lightning-fast search for React, by Algolia", "main": "dist/cjs/index.js", "module": "dist/es/index.js", diff --git a/packages/react-instantsearch-core/src/core/version.js b/packages/react-instantsearch-core/src/core/version.js index 24a01c44e9..11464a0428 100644 --- a/packages/react-instantsearch-core/src/core/version.js +++ b/packages/react-instantsearch-core/src/core/version.js @@ -1 +1 @@ -export default '6.27.0'; +export default '6.28.0'; diff --git a/packages/react-instantsearch-dom-maps/package.json b/packages/react-instantsearch-dom-maps/package.json index 207302459f..ce11fe7617 100644 --- a/packages/react-instantsearch-dom-maps/package.json +++ b/packages/react-instantsearch-dom-maps/package.json @@ -1,6 +1,6 @@ { "name": "react-instantsearch-dom-maps", - "version": "6.27.0", + "version": "6.28.0", "description": "⚡ Lightning-fast search for React DOM & Google Maps, by Algolia", "main": "dist/cjs/index.js", "module": "dist/es/index.js", diff --git a/packages/react-instantsearch-dom/package.json b/packages/react-instantsearch-dom/package.json index 672182b343..176113e77e 100644 --- a/packages/react-instantsearch-dom/package.json +++ b/packages/react-instantsearch-dom/package.json @@ -1,6 +1,6 @@ { "name": "react-instantsearch-dom", - "version": "6.27.0", + "version": "6.28.0", "description": "⚡ Lightning-fast search for React DOM, by Algolia", "main": "dist/cjs/index.js", "module": "dist/es/index.js", @@ -43,7 +43,7 @@ "classnames": "^2.2.5", "prop-types": "^15.6.2", "react-fast-compare": "^3.0.0", - "react-instantsearch-core": "6.27.0" + "react-instantsearch-core": "6.28.0" }, "peerDependencies": { "algoliasearch": ">= 3.1 < 5", diff --git a/packages/react-instantsearch-hooks-server/package.json b/packages/react-instantsearch-hooks-server/package.json index 0294baca59..767a735bfc 100644 --- a/packages/react-instantsearch-hooks-server/package.json +++ b/packages/react-instantsearch-hooks-server/package.json @@ -1,6 +1,6 @@ { "name": "react-instantsearch-hooks-server", - "version": "6.27.0", + "version": "6.28.0", "description": "⚡ Server-side support for React InstantSearch Hooks, by Algolia", "source": "src/index.ts", "types": "dist/es/index.d.ts", @@ -47,7 +47,7 @@ "dependencies": { "@babel/runtime": "^7.1.2", "instantsearch.js": "^4.41.0", - "react-instantsearch-hooks": "6.27.0" + "react-instantsearch-hooks": "6.28.0" }, "peerDependencies": { "algoliasearch": ">= 3.1 < 5", diff --git a/packages/react-instantsearch-hooks-web/package.json b/packages/react-instantsearch-hooks-web/package.json index e3d7f3531d..e3036c3917 100644 --- a/packages/react-instantsearch-hooks-web/package.json +++ b/packages/react-instantsearch-hooks-web/package.json @@ -1,6 +1,6 @@ { "name": "react-instantsearch-hooks-web", - "version": "6.27.0", + "version": "6.28.0", "description": "⚡ Lightning-fast search for React, by Algolia", "source": "src/index.ts", "types": "dist/es/index.d.ts", @@ -48,7 +48,7 @@ "dependencies": { "@babel/runtime": "^7.1.2", "instantsearch.js": "^4.41.0", - "react-instantsearch-hooks": "6.27.0" + "react-instantsearch-hooks": "6.28.0" }, "peerDependencies": { "algoliasearch": ">= 3.1 < 5", diff --git a/packages/react-instantsearch-hooks/package.json b/packages/react-instantsearch-hooks/package.json index 41756dfe9e..6f400588ad 100644 --- a/packages/react-instantsearch-hooks/package.json +++ b/packages/react-instantsearch-hooks/package.json @@ -1,6 +1,6 @@ { "name": "react-instantsearch-hooks", - "version": "6.27.0", + "version": "6.28.0", "description": "⚡ Lightning-fast search for React, by Algolia", "source": "src/index.ts", "types": "dist/es/index.d.ts", diff --git a/packages/react-instantsearch-hooks/src/version.ts b/packages/react-instantsearch-hooks/src/version.ts index 24a01c44e9..11464a0428 100644 --- a/packages/react-instantsearch-hooks/src/version.ts +++ b/packages/react-instantsearch-hooks/src/version.ts @@ -1 +1 @@ -export default '6.27.0'; +export default '6.28.0'; diff --git a/packages/react-instantsearch-native/package.json b/packages/react-instantsearch-native/package.json index d0a689dde6..00b3b23097 100644 --- a/packages/react-instantsearch-native/package.json +++ b/packages/react-instantsearch-native/package.json @@ -1,6 +1,6 @@ { "name": "react-instantsearch-native", - "version": "6.27.0", + "version": "6.28.0", "description": "⚡ Lightning-fast search for React Native, by Algolia", "main": "dist/cjs/index.js", "module": "dist/es/index.js", @@ -38,7 +38,7 @@ "dependencies": { "@babel/runtime": "^7.1.2", "algoliasearch": ">= 3.27.1 < 5", - "react-instantsearch-core": "6.27.0" + "react-instantsearch-core": "6.28.0" }, "peerDependencies": { "algoliasearch": ">= 3.1 < 5", diff --git a/packages/react-instantsearch/package.json b/packages/react-instantsearch/package.json index 3f180d01bb..c7c7264299 100644 --- a/packages/react-instantsearch/package.json +++ b/packages/react-instantsearch/package.json @@ -1,6 +1,6 @@ { "name": "react-instantsearch", - "version": "6.27.0", + "version": "6.28.0", "description": "⚡ Lightning-fast search for React and React Native apps, by Algolia", "main": "index.js", "module": "dist/es/index.js", @@ -44,9 +44,9 @@ }, "dependencies": { "@babel/runtime": "^7.1.2", - "react-instantsearch-core": "6.27.0", - "react-instantsearch-dom": "6.27.0", - "react-instantsearch-native": "6.27.0" + "react-instantsearch-core": "6.28.0", + "react-instantsearch-dom": "6.28.0", + "react-instantsearch-native": "6.28.0" }, "peerDependencies": { "algoliasearch": ">= 3.1 < 5",