Closed tmaihoff closed 5 months ago
Hey there, had the exact same question and found the changes in the current changelog markdown file :) https://github.com/krisk/Fuse/blob/main/CHANGELOG.md
For information, we use Fuse with TypeScript. In v. 6, we were doing:
import Fuse from 'fuse.js';
private options: Fuse.IFuseOptions<T>;
const filterResults: ReadonlyArray<Fuse.FuseResult<T>> = this.search();
const filterResultsMap: Map<T['id'], readonly Fuse.FuseResultMatch[]> = new Map();
(For example…)
In v. 7, we must do:
import Fuse, { FuseResult, FuseResultMatch, IFuseOptions } from 'fuse.js';
private options: IFuseOptions<T>;
const filterResults: ReadonlyArray<FuseResult<T>> = this.search();
const filterResultsMap: Map<T['id'], readonly FuseResultMatch[]> = new Map();
This issue is stale because it has been open 120 days with no activity. Remove stale label or comment or this will be closed in 30 days
Is there an existing issue for this?
Your question
Here on npmjs it says version 7.0.0 was released 7 days ago.
However the Github release page still shows 6.6.2 from 2022 as the latest release.
Which is correct? Where can I find a changelog for version 7.0.0? Are there breaking changes which require migrating?
Looking forward to hearing from you.