News for hackers. Stuff that matters.
Re:How MDN's Autocomplete Search Works by flerovium on Tuesday August 03, 2021 @02:24PM (#28052392)
I can't wait until FlexSearch reaches 1.0.0. Reading the source code is like reading great literature.
Re:How MDN's Autocomplete Search Works by peterbe on Tuesday August 03, 2021 @04:10PM (#28053555)
(author here) We're still on FlexSearch 0.6 and the new 0.7 is a big refactor. I hope we can upgrade some time.
Re:How MDN's Autocomplete Search Works by ranguna on Wednesday August 04, 2021 @02:35AM (#28057920)
Any reason for not using semantic versioning?

I see in your npm page that despite compatibility "some adjustments" might be needed, aka you broke compatibility. If you did a breaking change, you need to up that major version my man.

Please stop with this sentimental versioning, it just causes issues for the rest of us who want to rely on npm's ability to not upgrade stuff on breaking changes, now everyone's gonna have to lock you package version to 0.6 so they don't get your breaking stuff from 0.7.

Re:How MDN's Autocomplete Search Works by pwfcurry on Wednesday August 04, 2021 @03:03AM (#28058100)
Semver allows for breaking changes with major version 0: https://semver.org/#spec-item-4