Fuse icon indicating copy to clipboard operation
Fuse copied to clipboard

Release 7.0.0 ?

Open tmaihoff opened this issue 2 years ago • 3 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

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.

tmaihoff avatar Nov 01 '23 10:11 tmaihoff

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

Nercus avatar Nov 02 '23 14:11 Nercus

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();

PhiLhoSoft avatar Jan 17 '24 11:01 PhiLhoSoft

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

github-actions[bot] avatar May 17 '24 00:05 github-actions[bot]