create-instantsearch-app 5.0.0 → 5.0.1
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,58 +1,28 @@
|
|
|
1
|
-
|
|
1
|
+
## [5.0.1](https://github.com/algolia/create-instantsearch-app/compare/5.0.0...5.0.1) (2021-12-02)
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
### Bug Fixes
|
|
5
5
|
|
|
6
|
-
* **dynamicWidgets:**
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
### Code Refactoring
|
|
10
|
-
|
|
11
|
-
* **index:** rewrite answer parsing ([#541](https://github.com/algolia/create-instantsearch-app/issues/541)) ([efd2799](https://github.com/algolia/create-instantsearch-app/commit/efd279943e23545c3c0806f8e9632ae32c83c0d6))
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
### BREAKING CHANGES
|
|
15
|
-
|
|
16
|
-
* **index:** the program now asks questions if some of the parameters are sent via arguments. Before this, giving an argument would cause it not to ask any questions anymore, even if they still would be useful. You can avoid this behaviour by passing --config or --no-interactive
|
|
17
|
-
|
|
18
|
-
* postprocess answers
|
|
19
|
-
|
|
20
|
-
* e2e installs should not have any asked questions
|
|
6
|
+
* **dynamicWidgets:** allow only dynamicWidgets as attribute ([3717de6](https://github.com/algolia/create-instantsearch-app/commit/3717de6fc5811c191629d366988dcc2e05773a9c))
|
|
21
7
|
|
|
22
|
-
* make e2e build test pass
|
|
23
8
|
|
|
24
|
-
* more info
|
|
25
9
|
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
* refactor: validate appPath like appName
|
|
29
|
-
|
|
30
|
-
* error for empty string path
|
|
31
|
-
|
|
32
|
-
* clean lockfile
|
|
33
|
-
|
|
34
|
-
* refactor initial questions
|
|
35
|
-
|
|
36
|
-
* silently check for existing answers on appName
|
|
37
|
-
|
|
38
|
-
* don't ask initial questions if config is set
|
|
10
|
+
# [5.0.0](https://github.com/algolia/create-instantsearch-app/compare/4.11.1...5.0.0) (2021-12-02)
|
|
39
11
|
|
|
40
|
-
* introduce --no-interactive, mostly for test
|
|
41
12
|
|
|
42
|
-
|
|
13
|
+
### Bug Fixes
|
|
43
14
|
|
|
44
|
-
*
|
|
15
|
+
* **dynamicWidgets:** prevent "ais.dynamicWidgets" attribute showing up ([#542](https://github.com/algolia/create-instantsearch-app/issues/542)) ([559f705](https://github.com/algolia/create-instantsearch-app/commit/559f705ebcef48a3794efd7a588abd187d6642c9))
|
|
45
16
|
|
|
46
|
-
* undo change
|
|
47
17
|
|
|
48
|
-
|
|
18
|
+
### Code Refactoring
|
|
49
19
|
|
|
50
|
-
*
|
|
20
|
+
* **index:** rewrite answer parsing ([#541](https://github.com/algolia/create-instantsearch-app/issues/541)) ([efd2799](https://github.com/algolia/create-instantsearch-app/commit/efd279943e23545c3c0806f8e9632ae32c83c0d6))
|
|
51
21
|
|
|
52
|
-
* cover initialQuestions in tests
|
|
53
22
|
|
|
54
|
-
|
|
23
|
+
### BREAKING CHANGES
|
|
55
24
|
|
|
25
|
+
the program now asks questions if some of the parameters are sent via arguments. Before this, giving an argument would cause it not to ask any questions anymore, even if they still would be useful. You can avoid this behaviour by passing --config or --no-interactive
|
|
56
26
|
|
|
57
27
|
|
|
58
28
|
## [4.11.1](https://github.com/algolia/create-instantsearch-app/compare/4.11.0...4.11.1) (2021-11-18)
|
package/package.json
CHANGED
|
@@ -31,7 +31,6 @@
|
|
|
31
31
|
|
|
32
32
|
<div class="container">
|
|
33
33
|
<div class="search-panel">
|
|
34
|
-
{{#if attributesForFaceting}}
|
|
35
34
|
<div class="search-panel__filters">
|
|
36
35
|
{{#if flags.dynamicWidgets}}
|
|
37
36
|
<div id="dynamic-widgets"></div>
|
|
@@ -42,7 +41,6 @@
|
|
|
42
41
|
{{/if}}
|
|
43
42
|
</div>
|
|
44
43
|
|
|
45
|
-
{{/if}}
|
|
46
44
|
<div class="search-panel__results">
|
|
47
45
|
<div id="searchbox"></div>
|
|
48
46
|
<div id="hits"></div>
|
|
@@ -39,7 +39,6 @@ function App() {
|
|
|
39
39
|
<div className="container">
|
|
40
40
|
<InstantSearch searchClient={searchClient} indexName="{{indexName}}">
|
|
41
41
|
<div className="search-panel">
|
|
42
|
-
{{#if attributesForFaceting}}
|
|
43
42
|
<div className="search-panel__filters">
|
|
44
43
|
{{#if flags.dynamicWidgets}}
|
|
45
44
|
<Configure facets={['*']} maxValuesPerFacet={20} />
|
|
@@ -55,7 +54,6 @@ function App() {
|
|
|
55
54
|
{{/if}}
|
|
56
55
|
</div>
|
|
57
56
|
|
|
58
|
-
{{/if}}
|
|
59
57
|
<div className="search-panel__results">
|
|
60
58
|
<SearchBox
|
|
61
59
|
className="searchbox"
|
|
@@ -17,7 +17,6 @@
|
|
|
17
17
|
<div class="container">
|
|
18
18
|
<ais-instant-search :search-client="searchClient" index-name="{{indexName}}">
|
|
19
19
|
<div class="search-panel">
|
|
20
|
-
{{#if attributesForFaceting.length}}
|
|
21
20
|
<div class="search-panel__filters">
|
|
22
21
|
{{#if flags.dynamicWidgets}}
|
|
23
22
|
<ais-configure :facets="['*']" :max-values-per-facet.camel="20" />
|
|
@@ -33,7 +32,6 @@
|
|
|
33
32
|
{{/if}}
|
|
34
33
|
</div>
|
|
35
34
|
|
|
36
|
-
{{/if}}
|
|
37
35
|
<div class="search-panel__results">
|
|
38
36
|
<div class="searchbox">
|
|
39
37
|
<ais-search-box placeholder="{{searchPlaceholder}}" />
|