Commit Graph

2470 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
c09af5876d
PYTHON-3338 Add versionadded to docs for key management APIs (#992) 2022-07-06 18:29:28 -05:00
Steven Silvester
b8f857d19e
PYTHON-3292 Remove ElectionInProgress (216) from ResumableChangeStreamError (#996) 2022-07-06 16:59:46 -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
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
Julius Park
3169f1fe31
PYTHON-3310 Test Failure - query_type must be str or None, not: <enum 'QueryType'> (#978) 2022-06-21 10:46:49 -07:00
Ben Warner
922e63d6e0
PYTHON-3093 Continuation of #972 (#976) 2022-06-16 11:40:09 -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
Ben Warner
be3008aa11
PYTHON-2110 Refactored some C to avoid symbol conflicts (#968)
* Refactored to avoid symbol conflicts

* Forgot a replacement

* Found a symbol

* Undid symbol replacement for PyInit__cmessage

* Changed cbson too

Co-authored-by: Ben Warner <ben.warner@mongodb.com>
2022-06-13 11:42:41 -07:00
Atiab Bin Zakaria
b8653b018d
Remove extra period in is_mongos documentation (#967) 2022-06-09 11:10:03 -04:00
Steven Silvester
e59a11ef4b back to dev version 2022-06-07 20:24:59 -04:00
Steven Silvester
83ade52b1b bump to 4.2.0b0 2022-06-07 20:24:12 -04: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
09b18244cc
PYTHON-3293 Document Queryable Encryption API is in beta (#965) 2022-06-07 15:46:13 -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
d98e44e27e
PYTHON-3245 Fix docs for index_key_id (#960) 2022-06-03 13:43:47 -07:00
Shane Harvey
154d8787c5
PYTHON-3245 Support explicit queryable encryption (#959) 2022-06-03 13:11:28 -07:00
Shane Harvey
cf08d46ff9
PYTHON-3277 Rename csfle library to crypt_shared (#956) 2022-06-01 16:48:08 -07: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
Steven Silvester
e02eb287e8
PYTHON-3254 Bump maxWireVersion for MongoDB 6.0 (#948) 2022-05-12 15:42:06 -05: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
cbab615231
PYTHON-3065 Ignore SRV polling update when topology is discovered to be a replica set (#943) 2022-05-09 12:01:36 -07:00
Shane Harvey
75685c006c
PYTHON-3235 Drop support for Python 3.6 (#939) 2022-05-05 16:13:41 -07:00
Shane Harvey
9a829acf2e
PYTHON-3251 Make extra whitespace visible in invalid port exception (#937) 2022-05-04 11:12:58 -07:00
Julius Park
252ed1cef6
PYTHON-3247 Mitigate user issues caused by change in directConnection defaults in 4.x (#935) 2022-05-03 14:49:18 -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
Julius Park
05b55e88df
PYTHON-3038 The doc should clarify that the resulting documents that are produced with upserts are constructed from both the filter and the update params (#933) 2022-05-02 06:21:44 -07:00
Steven Silvester
cfa2d990f0
PYTHON-3228 _tmp_session should validate session input (#930) 2022-04-18 20:38:46 -05:00
Shane Harvey
109eaaff7b BUMP 4.2.0.dev1 2022-04-13 13:32:58 -07:00
Shane Harvey
8b3eaafb40 BUMP 4.1.1 2022-04-13 13:32:58 -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
821b5620f7
PYTHON-3198 Fix NameError: name sys is not defined (#920) 2022-04-05 13:07:06 -07:00
Shane Harvey
331600d491 BUMP 4.2.0.dev0 2022-04-04 11:06:52 -07:00
Shane Harvey
6e99bf4515 BUMP 4.1.0 2022-04-04 10:57:01 -07:00
Duncan
b0fd5cbdf5
Improve docstrings for SON parameters (#919) 2022-04-01 12:37:47 -05: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
72d8900c36
PYTHON-3058 Bump maxWireVersion for MongoDB 5.2 (#908) 2022-03-28 13:48:58 -05:00
Julius Park
9562a81903
PYTHON-3119 getMore helper should explicitly send inherited comment (#904) 2022-03-25 16:47:18 -07:00
Steven Silvester
b3604a81d3
PYTHON-3171 Add usage of NoReturn annotation (#901) 2022-03-16 15:26:10 -05:00