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