PyMongo 4.0 Released

We are pleased to announce the 4.0 release of PyMongo - MongoDB’s Python Driver. PyMongo 4.0 brings a number of improvements as well as some backward breaking
changes. For example, all APIs deprecated in PyMongo 3.X have been removed.
Be sure to read the changelog and the PyMongo 4 Migration Guide
before upgrading from PyMongo 3.x.

See the PyMongo 4.0 release notes in JIRA for the complete list of resolved issues.

Thank you to everyone who contributed to this release!

1 Like

Hi Shane,
Our env include pymongo 38 and & mongo 4.4 , there is any security issue or any other issue that we need to take in count ?
Thanks Ofer.

Welcome to the MongoDB Community Forums @Ofer_Elzam-Toporik1 !

You will have to self-assess what changes may affect your currently deployed software versions.

For a detailed list of driver and server changes please see:

In general I would recommend upgrading to the most recent patch release for your MongoDB Server (which is currently 4.4.12 for the 4.4 series) so you have the latest bug fixes and stability improvements. Patch releases within the same release series of MongoDB server (eg 4.4.x) do not introduce any backward breaking compatibility changes.

Regards,
Stennie

If you are unable to upgrade to PyMongo 4 at this time, I suggest that you at least upgrade to the latest PyMongo 3 release: 3.12.3. There have been many improvements and fixes since PyMongo 3.8: Changelog — PyMongo 3.12.3 documentation

1 Like