Compatibility Changes in MongoDB 8.1
On this page
Warning
MongoDB 8.1 Not Yet Available
MongoDB 8.1 release candidates are not yet available. This version of the manual is for an upcoming release and is currently a work in progress.
Important
MongoDB 8.1 is a rapid release and is only supported for MongoDB Atlas. MongoDB 8.1 is not supported for use on-premises. For more information, see MongoDB Versioning.
To install the latest MongoDB version supported for on-premises use, MongoDB 8.0, see the MongoDB 8.0 installation instructions.
Backward-Incompatible Features
General Changes
Subtype Conversion
Starting in MongoDB 8.1, $convert
returns an error when attempting
to convert between different binData subtypes. In MongoDB 8.0,
$convert
returns the original value and original subtype: no
conversion is performed. MongoDB versions before 8.0 don't have binData
conversion.