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
Noah Stapp
d6bf0e1e78
PYTHON-4264 Async PyMongo Beta ( #1629 )
2024-06-06 09:01:24 -07:00
Steven Silvester
49987e6a8a
PYTHON-4441 Use deferred imports instead of lazy module loading ( #1648 )
2024-05-30 16:40:23 -05:00
Steven Silvester
e37394d402
PYTHON-2723 Convert transactions spec tests to unified test format ( #1543 )
2024-03-26 17:28:32 -05:00
Noah Stapp
b041ca5f7c
PYTHON-4022 - Ensure ServerHeartbeatStartedEvents are emitted before connecting ( #1542 )
2024-03-05 07:53:53 -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
Steven Silvester
d99a095b33
PYTHON-4205 Fix TestDataLakeProse.test_3 ( #1519 )
2024-02-09 19:41:47 -06:00
Steven Silvester
4bc2a482d9
PYTHON-3467 OIDC: Automatic token acquisition for Azure Identity Provider ( #1443 )
...
Co-authored-by: Jib <Jibzade@gmail.com>
2024-02-02 09:53:48 -06:00
Noah Stapp
c4e4bd638f
PYTHON-3175 Preemptively cancel in progress operations when SDAM heartbeats timeout ( #1465 )
2024-01-19 10:55:10 -08:00
Noah Stapp
5dc60342ed
PYTHON-2834 Direct read/write retries to another mongos if possible ( #1421 )
2023-11-14 12:49:42 -08:00
Steven Silvester
7936708d97
PYTHON-4014 Apply QA Suggestions from Scientific Python Library Development Guide ( #1414 )
2023-11-01 19:37:22 -05: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
Iris
02a365276c
PYTHON-3806 add types to message.py ( #1312 )
2023-08-02 20:11:25 -07:00
Noah Stapp
c88ae79e58
PYTHON-3879 Rename SocketInfo to Connection ( #1329 )
2023-07-28 10:04:16 -07:00
Noah Stapp
b16e06acfd
PYTHON-3727 Use tox for unit tests and switch to pytest ( #1249 )
2023-06-21 15:07:14 -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
Shane Harvey
deb0566c3e
PYTHON-3614 Support Queryable Encryption protocol v2 on 7.0+ ( #1197 )
...
Resync FLE spec tests and update docs for new QE protocol on 7.0.
Add client side error for createEncryptedCollection on MongoDB < 7.0.
KMS timeout errors should always have exc.timeout==True.
PYTHON-3583 Drivers should not create the ECC collection in v2 of queryable encryption.
2023-05-01 09:16:28 -07:00
Shane Harvey
79aa5e6757
PYTHON-3516 Improve test EventListener api ( #1114 )
2022-11-14 08:50:08 -08:00
Julius Park
92e6150d84
PYTHON-3493 Bulk Write InsertOne Should Be Parameter Of Collection Type ( #1106 )
2022-11-10 14:19:55 -08:00
Julius Park
9083821300
PYTHON-3454 Specifying a generic type for a collection does not correctly enforce type safety when inserting data ( #1081 )
2022-11-01 14:33:21 -07:00
Shane Harvey
85f0987e1d
PYTHON-3400 Only use new electionId/setVersion logic on 6.0+
2022-10-05 13:02:15 -07:00
Julius Park
c874c96e29
PYTHON-3232 Improved change stream event visibility for C2C Replication ( #1062 )
2022-09-27 15:31:20 -07:00
Shane Harvey
a0a5c7194d
PYTHON-3405/PYTHON-2531 Fix tests for primary step down ( #1041 )
2022-08-18 15:38:09 -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
db3f2dca05
PYTHON-2459 Implement unified GridFS tests ( #1012 )
2022-07-19 15:01:41 -07:00
Julius Park
484374eb3f
PYTHON-3298 Add flag to create_collection to skip listCollections pre-check ( #1006 )
2022-07-18 13:40:16 -07:00
Steven Silvester
d2b95d1bf0
PYTHON-3336 Test Failure - test_load_balancer failing ( #1000 )
2022-07-08 19:40:25 -05:00
Julius Park
02a9df69f6
PYTHON-3227 Clustered Indexes for all Collections ( #971 )
2022-06-15 13:16:22 -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
Julius Park
6b088ffa4e
PYTHON-3241 Add Queryable Encryption API to AutoEncryptionOpts ( #957 )
2022-06-06 12:33:31 -04:00
Steven Silvester
21ead3a7e5
PYTHON-3189 Change Stream event document missing to field for rename events ( #924 )
2022-05-06 16:48:02 -05:00
Shane Harvey
75685c006c
PYTHON-3235 Drop support for Python 3.6 ( #939 )
2022-05-05 16:13:41 -07:00
Steven Silvester
5578999a90
PYTHON-1834 Use a code formatter ( #852 )
2022-02-09 06:44:28 -06:00
Steven Silvester
f4cef37328
PYTHON-3064 Add typings to test package ( #844 )
2022-02-07 19:33:41 -06: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
Bernie Hackett
111552281d
PYTHON-2921 Fix eventlet detection with Python 3.10 ( #744 )
2021-09-24 14:16:29 -07:00
Shane Harvey
968ee7ba96
PYTHON-2868 Test Serverless behind a load balancer ( #742 )
2021-09-23 15:57:57 -07:00
Julius Park
3b8961a76e
PYTHON-2679 Auto discover replica sets by default ( #716 )
2021-09-14 14:00:13 -07:00
Bernie Hackett
f64c5aa940
PYTHON-2904 Further language modernization
2021-09-14 12:24:06 -07:00
Bernie Hackett
ad4315134c
PYTHON-2803 Get rid of most uses of 'master'
...
This change also resolves PYTHON-2848 for MongoDB 4.0.
2021-09-13 12:50:49 -07:00
Bernie Hackett
146179db53
PYTHON-2803 Eliminate the use of 'slave'
2021-09-13 12:47:24 -07:00
Prashant Mital
f07da34f97
PYTHON-2545 Test Atlas Serverless ( #664 )
2021-07-27 16:35:09 -07:00
Bernie Hackett
f11be6cfa6
PYTHON-2586 Changes to support Python 3.10
2021-06-23 11:21:41 -07:00
Shane Harvey
4c77d7c855
PYTHON-2677 Better wait queue timeout errors for load balanced clusters ( #639 )
...
Remove checkout argument in favor of SocketInfo.pin_txn/pin_cursor()
2021-06-21 18:29:36 -07:00
Bernie Hackett
fd9391df5c
PYTHON-2557 Timeseries collection support
...
This change also resolves PYTHON-2604.
2021-06-16 14:34:12 -07:00
Shane Harvey
c8f32a7a37
PYTHON-2673 Connection pinning behavior for load balanced clusters ( #630 )
...
Tweak spec test because pymongo unpins cursors eagerly after errors.
Tweak spec test for PoolClearedEvent ordering when MongoDB handshake fails (see DRIVERS-1785).
Only skip killCursors for some error codes.
Rely on SDAM error handling to close the connection after a state change error.
Add service_id to various events.
Retain reference to pinned sockets to prevent premptive closure by CPython's cyclic GC.
2021-06-15 14:14:56 -07:00
Shane Harvey
112ee69de8
PYTHON-2674 Pool.reset only clears connections to the given serviceId ( #628 )
2021-06-15 09:52:30 -07:00