NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm · #3980 most downloaded on npm
MongoDB query filtering in JavaScript
Last release 2 years ago
no release in 18 months
Release timing varies
gaps range from 9 days to 13 months
Rarely documented
notes for 8 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
15 years old
155 releases · first in 2012
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
One column per quarter.
Nothing published for this version
new custom operations syntax (see API readme)
select option has been removedcompare option now expects boolean return value instead of an integerexpressions option is now operationsoperations parameter now expects new operations APINothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
(behavior change) toJSON works for vanilla objects.
- Fix dependency vulnerability - Fix #158
Added comparable option (fix https://github.com/crcn/sift.js/issues/156)
comparable option (fix https://github.com/crcn/sift.js/issues/156)Added compare option (fix https://github.com/crcn/sift.js/issues/155)
compare option (fix https://github.com/crcn/sift.js/issues/155)Nothing published for this version
Nothing published for this version
Nothing published for this version
Query _properties_ now excpect exact object shape (based on https://github.com/crcn/sift.js/issues/152). E.g: [{a: { b: 1}}, {a: { b: 1, c: 2}}]].filt
[{a: { b: 1}}, {a: { b: 1, c: 2}}]].filter(sift({ a: { b: 1} })) === [{a: {b: 1}], and [{a: 1, b: 1}, {a: 1}]].filter(sift({ a: 1 })) === [{a: 1, b: 1}, {a: 1}].Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
DEPRECATED indexOf in favor of array.findIndex(sift(query))
indexOf in favor of array.findIndex(sift(query))options instead of select function. E.g: sift(query, { expressions: customExpressions, select: selectValue })sift(query, array). You must now use array.filter(sift(query))[{a: 1, b: 1}, {a: 1}]].filter(sift({ a: 1 })) === [{a: 1}]*.use() function.$in now uses toString() when evaluating objects. Fixes #116.use() now uses a different format:sift.use({
$operator: function (a) {
return function (b) {
// compare here
};
},
});
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →