Skip to content

Tags: wangmd/match-sorter

Tags

v4.1.0

Toggle v4.1.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
docs: add MichaelDeBoey as a contributor (kentcdodds#92)

* docs: update README.md

* docs: update .all-contributorsrc

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>

v4.0.2

Toggle v4.0.2's commit message
fix: sort objects by matched key only (kentcdodds#79)

Closes kentcdodds#78

v4.0.1

Toggle v4.0.1's commit message
docs: add brandonkal as a contributor (kentcdodds#72)

* docs: update README.md

* docs: update .all-contributorsrc

v4.0.0

Toggle v4.0.0's commit message
docs: remove roadmap

v3.1.1

Toggle v3.1.1's commit message
docs: add samyan as a contributor (kentcdodds#68)

* docs: update README.md

* docs: update .all-contributorsrc

v3.1.0

Toggle v3.1.0's commit message
feat: sort same ranked items alphabetically (kentcdodds#64)

v3.0.1

Toggle v3.0.1's commit message
fix: don't allow simple match to meet acronym threshold (kentcdodds#60)

* Add test for issue kentcdodds#54

* Closes issue kentcdodds#54

v3.0.0

Toggle v3.0.0's commit message
fix: replace Diactric.js with remove-accents (kentcdodds#58)

Closes kentcdodds#57

BREAKING CHANGE: We changed the diacritics library. No API changes, but there may be some behavioral changes with diacritics.

v2.3.0

Toggle v2.3.0's commit message

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
feat: add ability to set a threshold per key (kentcdodds#50)

<!--
Thanks for your interest in the project. Bugs filed and PRs submitted are appreciated!

Please make sure that you are familiar with and follow the Code of Conduct for
this project (found in the CODE_OF_CONDUCT.md file).

Also, please make sure you're familiar with and follow the instructions in the
contributing guidelines (found in the CONTRIBUTING.md file).

If you're new to contributing to open source projects, you might find this free
video course helpful: http://kcd.im/pull-request

Please fill out the information below to expedite the review and (hopefully)
merge of your pull request!
-->

<!-- What changes are being made? (What feature/bug is being fixed here?) -->

**What**:
Add the ability to set a threshold per key
<!-- Why are these changes necessary? -->

**Why**:
To be able to set specific keys to only match when they meet a specified threshold
<!-- How were these changes implemented? -->

**How**:
By adding returning the keys threshold with each match and verifying that the the match is `>=` the threshold specified on its key.
<!-- Have you done all of these things?  -->

**Checklist**:

<!-- add "N/A" to the end of each line that's irrelevant to your changes -->

<!-- to check an item, place an "x" in the box like so: "- [x] Documentation" -->

* [x] Documentation
* [x] Tests
* [x] Ready to be merged <!-- In your opinion, is this ready to be merged as soon as it's reviewed? -->
* [x] Added myself to contributors table <!-- this is optional, see the contributing guidelines for instructions -->

<!-- feel free to add additional comments -->

v2.2.3

Toggle v2.2.3's commit message
fix: issue with filtering with property values of number 0 (kentcdodd…

…s#47)

* Fixes issue with filtering with property values of number 0

* Fixes null check

* Update index.js