# Changelog

## 2.4.3 (2025-09-17)

* Add default SearchHit type for SearchHelper generic template when no type is specified.

## 2.4.2 (2025-08-22)

* Add TypeScript generics support for SearchHelper.

## 2.4.1 (2025-08-14)

* Fix issue with query syntax character escaping with dash and en dash.
* Proper type for SearchHit in `getClickTrackingUri`.

## 2.4.0 (2025-03-17)

* Add type defintions.

## 2.3.1 (2024-09-11)

* Add validation for query, start, and num parameters in search function

## 2.3.0 (2024-08-08)

* Add export for `removeStopWords`.

## 2.2.1 (2024-05-27)

* Do not escape query words containing `:`, instead surround them with quotes.

## 2.2.0 (2024-05-23)

* Add `removeQueryStopWords` option when instantiating `SearchHelper`.
* Escape special syntax characters in `getWildcardQuery`.

## 2.1.1 (2024-04-05)

* Do not set `tag` in `setHighlightOptions` when it’s undefined.

## 2.1.0 (2024-04-05)

* Add `setHighlightOptions` method.

## 2.0.1 (2023-07-06)

* Documentation update.

## 2.0.0 (2023-05-23)

* Update to new Sitevision API imports.
* Return Hit instead of Node as default.
* Remove dependency to `@soleil/api/data-creator`.
* Increment hit count calculation for more exact hit count when loading more hits.
* `hitCount` is renamed to just `count`.