Navigation

Stable API Changelog

This page contains a changelog of the Stable API. The Stable API is actively being expanded to include new database commands and functionality.

The commands and operators included in the Stable API depend on the MongoDB version you are using. This page describes the MongoDB and Stable API versions when a database command or specific sub-features of a command are available.

Database Commands

The following table describes:

  • The commands included in each version of the Stable API.
  • The MongoDB version in which the command was added to the Stable API.
Command Stable API Version Added to Stable API in Version
count V1 MongoDB 6.0, 5.0.9
abortTransaction V1 MongoDB 5.0
aggregate (with limitations) [1] V1 MongoDB 5.0
authenticate V1 MongoDB 5.0
collMod V1 MongoDB 5.0
commitTransaction V1 MongoDB 5.0
create (with limitations) [1] V1 MongoDB 5.0
createIndexes (with limitations) [1] V1 MongoDB 5.0
delete V1 MongoDB 5.0
drop V1 MongoDB 5.0
dropDatabase V1 MongoDB 5.0
dropIndexes V1 MongoDB 5.0
endSessions V1 MongoDB 5.0
explain [2] V1 MongoDB 5.0
find (with limitations) [1] V1 MongoDB 5.0
findAndModify V1 MongoDB 5.0
getMore V1 MongoDB 5.0
insert V1 MongoDB 5.0
hello V1 MongoDB 5.0
killCursors V1 MongoDB 5.0
listCollections V1 MongoDB 5.0
listDatabases V1 MongoDB 5.0
listIndexes V1 MongoDB 5.0
ping V1 MongoDB 5.0
refreshSessions V1 MongoDB 5.0
update V1 MongoDB 5.0
[1](1, 2, 3, 4) API V1 may not support all available options for these commands. Refer to the specific command documentation for limitations specific to API V1.
[2]MongoDB does not guarantee that the output of the explain command will conform to the same format in future API versions.

Aggregation Stages and Operators

The following table describes:

  • The aggregation stages and operators included in each version of the Stable API.
  • The MongoDB version in which the stage or operator was added to the Stable API.
Stage or Operator Stable API Version Added to Stable API in Version
$bottom V1 MongoDB 6.0
$bottomN V1 MongoDB 6.0
$dateAdd V1 MongoDB 6.0
$dateDiff V1 MongoDB 6.0
$dateSubtract V1 MongoDB 6.0
$dateTrunc V1 MongoDB 6.0
$densify V1 MongoDB 6.0
$firstN (aggregation accumulator) V1 MongoDB 6.0
$firstN (array operator) V1 MongoDB 6.0
$getField V1 MongoDB 6.0
$lastN (aggregation accumulator) V1 MongoDB 6.0
$lastN (array operator) V1 MongoDB 6.0
$locf V1 MongoDB 6.0
$maxN (aggregation accumulator) V1 MongoDB 6.0
$maxN (array operator) V1 MongoDB 6.0
$minN (aggregation accumulator) V1 MongoDB 6.0
$minN (array operator) V1 MongoDB 6.0
$setField V1 MongoDB 6.0
$setWindowFields V1 MongoDB 6.0
$sortArray V1 MongoDB 6.0
$top V1 MongoDB 6.0
$topN V1 MongoDB 6.0
$tsIncrement V1 MongoDB 6.0
$tsSecond V1 MongoDB 6.0

Window Operators

The following table describes:

  • The window operators included in each version of the Stable API.
  • The MongoDB version in which the window operator was added to the Stable API.
Window Operator Stable API Version Added to Stable API in Version
$addToSet V1 MongoDB 6.0
$avg V1 MongoDB 6.0
$count V1 MongoDB 6.0
$covariancePop V1 MongoDB 6.0
$covarianceSamp V1 MongoDB 6.0
$denseRank V1 MongoDB 6.0
$derivative V1 MongoDB 6.0
$documentNumber V1 MongoDB 6.0
$expMovingAvg V1 MongoDB 6.0
$first V1 MongoDB 6.0
$integral V1 MongoDB 6.0
$last V1 MongoDB 6.0
$locf V1 MongoDB 6.0
$max V1 MongoDB 6.0
$min V1 MongoDB 6.0
$push V1 MongoDB 6.0
$rank V1 MongoDB 6.0
$shift V1 MongoDB 6.0
$stdDevPop V1 MongoDB 6.0
$stdDevSamp V1 MongoDB 6.0
$sum V1 MongoDB 6.0