NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm
npm, #3980 most downloaded on npm
MongoDB query filtering in JavaScript
Latest stable
17.1.4
Last release 1 months ago
08 Oct 2026
Ships unpredictably
gaps range from 1 weeks to 2.5 years
Rarely documented
notes for 9 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
15 years old
156 releases · first in 2012
Drag across the ruler to compare, or tap a release to open it.
Co-Authored-By: Claude Opus 5.5 (1M context) noreply@anthropic.com
Co-Authored-By: Claude Opus 5.5 (1M context) noreply@anthropic.com
Object.prototype, so pollution elsewhere in a process can no longer inject a string $where into queries (code execution) or break them (#277, thanks @sheanming-agmo). A string $where in the query itself still runs as code: see the README before passing untrusted queries to sift.$ne, $in, $nin and $exists on paths through arrays. Results change where 17.1.3 was wrong, e.g. { "a.b": { $nin: [2] } } no longer matches { a: [{ b: 1 }, { b: 2 }] }, and { "a.b": { $exists: false } } no longer matches arrays whose elements have b. $exists also treats 1/0 like true/false.$where where process isn't defined (browsers).compare option for custom equality.$elemMatch only checking the first candidate array, e.g. each a[i].b for "a.b".$ne: null, $in: [null], $exists: false) on an index path below an array of documents, e.g. { "orders.items.0": { $ne: null } }, can differ from MongoDB.Your coding agent can read these notes before it upgrades. Set up the MCP server →
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
Fix https://github.com/crcn/sift.js/issues/242
Nothing published for this version
Nothing published for this version
Nothing published for this version
Fix https://github.com/crcn/sift.js/issues/239
Fix https://github.com/crcn/sift.js/issues/236
Fix https://github.com/crcn/sift.js/issues/231
Nothing published for this version
Nothing published for this version
Fix https://github.com/crcn/sift.js/issues/227
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
Added stronger types for queries: https://github.com/crcn/sift.js/issues/197
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
Fix behavior discrepancy with Mongo: https://github.com/crcn/sift.js/issues/196
Nothing published for this version
Fix bug where \$elemMatch tested objects: e.g: sift({a: {$elemMatch: 1}})({ a: { b: 1}}). \$elemMatch now expects arrays based on Mongodb syntax. E.g:
sift({a: {$elemMatch: 1}})({ a: { b: 1}}). $elemMatch now expects arrays based on Mongodb syntax. E.g: sift({a: {$elemMatch: 1}})({ a: { b: 1}})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
One column per quarter.