@bridgeline-digital/hawksearch-handlebars-ui 4.0.0-beta.2 → 4.0.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 ADDED
@@ -0,0 +1,66 @@
1
+ # 4.0.0
2
+
3
+ ## New Features
4
+
5
+ 1. Added `HawkSearch.config.autocomplete.recommendationsEnabled` property with a default value of `false` to toggle autocomplete recommendations (instant engage)
6
+ 2. Added new RatingComponent to be displayed on SearchResultsItemComponent, RecommendationsItemComponent, and FeaturedItemsContentItemComponent.
7
+ 3. Added product ratings and prices to autocomplete
8
+ 4. Added suggested queries (did you mean?) to autocomplete
9
+
10
+ ## Bug Fixes
11
+
12
+ 1. Converting `price` and `salePrice` values of 0 to `undefined`
13
+ 2. Fixed price rendering logic in default templates of SearchResultsItemComponent, RecommendationsItemComponent, and FeaturedItemsContentItemComponent
14
+
15
+ ## Breaking Changes
16
+
17
+ 1. Refactored HawkSearchConfig structure to group properties by search, autocomplete, and recommendations. Some property names have changed slightly.
18
+ 2. Modified endpoints configuration to expect only domain rather than full API URL
19
+
20
+ # 3.0.0
21
+
22
+ ## New Features
23
+
24
+ 1. Added support for A/B testing in Recommendations component
25
+ 2. Added support for default autocomplete without entering a query
26
+ 3. Modified autocomplete to display when refocusing on search field
27
+ 4. Added optional `item-id` attribute to Recommendations component
28
+ 5. Added instance-level configuration overrides through `config` attribute or `configOverride` property
29
+
30
+ ## Bug Fixes
31
+
32
+ 1. Fixed script file name and configuration link in documentation
33
+ 2. Fixed bug requiring double-click to expand facet that is collapsed by default
34
+
35
+ ## Breaking Changes
36
+
37
+ 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
38
+
39
+ # 2.0.0
40
+
41
+ ## New Features
42
+
43
+ 1. Added Landing Pages components
44
+ 2. Added Recommendations components
45
+ 3. Added component-level configuration to support functionality toggles and easy string replacements
46
+ 4. Added `hawksearch:before-${componentName}-rendered` event hooks to support passing custom data to Handlebars templates
47
+ 5. Added configuration setting to toggle facet exclude value functionality. This is now disabled by default.
48
+ 6. Added ability to load CSS styles without requiring an external stylesheet
49
+ 7. Added customizable index to search results, autocomplete, and recommendations requests
50
+ 8. Added ability to set product as default search results item type
51
+ 9. Added alternate `[[value]]` syntax to work the same as the default Handlerbars `{{value}}` syntax to avoid conflicts when customizing templates within BigCommerce
52
+ 10. Added support for nested object properties in field mappings
53
+ 11. Added rendering of canonical URL including search refinements
54
+ 12. Added configurable facet exclusion prefix
55
+ 13. Implemented TypeDoc code-generated documentation to ensure it remains up-to-date and available for each version
56
+
57
+ ## Bug Fixes
58
+
59
+ 1. Fixed Autocomplete template name
60
+ 2. Added logic to handle scrolling facets by setting a max-height in default template
61
+
62
+ ## Breaking Changes
63
+
64
+ 1. Changed entry file from `hawksearch-handlebars-ui.js` to `index.js`
65
+ 2. Renamed `Hawksearch` global object to `HawkSearch`
66
+ 3. Changes to `HawkSearch.config` model to support new features