Commit Graph

4158 Commits

Author SHA1 Message Date
Shane Harvey
7ddd372ed0 BUMP 3.7.2 2018-10-10 11:41:40 -07:00
Shane Harvey
92eb90b064 PYTHON-1654 Ignore $clusterTime in test_command assertion
(cherry picked from commit d43ca118f9)
2018-10-09 16:06:46 -07:00
Shane Harvey
35badcb277 Add changelog for 3.7.1 2018-10-09 14:45:22 -07:00
Shane Harvey
a1f2c2517a PYTHON-1650 Always increment txnNumber before starting a retryable write
(cherry picked from commit 6fe00109c1)
2018-10-09 14:37:40 -07:00
Didi Bar-Zev
775943602a PYTHON-1617 Fix database name check in index cache (#363)
(cherry picked from commit ff958b7d67)
2018-10-09 14:34:36 -07:00
Petr Messner
018f1da04a PYTHON-1642 - Replace count() with count_documents({}) in docs (#376)
(cherry picked from commit 7f1939ebcb)
2018-10-09 14:34:05 -07:00
Shane Harvey
c80d285f09 PYTHON-1647 Fix memory leak in OP_MSG C extensions
(cherry picked from commit d571ac022c)
2018-10-09 14:03:41 -07:00
Shane Harvey
b601c15b13 Start work on 3.7.2 2018-09-26 14:38:45 -07:00
Bernie Hackett
46f860c4e9 BUMP 3.7.1 2018-07-16 16:07:27 -07:00
Bernie Hackett
bc13d4b655 PYTHON-1606 - Update Ubuntu 12 and Debian 7 testing 2018-07-16 12:24:37 -07:00
Bernie Hackett
50ae811929 Changelog for 3.7.1 2018-07-16 12:12:23 -07:00
Bernie Hackett
a9f08c573a PYTHON-1613 Invalidate cache on changed salt or iterations 2018-07-14 15:33:31 -07:00
Bernie Hackett
afca040b98 PYTHON-1392 PYTHON-1535 - Fix EVG path issues 2018-07-13 14:08:37 -07:00
Bernie Hackett
01d0fb8184 PYTHON-1605 - Update mod_wsgi test config 2018-07-11 11:50:37 -07:00
Bernie Hackett
8bc2aa67ae PYTHON-1607 - Stop testing eval and SystemJS with MongoDB 4.1+ 2018-07-11 11:49:27 -07:00
Bernie Hackett
c3394affe8 PYTHON-1604 - Stop testing reindex with mongos and MongoDB 4.1+ 2018-07-11 11:49:08 -07:00
Prayash Mohapatra
3bd4bd8272 Update README.rst - Support for MongoDB 4.0 (#359) 2018-07-11 11:48:47 -07:00
Shane Harvey
b63442ace0 PYTHON-1603 Truncate large datetimes properly (#362) 2018-07-09 16:44:22 -07:00
Bernie Hackett
649ae04afe PYTHON-1609 - Fix authing the same user more than once 2018-07-09 16:44:15 -07:00
Shane Harvey
961467e694 Start work on 3.7.1 2018-07-09 16:43:13 -07:00
Shane Harvey
35391b7c2c BUMP 3.7.0 2018-06-26 14:08:42 -04:00
Shane Harvey
b57e6e281f PYTHON-1599 Fix unchecked return value in cmessagemodule 2018-06-26 13:59:02 -04:00
Prashant Mital
f82706c870 PYTHON-1597 Don't run Change Stream tests on MMAPv1 (#356) 2018-06-26 13:01:20 -04:00
Shane Harvey
4f3b6467ab PYTHON-1598 Fix transaction write concern inheritance 2018-06-26 12:07:12 -04:00
Bernie Hackett
bc5a6e0557 PYTHON-1548 - Add a simple Appveyor config 2018-06-26 10:37:35 -04:00
Bernie Hackett
ccbd857838 PYTHON-1506 - Add CodecOptions examples 2018-06-25 23:13:15 -04:00
Shane Harvey
98e77ba1d2 PYTHON-1483 Prohibit unack'ed writes with explicit sessions 2018-06-25 13:55:50 -05:00
Bernie Hackett
8573099c4b Move time consuming utf8 tests out of the main suite 2018-06-24 20:45:59 -07:00
stephan-hof
9b632c776c Refactor the the assert into a separate function. 2018-06-24 19:59:16 -07:00
stephan-hof
e113a338e9 Improve the check for legal utf8 in the bson module.
Now python and bson have the same understanding of legal utf8.
2018-06-24 19:59:16 -07:00
Bernie Hackett
cb34e31cb0 PYTHON-1560 - Update transaction documentation link 2018-06-24 14:55:35 -07:00
Shane Harvey
3b9e99015f PYTHON-1508 Only send readConcern on first command in a transaction 2018-06-24 11:39:23 -04:00
Bernie Hackett
1bf9b461b0 PYTHON-1595 - Document operator migrations for count_documents 2018-06-23 13:39:57 -07:00
Shane Harvey
05c7c65470 PYTHON-1329 OP_MSG with unacknowledged writes
Replace OP_INSERT/OP_UPDATE/OP_DELETE usage with OP_MSG with moreToCome
flag when the server is 3.6 or greater.
Unack'ed OP_MSG supports bypass_document_validation.
getLastError updatedExisting is always false on mongos after an OP_MSG
unack'ed update.
2018-06-23 11:46:50 -04:00
Bernie Hackett
4a9c65eb22 PYTHON-1329 - OP_MSG unacknowledged bulk writes 2018-06-22 22:00:07 -07:00
Bernie Hackett
f8883dfb1f PYTHON-1329 - Fix C extensions use for compression 2018-06-21 17:30:15 -07:00
Bernie Hackett
4d786fd0cd PYTHON-1329 - OP_MSG bulk writes 2018-06-21 16:03:20 -07:00
Shane Harvey
ea8cb6c209 PYTHON-1329 Send/receive commands as OP_MSG
Don't use $query with OP_MSG.
Support compression with OP_MSG.
2018-06-21 15:46:48 -07:00
Shane Harvey
994cf80c7c PYTHON-1545 Resume more getMore errors for ChangeStreams 2018-06-21 12:41:30 -07:00
Prashant Mital
96291c88b0
PYTHON-1565 Add helpers and options for Change Streams Follow-on Work (#355)
PYTHON-1565 Add helpers and options for Change Streams Follow-on Work (#355)

Add MongoClient.watch() and Database.watch().
Add start_at_operation_time to all watch() helpers.
2018-06-21 12:22:59 -07:00
Bernie Hackett
388339e187 PYTHON-1591 - Deprecate Collection.parallel_scan 2018-06-21 12:03:42 -07:00
Bernie Hackett
709b28467f PYTHON-1586 - Deprecate database_names and collection_names 2018-06-18 10:52:11 -07:00
Bernie Hackett
e6b0f3847d PYTHON-1581 - Deprecate Collection/Cursor count 2018-06-18 10:50:26 -07:00
Shane Harvey
9d8024d9ea PYTHON-1590 Avoid thread limit in tests 2018-06-15 13:17:37 -07:00
Shane Harvey
b5e9007af0 PYTHON-1508 PYTHON-1589 Expand where unknown commit label is raised
Remove has_label api.
Bump required server version for transactions.
2018-06-15 11:29:11 -07:00
Shane Harvey
622d33d0cb PYTHON-1545 Support for retryable writeConcernErrors
Return proper BulkWriteResult after a retryable write succeeds.
Reduce retryable writes test suite time from 90 to 30 seconds by
reducing the heartbeat interval.
2018-06-14 09:51:08 -07:00
Shane Harvey
96aaf2f527 PYTHON-1562 Add transaction examples for docs 2018-06-13 18:01:34 -07:00
Bernie Hackett
3d8155d87d Claim support for Python 3.7 2018-06-13 13:56:55 -07:00
Bernie Hackett
657b07828e Update changelog 2018-06-13 13:53:51 -07:00
Shane Harvey
4cce6d4cdb PYTHON-1555 Raise more specific errors when SSL handshake fails
Always raise CertificateError directly.
2018-06-12 16:37:58 -07:00