Skip to content
This repository was archived by the owner on Dec 30, 2022. It is now read-only.

Commit 66b46b4

Browse files
chore: release v6.20.0 (#3262)
* chore: release v6.20.0 * Format hooks names * Update deps in examples Co-authored-by: François Chalifour <[email protected]>
1 parent 3527b94 commit 66b46b4

File tree

28 files changed

+86
-69
lines changed

28 files changed

+86
-69
lines changed

CHANGELOG.md

Lines changed: 33 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
# [6.20.0](https://github.com/algolia/react-instantsearch/compare/v6.19.0...v6.20.0) (2022-01-18)
2+
3+
4+
### Bug Fixes
5+
6+
* **hooks:** allow importing via require ([#3257](https://github.com/algolia/react-instantsearch/issues/3257)) ([6aa80b3](https://github.com/algolia/react-instantsearch/commit/6aa80b3647567199c3df1b90a07d708b223ce1fd))
7+
8+
9+
### Features
10+
11+
* **hooks:** implement `useClearRefinements()` ([#3256](https://github.com/algolia/react-instantsearch/issues/3256)) ([930b83d](https://github.com/algolia/react-instantsearch/commit/930b83df4c4bbccbc3118f6ea1001f6a30a3d464)), closes [#3252](https://github.com/algolia/react-instantsearch/issues/3252)
12+
* **hooks:** introduce `<Configure>` ([#3261](https://github.com/algolia/react-instantsearch/issues/3261)) ([3527b94](https://github.com/algolia/react-instantsearch/commit/3527b9422de48a4a6b4bd752bd643e01cd5011d8))
13+
* **hooks:** introduce `usePoweredBy()` ([#3251](https://github.com/algolia/react-instantsearch/issues/3251)) ([a97230b](https://github.com/algolia/react-instantsearch/commit/a97230b89e3ba1df9bf2d21a6a9f9a70b45f41b8))
14+
* **hooks:** introduce `useToggleRefinement()` ([#3248](https://github.com/algolia/react-instantsearch/issues/3248)) ([a561c09](https://github.com/algolia/react-instantsearch/commit/a561c090a268e1c6ca1fa2d5bf72263cc47aa273))
15+
16+
17+
118
# [6.19.0](https://github.com/algolia/react-instantsearch/compare/v6.18.0...v6.19.0) (2022-01-05)
219

320

@@ -14,8 +31,8 @@
1431
### Features
1532

1633
* **dynamicWidgets:** send facets * and maxValuesPerFacet by default ([#3242](https://github.com/algolia/react-instantsearch/issues/3242)) ([c071776](https://github.com/algolia/react-instantsearch/commit/c07177670ac30dced55250774654e8b2a77b6739))
17-
* **hooks:** introduce `useNumericMenu` ([#3237](https://github.com/algolia/react-instantsearch/issues/3237)) ([e3056c9](https://github.com/algolia/react-instantsearch/commit/e3056c9e2c64b5afafb7a736599a5cbf6137575b))
18-
* **hooks:** introduce useInfiniteHits ([#3224](https://github.com/algolia/react-instantsearch/issues/3224)) ([177ec56](https://github.com/algolia/react-instantsearch/commit/177ec56af274670c2bf8599ba104b5544979bbe8))
34+
* **hooks:** introduce `useNumericMenu()` ([#3237](https://github.com/algolia/react-instantsearch/issues/3237)) ([e3056c9](https://github.com/algolia/react-instantsearch/commit/e3056c9e2c64b5afafb7a736599a5cbf6137575b))
35+
* **hooks:** introduce `useInfiniteHits()` ([#3224](https://github.com/algolia/react-instantsearch/issues/3224)) ([177ec56](https://github.com/algolia/react-instantsearch/commit/177ec56af274670c2bf8599ba104b5544979bbe8))
1936

2037

2138

@@ -29,13 +46,13 @@
2946

3047
### Features
3148

32-
* **hooks:** introduce `useMenu` ([#3197](https://github.com/algolia/react-instantsearch/issues/3197)) ([15d1cc9](https://github.com/algolia/react-instantsearch/commit/15d1cc993437b111cd5a32f43ee1d2065c639ed4))
33-
* **hooks:** introduce `useRange` ([#3198](https://github.com/algolia/react-instantsearch/issues/3198)) ([df1f1c8](https://github.com/algolia/react-instantsearch/commit/df1f1c8109dc684e74d3aee1bf0359f2a0e1b9f4))
49+
* **hooks:** introduce `useMenu()` ([#3197](https://github.com/algolia/react-instantsearch/issues/3197)) ([15d1cc9](https://github.com/algolia/react-instantsearch/commit/15d1cc993437b111cd5a32f43ee1d2065c639ed4))
50+
* **hooks:** introduce `useRange()` ([#3198](https://github.com/algolia/react-instantsearch/issues/3198)) ([df1f1c8](https://github.com/algolia/react-instantsearch/commit/df1f1c8109dc684e74d3aee1bf0359f2a0e1b9f4))
3451
* **hooks:** introduce `<DynamicWidgets>` ([#3216](https://github.com/algolia/react-instantsearch/issues/3216)) ([d99aea6](https://github.com/algolia/react-instantsearch/commit/d99aea6cfe9dea86ae6b98ee3762373f4b3843f1))
35-
* **hooks:** introduce `useDynamicWidgets` ([#3210](https://github.com/algolia/react-instantsearch/issues/3210)) ([29c2ea2](https://github.com/algolia/react-instantsearch/commit/29c2ea22b91a39d9eb40a044ae9aab85f2612db8))
36-
* **hooks:** introduce `useQueryRules` ([#3212](https://github.com/algolia/react-instantsearch/issues/3212)) ([3ef1e1e](https://github.com/algolia/react-instantsearch/commit/3ef1e1e4116b3e58b2c2134d0c60fbb9f40c1501))
52+
* **hooks:** introduce `useDynamicWidgets()` ([#3210](https://github.com/algolia/react-instantsearch/issues/3210)) ([29c2ea2](https://github.com/algolia/react-instantsearch/commit/29c2ea22b91a39d9eb40a044ae9aab85f2612db8))
53+
* **hooks:** introduce `useQueryRules()` ([#3212](https://github.com/algolia/react-instantsearch/issues/3212)) ([3ef1e1e](https://github.com/algolia/react-instantsearch/commit/3ef1e1e4116b3e58b2c2134d0c60fbb9f40c1501))
3754
* **hooks:** introduce SSR support ([#3221](https://github.com/algolia/react-instantsearch/issues/3221)) ([0a6b3ec](https://github.com/algolia/react-instantsearch/commit/0a6b3ec61942ad3849c6f078e21b3328679bffff))
38-
* **hooks:** introduce useCurrentRefinements ([#3222](https://github.com/algolia/react-instantsearch/issues/3222)) ([7ebd8c3](https://github.com/algolia/react-instantsearch/commit/7ebd8c3da8c17b0bd7e0f8deab633b98fa052e7f))
55+
* **hooks:** introduce `useCurrentRefinements()` ([#3222](https://github.com/algolia/react-instantsearch/issues/3222)) ([7ebd8c3](https://github.com/algolia/react-instantsearch/commit/7ebd8c3da8c17b0bd7e0f8deab633b98fa052e7f))
3956

4057

4158

@@ -50,9 +67,9 @@
5067
### Features
5168

5269
* **DynamicWidgets:** release as stable ([#3090](https://github.com/algolia/react-instantsearch/issues/3090)) ([a4a1d9e](https://github.com/algolia/react-instantsearch/commit/a4a1d9e032b31c611d5d73fdda3a03ad705f5c68))
53-
* **hooks:** introduce `usePagination` ([#3182](https://github.com/algolia/react-instantsearch/issues/3182)) ([d8b1b86](https://github.com/algolia/react-instantsearch/commit/d8b1b867bb598e801f1350e81b4a4220a8e528d7))
54-
* **hooks:** introduce `useSortBy` ([#3190](https://github.com/algolia/react-instantsearch/issues/3190)) ([5cce33b](https://github.com/algolia/react-instantsearch/commit/5cce33b48032548fed76b592ee0201e3c42fc3c4))
55-
* **hooks:** introduce `useHierarchicalMenu` ([#3199](https://github.com/algolia/react-instantsearch/issues/3199)) ([b347061](https://github.com/algolia/react-instantsearch/commit/b3470611b962ef55c55576c65a6307abc54e5efd))
70+
* **hooks:** introduce `usePagination()` ([#3182](https://github.com/algolia/react-instantsearch/issues/3182)) ([d8b1b86](https://github.com/algolia/react-instantsearch/commit/d8b1b867bb598e801f1350e81b4a4220a8e528d7))
71+
* **hooks:** introduce `useSortBy()` ([#3190](https://github.com/algolia/react-instantsearch/issues/3190)) ([5cce33b](https://github.com/algolia/react-instantsearch/commit/5cce33b48032548fed76b592ee0201e3c42fc3c4))
72+
* **hooks:** introduce `useHierarchicalMenu()` ([#3199](https://github.com/algolia/react-instantsearch/issues/3199)) ([b347061](https://github.com/algolia/react-instantsearch/commit/b3470611b962ef55c55576c65a6307abc54e5efd))
5673

5774

5875

@@ -66,7 +83,7 @@
6683

6784
### Features
6885

69-
* **hooks:** introduce `useConfigure` ([#3181](https://github.com/algolia/react-instantsearch/issues/3181)) ([aa2eb9b](https://github.com/algolia/react-instantsearch/commit/aa2eb9baec6335f8a3523ee8b9b761a217cfc734))
86+
* **hooks:** introduce `useConfigure()` ([#3181](https://github.com/algolia/react-instantsearch/issues/3181)) ([aa2eb9b](https://github.com/algolia/react-instantsearch/commit/aa2eb9baec6335f8a3523ee8b9b761a217cfc734))
7087

7188

7289

@@ -96,12 +113,12 @@ This is the initial release of the experimental **React InstantSearch Hooks** pa
96113
- **hooks:** export types ([#3159](https://github.com/algolia/react-instantsearch/issues/3159)) ([182348b](https://github.com/algolia/react-instantsearch/commit/182348b4a901823a7a41aee5d2b3bdc025cce48f))
97114
- **hooks:** expose `displayName` on Contexts ([#3168](https://github.com/algolia/react-instantsearch/issues/3168)) ([dafd3c6](https://github.com/algolia/react-instantsearch/commit/dafd3c66d05fbec09ebf907209ac25f55804e6f5))
98115
- **hooks:** friendly error when using Hooks with Core ([#3150](https://github.com/algolia/react-instantsearch/issues/3150)) ([d547ccf](https://github.com/algolia/react-instantsearch/commit/d547ccf7951299e2f6b1771e02fce052696ff65a))
99-
- **hooks:** introduce `useConnector` ([#3137](https://github.com/algolia/react-instantsearch/issues/3137)) ([53e8afd](https://github.com/algolia/react-instantsearch/commit/53e8afd093b9950351467a16b82d528207ac34d2))
100-
- **hooks:** introduce `useHits` ([#3147](https://github.com/algolia/react-instantsearch/issues/3147)) ([cc25cff](https://github.com/algolia/react-instantsearch/commit/cc25cff06e5ec216cba40fb8261372bc327001b6))
101-
- **hooks:** introduce `useRefinementList` ([#3152](https://github.com/algolia/react-instantsearch/issues/3152)) ([0385cd9](https://github.com/algolia/react-instantsearch/commit/0385cd971635a8423ad687fab451d0778358389e))
102-
- **hooks:** introduce `useSearchBox` ([#3146](https://github.com/algolia/react-instantsearch/issues/3146)) ([0d2c7f9](https://github.com/algolia/react-instantsearch/commit/0d2c7f9bd25b88cf725a1babd3b228ac804644c7))
116+
- **hooks:** introduce `useConnector()` ([#3137](https://github.com/algolia/react-instantsearch/issues/3137)) ([53e8afd](https://github.com/algolia/react-instantsearch/commit/53e8afd093b9950351467a16b82d528207ac34d2))
117+
- **hooks:** introduce `useHits()` ([#3147](https://github.com/algolia/react-instantsearch/issues/3147)) ([cc25cff](https://github.com/algolia/react-instantsearch/commit/cc25cff06e5ec216cba40fb8261372bc327001b6))
118+
- **hooks:** introduce `useRefinementList()` ([#3152](https://github.com/algolia/react-instantsearch/issues/3152)) ([0385cd9](https://github.com/algolia/react-instantsearch/commit/0385cd971635a8423ad687fab451d0778358389e))
119+
- **hooks:** introduce `useSearchBox()` ([#3146](https://github.com/algolia/react-instantsearch/issues/3146)) ([0d2c7f9](https://github.com/algolia/react-instantsearch/commit/0d2c7f9bd25b88cf725a1babd3b228ac804644c7))
103120
- **hooks:** trigger single network request on load ([#3167](https://github.com/algolia/react-instantsearch/issues/3167)) ([ff1ea49](https://github.com/algolia/react-instantsearch/commit/ff1ea49079a7800fd61ba99ceeb74b9f513eb99d))
104-
- **hooks:** type `useConnector` return as render state ([#3169](https://github.com/algolia/react-instantsearch/issues/3169)) ([a801468](https://github.com/algolia/react-instantsearch/commit/a80146860164a092d2c90ee0aa4fcef88d5b675f))
121+
- **hooks:** type `useConnector()` return as render state ([#3169](https://github.com/algolia/react-instantsearch/issues/3169)) ([a801468](https://github.com/algolia/react-instantsearch/commit/a80146860164a092d2c90ee0aa4fcef88d5b675f))
105122
- **hooks:** update GitHub bug reports link ([#3157](https://github.com/algolia/react-instantsearch/issues/3157)) ([568b5c8](https://github.com/algolia/react-instantsearch/commit/568b5c83849a3927417907706656c3835163f216))
106123

107124

examples/autocomplete/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "example-autocomplete",
3-
"version": "6.19.0",
3+
"version": "6.20.0",
44
"private": true,
55
"license": "MIT",
66
"scripts": {
@@ -20,7 +20,7 @@
2020
"react": "17.0.2",
2121
"react-autosuggest": "9.4.3",
2222
"react-dom": "17.0.2",
23-
"react-instantsearch-dom": "6.19.0"
23+
"react-instantsearch-dom": "6.20.0"
2424
},
2525
"browserslist": [
2626
">0.2%",
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
{
22
"name": "algolia-theme",
3-
"version": "6.19.0",
3+
"version": "6.20.0",
44
"private": true,
55
"dependencies": {
66
"algoliasearch": "4.11.0",
77
"qs": "6.8.0",
88
"react": "17.0.2",
99
"react-dom": "17.0.2",
10-
"react-instantsearch-dom": "6.19.0"
10+
"react-instantsearch-dom": "6.20.0"
1111
}
1212
}

examples/e-commerce/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-instantsearch-e-commerce",
3-
"version": "6.19.0",
3+
"version": "6.20.0",
44
"private": true,
55
"dependencies": {
66
"algoliasearch": "4.11.0",
@@ -9,6 +9,6 @@
99
"react": "17.0.2",
1010
"react-compound-slider": "2.2.0",
1111
"react-dom": "17.0.2",
12-
"react-instantsearch-dom": "6.19.0"
12+
"react-instantsearch-dom": "6.20.0"
1313
}
1414
}

examples/geo-search/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "example-geo-search",
3-
"version": "6.19.0",
3+
"version": "6.20.0",
44
"private": true,
55
"license": "MIT",
66
"scripts": {
@@ -18,8 +18,8 @@
1818
"qs": "6.8.0",
1919
"react": "17.0.2",
2020
"react-dom": "17.0.2",
21-
"react-instantsearch-dom": "6.19.0",
22-
"react-instantsearch-dom-maps": "6.19.0"
21+
"react-instantsearch-dom": "6.20.0",
22+
"react-instantsearch-dom-maps": "6.20.0"
2323
},
2424
"browserslist": [
2525
">0.2%",

examples/hooks-next/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "hooks-next-example",
3-
"version": "6.19.0",
3+
"version": "6.20.0",
44
"private": true,
55
"scripts": {
66
"dev": "next dev",
@@ -14,8 +14,8 @@
1414
"next": "12.0.7",
1515
"react": "17.0.2",
1616
"react-dom": "17.0.2",
17-
"react-instantsearch-hooks": "6.19.0",
18-
"react-instantsearch-hooks-server": "6.19.0"
17+
"react-instantsearch-hooks": "6.20.0",
18+
"react-instantsearch-hooks-server": "6.20.0"
1919
},
2020
"devDependencies": {
2121
"@types/react": "^17.0.37",

examples/hooks-ssr/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "hooks-ssr-example",
3-
"version": "6.19.0",
3+
"version": "6.20.0",
44
"private": true,
55
"license": "MIT",
66
"scripts": {
@@ -26,7 +26,7 @@
2626
"express": "4.17.1",
2727
"react": "17.0.2",
2828
"react-dom": "17.0.2",
29-
"react-instantsearch-hooks": "6.19.0",
30-
"react-instantsearch-hooks-server": "6.19.0"
29+
"react-instantsearch-hooks": "6.20.0",
30+
"react-instantsearch-hooks-server": "6.20.0"
3131
}
3232
}

examples/hooks/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "hooks-example",
3-
"version": "6.19.0",
3+
"version": "6.20.0",
44
"private": true,
55
"scripts": {
66
"build": "parcel build index.html",
@@ -11,7 +11,7 @@
1111
"instantsearch.js": "4.37.1",
1212
"react": "17.0.2",
1313
"react-dom": "17.0.2",
14-
"react-instantsearch-hooks": "6.19.0"
14+
"react-instantsearch-hooks": "6.20.0"
1515
},
1616
"devDependencies": {
1717
"parcel": "2.0.0-beta.1"

examples/media/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
{
22
"name": "media",
3-
"version": "6.19.0",
3+
"version": "6.20.0",
44
"private": true,
55
"dependencies": {
66
"algoliasearch": "4.11.0",
77
"qs": "6.8.0",
88
"react": "17.0.2",
99
"react-dom": "17.0.2",
10-
"react-instantsearch-dom": "6.19.0"
10+
"react-instantsearch-dom": "6.20.0"
1111
}
1212
}

examples/multi-index/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "example-multi-index",
3-
"version": "6.19.0",
3+
"version": "6.20.0",
44
"private": true,
55
"license": "MIT",
66
"scripts": {
@@ -17,7 +17,7 @@
1717
"instantsearch.css": "7.4.5",
1818
"react": "17.0.2",
1919
"react-dom": "17.0.2",
20-
"react-instantsearch-dom": "6.19.0"
20+
"react-instantsearch-dom": "6.20.0"
2121
},
2222
"browserslist": [
2323
">0.2%",

0 commit comments

Comments
 (0)