Jeffrey A. Clark
166821f22c
PYTHON-5205 Replace http with https in doc links ( #2204 )
2025-03-14 21:37:11 -04:00
Steven Silvester
5c6bb0a039
PYTHON-4747 Sync pool.py to master
2024-09-10 12:16:03 -05:00
Steven Silvester
3280769d6f
PYTHON-4747 Rename pymongo/pool.py to pymongo/synchronous/pool.py
2024-09-10 12:16:03 -05:00
Noah Stapp
42f45034f3
PYTHON-4372 & PYTHON-4378 Deprecate Python 3.7 and Update supported PyPy Versions to 3.9 and 3.10 ( #1630 )
2024-05-06 09:36:50 -07:00
Noah Stapp
af2d56c5b5
PYTHON-3841 Add durations to connection pool events ( #1538 )
2024-03-04 11:55:00 -08:00
Noah Stapp
ebb94b669e
PYTHON-3457 Easier debugging with standardized logging ( #1515 )
...
PYTHON-3458 Add command logging.
PYTHON-3459 Add server selection logging.
PYTHON-3473 Add connection pool logging.
PYTHON-4167 Add documentation and examples.
Co-authored-by: sleepyStick <itsirisho@gmail.com>
2024-02-15 11:35:08 -08:00
Noah Stapp
62c6d0f330
PYTHON-3587 Do not perform server selection to determine sessions support ( #1491 )
2024-02-05 13:19:26 -08:00
Noah Stapp
c4e4bd638f
PYTHON-3175 Preemptively cancel in progress operations when SDAM heartbeats timeout ( #1465 )
2024-01-19 10:55:10 -08:00
Jib
60d0761527
PYTHON-2884: Replaced SON usage in all internal classes and commands ( #1426 )
2023-12-19 15:42:23 -08:00
Noah Stapp
b1939e1470
PYTHON-2822 Add server connectionId to command monitoring events ( #1438 )
2023-12-01 14:33:37 -08:00
Steven Silvester
6537415da7
PYTHON-3605 Move type annotations to parameter list in rendered docs ( #1441 )
2023-11-27 09:24:00 -06:00
Noah Stapp
6c88c73219
PYTHON-3837 Driver Container and Kubernetes Awareness ( #1418 )
2023-11-02 13:13:45 -07:00
Steven Silvester
7936708d97
PYTHON-4014 Apply QA Suggestions from Scientific Python Library Development Guide ( #1414 )
2023-11-01 19:37:22 -05:00
Noah Stapp
06653c9e21
PYTHON-3926 Add more information to connection errors and timeouts ( #1375 )
2023-10-30 14:20:18 -07:00
Steven Silvester
992d1507e7
PYTHON-4005 Replace flake8 and isort with ruff ( #1399 )
2023-10-19 11:56:22 -05:00
Shane Harvey
4c00227c1d
PYTHON-3668 Use polling SDAM mode on FaaS and add sdamMode=auto/stream/poll ( #1360 )
...
Disable streaming SDAM by default on AWS Lambda and similar FaaS platforms.
Introduce the serverMonitoringMode=stream/poll/auto URI option.
Add Unified Test Format version 1.17 to add support for server heartbeat events.
2023-10-12 13:19:16 -07:00
Steven Silvester
9b6f2e18cf
PYTHON-3698 Support mypy 1.2 --strict testing (part 1) ( #1371 )
2023-09-20 14:29:17 -05:00
Steven Silvester
6f4e617e6d
PYTHON-3905 Use from __future__ import annotations in all files ( #1370 )
...
* PYTHON-3905 Use from __future__ import annotations in all files
* cleanup
* cleanup
* cleanup
2023-09-11 10:49:24 -05:00
Iris
34da931b3a
PYTHON-3867 add types to topology.py ( #1346 )
2023-08-09 14:21:43 -07:00
Iris
e0b8b36f41
PYTHON-3813 add types to pool.py ( #1318 )
2023-08-04 17:28:30 -07:00
Noah Stapp
c88ae79e58
PYTHON-3879 Rename SocketInfo to Connection ( #1329 )
2023-07-28 10:04:16 -07:00
Iris
e56c08afcc
PYTHON-3770 add types to auth_oidc.py ( #1265 )
2023-06-28 15:25:46 -07:00
Noah Stapp
1269c006da
PYTHON-3735 Add types to PyMongo auth module ( #1231 )
2023-06-14 11:27:58 -07:00
Shane Harvey
0092b0af79
PYTHON-2504 Run pyupgrade 3.4.0 and ruff 0.0.265 ( #1196 )
...
pyupgrade --py37-plus bson/*.py pymongo/*.py gridfs/*.py test/*.py tools/*.py test/*/*.py
ruff --fix-only --select ALL --fixable ALL --target-version py37 --line-length=100 --unfixable COM812,D400,D415,ERA001,RUF100,SIM108,D211,D212,SIM105,SIM,PT,ANN204,EM bson/*.py pymongo/*.py gridfs/*.py test/*.py test/*/*.py
2023-05-11 15:27:17 -07:00
Steven Silvester
afd7e1c2cd
PYTHON-3460 Implement OIDC SASL mechanism ( #1138 )
2023-05-11 14:35:30 -05:00
Shane Harvey
3d3e4dc238
PYTHON-3464 Add FaaS platform to handshake metadata ( #1204 )
...
Truncate metadata env, os, and platform fields if needed.
2023-05-04 18:24:14 -07:00
Shane Harvey
774154e934
PYTHON-3451 Stop passing bytes to getaddrinfo to fix eventlet support ( #1066 )
2022-10-05 14:34:59 -07:00
Shane Harvey
179efda312
PYTHON-3406 Reinstate warning and docs that PyMongo is not fork safe ( #1050 )
...
Log child process C-level stacks when fork tests deadlock.
Encode hostname to bytes to avoid getaddrinfo importlib deadlock.
2022-09-13 14:14:53 -07:00
Ben Warner
3204290e93
PYTHON-2484 Added lock sanitization for MongoClient and ObjectId ( #985 )
2022-08-04 16:58:56 -07:00
Shane Harvey
935f926bd9
PYTHON-3362 Ignore wtimeout when timeoutMS or timeout() is configured ( #1013 )
...
Apply client timeoutMS to gridfs operations.
2022-07-19 17:46:09 -07:00
Steven Silvester
135efdd23f
PYTHON-3153 Update initial DNS seedlist discovery tests to support dedicated load balancer port ( #1002 )
2022-07-14 14:57:52 -05:00
Steven Silvester
d2b95d1bf0
PYTHON-3336 Test Failure - test_load_balancer failing ( #1000 )
2022-07-08 19:40:25 -05:00
Shane Harvey
b16533951c
PYTHON-3345 CSOT use connection handshake RTT for load balanced mode ( #998 )
2022-07-07 16:55:16 -07:00
Shane Harvey
890cd26e1a
PYTHON-3288 Implement client side operation timeout ( #954 )
...
Add timeoutMS URI option and MongoClient keyword argument.
Add provisional/beta pymongo.timeout() api to set a deadline for a block of operations.
2022-06-06 15:36:52 -04:00
Shane Harvey
78476d0217
PYTHON-3187 Avoid tight poll() loop on pyopenssl connections ( #953 )
2022-05-26 15:14:59 -07:00
Shane Harvey
a1c33e0b84
PYTHON-3257 Fix "connection pool paused" errors in child after fork ( #944 )
2022-05-09 15:37:48 -07:00
Shane Harvey
75685c006c
PYTHON-3235 Drop support for Python 3.6 ( #939 )
2022-05-05 16:13:41 -07:00
Steven Silvester
b3604a81d3
PYTHON-3171 Add usage of NoReturn annotation ( #901 )
2022-03-16 15:26:10 -05:00
Julius Park
2141621194
PYTHON-3088 Test rapid releases with load balancers ( #885 )
...
PYTHON-3088 [v3.13] Update load balancer tests to support dedicated load balancer port (#870 )
(cherry picked from commit 341d489 )
2022-02-22 14:45:56 -08:00
Julius Park
f5eec45250
PYTHON-3111 Rename "Versioned API" to "Stable API" in documentation ( #867 )
2022-02-17 16:23:23 -08:00
Steven Silvester
a0fe7c03af
PYTHON-3120 Set up flake8 linting ( #868 )
2022-02-17 06:44:08 -06:00
Julius Park
341d489f38
PYTHON-3088 Update load balancer tests to support dedicated load balancer port ( #866 )
2022-02-14 11:26:14 -08:00
Steven Silvester
5578999a90
PYTHON-1834 Use a code formatter ( #852 )
2022-02-09 06:44:28 -06:00
Steven Silvester
dd6c140d43
PYTHON-3060 Add typings to pymongo package ( #831 )
2022-02-02 21:12:36 -06:00
Steven Silvester
abfa0d35bc
PYTHON-3075 bulk_write does not apply CodecOptions to upserted_ids result ( #840 )
2022-02-02 13:53:58 -06:00
Julius Park
4eeb685c57
PYTHON-3069 Require hello command + OP_MSG when 'loadBalanced=True' ( #837 )
2022-01-26 11:57:36 -08:00
Shane Harvey
ff3a8b44dc
PYTHON-1864 PYTHON-2931 Spec complaint $readPreference ( #809 )
...
Stop sending $readPreference to standalone servers.
Stop sending $readPreference primary because it's the server default.
Remove outdated secondary_ok flag.
2021-12-13 15:47:34 -08:00
Shane Harvey
797197e73b
PYTHON-2763 Remove outdated check_keys and $clusterTime logic ( #817 )
2021-12-10 10:22:49 -08:00
Shane Harvey
c94a3ad1df
PYTHON-2585 Remove legacy multi-auth code ( #816 )
2021-12-09 18:00:41 -08:00
Shane Harvey
e154642968
Removed references to outdated server versions ( #812 )
2021-12-07 15:47:28 -08:00