Docs Menu
Docs Home
/
MongoDB Manual
/ /

Stable API Changelog

On this page

  • Database Commands
  • Aggregation
  • Unsupported Aggregation Stages
  • Supported Aggregation Operators

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.

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
V1
MongoDB 5.0
aggregate (with limitations)
V1
MongoDB 5.0
V1
MongoDB 5.0
V1
MongoDB 5.0
V1
MongoDB 5.0
create (with limitations) [1]
V1
MongoDB 5.0
createIndexes (with limitations) [1]
V1
MongoDB 5.0
V1
MongoDB 5.0
V1
MongoDB 5.0
V1
MongoDB 5.0
V1
MongoDB 5.0
V1
MongoDB 5.0
V1
MongoDB 5.0
find (with limitations) [1]
V1
MongoDB 5.0
V1
MongoDB 5.0
V1
MongoDB 5.0
V1
MongoDB 5.0
V1
MongoDB 5.0
V1
MongoDB 5.0
V1
MongoDB 5.0
V1
MongoDB 5.0
V1
MongoDB 5.0
V1
MongoDB 5.0
V1
MongoDB 5.0
V1
MongoDB 5.0
[1](1, 2, 3) 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 any specific output format from the explain command, even when using the Stable API.

This section describes the aggregation stages and operators included in the Stable API.

The following aggregation stages are not included in the Stable API:

  • $currentOp

  • $indexStats

  • $listLocalSessions

  • $listSessions

  • $planCacheStats

  • $search

For more information on aggregation in the Stable API, see the Stable API section of the aggregate command page.

The following aggregation operators are included in the Stable API:

Operator
Stable API Version
Added to Stable API in Version
V1
MongoDB 5.0
V1
MongoDB 5.0
V1
MongoDB 6.0
$and (aggregation)
V1
MongoDB 5.0
V1
MongoDB 5.0
V1
MongoDB 5.0
V1
MongoDB 5.0
V1
MongoDB 6.0
V1
MongoDB 5.0
V1
MongoDB 5.0
V1
MongoDB 6.0
V1
MongoDB 6.0
V1
MongoDB 5.0
V1
MongoDB 5.0
V1
MongoDB 5.0
V1
MongoDB 5.0
V1
MongoDB 5.0
V1
MongoDB 5.0
V1
MongoDB 6.0
V1
MongoDB 6.0
V1
MongoDB 6.0
V1
MongoDB 6.0
V1
MongoDB 6.0
V1
MongoDB 5.0
V1
MongoDB 5.0
V1
MongoDB 6.0
V1
MongoDB 5.0
V1
MongoDB 5.0
V1
MongoDB 6.0
V1
MongoDB 6.0
V1
MongoDB 6.0
V1
MongoDB 6.0
V1
MongoDB 5.0
V1
MongoDB 6.0
V1
MongoDB 5.0
V1
MongoDB 5.0
V1
MongoDB 6.0
V1
MongoDB 5.0
V1
MongoDB 6.0
V1
MongoDB 5.0
V1
MongoDB 5.0
$firstN (aggregation accumulator)
V1
MongoDB 6.0
$firstN (array operator)
V1
MongoDB 6.0
V1
MongoDB 6.0
V1
MongoDB 5.0
V1
MongoDB 5.0
V1
MongoDB 5.0
V1
MongoDB 5.0
V1
MongoDB 5.0
V1
MongoDB 5.0
V1
MongoDB 5.0
V1
MongoDB 6.0
V1
MongoDB 5.0
V1
MongoDB 5.0
V1
MongoDB 5.0
$lastN (aggregation accumulator)
V1
MongoDB 6.0
$lastN (array operator)
V1
MongoDB 6.0
V1
MongoDB 5.0
V1
MongoDB 5.0
V1
MongoDB 6.0
V1
MongoDB 5.0
V1
MongoDB 5.0
V1
MongoDB 5.0
V1
MongoDB 5.0
V1
MongoDB 5.0
V1
MongoDB 5.0
V1
MongoDB 5.0
V1
MongoDB 6.0
$maxN (aggregation accumulator)
V1
MongoDB 6.0
$maxN (array operator)
V1
MongoDB 6.0
V1
MongoDB 5.0
V1
MongoDB 6.0
$minN (aggregation accumulator)
V1
MongoDB 6.0
$minN (array operator)
V1
MongoDB 6.0
V1
MongoDB 5.0
V1
MongoDB 5.0
V1
MongoDB 5.0
V1
MongoDB 5.0
V1
MongoDB 5.0
V1
MongoDB 5.0
V1
MongoDB 5.0
V1
MongoDB 6.0
V1
MongoDB 5.0
V1
MongoDB 5.0
V1
MongoDB 6.0
V1
MongoDB 5.0
V1
MongoDB 5.0
V1
MongoDB 5.0
V1
MongoDB 5.0
V1
MongoDB 5.0
V1
MongoDB 5.0
V1
MongoDB 5.0
V1
MongoDB 5.0
V1
MongoDB 5.0
V1
MongoDB 5.0
V1
MongoDB 5.0
V1
MongoDB 6.0
V1
MongoDB 5.0
V1
MongoDB 5.0
V1
MongoDB 5.0
V1
MongoDB 6.0
V1
MongoDB 6.0
V1
MongoDB 5.0
V1
MongoDB 5.0
V1
MongoDB 6.0
V1
MongoDB 5.0
V1
MongoDB 5.0
V1
MongoDB 6.0
V1
MongoDB 6.0
V1
MongoDB 5.0
V1
MongoDB 5.0
V1
MongoDB 5.0
V1
MongoDB 5.0
V1
MongoDB 5.0
V1
MongoDB 5.0
V1
MongoDB 5.0
V1
MongoDB 6.0
V1
MongoDB 5.0
V1
MongoDB 5.0
V1
MongoDB 6.0
V1
MongoDB 6.0
V1
MongoDB 5.0
V1
MongoDB 5.0
V1
MongoDB 5.0
V1
MongoDB 5.0
V1
MongoDB 6.0
V1
MongoDB 6.0
V1
MongoDB 5.0

Back

Migrate to Later Version