Releases: projectEndings/staticSearch
v2.0.1
v2.0.0
Release 2.0 is a major release of staticSearch, which includes significant upgrades and backwards incompatible updates to the configuration file. Consult the documentation for more details about how to migrate from v1 to v2 as well as all updates for v2.0.0.
Highlights include:
- The XSLT for tokenizing source documents has been rewritten to ensure weights and contexts cascade properly
- The configuration file has been significantly simplified, allowing users to use more default settings where appropriate
- The documentation has been updated to reflect changes to the configuration file, including a new interactive form for creating a configuration file from scratch
- All releases now have a distribution package so users do not need to check out the entire repository to use staticSearch
- StaticSearch now includes BM25 and BM25-L scoring algorithms (for more detail, see #299)
- The JS StaticSearch class now emits CustomEvents rather than using built-in methods
All issues and tickets related to version 2.0.0 can be found on GitHub.
v1.4.9 (Production Release)
v1.4.8 (Production Release)
Release 1.4.8 is the eighth minor update to Release 1.4, which was the fifth major release of staticSearch. It has only the following changes:
- We have fixed a bug which caused a VERSION file to be created containing a git error message if the user chose to customize the test suite instead of creating their own configuration. A random version identifier is created instead.
All issues and tickets related to version 1.4 can be found here and here.
v1.4.7 (Production Release)
Release 1.4.7 is the seventh minor update to Release 1.4, which was the fifth major release of staticSearch. It has only the following changes:
- A bug which caused a tokenization error because the XSLT processor was using an old Unicode dataset has been handled with a temporary workaround, adding the codepoint U+A78F to the tokenization mechanism.
- When searching for a phrase containing an ampersand, the phrase would be successfully found, but if the same search was reloaded from the browser URL, it would fail. This has now been corrected. Thanks to the TMP team for reporting this.
All issues and tickets related to version 1.4 can be found here and here.
v1.4.6 (Production Release)
Release 1.4.6 is the sixth minor update to Release 1.4, which was the fifth major release of staticSearch. It has only the following changes:
- A bug which caused weighting values to be lost during tokenizing has been corrected.
- The mechanism which scrolls the search page automatically to display search results has been adjusted in an attempt to avoid hiding the first result(s) behind a sticky or fixed page header.
- The build process has been modified in an attempt to ensure that the search page which is generated contains one and only one charset declaration.
- A warning is now issued when no title is found for a document being indexed. This situation means that any search results will be less useful to the end user because no document title can be displayed for the document.
All issues and tickets related to version 1.4 can be found here and here.
v1.4.5 (Production Release)
Release 1.4.5 is the fifth minor update to Release 1.4, which was the fourth major release of staticSearch. It has only two changes:
- Two configuration parameters,
<stopwordsFile>and<dictionaryFile>,
were previously documented as optional, but in fact the build process requires them. The
documentation has been updated. - There was a mismatch between files which were included in the indexing process and
files which were checked for well-formedness ahead of indexing; it was possible for files
that were not intended to be indexed at all to be checked and fail the well-formedness
test even though they were not part of the build. This has been fixed.
All issues and tickets related to version 1.4 can be found here and here.
v1.4.4 (Production Release)
Release 1.4.4 is the fourth minor update to Release 1.4, which was the fourth major release of staticSearch. It has only one change:
- A deprecated JavaScript function,
substr(), which was
used in one line of code only, has been replaced bysubstring().
All issues and tickets related to version 1.4 can be found on GitHub.
v1.4.3 (Production Release)
Release 1.4.3 is the third minor update to Release 1.4, which was the fourth major release of staticSearch. It has only one change:
- A new method has been added to the StaticSearch class: preProcessSearchString(), which is called from parseSearchQuery(), does nothing as it is defined, but can be overridden by end-users to enable them to do any special processing they might need to do on an input search string. This is sometimes necessary when (for example) specific diacritics are being ignored by the search indexing, but end-users might type them in anyway. The search string is also being unicode-normalized (to NFC) at the beginning of the parsing function.
All issues and tickets related to version 1.4 can be found on GitHub.
v1.4.2 (Production Release)
Release 1.4.2 is a second minor update to Release 1.4, the fourth major release of staticSearch. It has only one change:
- A bug which could cause a divide-by-zero error in the JSON generation stage of the build when the target site consisted of fewer than ten documents was fixed via a pull request (#249) from Norman Walsh (@ndw). Thanks Norman!
All issues and tickets related to version 1.4 can be found on GitHub.