npm / sift
sift
What changed in sift 8, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-27.
3 breaking1 deprecations
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initsift 84 changes
Breaking changes 3
Queries now expect an exact object shape; an object with an additional property does not match a query that specifies only one property.
Passing an array as the second argument is deprecated; use array.filter with sift(query) instead.
The second parameter is now an options object rather than a select function, with expressions and select shown as options.
Deprecations 1
indexOf is deprecated in favor of using array.findIndex with sift(query).