Release History
Version Methodology
This library uses Semantic Versioning. Essentially, this means that versions numbers are in a MAJOR.MINOR.PATCH
format that is incremented as follows:
MAJOR version when there are breaking changes
MINOR version when new functionality is added that is backwards-compatible with the previous version
PATCH version when there are backwards-compatible bug fixes
Releases
1.0.19 - February 06, 2023
Added alternative
[[value]]
syntax to internally convert to the{{value}}
format that Handlebars expects. This prevent conflicts with the server-side Handlebars engine that BigCommerce uses when trying to embed custom HawkSearch templates within BigCommerce templates.
1.0.18 - February 03, 2023
Fixed custom template name
autocomplete
for Autocomplete Component
1.0.17 - December 01, 2022
Added description to default template for Search Results Item Component
1.0.16 - November 17, 2022
Prevented empty space with default templates when no tabs or selected facets present by modifying default templates for Search Results Component and Selected Facets Component
Set default font size of
16px
for form elements
1.0.15 - November 17, 2022
Fixed currency in default templates to use two decimal places
1.0.14 - November 17, 2022
Refactored query string logic to handle different autocomplete search operations from non-search pages
1.0.13 - November 17, 2022
Prepended
searchUrl
value to autocomplete URL properties to fix redirects from non-search pages
1.0.12 - November 17, 2022
Added configurable
searchUrl
property with default value of/search
Prevented search and tracking API calls on pages that do not contain a Search Results Component instance
1.0.11 - November 04, 2022
Fixed price slider on touch devices
Fixed price slider values jumping slightly when modifying both start and end value
Shortened date format for selected facet values to prevent breaking out of container on mobile devices
1.0.9 - November 03, 2022
Included typings in npm package
1.0.8 - November 03, 2022
Added additional event hooks:
1.0.7 - November 03, 2022
Switched from
lodash
tolodash-es
to significantly reduce the output bundle size (more than 50 kb)Added
aria-label
attributes to all form elements that do not have corresponding labels in default templatesImproved contrast of secondary font color (used for facet counts and placeholders) in default templates
Slightly reduced autocomplete debounce time
1.0.6 - November 02, 2022
Replaced all
rel="nofollow"
links on the default templates of the following components withspan
elements to improve Lighthouse SEO score:
1.0.5 - November 02, 2022
Replaced
aria-hidden
witharia-label
on default template of Search Results Item Component
1.0.4 - November 02, 2022
Renamed tags for Search Field Component, Search Results Component, Search Results List Component, and Search Results Item Component
Changed template name for Search Field Component from
search
tosearchField
Updated default template for Pagination Component to use crawlable links
Added schema.org offers metadata to Search Results Item Component
1.0.3 - November 02, 2022
Added
aria-hidden
attributes to image links in Search Results Item Component for better usabilityTweaked spacing of Facets List Component on mobile
1.0.2 - November 02, 2022
Updated Icon Component template and Handlebars template model to move icons SVG element inline to work with CDNs or other externally-hosted instances
1.0.1 - November 01, 2022
Added
description
property to SearchResultsItemAdded
description
field mappingAdded global
currency
,number
, andstring
Handlebars helpers and removed from Search Results Item Component
1.0.0 - October 31, 2022
This is the first public release of the Hawksearch Handlebars UI.