Commit Graph

918 Commits

Author SHA1 Message Date
Steven Silvester
a00aabfa0d
PYTHON-3502 GridFSBucket.download_to_stream slow (#1108) 2022-11-04 13:47:32 -05: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
Steven Silvester
3fc301cd22
PYTHON-3256 Obtain AWS credentials for CSFLE in the same way as for MONGODB-AWS (#1035) 2022-10-24 14:55:58 -05:00
Shane Harvey
45b809e41c
Mention crypt_shared in encryption examples pages and fix formatting (#1088) 2022-10-20 16:07:39 -07:00
Steven Silvester
5dec36195a
PYTHON-3474 Improve documentation about credential handling (#1080) 2022-10-17 19:12:41 -05:00
Steven Silvester
f3fc409e24
PYTHON-3474 Document changes to AWS Credential Handling (#1077) 2022-10-13 16:44:43 -05:00
Steven Silvester
4a5e0f6655
PYTHON-3313 Cache AWS Credentials Where Possible (#982) 2022-10-12 10:21:06 -05:00
Shane Harvey
64d7d6da8a PYTHON-2970 Prioritize electionId over setVersion for stale primary check (#845) 2022-10-05 13:02:15 -07:00
Shane Harvey
c9ac5a5cf8
PYTHON-3447 Add back empty tls extra to avoid pip warnings (#1065) 2022-09-28 16:00: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
Julius Park
dcb1327395
PYTHON-3423 Make dnspython a required dependency (#1055) 2022-09-15 13:31:45 -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
09aeef0f9d
Changelog 4.3 (#1038) 2022-08-18 15:30:45 -07:00
Ben Warner
46673c3705
PYTHON-3379 Refactored DatetimeConversionOpts to DatetimeConversion (#1031) 2022-08-04 12:53:57 -07:00
Ben Warner
92a6fa79b6
PYTHON-3376/PYTHON-3378 Update FAQ about OverflowError when decoding out of range datetimes (#1025) 2022-08-03 16:53:50 -07:00
Ben Warner
3c18c20795
PYTHON-3377 datetime_ms documentation page is empty (#1026)
Co-authored-by: Ben Warner <ben.warner@mongodb.com>
2022-07-29 12:07:04 -07:00
Ben Warner
14002a5a0d
PYTHON-1824 Allow encoding/decoding out-of-range datetimes via DatetimeMS and datetime_conversion (#981)
https://jira.mongodb.org/browse/PYTHON-1824

Co-authored-by: Ben Warner <ben.warner@mongodb.com>
2022-07-27 16:53:52 -07:00
Shane Harvey
864812d400
PYTHON-3366 Support mypy 0.971 and test with latest version (#1021)
PYTHON-3369 Use https://www.gevent.org
2022-07-25 15:25:41 -07:00
Shane Harvey
9bc134cf61
BUMP 4.2 (#1016) 2022-07-20 08:33:41 -07:00
Shane Harvey
c43486101f
PYTHON-3291 Add PyMongoError.timeout to identify timeout related errors (#1008) 2022-07-18 15:58:20 -05: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
Shane Harvey
bbe364fea8
PYTHON-3294 Bump minimum pymongocrypt version to 1.3.0 (#1007) 2022-07-18 13:06:08 -05:00
Steven Silvester
256cd002d6
PYTHON-3339 Ignore Sourceforge link that is giving 403 Error (#993) 2022-07-06 14:23:14 -05:00
Julius Park
bacaf7fa50
PYTHON-3309 Explicit Queryable Encryption doc example needs to utilize index_key_Id (#986) 2022-06-29 13:11:25 -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
f45f00b4e5
PYTHON-3300 Fix Explicit Queryable Encryption Example (#975) 2022-06-15 13:16:07 -07:00
Julius Park
dc21a083f4
PYTHON-3300 Add Explicit Queryable Encryption Example to Docs (#973) 2022-06-15 12:25:11 -07:00
Ben Warner
3f7231a1a2
PYTHON-3048 Fixed bug with incorrect validation of UTF-8 regex patterns (#970) 2022-06-13 16:04:30 -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
Steven Silvester
77ace9a988
PYTHON-3299 Add Automatic Queryable Encryption Example to Docs (#964) 2022-06-07 17:29:51 -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
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
89d3fd0355
PYTHON-3279 Don't link check flakey wiki.centos.org (#951) 2022-05-23 12:44:44 -07:00
Shane Harvey
a7579b02d2
PYTHON-3259 Improve migration guide for loads/JSONOptions/tz_aware (#946) 2022-05-10 11:05:59 -07:00
Shane Harvey
75685c006c
PYTHON-3235 Drop support for Python 3.6 (#939) 2022-05-05 16:13:41 -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
Shane Harvey
8b3eaafb40 BUMP 4.1.1 2022-04-13 13:32:58 -07:00
Julius Park
868b3f77f3
PYTHON-3080 Add section to troubleshooting FAQ per driver with top SEO results (#918) 2022-04-13 13:03:37 -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
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
Steven Silvester
a809b3c005
PYTHON-3190 Test Failure - doctests failing cannot import name 'TypedDict' (#917) 2022-03-31 16:11:20 -05:00
Steven Silvester
113d66dc18
PYTHON-2406 Clean up of tools documentation page (#913) 2022-03-31 04:31:05 -05:00
Shane Harvey
3179eab91d
Improve the changelog for 4.1 (#915) 2022-03-30 20:57:12 -05: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
Steven Silvester
d8c2b315b0
PYTHON-3185 Pre-Commit Needs an Upgrade (#911) 2022-03-29 14:59:33 -05:00
Shane Harvey
c15fce0b3c
PYTHON-3138 copydb was removed in MongoDB 4.2 (#910) 2022-03-28 15:23:00 -07:00
Steven Silvester
474420b2e5
PYTHON-3085 Audit consistent and correct types for _DocumentOut (#893) 2022-03-16 05:56:07 -05:00
Steven Silvester
087950d869
PYTHON-3164 Outdated link from PyMongo docs to community forum (#895) 2022-03-15 15:49:11 -05:00