Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 7.0.0 ? #746

Open
1 task done
tmaihoff opened this issue Nov 1, 2023 · 3 comments
Open
1 task done

Release 7.0.0 ? #746

tmaihoff opened this issue Nov 1, 2023 · 3 comments

Comments

@tmaihoff
Copy link

tmaihoff commented Nov 1, 2023

Is there an existing issue for this?

  • 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.

@Nercus
Copy link

Nercus commented Nov 2, 2023

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

@PhiLhoSoft
Copy link

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

Copy link

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 github-actions bot added the Stale label May 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants