Commit Graph

2623 Commits

Author SHA1 Message Date
Shane Harvey
b16533951c
PYTHON-3345 CSOT use connection handshake RTT for load balanced mode (#998) 2022-07-07 16:55:16 -07:00
Steven Silvester
b40f13bf7d
PYTHON-3311 Module "pymongo" does not explicitly export attribute "MongoClient"; implicit reexport disabled (#994) 2022-07-06 18:30:00 -05:00
Steven Silvester
b8f857d19e
PYTHON-3292 Remove ElectionInProgress (216) from ResumableChangeStreamError (#996) 2022-07-06 16:59:46 -05:00
Steven Silvester
751949a22a
PYTHON-3316 Add Type Check Test for Transactions (#995) 2022-07-06 14:24:06 -05:00
Shane Harvey
6acc9f64cf
PYTHON-3333 Fix bug where non-cursor read operations fail in a transaction with directConnection=True on primary (#991) 2022-07-06 11:39:41 -07:00
Shane Harvey
02de2c93e0
PYTHON-3337 Fix capped collection test on MMAPv1 (#990) 2022-07-06 11:39:07 -07:00
Julius Park
6d916d68c2
PYTHON-3315 Remove index_key_id option from ClientEncryption encrypt method (#989) 2022-07-01 12:36:12 -07:00
Steven Silvester
b37b146ac8
PYTHON-3053 Key Management API (#958) 2022-06-30 12:35:29 -05:00
Steven Silvester
0631039118
PYTHON-3319 Require contentionFactor for "Indexed" explicit encryption (#987) 2022-06-29 16:08:38 -05:00
Steven Silvester
6ed38529e8
PYTHON-3286 Update expected FLE 2 find payloads in tests (#988) 2022-06-29 15:11:13 -05:00
Julius Park
f290290261
PYTHON-3097 Language specific examples for AWS Lambda (#984) 2022-06-29 12:18:52 -07:00
Julius Park
ae71872fa9
PYTHON-3297 Test auto decryption occurs after CommandSucceeded events (#980) 2022-06-24 10:52:09 -07:00
Julius Park
1f7f46faa2
PYTHON-3282 Add comment option tests for distinct helper (#979) 2022-06-21 15:30:17 -07:00
Ben Warner
4ae93c4937
PYTHON-1552 Prevent uploading partial or corrupt GridFS files after an error occurs 2022-06-16 15:26:27 -07:00
Julius Park
02a9df69f6
PYTHON-3227 Clustered Indexes for all Collections (#971) 2022-06-15 13:16:22 -07:00
Ben Warner
43c2062305
PYTHON-3093 Change streams support for user-facing PIT pre- and post-images (#972) 2022-06-15 11:22:55 -07:00
Steven Silvester
98d3933364
PYTHON-3253 Provide FLE 2.0 API example for docs team (#969) 2022-06-13 19:54:36 -05:00
Shane Harvey
a6ae852c36
PYTHON-3290 Nested pymongo.timeout() calls only shorten the deadline (#966) 2022-06-07 17:40:46 -04:00
Shane Harvey
70cfe46063
PYTHON-3290 Support nested pymongo.timeout() calls (#962) 2022-06-07 14:29:07 -04: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
Shane Harvey
154d8787c5
PYTHON-3245 Support explicit queryable encryption (#959) 2022-06-03 13:11:28 -07:00
Shane Harvey
09385be549
PYTHON-2924 Improve test_load_balancing (#955) 2022-06-02 10:55:15 -07:00
Shane Harvey
cf08d46ff9
PYTHON-3277 Rename csfle library to crypt_shared (#956) 2022-06-01 16:48:08 -07:00
Steven Silvester
62a6302181
PYTHON-2683 Convert change stream spec tests to unified test format (#950) 2022-06-01 18:26:52 -05:00
Julius Park
f4fc742ff3
PYTHON-3276 [pymongo] FLE 1.0 shared library (#947) 2022-05-27 12:34:22 -07:00
Shane Harvey
78476d0217
PYTHON-3187 Avoid tight poll() loop on pyopenssl connections (#953) 2022-05-26 15:14:59 -07:00
Steven Silvester
9f191d6bb3
PYTHON-3283 Remove Generic Typing from the ClientSession Class (#952) 2022-05-25 05:55:36 -05:00
Shane Harvey
a624197338
PYTHON-3260 Improve test_transaction_starts_with_batched_write and test_continuous_network_errors (#945) 2022-05-10 10:29:48 -07: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
Shane Harvey
502effeeba
PYTHON-3167 Fix mockupdb tests for estimated_document_count (#938) 2022-05-05 10:52:53 -07:00
Shane Harvey
9a829acf2e
PYTHON-3251 Make extra whitespace visible in invalid port exception (#937) 2022-05-04 11:12:58 -07:00
Shane Harvey
ede07f44dd
PYTHON-3250 Speed up majority writes in test suite (#936) 2022-05-03 14:41:24 -07:00
Shane Harvey
6e4e90a882
PYTHON-3167 Revert to using the count command for estimated_document_count (#934)
Resolves PYTHON-2885, PYTHON-3166, PYTHON-3224, and PYTHON-3219.
2022-05-02 16:32:05 -07:00
Shane Harvey
fe057cf577 PYTHON-3220 Add CSFLE spec test for auto encryption on a collection with no jsonSchema 2022-04-20 12:01:26 -07:00
Steven Silvester
cfa2d990f0
PYTHON-3228 _tmp_session should validate session input (#930) 2022-04-18 20:38:46 -05:00
Shane Harvey
ff288faf39
PYTHON-3221 Resync CSFLE spec tests (#929) 2022-04-13 12:20:54 -07:00
Steven Silvester
a319075ba7
PYTHON-3197 Update docs.mongodb.com links in source, API & Reference documentation (#926) 2022-04-13 14:11:13 -05:00
Shane Harvey
fd512d5c90
PYTHON-3225 Stop testing delete on capped collections (#928) 2022-04-12 17:43:10 -07:00
Shane Harvey
dca72b7884
PYTHON-3222 Fix memory leak in cbson decode_all (#927)
Add decode_all keyword arg for codec_options.
Make decode_all show up in docs.
2022-04-12 17:18:23 -07:00
Shane Harvey
3cb16cae24
PYTHON-3210 Remove flakey string assertion from invalid aws creds FLE test (#922) 2022-04-06 12:09:47 -07:00
Shane Harvey
821b5620f7
PYTHON-3198 Fix NameError: name sys is not defined (#920) 2022-04-05 13:07:06 -07:00
Shane Harvey
1d6914f749
PYTHON-3191 Fix test_sigstop_sigcont with Versioned API (#916) 2022-03-31 12:25:45 -07:00
Shane Harvey
484058e18d
PYTHON-3160 Fix MMAPv1 tests (#914) 2022-03-30 21:50:22 -07:00
Shane Harvey
c58950a8d4
PYTHON-3186 Avoid SDAM heartbeat timeouts on AWS Lambda (#912)
Poll monitor socket with timeout=0 one last time after timeout expires.
This avoids heartbeat timeouts and connection churn on Lambda and other FaaS envs.
2022-03-30 14:29:46 -07:00
Steven Silvester
1d30802f8c
PYTHON-3074 Add documentation for type hints (#906) 2022-03-29 18:03:42 -05:00
Shane Harvey
a4bba9dd5c Revert "PYTHON-2970 Prioritize electionId over setVersion for stale primary check (#845)"
This reverts commit 225d131c2d.
2022-03-29 13:45:27 -07:00
Shane Harvey
75fa14d19b
PYTHON-3084 MongoClient/Database/Collection should not implement Iterable (#909) 2022-03-28 15:09:53 -07:00
Steven Silvester
e325b24b78
PYTHON-3127 Snapshot Query Examples for the Manual (#907) 2022-03-28 12:18:26 -05:00