BrewMyMac
BrewMyMac copied to clipboard
Bump minisearch from 5.1.0 to 6.3.0 in /frontend
Bumps minisearch from 5.1.0 to 6.3.0.
Changelog
Sourced from minisearch's changelog.
v6.3.0 - 2023-11-22
- Add
queryTerms
array to the search results. This is useful to determine which query terms were matched by each search result.v6.2.0 - 2023-10-26
- Add the possibility to search for the special value
MiniSearch.wildcard
to match all documents, but still apply search options like filtering and document boostingv6.1.0 - 2023-05-15
Add
getStoredFields
method to retrieve the stored fields for a document given its ID.Pass stored fields to the
boostDocument
callback function, making it easier to perform dynamic document boosting.v6.0.1 - 2023-02-01
- [fix] The
boost
search option now does not interfere with thefields
search option: iffields
is specified, boosting a field that is not included infields
has no effect, and will not include such boosted field in the search.- [fix] When using
search
with aQuerySpec
, thecombineWith
option is now properly taking its default from theSearchOptions
given as the second argument.v6.0.0 - 2022-12-01
This is a major release. The most notable change is the addition of
discard
,discardAll
, andreplace
. These method make it more convenient and performant to remove or replace documents.This release is almost completely backwards compatible with
v5
, apart from one breaking change in the behavior ofadd
when the document ID already exists.Changes:
- [breaking change]
add
,addAll
, andaddAllAsync
now throw an error on duplicate document IDs. When necessary, it is now possible to check for the existence of a document with a certain ID with the new methodhas
.- Add
discard
method to remove documents by ID. This is a convenient alternative toremove
that takes only the ID of the documents to remove, as opposed to the whole document. The visible effect is the same asremove
. The difference is thatremove
immediately mutates the index, whilediscard
marks the current document version as discarded, so it is immedately ignored by searches, but delays modifying the index until a certain number of documents are discarded. At that point, a vacuuming is
... (truncated)
Commits
4fc49a4
v6.3.0ad2afff
Rebuild docs siteed5e04a
Update development dependencies6fbe050
Update changelog and docs for new release0a5e9fa
Add queryTerms to the search results (#241)c3101a3
Dev dependencies: replace coveralls with coveralls-next (#236)dd16604
Fix links in README46692a2
Improve SEarchableMap docs197dec3
Fix doc link1705651
Update TypeDoc and improve documentation (#235)- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase
.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebase
will rebase this PR -
@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it -
@dependabot merge
will merge this PR after your CI passes on it -
@dependabot squash and merge
will squash and merge this PR after your CI passes on it -
@dependabot cancel merge
will cancel a previously requested merge and block automerging -
@dependabot reopen
will reopen this PR if it is closed -
@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot show <dependency name> ignore conditions
will show all of the ignore conditions of the specified dependency -
@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)