@bridgeline-digital/hawksearch-handlebars-ui 6.3.3 → 6.3.4

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