Bug Fixes
- bitap: report the score of the best match (f83fa61)
Behavior change
Fuzzy match scores now always describe the best match found. Previously, a later and worse candidate could overwrite the reported score, so many results scored worse than their actual match (for example, Fuse.match('optimization', 'Apple they optimization') returned 0.183 for an exact hit that scores 0.11). Scores can only go down, and with default options the set of matching results is unchanged, but result order can change where the best match was under-reported, typically moving full-word matches above partial ones. If you snapshot exact scores or result order in tests, expect updates.