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:
Long-Term Support Releases
For MongoDB 4.4 and previous, MongoDB used a Production / Development versioning system. See Historical Releases.
Long-Term Support Releases are made available approximately once a year, and introduce new features and improvements. Long-Term Support Releases are supported for MongoDB Atlas and on-premises deployments.
Rapid Releases are made available approximately once each quarter that does not contain a Long-Term Support Release, and introduce new features and improvements. Rapid Releases are only supported within MongoDB Atlas, and are not supported for on-premises deployments.
Rapid Releases are not available for use with MongoDB Ops Manager.
Patch Releases are made available as needed to both Long-Term Support Releases and Rapid Releases. Patch releases generally include bug fixes and minor improvements.
5.0.1(a Long-Term Support Release patch version)
5.2.1(a Rapid Release patch version)
In advance of new Long-Term Support Releases and 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.