Skip to content

DOCSP-14008 Documents affected API V1 commands on upcoming Compatibil… #5156

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions source/release-notes/5.0-compatibility.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
----------------
Expand Down