Anthony Sottile
ff81fbb938
Ensure files end in a newline
2017-08-31 22:26:39 -07:00
A. Jesse Jiryu Davis
cfb30e91c0
PYTHON-1362 - Add find/aggregate_raw_batches()
...
Rename find_raw to find_raw_batches, and add aggregate_raw_batches.
Rename RawBSONCursor and RawBSONCommandCursor to RawBatchCursor and
RawBatchCommandCursor.
2017-08-25 15:26:16 -04:00
A. Jesse Jiryu Davis
4957589024
PYTHON-1362 - Add Collection.find_raw()
...
Instead of passing raw_batches=True to find(), make a separate method.
2017-08-25 15:24:46 -04:00
A. Jesse Jiryu Davis
a6183a5dc5
Style in test_cursor.py
2017-08-25 15:24:16 -04:00
A. Jesse Jiryu Davis
de54cafff5
Unused import
2017-08-25 15:24:16 -04:00
A. Jesse Jiryu Davis
0534596dc5
PYTHON-1362 - Add raw_batches option to find()
2017-08-25 15:24:16 -04:00
A. Jesse Jiryu Davis
b49f1000c1
PYTHON-1299 - Remove MongoDB 2.4 notes from docs
2017-08-24 15:33:12 -04:00
A. Jesse Jiryu Davis
b273d94358
PYTHON-1299 - Use new wire version in tests
2017-08-24 08:57:36 -04:00
A. Jesse Jiryu Davis
d99b026f8d
PYTHON-1299 - Don't test MongoDB 2.4 in Evergreen
2017-08-24 08:14:36 -04:00
A. Jesse Jiryu Davis
aa03551725
PYTHON-1299 - Drop MongoDB 2.4
...
Bump minimum supported wire version to 2 and sync SDAM tests from specs
repo. Don't remove actual wire protocol code yet or remove 2.4 version
checks from test code.
2017-08-24 08:14:36 -04:00
A. Jesse Jiryu Davis
bf22fa4ff7
Fix UTF-8 hosts test
2017-08-23 22:45:20 -04:00
A. Jesse Jiryu Davis
278d2fb907
Start work on 3.6
2017-08-23 22:11:18 -04:00
A. Jesse Jiryu Davis
ece1321dbb
Resync JSON tests from specs repo
2017-08-23 21:55:46 -04:00
A. Jesse Jiryu Davis
cbe3e3b9ab
PYTHON-1349 - Read session timeout from isMaster
2017-08-23 21:55:46 -04:00
A. Jesse Jiryu Davis
4ee8b0aade
Resync SDAM test files
2017-08-23 21:55:46 -04:00
A. Jesse Jiryu Davis
13364a28fb
Sync "secondary with mismatched me" spec test
2017-08-23 21:55:46 -04:00
Shane Harvey
ca57ecea4a
BUMP 3.5.1
2017-08-23 16:24:15 -07:00
Bernie Hackett
69d2250311
PYTHON-1358 - Switch to Jira Release Notes links
...
Jira server no longer allows anonymous users to view
the "roadmap" page for a project release. This broke most of the
"Issues Resolved" links in the changelog. The Jira Release Notes
pages are still viewable by anonymous users.
This change also adds the release notes for 2.9.5 and 3.3.1, which
never made it into master.
2017-08-21 15:57:58 -07:00
Bernie Hackett
dbd39d9ac8
PYTHON-1354 - Work around WinKerberos deprecations
...
The user, domain, and password arguments to authGSSClientInit
are deprecated. The principal argument works as of 0.5.0. Use
it instead.
2017-08-17 16:48:11 -07:00
Shane Harvey
61ad5b223a
PYTHON-1353 Fix failing CommandCursor test on 2.4.
2017-08-17 14:23:57 -07:00
Bernie Hackett
4c03b321f2
PYTHON-1347 - Replace usage of Sphinx Directive
...
sphinx.util.compat.Directive is deprecated. Use
docutils.parsers.rst.Directive instead.
2017-08-16 17:46:06 -07:00
Bernie Hackett
eb65239f1a
Minor README update
2017-08-16 10:23:27 -07:00
Bernie Hackett
1bc20d78ab
Update changelog
2017-08-16 10:08:38 -07:00
Bernie Hackett
728ee59f27
PYTHON-1350 - Work around getsockopt issue on NetBSD
...
NetBSD doesn't support testing TCP_KEEPIDLE and friends,
only setting them.
2017-08-16 09:59:26 -07:00
Shane Harvey
b00584b892
PYTHON-1353 Kill cursors synchronously in CommandCursor.close.
2017-08-15 14:58:44 -07:00
Bernie Hackett
7051faace8
Start work on 3.5.1
2017-08-15 11:21:31 -07:00
Shane Harvey
0b0f045d56
BUMP 3.5.0
2017-08-08 09:48:06 -07:00
Shane Harvey
b7893b7ec4
3.5 changelog and documentation fixes.
2017-08-08 09:32:09 -07:00
Shane Harvey
6e022e0636
PYTHON-1297 Improve documentation for Extended JSON.
2017-08-07 17:14:34 -07:00
Shane Harvey
82c610a9f5
PYTHON-1346 Stop using platform.linux_distribution on Python >= 3.5.
2017-08-07 14:07:06 -07:00
Shane Harvey
fadb8161b4
PYTHON-1317 Fix race condition in w=0 bulk tests.
2017-08-07 11:07:39 -07:00
Shane Harvey
e89ed11113
PYTHON-1317 Deprecate legacy bulk write api.
...
Use Collection.bulk_write() in documentation examples.
Move deprecated bulk tests to test_legacy_api.
2017-08-04 21:41:29 -07:00
Shane Harvey
bb7db3d19a
PYTHON-1331 Enable mongodb-latest sharded cluster testing.
...
PYTHON-1342 Skip test_insert_large_batch.
2017-08-04 14:53:09 -07:00
Shane Harvey
47ab8c3187
PYTHON-1343 Use unsigned long to encode Timestamps.
...
The time and increment portions of a Timestamp are unsigned 32-bit integers
which are not guaranteed to fit inside a long.
2017-08-04 11:33:49 -07:00
Shane Harvey
8eb1aefeff
PYTHON-1336 Add collation support to Collection.bulk_write.
2017-08-03 15:21:04 -07:00
Shane Harvey
9468c119a3
PYTHON-1335 Improve __slots__ usage.
...
__slots__ must be defined in all classes in the hierarchy to avoid __dict__
and __weakref__ overhead.
2017-08-03 14:57:43 -07:00
Shane Harvey
054a01aaff
PYTHON-1297 Implement Extended JSON Spec 2.0
...
Add JSONOptions.json_mode to control encoding Relaxed and Canonical
Extended JSON.
Add json_util.LEGACY_JSON_OPTIONS to encode PyMongo 3.4's default JSON output.
Deprecate json_util.STRICT_JSON_OPTIONS.
Move Decimal128 spec tests to bson_corpus runner.
2017-08-03 10:30:24 -07:00
A. Jesse Jiryu Davis
473e25b2f6
PYTHON-1327 - Handle null username or password
2017-08-02 16:06:23 -04:00
Kay Kim
aa7a40c1b8
docs: add google tag ( #331 )
...
Update copyright for docs.
2017-08-01 14:59:25 -07:00
A. Jesse Jiryu Davis
0d1424ae31
PYTHON-1313 - Fix replset tests
2017-08-01 17:57:07 -04:00
A. Jesse Jiryu Davis
72e61277b2
Deprecate db.authenticate and db.eval
...
PYTHON-1313, and PYTHON-1315.
2017-08-01 16:30:42 -04:00
A. Jesse Jiryu Davis
9ca77901ab
PYTHON-1308 - Don't deprecate "manipulate" param
...
Can't raise DeprecationWarning if "find(manipulate=True)" since it's the
default.
2017-08-01 16:29:11 -04:00
Shane Harvey
312408e041
PYTHON-1279 Deprecate socketKeepAlive and default to true.
...
Wherever possible set:
- keep-alive idle time to a maximum of 300 seconds.
- keep-alive interval time to a maximum of 10 seconds.
- keep-alive count to a maximum of 9 probes.
2017-08-01 12:34:42 -07:00
A. Jesse Jiryu Davis
85e80bcc8b
PYTHON-1308 - Finish deprecating SON manipulators
2017-08-01 10:19:48 -04:00
Shane Harvey
a4a2e4dfc9
PYTHON-1333 Reduce test frequency against zSeries, ARM64, and POWER8.
2017-07-31 15:55:59 -07:00
Shane Harvey
6a11888a9c
PYTHON-1330 Decode JSON binary type 0 to Python 3 bytes.
2017-07-31 13:16:46 -07:00
A. Jesse Jiryu Davis
75b2b1fc41
PYTHON-1327 - No credentials in repr(client)
2017-07-28 21:38:59 -04:00
A. Jesse Jiryu Davis
031559ebc5
PYTHON-1327 - Username and password kwargs
...
MongoClient now accepts username and password parameters. Before, the
only way to pass them was in the URI.
2017-07-28 15:20:23 -04:00
Michael Elovskikh
9f07ff35a1
PYTHON-1334 Don't change readpreference value at uri parsing ( #325 )
2017-07-25 17:43:51 -07:00
Shane Harvey
9388281795
PYTHON-1306 Deprecate MongoClient.get_default_database.
...
PYTHON-1304 Make name optional for MongoClient.get_database.
2017-07-25 17:16:34 -07:00