Always upgrade to the latest stable revision of your release series.
MongoDB versioning has the form
X.Y refers to the
release series and
Z refers to the patch number.
Starting with MongoDB 5.0, MongoDB is released as two different release series:
- Major Releases
- Rapid Releases
For MongoDB 4.4 and previous, MongoDB used a Production / Development versioning system. See Historical Releases.
Major Releases are made available approximately once a year, and generally mark the introduction of new features and improvements. Major Releases are appropriate for all MongoDB deployments.
Rapid Releases are made available approximately once each quarter that does not contain a Major Release, and generally mark the introduction of new features and improvements. Rapid Releases are designed for use with MongoDB Atlas, and are not generally supported for use in an on-premise capacity. Rapid Releases are not available for use with MongoDB Ops Manager, and are not supported for arbiters. If arbiters are part of your MongoDB deployment, use the most recent Major Release instead.
Patch Releases are made available as needed to both Major Releases and Rapid Releases, and generally include bug fixes and backwards-compatible changes.
5.0.1(a Major Release patch version)
5.2.1(a Rapid Release patch version)
In advance of new Major Releases or Rapid Releases, Release Candidates are made available for early testing. A Release Candidate represents a version of the upcoming release that is stable enough to begin testing, but is not suitable for production deployment.
The version numbering system for MongoDB differs from the system used for the MongoDB drivers.
Starting with MongoDB 5.0, the MongoDB Shell (
mongosh) is released
separately from the MongoDB Server, and uses its own version numbering
Starting with MongoDB 4.4, the MongoDB Database Tools are released separately from the MongoDB Server, and use their own version numbering system.
For MongoDB 4.4 and previous, MongoDB versioning used a Production /
Development versioning scheme, and had the form
refers to either a release series or development series and
to the revision/patch number.
X.Yrefers to a release series; for example,
4.2release series and
4.4release series. Release series are stable and suitable for production.
X.Yrefers to a development series; for example,
4.3development series and
4.5development series. Development series are for testing only and not for production.
For example, in MongoDB version
4.4 refers to the
release series and
.7 refers to the revision.