create-instantsearch-app 5.0.1 → 5.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,12 @@
1
+ # [5.1.0](https://github.com/algolia/create-instantsearch-app/compare/5.0.1...5.1.0) (2021-12-14)
2
+
3
+
4
+ ### Features
5
+
6
+ * **templates:** use non-experimental dynamic widgets ([#544](https://github.com/algolia/create-instantsearch-app/issues/544)) ([efda539](https://github.com/algolia/create-instantsearch-app/commit/efda5395cef7865c7b4cebe741e7ab5e8ea4b2f8))
7
+
8
+
9
+
1
10
  ## [5.0.1](https://github.com/algolia/create-instantsearch-app/compare/5.0.0...5.0.1) (2021-12-02)
2
11
 
3
12
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-instantsearch-app",
3
- "version": "5.0.1",
3
+ "version": "5.1.0",
4
4
  "license": "MIT",
5
5
  "description": "⚡️ Build InstantSearch apps at the speed of thought",
6
6
  "keywords": [
@@ -6,7 +6,7 @@ module.exports = {
6
6
  libraryName: 'react-instantsearch-dom',
7
7
  supportedVersion: '>= 5.0.0 < 7.0.0',
8
8
  flags: {
9
- dynamicWidgets: '>=6.12',
9
+ dynamicWidgets: '>=6.16',
10
10
  },
11
11
  templateName: 'react-instantsearch',
12
12
  appName: 'react-instantsearch-app',
@@ -6,7 +6,7 @@ import {
6
6
  SearchBox,
7
7
  {{#if flags.dynamicWidgets}}
8
8
  Configure,
9
- ExperimentalDynamicWidgets,
9
+ DynamicWidgets,
10
10
  {{/if}}
11
11
  {{#if attributesForFaceting}}
12
12
  RefinementList,
@@ -42,11 +42,11 @@ function App() {
42
42
  <div className="search-panel__filters">
43
43
  {{#if flags.dynamicWidgets}}
44
44
  <Configure facets={['*']} maxValuesPerFacet={20} />
45
- <ExperimentalDynamicWidgets fallbackWidget={RefinementList}>
45
+ <DynamicWidgets fallbackWidget={RefinementList}>
46
46
  {{#each attributesForFaceting}}
47
47
  <RefinementList attribute="{{this}}" />
48
48
  {{/each}}
49
- </ExperimentalDynamicWidgets>
49
+ </DynamicWidgets>
50
50
  {{else}}
51
51
  {{#each attributesForFaceting}}
52
52
  <RefinementList attribute="{{this}}" />
@@ -6,7 +6,7 @@ module.exports = {
6
6
  libraryName: 'vue-instantsearch',
7
7
  supportedVersion: '>= 3.0.0 < 5.0.0',
8
8
  flags: {
9
- dynamicWidgets: '>=3.8.0',
9
+ dynamicWidgets: '>=4.2.0',
10
10
  },
11
11
  templateName: 'vue-instantsearch',
12
12
  appName: 'vue-instantsearch-app',
@@ -20,11 +20,11 @@
20
20
  <div class="search-panel__filters">
21
21
  {{#if flags.dynamicWidgets}}
22
22
  <ais-configure :facets="['*']" :max-values-per-facet.camel="20" />
23
- <ais-experimental-dynamic-widgets>
23
+ <ais-dynamic-widgets>
24
24
  {{#each attributesForFaceting}}
25
25
  <ais-refinement-list attribute="{{this}}" />
26
26
  {{/each}}
27
- </ais-experimental-dynamic-widgets>
27
+ </ais-dynamic-widgets>
28
28
  {{else}}
29
29
  {{#each attributesForFaceting}}
30
30
  <ais-refinement-list attribute="{{this}}" />