@bridgeline-digital/hawksearch-handlebars-ui 6.3.2 → 6.3.4-beta.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,353 +1,366 @@
1
- # 6.3.2
2
-
3
- ## Enhancements
4
-
5
- 1. Support .avif file format on VisualSearch.
6
- 2. Add configurable search debounce on Searchfield component.
7
-
8
- # 6.3.1
9
-
10
- ## Enhancements
11
-
12
- 1. Fix rendering percentage`(%)` symcol correctly when displaying Autocomplete results.
13
-
14
- # 6.3.0
15
-
16
- # Enhancements
17
-
18
- 1. Added Unified Search component `hawksearch-unifiedsearch-field` that allows Keyword and Concept search simultaneously.
19
- 2. Support multiple rotating placeholder examples with a typing-out effect on searchbar components: `search-field`, `conceptsearch-field`, `imagesearch-field` and `unified-search`.
20
- 3. Multiple performance and stability improvements.
21
-
22
- # 6.2.10
23
-
24
- ## Enhancements
25
-
26
- 1. Provide additional Result Item parameters on `hawksearch:conversationalsearch` component.
27
-
28
- # 6.2.9
29
-
30
- ## Fixes
31
-
32
- 1. Fix consistency issues when reading and writing `queryStringParams` on custom implementations.
33
-
34
- # 6.2.8
35
-
36
- ## Fixes
37
-
38
- 1. Update `hawksearch-autocomplete` default template to also render Suggested Product/Content without categories.
39
-
40
- # 6.2.6
41
-
42
- ## Fixes
43
-
44
- 1. Prevent `queryStringParams` being overriden when generating a SearchUrl with custom query parameters.
45
-
46
- # 6.2.5
47
-
48
- ## Fixes
49
-
50
- 1. Fix issue where VisualSearch queries would append on Search URL.
51
-
52
- # 6.2.4
53
-
54
- ## Enhancements
55
-
56
- 1. Added `hawksearch:visualsearch-upload-failed` event hooks on VisualSearch component to better handle errors when uploading images.
57
-
58
- ## Fixes
59
-
60
- 1. Fix issue where workbench layout options are inconsistent when rendering Recommendation component.
61
-
62
- # 6.2.3
63
-
64
- ## Fixes
65
-
66
- 1. Fix issue where recent queries are not decoded.
67
-
68
- # 6.2.2
69
-
70
- ## Fixes
71
-
72
- 1. Fixed bug in tracking API when clicking an item.
73
-
74
- # 6.2.1
75
-
76
- ## Enhancements
77
-
78
- 1. Modified SearchService so that `hawksearch:search-failed` event fires before if the search fails due to any error.
79
-
80
- # 6.2.0
81
-
82
- ## Enhancements
83
-
84
- 1. Added Conversational Search component `hawksearch-conversationalsearch` that allows thread maintained prompt driven search.
85
- 2. Added SmartResponse component `hawksearch-smartresponse` that allows prompt driven analysis of search results.
86
-
87
- # 6.1.13
88
-
89
- ## Bug Fixes
90
-
91
- 1. Resolved an issue where changing the page size retained the previous pagination page, resulting in zero records displayed.
92
-
93
- # 6.1.12
94
-
95
- ## Enhancements
96
-
97
- 1. Pagination links contains all query params, so facets and filters remain consistent when opening multiple pages in new tabs.
98
-
99
- # 6.1.10
100
-
101
- ## Enhancements
102
-
103
- 1. Suggest `Popular Searches` on Autocomplete popup without needing products or Categories to match the query.
104
-
105
- # 6.1.9
106
-
107
- ## Enhancements
108
-
109
- 1. Make decodeQuery and decodeFacetValue defaults to true on Search and Autocomplete services.
110
-
111
- ## Bug Fixes
112
-
113
- 1. Fix issue where facets and categories on Autocomplete popup are not decoded.
114
-
115
- # 6.1.8
116
-
117
- ## Bug Fixes
118
-
119
- 1. Fix issue whererange facet not working when currency or number are false.
120
-
121
- # 6.1.7
122
-
123
- ## Enhancements
124
-
125
- 1. Added `HawkSearch.config.components.['search-field'].disableAutofill` property with a default value of `false` to Specify whether the input element should be pre-populared if "query" parameter exists on the URL.
126
-
127
- # 6.1.4
128
-
129
- ## Bug Fixes
130
-
131
- 1. Fixed bug with Quick Lookup filtering not handling special characters correctly, e.g. '(',')', etc
132
-
133
- # 6.1.3
134
-
135
- ## Enhancements
136
-
137
- 1. Added new icons `send` and `reset`
138
-
139
- # 6.1.2
140
-
141
- ## Enhancements
142
-
143
- 1. Added new icon `message`
144
-
145
- # 6.1.1
146
-
147
- ## Enhancements
148
-
149
- 1. Added new icons as `hawksearch-icon` components
150
-
151
- # 6.1.0
152
-
153
- ## Enhancements
154
-
155
- 1. Added smart search component `hawksearch-visualsearch-field` to search using images to find other similar images
156
- 2. Added smart search component `hawksearch-imagesearch-field` to search using a text-based query and finds the most relevant images based on the text provided
157
- 3. Added smart search component `hawksearch-conceptsearch-field` to search using a sentence or a concept and finds the most relevant results based on the text provided
158
-
159
- # 6.0.0
160
-
161
- ## Enhancements
162
-
163
- 1. Build output now generated by Vite instead of Webpack
164
- 2. External assets such as default CSS and icons are now bundled directly in JavaScript file to minimize the number of HTTP requests
165
- 3. Build output now contains cjs, es, and umd formats along with typing to allow custom implementations to reference this as a libary
166
- 4. Changed TypeDoc theme to support latest version of Typedoc and allow bundling in npm package
167
- 5. Added support for storing custom templates in `script` as an alternative to `template` elements for greater flexibility and avoiding some edge case browser issues
168
- 6. Tests added and executed by `vitest`
169
-
170
- ## Bug Fixes
171
-
172
- 1. Prevented "empty" range facets from displaying when facet configuration is incorrect
173
- 2. Add decodeURI helper for Templates
174
-
175
- ## Breaking Changes
176
-
177
- 1. Hawksearch configuration requires executing the `HawkSearch.init` function which should be triggered after `hawksearch:loaded` event
178
-
179
- # 5.2.5
180
-
181
- ## New Features
182
-
183
- 1. Suggest `Popular Searches` on Autocomplete popup without needing products or Categories to match the query.
184
-
185
- # 5.2.4
186
-
187
- ## New Features
188
-
189
- 1. Make `decodeQuery` and `decodeFacetValue` defaults to `true` on Search and Autocomplete services.
190
-
191
- ## Bug Fixes
192
-
193
- 1. Fix issue where facets and categories on Autocomplete popup are not decoded.
194
-
195
- # 5.2.3
196
-
197
- ## Bug Fixes
198
-
199
- 1. Fix issue where facets and categories on Autocomplete popup are not decoded.
200
-
201
- # 5.2.2
202
-
203
- ## New Features
204
-
205
- 1. Added `HawkSearch.config.components.['search-field'].disableAutofill` property with a default value of `false` to Specify whether the input element should be pre-populared if "query" parameter exists on the URL.
206
-
207
- # 5.2.1
208
-
209
- ## Bug Fixes
210
-
211
- 1. Added support to successfully upgrade v5.1.x implementations
212
-
213
- ## Breaking Changes
214
-
215
- 1. Prevents implementations of components in v6, e.g. ConceptSearch, VisualSearch, ImageSearch
216
-
217
- # 5.0.19
218
-
219
- ## Bug Fixes
220
-
221
- 1. Fixed bug with Quick Lookup filtering not handling special characters correctly, e.g. '(',')', etc
222
-
223
- # 5.0.17
224
-
225
- ## Enhancements
226
-
227
- 1. Added `HawkSearch.config.autocomplete.minCharacterCount` property with a default value of `1` to specify the minimum length of a query before triggering autocomplete recommendations
228
-
229
- # 5.0.16
230
-
231
- ## Enhancements
232
-
233
- 1. Add support for script elements for custom templates
234
- 2. Added support for content result images in default templates
235
-
236
- ## Bug Fixes
237
-
238
- 1. Added check to not display range facets that do not have range data (from API bug)
239
-
240
- # 5.0.15
241
-
242
- ## Bug Fixes
243
-
244
- 1. Fixed bug with QueryString not adding correct param names when same facet parents are selected
245
-
246
- # 5.0.1
247
-
248
- ## Bug Fixes
249
-
250
- 1. Fixed bug in API endpoint construction when overriding the default `endpointUrl` for Autocomplete
251
-
252
- # 5.0.0
253
-
254
- ## Enhancements
255
-
256
- 1. Added VariantSelectorComponent
257
- 2. Implemented VariantSelectorComponent in default templates for search results, featured items, recommendations, and autocomplete
258
-
259
- ## Bug Fixes
260
-
261
- 1. Updated the `attributes` collection on recommendation items to split single string values by `|^|` into string arrays
262
- 2. Added logic to catch HTTP errors in service layer
263
-
264
- ## Breaking Changes
265
-
266
- 1. Modified JSON structure for field mapping configuration
267
- 2. The `attributes` collection on recommendation items now consists of the data in `customDict` from the API response rather than preserving `customDict` as a nested property
268
-
269
- # 4.0.4
270
-
271
- 1. Modified RecommendationsService to transform response properties into arrays to be consistent with search results and autocomplete
272
- 2. Modified `attributes` property on `RecommendationsItem` to include only the properties from `customDict` on the API response. The other properties from the response are standard so repeating them under `attributes` does not make sense.
273
- 3. Fixed bug with autocomplete top categories links not working when not on search results page
274
- 4. Fixed parameter name in order tracking event data
275
-
276
- # 4.0.3
277
-
278
- 1. Fixed URL parsing logic to avoid prepending domain when API returns a value starting with `//`
279
-
280
- # 4.0.2
281
-
282
- 1. Updated `number` and `currency` Handlebars helpers to handle string values from API and made decimals parameter optional
283
-
284
- # 4.0.1
285
-
286
- 1. Modified SearchService so that `hawksearch:after-search-completed` event fires before SEO elements are set
287
-
288
- # 4.0.0
289
-
290
- ## Enhancements
291
-
292
- 1. Added `HawkSearch.config.autocomplete.recommendationsEnabled` property with a default value of `false` to toggle autocomplete recommendations (instant engage)
293
- 2. Added new RatingComponent to be displayed on SearchResultsItemComponent, RecommendationsItemComponent, and FeaturedItemsContentItemComponent.
294
- 3. Added product ratings and prices to autocomplete
295
- 4. Added suggested queries (did you mean?) to autocomplete
296
-
297
- ## Bug Fixes
298
-
299
- 1. Converting `price` and `salePrice` values of 0 to `undefined`
300
- 2. Fixed price rendering logic in default templates of SearchResultsItemComponent, RecommendationsItemComponent, and FeaturedItemsContentItemComponent
301
-
302
- ## Breaking Changes
303
-
304
- 1. Refactored HawkSearchConfig structure to group properties by search, autocomplete, and recommendations. Some property names have changed slightly.
305
- 2. Modified endpoints configuration to expect only domain rather than full API URL
306
-
307
- # 3.0.0
308
-
309
- ## Enhancements
310
-
311
- 1. Added support for A/B testing in Recommendations component
312
- 2. Added support for default autocomplete without entering a query
313
- 3. Modified autocomplete to display when refocusing on search field
314
- 4. Added optional `item-id` attribute to Recommendations component
315
- 5. Added instance-level configuration overrides through `config` attribute or `configOverride` property
316
-
317
- ## Bug Fixes
318
-
319
- 1. Fixed script file name and configuration link in documentation
320
- 2. Fixed bug requiring double-click to expand facet that is collapsed by default
321
-
322
- ## Breaking Changes
323
-
324
- 1. Removed unused option to define custom component template as child content of tag to provide future possibility of using slots or declarative Shadow DOM
325
-
326
- # 2.0.0
327
-
328
- ## Enhancements
329
-
330
- 1. Added Landing Pages components
331
- 2. Added Recommendations components
332
- 3. Added component-level configuration to support functionality toggles and easy string replacements
333
- 4. Added `hawksearch:before-${componentName}-rendered` event hooks to support passing custom data to Handlebars templates
334
- 5. Added configuration setting to toggle facet exclude value functionality. This is now disabled by default.
335
- 6. Added ability to load CSS styles without requiring an external stylesheet
336
- 7. Added customizable index to search results, autocomplete, and recommendations requests
337
- 8. Added ability to set product as default search results item type
338
- 9. Added alternate `[[value]]` syntax to work the same as the default Handlerbars `{{value}}` syntax to avoid conflicts when customizing templates within BigCommerce
339
- 10. Added support for nested object properties in field mappings
340
- 11. Added rendering of canonical URL including search refinements
341
- 12. Added configurable facet exclusion prefix
342
- 13. Implemented TypeDoc code-generated documentation to ensure it remains up-to-date and available for each version
343
-
344
- ## Bug Fixes
345
-
346
- 1. Fixed Autocomplete template name
347
- 2. Added logic to handle scrolling facets by setting a max-height in default template
348
-
349
- ## Breaking Changes
350
-
351
- 1. Changed entry file from `hawksearch-handlebars-ui.js` to `index.js`
352
- 2. Renamed `Hawksearch` global object to `HawkSearch`
353
- 3. Changes to `HawkSearch.config` model to support enhancements
1
+ # 6.3.4
2
+
3
+ ## Enhancements
4
+
5
+ 1. Allowing image searches to function when initiated from the home page or other non-search pages.
6
+ 2. Converting .avif file to jpeg
7
+
8
+ # 6.3.3
9
+
10
+ ## Enhancements
11
+
12
+ 1. Update documentation.
13
+
14
+ # 6.3.2
15
+
16
+ ## Enhancements
17
+
18
+ 1. Support .avif file format on VisualSearch.
19
+ 2. Add configurable search debounce on Searchfield component.
20
+
21
+ # 6.3.1
22
+
23
+ ## Enhancements
24
+
25
+ 1. Fix rendering percentage`(%)` symcol correctly when displaying Autocomplete results.
26
+
27
+ # 6.3.0
28
+
29
+ # Enhancements
30
+
31
+ 1. Added Unified Search component `hawksearch-unifiedsearch-field` that allows Keyword and Concept search simultaneously.
32
+ 2. Support multiple rotating placeholder examples with a typing-out effect on searchbar components: `search-field`, `conceptsearch-field`, `imagesearch-field` and `unified-search`.
33
+ 3. Multiple performance and stability improvements.
34
+
35
+ # 6.2.10
36
+
37
+ ## Enhancements
38
+
39
+ 1. Provide additional Result Item parameters on `hawksearch:conversationalsearch` component.
40
+
41
+ # 6.2.9
42
+
43
+ ## Fixes
44
+
45
+ 1. Fix consistency issues when reading and writing `queryStringParams` on custom implementations.
46
+
47
+ # 6.2.8
48
+
49
+ ## Fixes
50
+
51
+ 1. Update `hawksearch-autocomplete` default template to also render Suggested Product/Content without categories.
52
+
53
+ # 6.2.6
54
+
55
+ ## Fixes
56
+
57
+ 1. Prevent `queryStringParams` being overriden when generating a SearchUrl with custom query parameters.
58
+
59
+ # 6.2.5
60
+
61
+ ## Fixes
62
+
63
+ 1. Fix issue where VisualSearch queries would append on Search URL.
64
+
65
+ # 6.2.4
66
+
67
+ ## Enhancements
68
+
69
+ 1. Added `hawksearch:visualsearch-upload-failed` event hooks on VisualSearch component to better handle errors when uploading images.
70
+
71
+ ## Fixes
72
+
73
+ 1. Fix issue where workbench layout options are inconsistent when rendering Recommendation component.
74
+
75
+ # 6.2.3
76
+
77
+ ## Fixes
78
+
79
+ 1. Fix issue where recent queries are not decoded.
80
+
81
+ # 6.2.2
82
+
83
+ ## Fixes
84
+
85
+ 1. Fixed bug in tracking API when clicking an item.
86
+
87
+ # 6.2.1
88
+
89
+ ## Enhancements
90
+
91
+ 1. Modified SearchService so that `hawksearch:search-failed` event fires before if the search fails due to any error.
92
+
93
+ # 6.2.0
94
+
95
+ ## Enhancements
96
+
97
+ 1. Added Conversational Search component `hawksearch-conversationalsearch` that allows thread maintained prompt driven search.
98
+ 2. Added SmartResponse component `hawksearch-smartresponse` that allows prompt driven analysis of search results.
99
+
100
+ # 6.1.13
101
+
102
+ ## Bug Fixes
103
+
104
+ 1. Resolved an issue where changing the page size retained the previous pagination page, resulting in zero records displayed.
105
+
106
+ # 6.1.12
107
+
108
+ ## Enhancements
109
+
110
+ 1. Pagination links contains all query params, so facets and filters remain consistent when opening multiple pages in new tabs.
111
+
112
+ # 6.1.10
113
+
114
+ ## Enhancements
115
+
116
+ 1. Suggest `Popular Searches` on Autocomplete popup without needing products or Categories to match the query.
117
+
118
+ # 6.1.9
119
+
120
+ ## Enhancements
121
+
122
+ 1. Make decodeQuery and decodeFacetValue defaults to true on Search and Autocomplete services.
123
+
124
+ ## Bug Fixes
125
+
126
+ 1. Fix issue where facets and categories on Autocomplete popup are not decoded.
127
+
128
+ # 6.1.8
129
+
130
+ ## Bug Fixes
131
+
132
+ 1. Fix issue whererange facet not working when currency or number are false.
133
+
134
+ # 6.1.7
135
+
136
+ ## Enhancements
137
+
138
+ 1. Added `HawkSearch.config.components.['search-field'].disableAutofill` property with a default value of `false` to Specify whether the input element should be pre-populared if "query" parameter exists on the URL.
139
+
140
+ # 6.1.4
141
+
142
+ ## Bug Fixes
143
+
144
+ 1. Fixed bug with Quick Lookup filtering not handling special characters correctly, e.g. '(',')', etc
145
+
146
+ # 6.1.3
147
+
148
+ ## Enhancements
149
+
150
+ 1. Added new icons `send` and `reset`
151
+
152
+ # 6.1.2
153
+
154
+ ## Enhancements
155
+
156
+ 1. Added new icon `message`
157
+
158
+ # 6.1.1
159
+
160
+ ## Enhancements
161
+
162
+ 1. Added new icons as `hawksearch-icon` components
163
+
164
+ # 6.1.0
165
+
166
+ ## Enhancements
167
+
168
+ 1. Added smart search component `hawksearch-visualsearch-field` to search using images to find other similar images
169
+ 2. Added smart search component `hawksearch-imagesearch-field` to search using a text-based query and finds the most relevant images based on the text provided
170
+ 3. Added smart search component `hawksearch-conceptsearch-field` to search using a sentence or a concept and finds the most relevant results based on the text provided
171
+
172
+ # 6.0.0
173
+
174
+ ## Enhancements
175
+
176
+ 1. Build output now generated by Vite instead of Webpack
177
+ 2. External assets such as default CSS and icons are now bundled directly in JavaScript file to minimize the number of HTTP requests
178
+ 3. Build output now contains cjs, es, and umd formats along with typing to allow custom implementations to reference this as a libary
179
+ 4. Changed TypeDoc theme to support latest version of Typedoc and allow bundling in npm package
180
+ 5. Added support for storing custom templates in `script` as an alternative to `template` elements for greater flexibility and avoiding some edge case browser issues
181
+ 6. Tests added and executed by `vitest`
182
+
183
+ ## Bug Fixes
184
+
185
+ 1. Prevented "empty" range facets from displaying when facet configuration is incorrect
186
+ 2. Add decodeURI helper for Templates
187
+
188
+ ## Breaking Changes
189
+
190
+ 1. Hawksearch configuration requires executing the `HawkSearch.init` function which should be triggered after `hawksearch:loaded` event
191
+
192
+ # 5.2.5
193
+
194
+ ## New Features
195
+
196
+ 1. Suggest `Popular Searches` on Autocomplete popup without needing products or Categories to match the query.
197
+
198
+ # 5.2.4
199
+
200
+ ## New Features
201
+
202
+ 1. Make `decodeQuery` and `decodeFacetValue` defaults to `true` on Search and Autocomplete services.
203
+
204
+ ## Bug Fixes
205
+
206
+ 1. Fix issue where facets and categories on Autocomplete popup are not decoded.
207
+
208
+ # 5.2.3
209
+
210
+ ## Bug Fixes
211
+
212
+ 1. Fix issue where facets and categories on Autocomplete popup are not decoded.
213
+
214
+ # 5.2.2
215
+
216
+ ## New Features
217
+
218
+ 1. Added `HawkSearch.config.components.['search-field'].disableAutofill` property with a default value of `false` to Specify whether the input element should be pre-populared if "query" parameter exists on the URL.
219
+
220
+ # 5.2.1
221
+
222
+ ## Bug Fixes
223
+
224
+ 1. Added support to successfully upgrade v5.1.x implementations
225
+
226
+ ## Breaking Changes
227
+
228
+ 1. Prevents implementations of components in v6, e.g. ConceptSearch, VisualSearch, ImageSearch
229
+
230
+ # 5.0.19
231
+
232
+ ## Bug Fixes
233
+
234
+ 1. Fixed bug with Quick Lookup filtering not handling special characters correctly, e.g. '(',')', etc
235
+
236
+ # 5.0.17
237
+
238
+ ## Enhancements
239
+
240
+ 1. Added `HawkSearch.config.autocomplete.minCharacterCount` property with a default value of `1` to specify the minimum length of a query before triggering autocomplete recommendations
241
+
242
+ # 5.0.16
243
+
244
+ ## Enhancements
245
+
246
+ 1. Add support for script elements for custom templates
247
+ 2. Added support for content result images in default templates
248
+
249
+ ## Bug Fixes
250
+
251
+ 1. Added check to not display range facets that do not have range data (from API bug)
252
+
253
+ # 5.0.15
254
+
255
+ ## Bug Fixes
256
+
257
+ 1. Fixed bug with QueryString not adding correct param names when same facet parents are selected
258
+
259
+ # 5.0.1
260
+
261
+ ## Bug Fixes
262
+
263
+ 1. Fixed bug in API endpoint construction when overriding the default `endpointUrl` for Autocomplete
264
+
265
+ # 5.0.0
266
+
267
+ ## Enhancements
268
+
269
+ 1. Added VariantSelectorComponent
270
+ 2. Implemented VariantSelectorComponent in default templates for search results, featured items, recommendations, and autocomplete
271
+
272
+ ## Bug Fixes
273
+
274
+ 1. Updated the `attributes` collection on recommendation items to split single string values by `|^|` into string arrays
275
+ 2. Added logic to catch HTTP errors in service layer
276
+
277
+ ## Breaking Changes
278
+
279
+ 1. Modified JSON structure for field mapping configuration
280
+ 2. The `attributes` collection on recommendation items now consists of the data in `customDict` from the API response rather than preserving `customDict` as a nested property
281
+
282
+ # 4.0.4
283
+
284
+ 1. Modified RecommendationsService to transform response properties into arrays to be consistent with search results and autocomplete
285
+ 2. Modified `attributes` property on `RecommendationsItem` to include only the properties from `customDict` on the API response. The other properties from the response are standard so repeating them under `attributes` does not make sense.
286
+ 3. Fixed bug with autocomplete top categories links not working when not on search results page
287
+ 4. Fixed parameter name in order tracking event data
288
+
289
+ # 4.0.3
290
+
291
+ 1. Fixed URL parsing logic to avoid prepending domain when API returns a value starting with `//`
292
+
293
+ # 4.0.2
294
+
295
+ 1. Updated `number` and `currency` Handlebars helpers to handle string values from API and made decimals parameter optional
296
+
297
+ # 4.0.1
298
+
299
+ 1. Modified SearchService so that `hawksearch:after-search-completed` event fires before SEO elements are set
300
+
301
+ # 4.0.0
302
+
303
+ ## Enhancements
304
+
305
+ 1. Added `HawkSearch.config.autocomplete.recommendationsEnabled` property with a default value of `false` to toggle autocomplete recommendations (instant engage)
306
+ 2. Added new RatingComponent to be displayed on SearchResultsItemComponent, RecommendationsItemComponent, and FeaturedItemsContentItemComponent.
307
+ 3. Added product ratings and prices to autocomplete
308
+ 4. Added suggested queries (did you mean?) to autocomplete
309
+
310
+ ## Bug Fixes
311
+
312
+ 1. Converting `price` and `salePrice` values of 0 to `undefined`
313
+ 2. Fixed price rendering logic in default templates of SearchResultsItemComponent, RecommendationsItemComponent, and FeaturedItemsContentItemComponent
314
+
315
+ ## Breaking Changes
316
+
317
+ 1. Refactored HawkSearchConfig structure to group properties by search, autocomplete, and recommendations. Some property names have changed slightly.
318
+ 2. Modified endpoints configuration to expect only domain rather than full API URL
319
+
320
+ # 3.0.0
321
+
322
+ ## Enhancements
323
+
324
+ 1. Added support for A/B testing in Recommendations component
325
+ 2. Added support for default autocomplete without entering a query
326
+ 3. Modified autocomplete to display when refocusing on search field
327
+ 4. Added optional `item-id` attribute to Recommendations component
328
+ 5. Added instance-level configuration overrides through `config` attribute or `configOverride` property
329
+
330
+ ## Bug Fixes
331
+
332
+ 1. Fixed script file name and configuration link in documentation
333
+ 2. Fixed bug requiring double-click to expand facet that is collapsed by default
334
+
335
+ ## Breaking Changes
336
+
337
+ 1. Removed unused option to define custom component template as child content of tag to provide future possibility of using slots or declarative Shadow DOM
338
+
339
+ # 2.0.0
340
+
341
+ ## Enhancements
342
+
343
+ 1. Added Landing Pages components
344
+ 2. Added Recommendations components
345
+ 3. Added component-level configuration to support functionality toggles and easy string replacements
346
+ 4. Added `hawksearch:before-${componentName}-rendered` event hooks to support passing custom data to Handlebars templates
347
+ 5. Added configuration setting to toggle facet exclude value functionality. This is now disabled by default.
348
+ 6. Added ability to load CSS styles without requiring an external stylesheet
349
+ 7. Added customizable index to search results, autocomplete, and recommendations requests
350
+ 8. Added ability to set product as default search results item type
351
+ 9. Added alternate `[[value]]` syntax to work the same as the default Handlerbars `{{value}}` syntax to avoid conflicts when customizing templates within BigCommerce
352
+ 10. Added support for nested object properties in field mappings
353
+ 11. Added rendering of canonical URL including search refinements
354
+ 12. Added configurable facet exclusion prefix
355
+ 13. Implemented TypeDoc code-generated documentation to ensure it remains up-to-date and available for each version
356
+
357
+ ## Bug Fixes
358
+
359
+ 1. Fixed Autocomplete template name
360
+ 2. Added logic to handle scrolling facets by setting a max-height in default template
361
+
362
+ ## Breaking Changes
363
+
364
+ 1. Changed entry file from `hawksearch-handlebars-ui.js` to `index.js`
365
+ 2. Renamed `Hawksearch` global object to `HawkSearch`
366
+ 3. Changes to `HawkSearch.config` model to support enhancements