Commit Graph

4343 Commits

Author SHA1 Message Date
Bernie Hackett
742555fd89 PYTHON-1951 Cap python 2 dnspython version at 1.16.x 2019-08-13 09:02:12 -07:00
Shane Harvey
8e43dee5df PYTHON-1957 Don't use unix sockets for mongocryptd client 2019-08-12 12:09:57 -07:00
Shane Harvey
aac8d6308b PYTHON-1935 Only create test crud v2 collection if there's data to insert 2019-08-12 10:54:25 -07:00
Shane Harvey
243307be16 PYTHON-1901 Avoid using readConcern snapshot in sharded txn tests 2019-08-12 10:20:12 -07:00
Prashant Mital
4800512c36
PYTHON-1839 Deprecate waitQueueMultiple option 2019-08-09 17:07:30 -07:00
Prashant Mital
62400e548d
PYTHON-1902 DNS resolution should honor connectTimeoutMS 2019-08-09 17:04:02 -07:00
Shane Harvey
aadd9c78b1 PYTHON-1952 Test ClientEncryption.close
Support using ClientEncryption in a with-statement.
2019-08-09 11:20:00 -07:00
Shane Harvey
fb86f654ee PYTHON-1950 Restrict key_id to Binary subtype 4 2019-08-09 10:55:00 -07:00
Shane Harvey
69ec553023 PYTHON-1946 Rename encryption.Algorithm enum members 2019-08-08 22:40:09 -07:00
Shane Harvey
5a293821e4 PYTHON-1947 Add codec_options to ClientEncryption 2019-08-08 22:36:00 -07:00
Prashant Mital
45da03afad
PYTHON-1914 MongoClient.is_locked should not raise DeprecationWarning 2019-08-08 21:27:43 -07:00
Shane Harvey
a9953d0e0e PYTHON-1940 Implement views are prohibited prose test 2019-08-08 20:52:28 -07:00
Shane Harvey
dc33a616b9 PYTHON-1941 Implement prose test for data key and double encryption 2019-08-08 20:52:28 -07:00
Shane Harvey
0a1d77751f PYTHON-1942 Implement prose tests for External Key Vault 2019-08-08 20:52:28 -07:00
Shane Harvey
72c777257a PYTHON-1899 Implement encryption corpus test
Validate type to decrypt is Binary subtype 6.
Skip tests for deprecated symbol and dbPointer types.
2019-08-08 20:52:28 -07:00
Shane Harvey
59e3bcb66a PYTHON-1883 Implement ClientEncryption class 2019-08-08 20:52:28 -07:00
Prashant Mital
a763461403
PYTHON-1885 Update ChangeStream documentation to use getResumeToken helper 2019-08-08 15:35:09 -07:00
Prashant Mital
78aa667f0f
PYTHON-1934 retryWrites=True with MMAPv1 storage engine should raise an actionable error 2019-08-08 13:24:46 -07:00
Shane Harvey
e6eecb06d1 PYTHON-1884 Implement auto encryption spec tests
Skip test for symbol type which pymongo converts to string.
Fix {} comparison with RawBSONDocument in command events.
Add support for $$type assertions.
Nicer message in check_events.
Support errorContains with empty string.
Move custom data files to custom/.
2019-08-06 16:17:39 -07:00
Shane Harvey
743042d843 PYTHON-1884 Add client encryption spec test files 2019-08-06 16:16:30 -07:00
Shane Harvey
7d76ee2276 PYTHON-1884 Support auto encryption in bulk write
Close KMS sockets.
Call pymongocrypt's init method.
2019-08-06 14:54:23 -07:00
Shane Harvey
58866319f9 PYTHON-1884 Support auto encryption in cursors 2019-08-06 14:54:23 -07:00
Shane Harvey
8888e977f8 PYTHON-1884 Support auto encryption in network.command
Add encryption I/O callbacks.
Add mongocryptd process management.
Add simple test for auto encryption round trip.
2019-08-06 14:54:23 -07:00
Prashant Mital
611c3f86b3
PYTHON-1677 Connections survive primary stepdown 2019-08-06 13:08:15 -07:00
Shane Harvey
57302846b7 PYTHON-1930 Fix pure python decoder support for memoryviews 2019-08-02 12:17:45 -07:00
Bernie Hackett
3bcdde34c9 PYTHON-1785 Add bson.encode and bson.decode 2019-07-30 11:52:03 -07:00
Bernie Hackett
57c7f8ccbb PYTHON-1785 Pure Python decoders support the buffer protocol 2019-07-30 11:51:24 -07:00
Bernie Hackett
de7c94cdac PYTHON-1785 C extension decoders support the buffer protocol 2019-07-30 11:51:00 -07:00
Shane Harvey
201c3d2208 PYTHON-1916 Don't decode RawBSONDocument during insert operations
This change improves the performance of inserting RawBSONDocuments with
insert_one, insert_many, and bulk_write.
2019-07-29 17:55:53 -07:00
Shane Harvey
6d8c1ced70 PYTHON-1882 Add AutoEncryptionOpts 2019-07-29 16:05:20 -07:00
Shane Harvey
7c13667727 PYTHON-1898 Close events executor faster after the topology is freed 2019-07-26 12:51:35 -07:00
Prashant Mital
ddac30d2ff
PYTHON-1742 add postBatchResumeToken support
PYTHON-1815 add tests for postBatchResumeToken support
PYTHON-1845 clarify resume token used in resuming and getResumeToken
2019-07-25 17:18:35 -07:00
Shane Harvey
010e8d429b PYTHON-1897 Don't open new threads/sockets when closing a client 2019-07-25 17:16:53 -07:00
Shane Harvey
6d5d36186a PYTHON-1909 Log tracebacks after a segfault 2019-07-19 14:15:26 -07:00
Bernie Hackett
e92e2b0efb PYTHON-1648 Binary buffer protocol support 2019-07-18 08:41:40 -07:00
Shane Harvey
77913c7d36 PYTHON-1900 Add "connectionError" as a valid ConnectionCheckOutFailedEvent reason 2019-07-17 14:15:55 -07:00
Bernie Hackett
3dfd03c9eb PYTHON-1906 Skip new SRV test if dnspython isn't available 2019-07-17 07:06:17 -07:00
Prashant Mital
886cf657bb
PYTHON-1905 Don't send fullDocument field by default with every
$changeStream pipeline stage
2019-07-16 19:13:57 -07:00
Bernie Hackett
7425153639 PYTHON-1665 Agg with $out always goes to primary 2019-07-16 14:20:50 -07:00
Bernie Hackett
a23ce28942 PYTHON-1761 Include fqdn or srv hosts in srv errors 2019-07-16 14:11:47 -07:00
Bernie Hackett
7888ff08f3 PYTHON-1863 Call out backward breaking ObjectId changes 2019-07-16 13:05:38 -07:00
Bernie Hackett
8f0ea1daec PYTHON-1797 PYTHON-1659 Update retryWrites tests 2019-07-15 17:33:51 -07:00
Bernie Hackett
c6e59832f1 PYTHON-1803 Document URI / keyword option precedence 2019-07-15 15:46:34 -07:00
Bernie Hackett
6b1a7f40c6 PYTHON-1858 Deprecate Database.current_op 2019-07-15 13:40:27 -07:00
Bernie Hackett
9e37872c0b PYTHON-1869 ARM testing for 4.2+ 2019-07-15 13:26:50 -07:00
Bernie Hackett
19b6f7b667 PYTHON-1890 runOn syntax in CRUD spec tests 2019-07-15 13:10:33 -07:00
Bernie Hackett
7cfe770da8 PYTHON-1847 - Update countDocuments docstring 2019-07-15 13:07:06 -07:00
Bernie Hackett
6ec594eef1 PYTHON-1738 GridFS length should be an int64 2019-07-15 13:05:16 -07:00
Bernie Hackett
826cc50055 PYTHON-1789 Update indexing docs for wildcard index options 2019-07-09 14:21:54 -07:00
Prashant Mital
26d25cd74e
PYTHON-1841 ChangeStream should not resume after errors with NonRetryableChangeStreamError label 2019-07-02 18:55:35 -07:00