Commit Graph

4355 Commits

Author SHA1 Message Date
Prashant Mital
ef3df1663c
PYTHON-1918 Stop using BSON.encode and BSON.decode functions 2019-09-09 18:06:46 -07:00
Prashant Mital
7d8ade1ff9
BUMP 3.10.0.dev0 2019-08-20 10:17:40 -07:00
Bernie Hackett
e152e9eafa BUMP 3.9.0 2019-08-13 18:05:10 -07:00
Bernie Hackett
5847b34f68 Claim support for MongoDB 4.2 2019-08-13 15:20:02 -07:00
Bernie Hackett
1a7502c08a Fix up changelog and docs for 3.9.0 release 2019-08-13 14:19:29 -07:00
Shane Harvey
55c8bdd346 PYTHON-1939 Add prose tests for BSON size limits and batch splitting 2019-08-13 13:35:55 -07:00
Shane Harvey
94e2b103f1 PYTHON-1959 Use read/writeConcern majority for key vault operations 2019-08-13 11:11:46 -07:00
Shane Harvey
af0f6fd264 PYTHON-1955 Uninstall pymongocrypt after test suite 2019-08-13 11:01:54 -07:00
Shane Harvey
ef8d1e2f21 PYTHON-1926 Raise an error for unsupported encryption operations 2019-08-13 09:36:32 -07:00
Shane Harvey
8d693e85de PYTHON-1921 Raise InvalidOperation when using a closed encrypted client 2019-08-13 09:35:04 -07:00
Shane Harvey
56bb5dd1f7 PYTHON-1944 Mark encryption as in beta 2019-08-13 09:07:42 -07:00
Shane Harvey
6f00a240c7 PYTHON-1955 Test encryption in evergreen
Only enable xtrace output for non-sensitive tasks.
2019-08-13 09:07:42 -07:00
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