Hi Everyone,
This is to inform you of an important change in MongoDB 8.1 that affects the buildInfo command and its interaction with older MongoDB drivers (.NET/C# and Java only).
Change in MongoDB 8.1:
Starting with MongoDB 8.1, the buildInfo
command now requires authentication. This change enhances security by ensuring only authenticated users can access system information.
Driver Compatibility Issue:
We have identified that certain older versions of the MongoDB drivers call the buildInfo
command before authentication. This will result in errors when connecting to a MongoDB 8.1 server. Specifically, the following driver versions are affected:
- MongoDB .NET/C# Driver versions prior to 2.15
- MongoDB Java Driver versions prior to 4.0
Action Required for MongoDB 8.1 Users:
If you plan to use MongoDB 8.1 and are currently using any of the driver versions mentioned above, it is critical that you update your drivers to the following minimum versions:
Updating your drivers will ensure seamless connectivity and prevent errors. We strongly recommend reviewing your driver versions and updating them as soon as possible if you intend to use MongoDB 8.1. This proactive step will help avoid any disruptions or issues during your transition to the new MongoDB version.
If you have any questions or concerns, please feel free to reach out to us.
Thanks,
Rishit.