0937ac1832- update to 4.11.1: * Fixed support for prebuilt ppc64le and s390x wheels. * Dropped support for Python 3.8 and PyPy 3.9. * Dropped support for MongoDB 3.6. * Dropped support for the MONGODB-CR authenticate mechanism, which is no longer supported by MongoDB 4.0+. * pymongocrypt>=1.12 is now required for :ref:In-Use Encryption support. * Added support for free-threaded Python with the GIL disabled. For more information see: Free-threaded CPython. We do not yet support free-threaded Python on Windows (PYTHON-5027) or with In-Use Encryption (PYTHON-5024). * :attr:~pymongo.asynchronous.mongo_client.AsyncMongoClient.ad dress and :attr:~pymongo.mongo_client.MongoClient.address now correctly block when called on unconnected clients until either connection succeeds or a server selection timeout error is raised. * Added :func:repr support to :class:pymongo.operations.IndexModel. * Added :func:repr support to :class:pymongo.operations.SearchIndexModel. * Added sort parameter to :meth:~pymongo.collection.Collection.update_one, :meth:~pymongo.collection.Collection.replace_one, :class:~pymongo.operations.UpdateOne, and :class:~pymongo.operations.UpdateMany, * :meth:~pymongo.mongo_client.MongoClient.bulk_write and :met h:~pymongo.asynchronous.mongo_client.AsyncMongoClient.bulk_w rite now throw an error when ordered=True or verboseResults=True are used with unacknowledged writes.Dirk Mueller2025-07-18 21:04:28 +00:00
b31c7cb513- update to 4.6.3 (bsc#1222492, CVE-2024-21506): * Fixed a potential memory access violation when decoding invalid bson. - update to 4.6.2: * Fixed a bug appearing in Python 3.12 where “RuntimeError: can’t create new thread at interpreter shutdown” could be written to stderr when a MongoClient’s thread starts as the python interpreter is shutting down. - update to 4.6.1: * Ensure retryable read OperationFailure errors re-raise exception when 0 or NoneType error code is provided. - update to 4.6.0: * Release notes: https://www.mongodb.com/community/forums/t/pymongo-4-6-0-released/251866 - update to 4.5.0: * Release notes: https://www.mongodb.com/community/forums/t/pymongo-4-5-0-released/240662 - update to 4.4.1: * Fixed a bug where pymongo would raise a ConfigurationError: Invalid SRV host error when connecting to a “mongodb+srv://” URI that included capital letters in the SRV hosts returned from DNS. (PYTHON-3800). * Fixed a minor reference counting bug in the C extension (PYTHON-3798). - update to 4.4.0: * Release notes: https://www.mongodb.com/community/forums/t/pymongo-4-4-released/232211 - Update to 4.3.3 - Update to 4.3.2 * The default uuid_representation for CodecOptions, JSONOptions, and MongoClient has been changed from bson.binary.UuidRepresentation.PYTHON_LEGACY to bson.binary.UuidRepresentation.UNSPECIFIED. Attempting to encode a uuid.UUID instance to BSON or JSON now produces an * directConnection URI option and keyword argument to MongoClientDirk Mueller2024-05-07 07:32:10 +00:00
c95402cd11- update to 4.2.0: - Support for MongoDB 6.0. - Support for the Queryable Encryption beta with MongoDB 6.0. Note that backwards-breaking changes may be made before the final release. See :ref:automatic-queryable-client-side-encryption for example usage. - Provisional (beta) support for :func:pymongo.timeout to apply a single timeout to an entire block of pymongo operations. - Added the `timeoutMS URI and keyword argument to :class:~pymongo.mongo_client.MongoClient. - Added the :attr:pymongo.errors.PyMongoError.timeout property which is True when the error was caused by a timeout. - Added the check_exists argument to :meth:~pymongo.database.Database.create_collection that when True (the default) runs an additional listCollections command to verify that the collection does not exist already. - Added key management APIs to :class:~pymongo.encryption.ClientEncryption: - Support for the crypt_shared library to replace mongocryptd using the new crypt_shared_lib_path and crypt_shared_lib_required arguments to :class:~pymongo.encryption_options.AutoEncryptionOpts. - Fixed a bug where :meth:~pymongo.collection.Collection.estimated_document_count would fail with a "CommandNotSupportedOnView" error on views (PYTHON-2885_). - Fixed a bug where invalid UTF-8 strings could be passed as patterns for :class:~bson.regex.Regex objects. :func:bson.encode now correctly raises :class:bson.errors.InvalidStringData (PYTHON-3048_). - Fixed a bug that caused AutoReconnect("connection pool paused") errors in the child process after fork (PYTHON-3257_). - Fixed a bug where :meth:~pymongo.collection.Collection.count_documents and :meth:~pymongo.collection.Collection.distinct would fail in a transaction with directConnection=True (PYTHON-3333_). - GridFS no longer uploads an incomplete files collection document after encountering an error in the middle of an upload fork. This results in fewer :class:~gridfs.errors.CorruptGridFile errors (PYTHON-1552_). - Renamed PyMongo's internal C extension methods to avoid crashing due to name conflicts with mpi4py and other shared libraries (PYTHON-2110`_).Dirk Mueller2022-10-01 13:56:59 +00:00
c802fbbd03Accepting request 990439 from devel:languages:pythonRichard Brown2022-07-21 09:33:09 +00:00
98a6981527Accepting request 990390 from home:bnavigator:branches:devel:languages:pythonMatej Cepl2022-07-20 16:56:09 +00:00
384cb5fc1cAccepting request 989816 from home:mcalabkova:branches:devel:languages:pythonMarkéta Machová2022-07-18 11:39:16 +00:00
85bd65d2e7- update to 3.11.3: - Version 3.11.3 fixes a bug that prevented PyMongo from retrying writes after a writeConcernError on MongoDB 4.4+ (PYTHON-2452)Dirk Mueller2021-04-22 19:57:35 +00:00
1ba683a3b4- update to 3.11.2: - Fixed a memory leak caused by failing SDAM monitor checks on Python 3 (PYTHON-2433_). - Fixed a regression that changed the string representation of :exc:~pymongo.errors.BulkWriteError (PYTHON-2438_). - Fixed a bug that made it impossible to use :meth:bson.codec_options.CodecOptions.with_options and :meth:~bson.json_util.JSONOptions.with_options on some early versions of Python 3.4 and Python 3.5 due to a bug in the standard library implementation of :meth:collections.namedtuple._asdict (PYTHON-2440_). - Fixed a bug that resulted in a :exc:TypeError exception when a PyOpenSSL socket was configured with a timeout of `None (PYTHON-2443`_).Dirk Mueller2021-02-01 18:10:58 +00:00
187ed7d444- update to 3.11.1: - Support for Python 3.9. - Initial support for Azure and GCP KMS providers for client side field level encryption is in beta. See the docstring for :class:~pymongo.mongo_client.MongoClient, :class:~pymongo.encryption_options.AutoEncryptionOpts, and :mod:~pymongo.encryption. **Note: Backwards-breaking changes may be made before the final release.** - Fixed a bug where the :class:bson.json_util.JSONOptions API did not match the :class:bson.codec_options.CodecOptions API due to the absence of a :meth:bson.json_util.JSONOptions.with_options method. This method has now been added. - Fixed a bug which made it impossible to serialize :class:~pymongo.errors.BulkWriteError instances using :mod:pickle. - Fixed a bug wherein PyMongo did not always discard an implicit session after encountering a network error. - Fixed a bug where connections created in the background were not authenticated. - Fixed a memory leak in the :mod:bson module when using a :class:~bson.codec_options.TypeRegistry.Dirk Mueller2020-11-26 08:38:18 +00:00
ef452d8338- update to 3.11.0: * Version 3.11 adds support for MongoDB 4.4 and includes a number of bug fixes. * Support for OCSP (Online Certificate Status Protocol). * Support for PyOpenSSL as an alternative TLS implementation. * Support for the MONGODB-AWS authentication mechanism. * Support for the directConnection URI option and kwarg to MongoClient. * Support for speculative authentication attempts in connection handshakes which reduces the number of network roundtrips needed to authenticate new connections on MongoDB 4.4+. * Support for creating collections in multi-document transactions with create_collection() on MongoDB 4.4+. * Added index hinting support to the ReplaceOne, UpdateOne, UpdateMany, DeleteOne, and DeleteMany bulk operations. * Added support for bson.binary.UuidRepresentation.UNSPECIFIED and MongoClient(uuidRepresentation='unspecified') which will become the default UUID representation starting in PyMongo 4.0. See Handling UUID Data for details. * Added the background parameter to pymongo.database.Database.validate_collection(). For a description of this parameter see the MongoDB documentation for the validate command. * Added the allow_disk_use parameters to pymongo.collection.Collection.find(). * Added the hedge parameter to PrimaryPreferred, Secondary, SecondaryPreferred, Nearest to support disabling (or explicitly enabling) hedged reads in MongoDB 4.4+.Dirk Mueller2020-08-06 08:46:54 +00:00
ec5daf1478- update to 3.10.1: - Support for Client-Side Field Level Encryption with MongoDB 4.2. See :doc:examples/encryption for examples. - Support for Python 3.8. - Added :attr:pymongo.client_session.ClientSession.in_transaction. - Do not hold the Topology lock while creating connections in a MongoClient's background thread. This change fixes a bug where application operations would block while the background thread ensures that all server pools have minPoolSize connections. - Fix a UnicodeDecodeError bug when coercing a PyMongoError with a non-ascii error message to unicode on Python 2. - Fix an edge case bug where PyMongo could exceed the server's maxMessageSizeBytes when generating a compressed bulk write command.Dirk Mueller2020-03-09 16:22:00 +00:00
0ebeb45676Accepting request 294946 from home:mlin7442:branches:devel:languages:pythonMax Lin2015-04-09 12:21:00 +00:00
94ad800c06Accepting request 294903 from home:tbechtold:branches:devel:languages:pythonMax Lin2015-04-08 09:53:42 +00:00
b7f66398abAccepting request 246469 from devel:languages:python
Stephan Kulow
2014-08-27 05:46:44 +00:00
527b215763Accepting request 246453 from home:mlin7442:branches:devel:languages:python
Denisart Benjamin
2014-08-26 11:18:11 +00:00
5dbc31a7a5Accepting request 242375 from devel:languages:python
Stephan Kulow
2014-07-26 07:42:10 +00:00
5e2c8db6e9Accepting request 242330 from home:mlin7442:branches:devel:languages:python
Denisart Benjamin
2014-07-25 12:43:51 +00:00
c334e7c002Accepting request 209729 from devel:languages:python
Stephan Kulow
2013-12-09 16:01:39 +00:00
7eb69500ebAccepting request 209701 from openSUSE:Factory:PowerLE
Denisart Benjamin
2013-12-07 13:16:25 +00:00
280c205722Accepting request 208700 from devel:languages:python
Stephan Kulow
2013-11-28 15:52:28 +00:00
74c35d9e19Accepting request 208699 from home:posophe:branches:devel:languages:python
Denisart Benjamin
2013-11-27 15:07:17 +00:00
fcae695e89Accepting request 199188 from devel:languages:python
Stephan Kulow
2013-09-16 14:35:16 +00:00
5960ac8d99Accepting request 199087 from home:Andreas_Schwab:Factory
Sascha Peilicke
2013-09-16 08:06:17 +00:00
fab9f0383eAccepting request 198877 from devel:languages:python
Tomáš Chvátal
2013-09-13 12:46:19 +00:00
849f3f5180Accepting request 198595 from home:dirkmueller:branches:devel:languages:python
Sascha Peilicke
2013-09-13 09:46:26 +00:00
a3e1d4e6efAccepting request 197209 from devel:languages:python
Stephan Kulow
2013-09-03 20:04:01 +00:00
1b313641cbAccepting request 197134 from home:dirkmueller:branches:devel:languages:python
Sascha Peilicke
2013-09-03 07:27:19 +00:00
6799870ee2Accepting request 186541 from devel:languages:python
Tomáš Chvátal
2013-08-13 11:23:27 +00:00
eb24c7144dAccepting request 186415 from home:k0da:ppc
Sascha Peilicke
2013-08-08 14:51:09 +00:00
3a1e31b987- Drop ExclusiveArch, mongodb is only a Suggets which is plain documentation. Nobody says that a PPC machine with the Python bindings can't talk to an x86_64 machine hosting mongodb.
Sascha Peilicke
2013-08-08 14:35:35 +00:00
0c20ce468eAccepting request 179962 from devel:languages:python
Stephan Kulow
2013-06-19 14:47:22 +00:00
ec4f29919dPython3 moved to devel:languages:python3
Sascha Peilicke
2013-06-17 12:53:09 +00:00
e3c4842dd5Accepting request 177707 from devel:languages:python
Stephan Kulow
2013-06-05 17:33:20 +00:00
9c55de35a5Accepting request 177317 from home:mlin7442:branches:devel:languages:python
Sascha Peilicke
2013-06-05 09:04:40 +00:00
b1b07fe6a2Accepting request 162594 from devel:languages:python
Stephan Kulow
2013-04-06 07:17:04 +00:00
c7f2b4d335Accepting request 162546 from home:k0da:ppc
Todd R
2013-04-04 10:43:58 +00:00
2f1955684fAccepting request 161458 from devel:languages:python
Stephan Kulow
2013-03-30 14:00:34 +00:00
660f0c9703Accepting request 161305 from home:mlin7442:branches:devel:languages:python
Sascha Peilicke
2013-03-27 15:33:43 +00:00
32b02640cbAccepting request 145170 from devel:languages:python
Stephan Kulow
2012-12-14 09:43:54 +00:00
9ec854592cAccepting request 145161 from home:mlin7442:branches:devel:languages:python
Sascha Peilicke
2012-12-12 09:14:26 +00:00
372ffeddcaAccepting request 143056 from devel:languages:python
Stephan Kulow
2012-11-28 13:34:20 +00:00
517bacf6c7Accepting request 136092 from home:MargueriteSu:branches:devel:languages:python
Sascha Peilicke
2012-10-04 06:52:59 +00:00
f9a1830ec0- Change requires on mongodb to suggests, a weak dependency is better
Sascha Peilicke
2012-03-27 08:41:56 +00:00