Server Wire version and Feature List
Server version | Wire version | Feature List |
---|---|---|
2.6 | 1 | Aggregation cursor Auth commands |
2.6 | 2 | Write commands (insert/update/delete) Aggregation $out pipeline operator |
3.0 | 3 | listCollections listIndexes SCRAM-SHA-1 explain command |
3.2 | 4 | (find/getMore/killCursors) commands currentOp command fsyncUnlock command findAndModify take write concern Commands take read concern Document-level validation explain command supports distinct and findAndModify |
3.4 | 5 | Commands take write concern Commands take collation |
3.6 | 6 | Supports OP_MSG Collection-level ChangeStream support Retryable Writes Causally Consistent Reads Logical Sessions update "arrayFilters" option |
4.0 | 7 | ReplicaSet transactions Database and cluster-level change streams and startAtOperationTime option |
4.2 | 8 | Sharded transactions Aggregation $merge pipeline operator update "hint" option |
4.4 | 9 | Streaming protocol for SDAM ResumableChangeStreamError error label delete "hint" option findAndModify "hint" option createIndexes "commitQuorum" option |
5.0 | 13 | $out and $merge on secondaries (technically FCV 4.4+) |
5.1 | 14 | |
5.2 | 15 | |
5.3 | 16 | |
6.0 | 17 | Support for Partial Indexes Sharded Time Series Collections FCV set to 5.0 |
6.1 | 18 | Update Perl Compatible Regular Expressions version to PCRE2 Add |
6.2 | 19 | Collection validation ensures BSON documents conform to BSON spec Collection validation checks time series collections for internal consistency |
7.0 | 21 | Atlas Search Index Management
Compound Wildcard Indexes Support large change stream events via
Slot Based Query Execution |
7.1 | 22 | Improved Index Builds Exhaust Cursors Enabled for Sharded Clusters New Sharding Statistics for Chunk Migrations Self-Managed Backups of Sharded Clusters |
7.2 | 23 | Database Validation on
Default Chunks Per Shard |
7.3 | 24 | Compaction Improvements New |
8.0 | 25 | Range Encryption GA OIDC authentication mechanism New
|
In server versions 5.0 and earlier, the wire version was defined as a numeric literal in src/mongo/db/wire_version.h. Since server version 5.1 (SERVER-58346), the wire version is derived from the number of releases since 4.0 (using src/mongo/util/version/releases.h.tpl and src/mongo/util/version/releases.yml).