Commit Graph

2855 Commits

Author SHA1 Message Date
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
Noah Stapp
2f1227c504
PYTHON-4807 - Specify how to handle unacknowledged+(ordered|verbose|m… (#1979) 2024-10-29 12:28:33 -04:00
Shane Harvey
7e904b3c31
PYTHON-4874 Fix async Windows KMS support (#1942) 2024-10-17 13:11:20 -07:00
Noah Stapp
a62ade864d
PYTHON-4874 - Add KMS support for async Windows (#1939) 2024-10-17 11:32:39 -04:00