Prashant Mital
1c69dd0860
BUMP 3.8.0
2019-04-22 16:37:29 -05:00
Shane Harvey
f359284ab2
PYTHON-1664 Include type in InvalidDocument error
...
(cherry picked from commit 6b6efd9b59 )
2019-04-19 16:51:56 -07:00
Prashant Mital
824b58ac60
PYTHON-1819 Documentation & examples for custom type encoding/decoding
...
functionality
(cherry picked from commit 0ea5a1542e )
2019-04-19 13:36:20 -07:00
Prashant Mital
286ab13a8a
PYTHON-1821 Preserve field ordering when iterating over RawBSONDocument
...
instances
(cherry picked from commit 3b29458015 )
2019-04-19 12:38:36 -07:00
Shane Harvey
6476cb8816
PYTHON-1820 Validate bson size in RawBSONDocument init
...
Also fixes a bug where an empty bson document could not be represented
by RawBSONDocument.
(cherry picked from commit fbb56a2311 )
2019-04-18 15:16:58 -07:00
Bernie Hackett
bc8e8b2830
PYTHON-1808 - Document uuidRepresentation
...
(cherry picked from commit 2f06e8a441 )
2019-04-16 16:27:16 -07:00
Shane Harvey
69353270f7
PYTHON-1811 Deprecate running min/max queries without hint
...
Starting in MongoDB 4.2 a hint will be required when using min/max.
(cherry picked from commit ea8941ef5d )
2019-04-16 14:10:28 -07:00
Jesse M. Holmes
170d217a78
Update docs to use list_collection_names method ( #401 )
...
db.collection_names() is deprecated.
(cherry picked from commit 66eb6da601 )
2019-03-28 16:09:19 -07:00
Terence D. Honles
8cecd8eb86
PYTHON-1695 GridOut/GridIn more closely implement io.IOBase ( #387 )
...
Allows GridOut to be wrapped with zipfile.ZipFile from the stdlib.
(cherry picked from commit 481600b7fe )
2019-03-28 15:56:07 -07:00
Shane Harvey
d2cf5fca45
PYTHON-1791 Fix reference counting leaks
...
Fix batched op_msg/op_query reference leak of overflow doc.
Fix theoretically possible (but practically impossible) reference leak of
$clusterTime in op_query.
Optimization: Don't encode document past the batch size in batched op_query.
(cherry picked from commit cd787dbb2c )
2019-03-27 13:07:04 -07:00
Shane Harvey
c339077ec9
PYTHON-1662 Add ChangeStream.try_next API
...
(cherry picked from commit 92ddc09b7e )
2019-03-26 11:15:54 -07:00
Shane Harvey
86463345e6
PYTHON-1784 Add filter support to list_collection_names
...
Adhere to enumerate collection spec for setting nameOnly when filter
is provided to allow filtering based on collection options.
(cherry picked from commit 11967eb160 )
2019-03-22 17:07:43 -07:00
Shane Harvey
0314ab18b5
PYTHON-1786 Send comment with Cursor.count and Cursor.distinct
...
(cherry picked from commit 4169a04821 )
2019-03-22 17:03:20 -07:00
Shane Harvey
e7ddc291b1
PYTHON-1781 Raise a client side error when attempting a sharded transaction
2019-03-22 16:56:20 -07:00
Bernie Hackett
ea62ce57d7
PYTHON-1685 - Renovate get_default_database
...
(cherry picked from commit c55a66235d )
2019-03-22 16:50:32 -07:00
Prashant Mital
8f4b0c598a
PYTHON-1476 Add changelog entry for flexible BSON work
...
(cherry picked from commit 6bea39d7ca )
2019-03-22 13:05:10 -07:00
Prashant Mital
2867fe544c
PYTHON-1769 Re-define TypeCodecBase as an AbstractBaseClass
...
(cherry picked from commit 65f85f648c )
2019-03-19 18:03:25 -05:00
Bernie Hackett
3c86686c0a
PYTHON-1726 Disable TLS renegotiation when possible
...
(cherry picked from commit bb83a26082 )
2019-03-19 11:22:12 -07:00
Prashant Mital
9093ddf365
PYTHON-1731 Implement callback for unencodable types
...
(cherry picked from commit e01efc7073 )
2019-03-18 14:09:29 -05:00
Shane Harvey
8069e13232
PYTHON-1721 Improve GridFS file download performance ( #413 )
...
This change uses a cursor to download all the chunks in a GridFS file
instead of using individual find_one operations to read each chunk.
Detect truncated/missing/extra chunks in _GridOutChunkIterator.
Only detect extra chunks after reading the final chunk, not on every
call to read().
Retry once after CursorNotFound for backward compatibility.
(cherry picked from commit 956fd92e82 )
2019-03-13 15:48:38 -07:00
Shane Harvey
61b38da1d2
PYTHON-1709 Always use codec_options in Database.current_op
...
(cherry picked from commit da2ba8d7ed )
2019-03-13 13:36:48 -07:00
Prashant Mital
7b6db40c7d
PYTHON-1750 Support callbacks for simple types ( #405 )
...
(cherry picked from commit 83755b8739 )
2019-03-13 10:41:33 -07:00
Shane Harvey
225bec46d4
PYTHON-1767 Ignore keyPattern/keyValue fields in doctest duplicate key error ( #412 )
...
(cherry picked from commit 57a9b62e9d )
2019-03-12 16:28:56 -07:00
Shane Harvey
f24f3f0b6e
Add changelog for 3.7.2 ( #407 )
2019-03-01 10:52:48 -08:00
Petr Messner
7f1939ebcb
PYTHON-1642 - Replace count() with count_documents({}) in docs ( #376 )
2018-09-13 16:34:35 -07:00
Prashant Mital
bc26c0db69
PYTHON-1577 Allow applications to register a custom server selector ( #371 )
...
PYTHON-1577 Allow applications to register a custom server selector
2018-08-30 17:33:03 -05:00
Prashant Mital
58851e1221
PYTHON-1619 Implement ObjectID Specification ( #373 )
...
PYTHON-1619 Implement ObjectID Specification
2018-08-29 12:24:28 -05:00
Felipe Rodrigues
6afcf14f4f
Add class docstring to MongoClient ( #372 )
2018-08-24 10:09:17 -07:00
Shrey Batra
98ce687567
Add GEOSPHERE to geospatial docs ( #364 )
...
Add warning for deprecated geoNear command.
2018-08-10 12:42:49 -07:00
Bernie Hackett
eabc8d90ae
Add 3.7.1 changelog entry
2018-07-17 19:48:47 -07:00
Bernie Hackett
cbc81ee793
PYTHON-1536 - PyMongo no longer supports PyPy3 < 3.5
2018-07-03 12:44:40 -07:00
Bernie Hackett
749c1a2f0b
PYTHON-1467 - PyMongo no longer supports Python 2.6
2018-07-02 15:15:43 -07:00
Shane Harvey
35391b7c2c
BUMP 3.7.0
2018-06-26 14:08:42 -04:00
Shane Harvey
98e77ba1d2
PYTHON-1483 Prohibit unack'ed writes with explicit sessions
2018-06-25 13:55:50 -05: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
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
657b07828e
Update changelog
2018-06-13 13:53:51 -07:00
Bernie Hackett
91c3793703
PYTHON-1580 - Implement new count API
2018-06-08 14:27:04 -07:00
Shane Harvey
96aeb461f9
PYTHON-1545 Consider more errors retryable
2018-06-07 14:37:01 -07:00
A. Jesse Jiryu Davis
c63c068611
PYTHON-1564 Add DriverInfo to handshake metadata
...
Allow drivers that wrap PyMongo to add their info to the handshake
metadata, using a "driver" option like:
MongoClient(driver=DriverInfo("MyDriver", "1.2.3"))
The DriverInfo is appended to PyMongo's own metadata.
2018-06-03 10:04:45 -04:00
Bernie Hackett
335cb97a34
PYTHON-1278, PYTHON-1553 - Support OP_COMPRESSED
2018-05-22 11:44:21 -07:00
Bernie Hackett
984977ba9e
PYTHON-1425 - Implement the auth spec and tests
2018-04-25 10:25:00 -07:00
Shane Harvey
537b033327
BUMP 3.7.0b0
2018-04-18 10:03:26 -07:00
Bernie Hackett
d8abb4b3f3
Improve Atlas and TLS documentation
2018-04-17 18:01:16 -07:00
Shane Harvey
d1ee646d72
PYTHON-1508 Expand transaction documentation
2018-04-17 13:23:52 -07:00
Bernie Hackett
84d0338d39
Update changelog for 3.7 work so far
2018-04-16 21:27:01 -07:00
Mateusz Piotrowski
d672c40524
Stylize GitHub correctly ( #351 )
...
Fix a link to PyMongo GitHub source
2018-04-06 13:30:32 -07:00
Bernie Hackett
73478106eb
PYTHON-1463 - Implement read / write concern spec
2018-04-06 12:55:09 -07:00