diff --git a/source/release-notes/5.0-compatibility.txt b/source/release-notes/5.0-compatibility.txt index 214a7aeda85..26b900315df 100644 --- a/source/release-notes/5.0-compatibility.txt +++ b/source/release-notes/5.0-compatibility.txt @@ -13,6 +13,40 @@ Compatibility Changes in MongoDB 5.0 The following 5.0 changes can affect compatibility with older versions of MongoDB. +Certain Commands Only Accept Recognized Parameters +-------------------------------------------------- + +Starting in MongoDB 5.0, certain database commands raise an error if +passed a parameter not explicitly accepted by the command. In MongoDB +4.4 and earlier, unrecognized parameters are silently ignored. + +Affected Commands: + +- :dbcommand:`abortTransaction` +- :dbcommand:`aggregate` +- :dbcommand:`authenticate` +- :dbcommand:`collMod` +- :dbcommand:`commitTransaction` +- :dbcommand:`create` +- :dbcommand:`createIndexes` +- :dbcommand:`delete` +- :dbcommand:`drop` +- :dbcommand:`dropDatabase` +- :dbcommand:`dropIndexes` +- :dbcommand:`endSessions` +- :dbcommand:`explain` +- :dbcommand:`find` +- :dbcommand:`findAndModify` +- :dbcommand:`getMore` +- :dbcommand:`hello` +- :dbcommand:`insert` +- :dbcommand:`killCursors` +- :dbcommand:`listCollections` +- :dbcommand:`listDatabases` +- :dbcommand:`listIndexes` +- :dbcommand:`ping` +- :dbcommand:`refreshSessions` +- :dbcommand:`update` Removed Commands ----------------