Steven Silvester
cfa2d990f0
PYTHON-3228 _tmp_session should validate session input ( #930 )
2022-04-18 20:38:46 -05:00
Shane Harvey
fd512d5c90
PYTHON-3225 Stop testing delete on capped collections ( #928 )
2022-04-12 17:43:10 -07:00
Shane Harvey
75fa14d19b
PYTHON-3084 MongoClient/Database/Collection should not implement Iterable ( #909 )
2022-03-28 15:09:53 -07:00
Julius Park
dce5072dd1
PYTHON-3137 Handle falsey values for "let" parameter ( #881 )
2022-02-18 10:43:07 -08:00
Steven Silvester
a0fe7c03af
PYTHON-3120 Set up flake8 linting ( #868 )
2022-02-17 06:44:08 -06:00
Steven Silvester
5578999a90
PYTHON-1834 Use a code formatter ( #852 )
2022-02-09 06:44:28 -06:00
Steven Silvester
f4cef37328
PYTHON-3064 Add typings to test package ( #844 )
2022-02-07 19:33:41 -06:00
Shane Harvey
e154642968
Removed references to outdated server versions ( #812 )
2021-12-07 15:47:28 -08:00
Julius Park
046d789d9f
PYTHON-2957 Support 'let' option for multiple CRUD commands ( #804 )
2021-11-30 15:02:40 -08:00
Julius Park
420d74095d
PYTHON-2721 Reenable regex flags test on MongoDB 5.0+ ( #779 )
2021-11-05 13:07:07 -07:00
Shane Harvey
8b2eb24c35
PYTHON-2164 Remove client max_bson_size/max_message_size/max_write_batch_size ( #766 )
...
Use the hello command instead:
doc = client.admin.command('hello')
max_bson_size = doc['maxBsonObjectSize']
max_message_size = doc['maxMessageSizeBytes']
max_write_batch_size = doc['maxWriteBatchSize']
Also add documentation for TopologyDescription.apply_selector.
2021-11-01 14:26:47 -07:00
Julius Park
c7d80802be
PYTHON-1853 Empty projections should return the entire document not just the _id ( #738 )
2021-09-23 14:46:44 -07:00
Shane Harvey
11752ed594
PYTHON-2899 Remove code for MongoDB <= 3.4 ( #729 )
...
Remove unneeded memoryview to bytes conversion.
2021-09-16 16:53:50 -07:00
Julius Park
88e744d506
PYTHON-808 Prevent use of Database and Collection in boolean expressions ( #728 )
2021-09-16 15:52:14 -07:00
Bernie Hackett
ad4315134c
PYTHON-2803 Get rid of most uses of 'master'
...
This change also resolves PYTHON-2848 for MongoDB 4.0.
2021-09-13 12:50:49 -07:00
Shane Harvey
d9e5666336
PYTHON-2875 Require hint with min/max queries ( #712 )
2021-09-08 11:32:14 -07:00
Shane Harvey
65aa7c86d5
PYTHON-2850 Remove map_reduce/inline_map_reduce ( #703 )
2021-08-12 09:44:52 -07:00
Shane Harvey
e1b068d37a
PYTHON-2525 Remove Collection.count and Cursor.count ( #700 )
2021-08-10 13:52:29 -07:00
Shane Harvey
93a042f2e8
PYTHON-2235 Remove pymongo.GEOHAYSTACK ( #694 )
2021-08-06 13:13:23 -07:00
Shane Harvey
69dee51b90
PYTHON-1318 Remove initialize_unordered_bulk_op and initialize_ordered_bulk_op ( #692 )
...
PYTHON-2436 Unskip test_large_inserts_ordered on MongoDB 5.0.
2021-08-05 17:58:15 -07:00
Shane Harvey
c93194a2e6
PYTHON-2838 Skip getlasterror test on >=5.0
2021-07-23 12:24:55 -07:00
Shane Harvey
ef6b06ce1f
PYTHON-2765 Fix test_exhaust failure due to OP_MSG and __del__ changes ( #653 )
2021-06-23 12:31:20 -07:00
Bernie Hackett
640fee9d5d
PYTHON-2556 Disable dots and dollars validation
2021-06-22 11:49:48 -07:00
Shane Harvey
21c92b13cf
PYTHON-2729 PYTHON-2721 PYTHON-2730 Make 5.0 tests green ( #626 )
...
Update explain response format parsing for 5.0.
Temporarily skip failing regex and killCursors tests on 5.0.
2021-05-24 10:03:43 -07:00
William Zhou
94f4de1f2e
PYTHON-1690: Fix error message when insert_many is given a single RawBSONDocument instead of a list ( #580 )
2021-03-22 11:13:42 -07:00
Shane Harvey
ab35e0df7f
PYTHON-1326 Remove the "useCursor" aggregate option ( #560 )
2021-01-26 10:46:35 -08:00
Shane Harvey
e01d9a37e7
PYTHON-1320 Remove legacy CRUD methods ( #556 )
...
Remove save, insert, update, remove, and find_and_modify.
Remove tools/benchmark.py
2021-01-22 17:11:15 -08:00
Bernie Hackett
521f7b9af4
PYTHON-2133 Fix up docs
...
And finish deleting python 2 specific code.
2021-01-21 15:49:23 -08:00
Shane Harvey
c65b89d8a1
PYTHON-1319 Remove Collection.ensure_index and reindex ( #555 )
2021-01-21 11:25:19 -08:00
Bernie Hackett
e17299ab2e
PYTHON-2133 Remove u prefixes from code
2021-01-20 16:10:23 -08:00
Bernie Hackett
a72e8b8823
PYTHON-2133 Remove py2 support from test
...
Also delete bson/py3compat.py
2021-01-20 09:40:36 -08:00
Shane Harvey
3c899aeb89
PYTHON-1592 Remove Collection.parallel_scan ( #547 )
2021-01-15 14:01:45 -08:00
Pascal Corpet
733ab2527b
PYTHON-2466 Make pymongo client, database and collection objects hashable. ( #533 )
2020-12-16 19:44:56 -08:00
Shane Harvey
98205b8384
PYTHON-2421 Stop testing geoSearch/geoHaystack on MongoDB 4.5+ ( #512 )
2020-11-05 16:22:23 -08:00
Shane Harvey
9cc3652ec3
PYTHON-2186 create_indexes raises an error with commitQuorum on <4.4
2020-04-28 13:33:24 -07:00
Shane Harvey
58317a4c09
PYTHON-2215 Fix failing partialFilterExpression test on 4.5-latest
2020-04-27 15:47:26 -07:00
Shane Harvey
5c02f8bec4
PYTHON-2072 Fix tests now that "counts" is not reported in map_reduce
2019-12-26 13:49:16 -05:00
Shane Harvey
e627321c2e
PYTHON-1966 Fix unicode(PyMongoError) on Python 2
2019-11-22 15:17:56 -08:00
Prashant Mital
ef3df1663c
PYTHON-1918 Stop using BSON.encode and BSON.decode functions
2019-09-09 18:06:46 -07:00
Shane Harvey
f588412b67
PYTHON-1842 Implement Connection Monitoring and Pooling spec
2019-06-13 15:50:49 -07:00
Prashant Mital
749116287a
PYTHON-1783 Decode user-facing documents but not internal driver-server
...
communications.
2019-04-16 15:01:42 -07:00
Shane Harvey
ea8941ef5d
PYTHON-1811 Deprecate running min/max queries without hint
...
Starting in MongoDB 4.2 a hint will be required when using min/max.
2019-04-16 14:00:56 -07:00
Shane Harvey
a84f50b998
PYTHON-1766 Use insert_many to reduce test runtime ( #410 )
2019-03-04 18:25:05 -08:00
Shane Harvey
e7114087c7
PYTHON-1682 UTF-8 encode unicode error messages on Python 2
2018-11-13 17:43:57 -08:00
Shane Harvey
5bc0c7080f
PYTHON-1624 Fix failing $out test on MongoDB latest ( #369 )
2018-08-10 15:26:04 -07:00
Bernie Hackett
587e448b69
PYTHON-1604 - Stop testing reindex with mongos and MongoDB 4.1+
2018-07-03 12:44:30 -07:00
Shane Harvey
3b9e99015f
PYTHON-1508 Only send readConcern on first command in a transaction
2018-06-24 11:39:23 -04: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
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