Steven Silvester
9dbccbee2c
PYTHON-5492 Fix handling of MaxTimeMSExpired responses ( #2477 )
2025-08-15 19:13:51 -05:00
Noah Stapp
3c786f5cd9
PYTHON-3606 - Document best practice for closing MongoClients and cursors ( #2465 )
2025-08-13 09:46:01 -04:00
Jeffrey A. Clark
4e9b52b8d6
PYTHON-5487 Update 4.14 changelog to mention MongoDB 4.0 is no longer supported ( #2462 )
...
Signed-off-by: mongodb-dbx-release-bot[bot] <167856002+mongodb-dbx-release-bot[bot]@users.noreply.github.com>
Co-authored-by: mongodb-dbx-release-bot[bot] <167856002+mongodb-dbx-release-bot[bot]@users.noreply.github.com>
2025-08-07 14:01:08 -04:00
Noah Stapp
d88596cef1
PYTHON-5218 - Add logging statement when SRV polling fails ( #2463 )
...
Co-authored-by: Jib <Jibzade@gmail.com>
2025-08-07 13:32:11 -04:00
Noah Stapp
ad16d6e880
PYTHON-4431 - Remove ReadTheDocs Documentation in Favor of Official Docs ( #2459 )
2025-08-07 12:06:38 -04:00
Noah Stapp
bbb6f88fae
PYTHON-5257 - Turn on mypy disallow_any_generics ( #2456 )
2025-08-06 14:21:53 -04:00
Steven Silvester
06872f7f03
PYTHON-4780 Implement fast path for server selection with Primary ( #2416 )
2025-07-22 10:23:26 -05:00
Steven Silvester
cf2630148a
PYTHON-4677 Specify how maxTimeMS can be set for explain helpers ( #2439 )
2025-07-18 12:04:10 -05:00
Steven Silvester
55d399b75a
PYTHON-4019 Infinite loop in generic transactional provider due to dup keys ( #2438 )
2025-07-17 09:29:11 -05:00
Steven Silvester
7b82b3582f
PYTHON-5440 Use dochub link for index-wildcard ( #2427 )
2025-07-14 10:03:33 -05:00
Iris
c77c15e369
PYTHON-5421 continued - update changelog, update docstring, and add testing ( #2420 )
2025-07-07 14:00:11 -07:00
Iris
947fbe33ee
PYTHON-5421 Make parse_uri() return "options" as a dict rather than _CaseInsensitiveDictionary ( #2413 )
2025-07-02 09:51:50 -07:00
Iris
65f7c54208
PYTHON-5344 and PYTHON-5403 Allow Instantiated MongoClients to Send Client Metadata On-Demand ( #2358 )
2025-06-24 09:34:53 -07:00
Noah Stapp
e2bfa9a590
PYTHON-5248 - Drop support for MongoDB 4.0 ( #2353 )
2025-06-20 14:25:19 -04:00
Noah Stapp
50ea82310d
PYTHON 5212 - Use asyncio.loop.sock_connect in _async_create_connection ( #2383 )
2025-06-13 15:30:10 -04:00
Maarten Sijm
c2aefc2eda
PYTHON-5414 Fix "module service_identity has no attribute SICertificateError" when using pyopenssl ( #2382 )
2025-06-12 16:45:18 -07:00
Steven Silvester
0dd5a5c794
PYTHON-5405 Use legacy wait_for_read cancellation approach on Windows ( #2363 )
2025-06-09 19:36:44 -05:00
Noah Stapp
536b1cb8ab
PYTHON-5406 - AsyncPeriodicExecutor must reset CSOT contextvars befor… ( #2360 )
2025-06-06 13:17:36 -04:00
Noah Stapp
1366b9132e
PYTHON-5394 - Add native async support for OIDC ( #2352 )
2025-05-28 15:44:54 -04:00
mongodb-dbx-release-bot[bot]
a435a3e1c3
BUMP 4.14.0.dev0
...
Signed-off-by: mongodb-dbx-release-bot[bot] <167856002+mongodb-dbx-release-bot[bot]@users.noreply.github.com>
2025-05-14 19:14:32 +00:00
Noah Stapp
84411b9119
Bump version to 4.13.0 for release ( #2342 )
2025-05-14 14:51:36 -04:00
mongodb-dbx-release-bot[bot]
397c280217
BUMP 4.13.0.dev1
...
Signed-off-by: mongodb-dbx-release-bot[bot] <167856002+mongodb-dbx-release-bot[bot]@users.noreply.github.com>
2025-05-14 18:23:10 +00:00
Noah Stapp
60faca0253
Update changelog for v4.13 release ( #2341 )
2025-05-14 14:00:46 -04:00
Shane Harvey
4cc5e89ebf
PYTHON-5362 WriteConcern repr should be eval-able ( #2338 )
2025-05-13 13:37:18 -07:00
Noah Stapp
aa41e70523
PYTHON-5369 - Re-raise socket.timeout errors if the deadline has alre… ( #2326 )
2025-05-12 09:28:05 -04:00
Noah Stapp
775b683276
PYTHON-5371 - Pass repr(ServerDescription) to logging ( #2329 )
2025-05-08 14:20:11 -04:00
Iris
c3e3373df2
PYTHON-5309 Ensure AsyncMongoClient doesn't use PyOpenSSL ( #2286 )
...
Co-authored-by: Noah Stapp <noah@noahstapp.com>
2025-04-24 16:19:09 -07:00
Noah Stapp
09897b698e
PYTHON-5212 - Do not hold Topology lock while resetting pool ( #2301 )
2025-04-23 15:13:38 -04:00
Shane Harvey
e2e673edeb
PYTHON-5314 Fix default imports for modules that worked in v4.8 ( #2300 )
2025-04-22 11:44:58 -07:00
Noah Stapp
412d0005b8
PYTHON-5306 - Fix use of public MongoClient attributes before connection ( #2285 )
2025-04-21 15:53:21 -04:00
Noah Stapp
e6a4a7145e
PYTHON-5310 - Fix uri_parser AttributeError when used directly ( #2283 )
2025-04-15 08:05:20 -04:00
Noah Stapp
5b0862e78e
PYTHON-5297 - AsyncMongoClient connection error causes UnboundLocalError ( #2273 )
2025-04-10 10:30:09 -04:00
Jeffrey A. Clark
86e221eb5c
PYTHON-5288: SRV hostname validation fails when resolver and resolved hostnames are identical with three domain levels ( #2272 )
2025-04-09 18:00:04 -04:00
mongodb-dbx-release-bot[bot]
2c077ba8a4
BUMP 4.13.0.dev0
...
Signed-off-by: mongodb-dbx-release-bot[bot] <167856002+mongodb-dbx-release-bot[bot]@users.noreply.github.com>
2025-04-08 13:12:35 +00:00
mongodb-dbx-release-bot[bot]
98b656f286
BUMP 4.12.0
...
Signed-off-by: mongodb-dbx-release-bot[bot] <167856002+mongodb-dbx-release-bot[bot]@users.noreply.github.com>
2025-04-08 12:52:55 +00:00
Shane Harvey
4d4a26cbbe
PYTHON-5270 Server selection should log remainingTimeMS as milliseconds ( #2263 )
2025-04-07 11:34:01 -07:00
Noah Stapp
708ce16961
PYTHON-4724 - Prohibit AsyncMongoClient from being used across multiple event loops ( #2256 )
2025-04-04 13:22:22 -04:00
Jeffrey A. Clark
1c813dc648
PYTHON-4575 Allow valid SRV hostnames with less than 3 parts ( #2234 )
2025-04-04 13:09:04 -04:00
Noah Stapp
e7c0814512
PYTHON-4557 - Fix write log messages for retried commands ( #2260 )
2025-04-03 15:33:11 -04:00
Noah Stapp
b40223938c
PYTHON-5219 - Avoid awaiting coroutines when holding locks ( #2250 )
2025-04-03 15:32:47 -04:00
Noah Stapp
3210b175dd
PYTHON-4557 - Add log message for retried commands ( #2248 )
2025-04-02 08:29:23 -04:00
Iris
7424f6c098
PYTHON-5242 MongoClient does not define all attributes in __init__ ( #2249 )
2025-04-01 11:41:33 -07:00
Noah Stapp
4bffc4e492
PYTHON-4471 - Logging records should have a standard field order ( #2247 )
2025-03-31 16:06:31 -04:00
Noah Stapp
d1c14150dc
PYTHON-5154 - Remove PyOpenSSL support from Async PyMongo ( #2246 )
2025-03-31 15:04:05 -04:00
Noah Stapp
c326161379
PYTHON-4933 - Allow drivers to set bypassDocumentValidation: false on… ( #2227 )
2025-03-28 15:56:37 -04:00
Noah Stapp
e51ad27d20
PYTHON-4493 - Use asyncio protocols instead of sockets for network IO ( #2151 )
...
Co-authored-by: Shane Harvey <shnhrv@gmail.com>
2025-03-28 15:02:40 -04:00
Steven Silvester
3875cc6e1b
PYTHON-5421 Fix handling of client timeout property ( #2240 )
2025-03-27 11:43:37 -05:00
Noah Stapp
2c1a1608f2
PYTHON-5169 - Deprecate Hedged Reads option ( #2213 )
...
Co-authored-by: Shane Harvey <shnhrv@gmail.com>
2025-03-25 17:00:19 -04:00
Iris
eea8a37257
PYTHON-3636 AsyncMongoClient should perform SRV resolution lazily ( #2191 )
...
Co-authored-by: Noah Stapp <noah@noahstapp.com>
Co-authored-by: Shane Harvey <shane.harvey@mongodb.com>
2025-03-25 13:45:06 -07:00
Noah Stapp
4403169821
PYTHON-4940 - Add index hint as an explicit parameter for distinct command. ( #2225 )
2025-03-25 11:20:10 -04:00
Noah Stapp
df30eff390
PYTHON-5135 - Rename WriteConcernFailed code name to WriteConcernTimeout ( #2214 )
2025-03-24 15:37:00 -04:00
Iris
1145c9de54
PYTHON-5046 Support $lookup in CSFLE and QE ( #2210 )
2025-03-20 13:55:52 -07:00
Jeffrey A. Clark
166821f22c
PYTHON-5205 Replace http with https in doc links ( #2204 )
2025-03-14 21:37:11 -04:00
Shane Harvey
e48365c5f1
PYTHON-5202 WaitQueueTimeoutError should not clear the pool ( #2192 )
2025-03-12 11:21:19 -07:00
Shane Harvey
7ef18af49b
PYTHON-4580 Add key_expiration_ms option for DEK cache lifetime ( #2186 )
2025-03-10 17:11:38 -07:00
Shane Harvey
4ffebb04e9
PYTHON-5168 Use logging for client background task errors ( #2166 )
2025-03-05 14:05:21 -08:00
Shane Harvey
de09181b1c
PYTHON-4960 More informative error message for stale primary ( #2115 )
2025-03-05 10:30:52 -08:00
Shane Harvey
5ac262783f
PYTHON-5155 Use dochub link for fork warning ( #2173 )
2025-03-03 12:07:43 -08:00
Shane Harvey
080c1c6121
PYTHON-5166 Allow Database.command to run bulkWrite commands ( #2164 )
2025-02-28 10:48:36 -08:00
Shane Harvey
85ca6f1d9f
PYTHON-4579 Stop gossiping $clusterTime on SDAM connections ( #1925 )
2025-02-26 13:18:04 -08:00
Shane Harvey
0ac56a3019
PYTHON-5155 Fix FAQ link for fork safety ( #2156 )
2025-02-25 11:12:42 -08:00
Noah Stapp
8496d58faa
PYTHON-4993 - Reevaluate handling of asyncio.CancelledError ( #2132 )
2025-02-12 06:59:32 -05:00
Noah Stapp
b94dd8e12b
PYTHON-4745 - Test behavior of async task cancellation ( #2136 )
2025-02-10 16:50:40 -05:00
Casey Clements
7a7ffa615d
PYTHON-5111 Update datetime_conversion in docstrings of MongoClients ( #2135 )
2025-02-10 15:00:30 -05:00
Noah Stapp
c6ffa1e951
PYTHON-5129 - Fix async transaction docstrings ( #2138 )
2025-02-10 13:29:11 -05:00
Noah Stapp
1b818470fc
PYTHON-5053 - AsyncMongoClient.close() should await all background tasks ( #2127 )
2025-02-05 15:05:41 -05:00
The Light
44d1d40d65
PYTHON-5115 Type validation errors should include the invalid type name ( #2085 )
...
Co-authored-by: Iris Ho <iris.ho@mongodb.com>
2025-01-31 12:01:58 -08:00
Steven Silvester
c2e7fae7d9
BUMP 4.12.0.dev0
2025-01-29 09:33:36 -06:00
mongodb-dbx-release-bot[bot]
9603e92894
BUMP 10.10.11.dev0
...
Signed-off-by: mongodb-dbx-release-bot[bot] <167856002+mongodb-dbx-release-bot[bot]@users.noreply.github.com>
2025-01-29 05:43:30 +00:00
mongodb-dbx-release-bot[bot]
4ecf786892
BUMP 10.10.10.10
...
Signed-off-by: mongodb-dbx-release-bot[bot] <167856002+mongodb-dbx-release-bot[bot]@users.noreply.github.com>
2025-01-29 05:33:03 +00:00
mongodb-dbx-release-bot[bot]
78724cde8d
BUMP 4.12.0.dev0
...
Signed-off-by: mongodb-dbx-release-bot[bot] <167856002+mongodb-dbx-release-bot[bot]@users.noreply.github.com>
2025-01-28 15:42:56 +00:00
mongodb-dbx-release-bot[bot]
cae161ecdd
BUMP 4.11
...
Signed-off-by: mongodb-dbx-release-bot[bot] <167856002+mongodb-dbx-release-bot[bot]@users.noreply.github.com>
2025-01-28 15:30:50 +00:00
Shane Harvey
a3208df5c9
PYTHON-5059 Update default maxMessageSizeBytes and maxWriteBatchSize ( #2078 )
2025-01-24 14:30:07 -08:00
Steven Silvester
cfe7784db9
PYTHON-4976 Replace hatch with uv as our python environment and workfow tool ( #2068 )
2025-01-22 08:48:17 -06:00
Noah Stapp
f1af917894
PYTHON-5044 - Fix successive AsyncMongoClients on a single loop always ti… ( #2065 )
2025-01-22 08:49:16 -05:00
Noah Stapp
e4d84494c3
PYTHON-5021 - Fix usages of getaddrinfo to be non-blocking ( #2059 )
2025-01-17 09:46:48 -05:00
Noah Stapp
f8bd891df4
PYTHON-5039 - Always use asyncio.get_running_loop() instead of asynci… ( #2063 )
2025-01-15 09:53:45 -05:00
Noah Stapp
069ebf3e13
PYTHON-5037 - Update pyopenssl_context.__get_options type hint ( #2060 )
2025-01-15 07:54:52 -05:00
Noah Stapp
b9f4f796f1
Revert "PYTHON-4915 - Add guidance on adding _id fields to documents to CRUD spec, reorder client.bulk_write generated _id fields" ( #2055 )
...
Co-authored-by: Steven Silvester <steve.silvester@mongodb.com>
2025-01-13 09:16:28 -05:00
Steven Silvester
493fc2ab3e
PYTHON-5014 Fix handling of async socket errors in kms request ( #2054 )
2025-01-10 13:05:57 -06:00
Shane Harvey
53943ac539
PYTHON-5011 Fix behavior of TLS connection errors on PyPy ( #2052 )
2025-01-09 13:36:56 -08:00
Shane Harvey
1b3f04c599
PYTHON-5020 Fix behavior of network timeouts on pyopenssl connections ( #2037 )
2025-01-02 10:26:33 -08:00
Steven Silvester
8d27699e75
PYTHON-3096 Finish implementation and tests for GSSAPI options ( #1985 )
2024-12-31 16:29:48 -06:00
Shane Harvey
ff2f95987f
PYTHON-2560 Retry KMS requests on transient errors ( #2024 )
2024-12-03 16:16:47 -08:00
Shane Harvey
a9e61f6bed
PYTHON-4292 Improve TLS read performance ( #2020 )
2024-12-02 10:08:52 -08:00
theRealProHacker
cbeebd0190
Small doc fix ( #2021 )
...
Co-authored-by: Steven Silvester <steve.silvester@mongodb.com>
2024-12-02 10:54:56 -06:00
Noah Stapp
0e8d70457f
Async client uses tasks instead of threads
...
PYTHON-4725 - Async client should use tasks for SDAM instead of threads
PYTHON-4860 - Async client should use asyncio.Lock and asyncio.Condition
PYTHON-4941 - Synchronous unified test runner being used in asynchronous tests
PYTHON-4843 - Async test suite should use a single event loop
PYTHON-4945 - Fix test cleanups for mongoses
Co-authored-by: Iris <58442094+sleepyStick@users.noreply.github.com>
2024-11-26 16:55:27 -05:00
Shane Harvey
a7c1090056
PYTHON-4414 interruptInUseConnections should cancel pending connections too ( #2010 )
2024-11-19 10:46:57 -08:00
Shane Harvey
c9d9d7c2dc
PYTHON-4907 Avoid noisy TypeError at interpreter exit ( #2005 )
2024-11-18 10:25:46 -08:00
Shane Harvey
18940030f1
PYTHON-4921 Eliminate unnecessary killCursors command when batchSize == limit ( #2004 )
2024-11-18 10:25:20 -08:00
Shane Harvey
35b2fbbd02
PYTHON-4977 Fix import time on Windows again ( #2003 )
2024-11-15 08:57:34 -08:00
Noah Stapp
72a51092cd
PYTHON-4915 - Add guidance on adding _id fields to documents to CRUD spec, reorder client.bulk_write generated _id fields ( #1976 )
2024-11-12 09:32:41 -05:00
Steven Silvester
5e5528238c
PYTHON-4817 Revert import guard on asyncio ( #1894 )
2024-11-11 13:24:22 -06:00
Steven Silvester
6a8a805217
PYTHON-4845 Ensure ALLOWED_HOSTS is optional for Workload Usage ( #1998 )
2024-11-11 09:33:29 -06:00
Shane Harvey
0733c4da44
PYTHON-4925 Fix test bugs in $$matchAsDocument and $$matchAsRoot ( #1988 )
...
Fixes a bug where the driverConnectionId field was missing from "server heartbeat failed" log messages.
Avoids sending "upsert": False since various client.bulkWrite spec tests assume this field is only sent when it's True.
2024-11-05 12:19:51 -08:00
Steven Silvester
57fd616ace
PYTHON-4330 Add Kubernetes Support for OIDC ( #1759 )
2024-11-04 10:26:07 -06:00
Steven Silvester
351196b91b
PYTHON-4813 Update specification documentation links ( #1977 )
2024-10-30 15:46:52 -05:00
Noah Stapp
2332d69328
PYTHON-4807 - Update changelog + remove dead code ( #1984 )
2024-10-30 15:37:00 -04:00
Steven Silvester
92d6a732c5
PYTHON-3906 & PYTHON-2867 Implement GSSAPI ServiceHost support and expand canonicalization options ( #1983 )
2024-10-30 14:06:54 -05:00
Steven Silvester
ad3292e39b
PYTHON-4922 Remove Support for MONGODB-CR Authentication ( #1978 )
2024-10-30 12:57:31 -05:00