Noah Stapp
e1751ff253
PYTHON-5668 - Merge backpressure branch into mainline ( #2729 )
...
Co-authored-by: Steven Silvester <steve.silvester@mongodb.com>
Co-authored-by: Shane Harvey <shnhrv@gmail.com>
Co-authored-by: Steven Silvester <steven.silvester@ieee.org>
Co-authored-by: Iris <58442094+sleepyStick@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kevin Albertson <kevin.albertson@mongodb.com>
Co-authored-by: Casey Clements <caseyclements@users.noreply.github.com>
Co-authored-by: Sergey Zelenov <mail@zelenov.su>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-04-14 12:25:29 -04:00
Noah Stapp
f533157981
Python 4542 - Improved sessions API ( #2712 )
2026-03-05 09:04:37 -07:00
Noah Stapp
84814b2a72
PYTHON-5731 - Server selection deprioritization only for overload errors on replica sets ( #2710 )
2026-02-23 13:18:24 -05:00
Noah Stapp
543c4e532c
PYTHON-1357 - Refactor Cursor and CommandCursor ( #2691 )
2026-02-02 08:47:26 -05:00
Noah Stapp
0cfba4994d
PYTHON-5662 - Add support for server selection's deprioritized servers to all topologies ( #2639 )
2025-12-16 12:21:45 -05:00
Rogdham
f278e471d1
PYTHON-5522: Support std lib zstandard in 3.14 ( #2592 )
2025-10-31 16:14:14 -05:00
Noah Stapp
0049dc8896
PYTHON-2390 - Retryable reads use the same implicit session ( #2544 )
2025-09-24 13:23:28 -04:00
Noah Stapp
3c786f5cd9
PYTHON-3606 - Document best practice for closing MongoClients and cursors ( #2465 )
2025-08-13 09:46:01 -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
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
60faca0253
Update changelog for v4.13 release ( #2341 )
2025-05-14 14:00:46 -04: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
708ce16961
PYTHON-4724 - Prohibit AsyncMongoClient from being used across multiple event loops ( #2256 )
2025-04-04 13:22:22 -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
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
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
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
Jeffrey A. Clark
166821f22c
PYTHON-5205 Replace http with https in doc links ( #2204 )
2025-03-14 21:37:11 -04:00
Shane Harvey
4ffebb04e9
PYTHON-5168 Use logging for client background task errors ( #2166 )
2025-03-05 14:05:21 -08:00
Noah Stapp
8496d58faa
PYTHON-4993 - Reevaluate handling of asyncio.CancelledError ( #2132 )
2025-02-12 06:59:32 -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
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
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
c9d9d7c2dc
PYTHON-4907 Avoid noisy TypeError at interpreter exit ( #2005 )
2024-11-18 10:25:46 -08:00
Steven Silvester
351196b91b
PYTHON-4813 Update specification documentation links ( #1977 )
2024-10-30 15:46:52 -05:00
Noah Stapp
2f1227c504
PYTHON-4807 - Specify how to handle unacknowledged+(ordered|verbose|m… ( #1979 )
2024-10-29 12:28:33 -04:00
Noah Stapp
710bc40c73
PYTHON-4870 - MongoClient.address should block until a connection suc… ( #1929 )
2024-10-15 12:12:18 -04:00
Shane Harvey
ac198af557
PYTHON-4729 Drop support for MongoDB 3.6 ( #1905 )
2024-10-09 09:58:20 -07:00
Noah Stapp
d0772f2161
PYTHON-4773 - Async PyMongo Beta docs update ( #1868 )
2024-09-18 17:09:20 -05:00
Noah Stapp
739510214b
PYTHON-4731 - Explicitly close all MongoClients opened during tests ( #1855 )
2024-09-17 09:22:17 -04:00
Noah Stapp
9b9cf73368
PYTHON-4758 - Only emit warnings for unclosed clients after opening ( #1856 )
2024-09-12 16:19:05 -04:00
Noah Stapp
63d957c213
PYTHON-4590 - Fix MRO type guards ( #1852 )
2024-09-11 11:22:22 -04:00
Noah Stapp
039db2f20a
PYTHON-4590 - Make type guards more compatible ( #1850 )
2024-09-11 08:46:44 -04:00
Noah Stapp
2cca2d9e3d
PYTHON-3193 - Add ResourceWarning for unclosed MongoClients in __del__ ( #1833 )
2024-09-09 12:04:23 -04:00
Steven Silvester
c883012b56
PYTHON-4703 MongoClient should default to connect=False on FaaS environments ( #1844 )
2024-09-06 15:38:58 -05:00
Noah Stapp
5a49ccc759
PYTHON-4590 - Add type guards to async API methods ( #1820 )
2024-09-04 08:57:59 -04:00
Noah Stapp
e430d2e2fa
PYTHON-4662 - Capture Async PyMongo metadata ( #1814 )
2024-08-28 08:31:42 -04:00
Shruti Sridhar
768858eed6
PYTHON-4630 Add documentation for MongoClient.bulk_write ( #1794 )
2024-08-16 15:55:30 -07:00
Shruti Sridhar
297dfe6aa3
PYTHON-4660 Fix AttributeError when MongoClient.bulk_write batch fails with InvalidBSON ( #1792 )
2024-08-15 14:13:00 -07:00
Steven Silvester
f69d330b25
PYTHON-4654 Clean up Async API to match Motor ( #1789 )
2024-08-13 19:17:45 -05:00
Shruti Sridhar
d08fec6342
PYTHON-4550 Add MongoClient.bulk_write API ( #1745 )
2024-08-06 11:10:01 -07:00
Noah Stapp
f7da1172cb
PYTHON-4592 - Synchronize inline examples and docstrings ( #1756 )
2024-08-02 12:02:28 -07:00
Noah Stapp
a5c0db66a1
PYTHON-4589 - Add async API docs ( #1755 )
2024-07-30 13:18:40 -07:00
Noah Stapp
d0193eb045
PYTHON-4533 - Convert test/test_client.py to async ( #1730 )
2024-07-10 13:15:13 -07:00
Noah Stapp
ffa6555485
PYTHON-4476 Separate data and IO classes more effectively ( #1678 )
2024-06-26 10:12:39 -07:00
Shane Harvey
1d9adfa3b9
Cleanup sys.version_info compat code ( #1698 )
2024-06-25 12:31:30 -07:00