Bernie Hackett
69a08095d6
PYTHON-759 - Fix ISO-8601 support for python 2.4 and 2.5
2014-09-18 10:10:50 -07:00
Bernie Hackett
9e7fd4865a
PYTHON-759 - Support $date as ISO-8601 or $numberLong
2014-09-17 13:36:43 -07:00
Bernie Hackett
29c885311f
PYTHON-708 Support $undefined and $numberLong extended JSON types.
2014-09-17 13:33:19 -07:00
Bernie Hackett
1ac607c447
PYTHON-314, PYTHON-744 - Hint by index name, count with hint.
...
This change introduces two closely related features. Cursor.hint
now accepts the name of an index as an alternative to passing
the index spec. Cursor.count will now pass the hint, if one was
specified, to the count command. Count with hint is only supported
by MongoDB 2.6 and newer.
2014-09-12 13:50:04 -07:00
Bernie Hackett
91622e62d5
Fix index tests for MongoDB 2.7.x explain output
2014-09-05 15:00:10 -07:00
Bernie Hackett
93e7db4ec3
PYTHON-706 - SCRAM-SHA-1 support for PyMongo 2.x
2014-09-05 06:48:59 -07:00
Bernie Hackett
793438e681
PYTHON-754 - Deprecate dropDups / drop_dups
...
Also skip the related test when connected to MongoDB >= 2.7.
2014-08-29 16:48:00 -07:00
Luke Lovett
7decdd8a40
PYTHON-751 Move all auth tests to the test_auth module.
2014-08-29 22:51:39 +00:00
Bernie Hackett
33d0c702a5
Version -> +
2014-08-14 09:46:29 -07:00
Bernie Hackett
0d4a2ef28a
BUMP 2.7.2
2014-07-29 14:36:57 -07:00
Bernie Hackett
9ca8ad7fc9
Changelog for version 2.7.2.
2014-07-25 10:56:39 -07:00
Bernie Hackett
d32016274b
PYTHON-736 - Don't close sockets on OperationFailure
...
This also speeds up returning exhaust sockets to the pool
when the server returns an error and fixes the tests to
run against all MongoDB versions we test against.
2014-07-24 13:22:23 -07:00
A. Jesse Jiryu Davis
9ad421a58a
PYTHON-736 Fix exhaust cursor error-handling.
...
Connection-pool semaphore leak on server error when
creating or iterating an exhaust cursor.
2014-07-23 16:35:01 -07:00
Bernie Hackett
46a7df09bd
PYTHON-738 - Clarify versionchanged line for bulk insert.
2014-07-22 16:17:14 -07:00
A. Jesse Jiryu Davis
b293b7735b
import style
2014-07-15 11:08:43 -04:00
A. Jesse Jiryu Davis
e1a7bc5058
PYTHON-732 Handle network errors when adding existing credentials to sockets.
2014-07-15 09:34:23 -04:00
Luke Lovett
a1f7a5487f
PYTHON-714 Work around localhost exception issues in add_user when connected to MongoDB >= 2.7.1.
2014-07-02 17:11:20 +00:00
Bernie Hackett
952953d3a1
Fix tests under pypy3.
2014-06-21 22:44:33 -07:00
A. Jesse Jiryu Davis
e904f014d9
PYTHON-709 insert _id in document after applying non-copying SONManipulators.
2014-06-19 14:50:41 -04:00
A. Jesse Jiryu Davis
79df8d799a
Revert "PYTHON-710, simplify SON's equality operator."
...
This reverts commit 551e1e3edf .
The change did not work as expected in Jython.
2014-06-19 14:10:24 -04:00
A. Jesse Jiryu Davis
6c68762960
Use modern 'distinct' syntax in tests.
...
The old syntax is now an error:
https://jira.mongodb.org/browse/SERVER-12642
2014-06-18 20:34:45 -04:00
A. Jesse Jiryu Davis
69f52d0cdf
PYTHON-710, simplify SON's equality operator.
2014-06-18 17:50:55 -04:00
A. Jesse Jiryu Davis
686c8fae49
PYTHON-710, SON.to_dict shouldn't change original data.
2014-06-18 17:49:57 -04:00
A. Jesse Jiryu Davis
91a56702cf
PYTHON-710 test that SON.to_dict doesn't change data.
2014-06-18 17:44:12 -04:00
A. Jesse Jiryu Davis
fb207af4cf
PYTHON-712 ObjectId.is_valid(None) should be False.
2014-06-18 16:19:58 -04:00
behackett
2dc840955a
PYTHON-705 - Fix Bulk API legacy upsert _id compatibility
...
Versions of MongoDB previous to 2.6 only return the upserted
field for an upsert operation if the _id value is an ObjectId.
This patch works around that issue to ensure nUpserted counts
are correct regardless of server version.
2014-06-06 15:37:31 -07:00
behackett
6fbb4c5307
Version -> +
2014-06-06 14:47:41 -07:00
Bernie Hackett
e959aad948
BUMP 2.7.1
2014-05-23 14:45:12 -07:00
Bernie Hackett
6baba92fcf
Changelog for 2.7.1
2014-05-23 13:39:00 -07:00
Bernie Hackett
47825d9d39
PYTHON-697 - Fix upsert _id backward compatibility
2014-05-20 11:28:06 -07:00
Bernie Hackett
f739025e0c
PYTHON-698 - Try encoding types with broken __getattr__ methods
2014-05-16 14:02:12 -07:00
Bernie Hackett
6991b73734
Fix a few tests for MongoDB 2.7.0
2014-05-12 14:07:25 -07:00
Bernie Hackett
04ff22e3c9
Various fixes for auth tests with old mongos versions.
2014-05-02 15:15:08 -07:00
Bernie Hackett
13cd9bee6f
Fix a few tests with really old mongos versions.
2014-05-01 19:20:33 -07:00
Bernie Hackett
2cc560c671
PYTHON-696 - Fix remove_user for old mongos versions.
2014-05-01 15:41:16 -07:00
Bernie Hackett
b97b85f89a
PYTHON-696 - Fix user and index creation with old mongos versions.
2014-05-01 14:27:29 -07:00
Jaroslav Semančík
15511b70d8
Added Jaroslav Semančík (girogiro) to contributors
2014-05-01 11:28:49 -07:00
Jaroslav Semančík
e299c044aa
Fixed wrong Python object name for UTC
2014-05-01 11:28:48 -07:00
Bernie Hackett
32279986bd
PYTHON-667 - Clarify drop_index behavior when an index does not exist.
2014-05-01 10:49:16 -07:00
Bernie Hackett
348bd628aa
PYTHON-690 - Various fixes to indexing docstrings.
2014-05-01 09:59:09 -07:00
Bernie Hackett
9d47f1cd3d
PYTHON-691 - Fix UserWarning command issues.
...
Don't raise UserWarning for helpers and internal calls to
commands that do not obey read preference.
2014-05-01 09:21:52 -07:00
Bernie Hackett
d703ebb832
PYTHON-684 - Use unordered bulk for unordered test.
2014-04-29 13:44:51 -07:00
Bernie Hackett
baed02fb11
PYTHON-685 - Fix rare resource leak in _cmessage
2014-04-29 13:14:55 -07:00
Bernie Hackett
f61b0e4f59
PYTHON-684 - Ignore wnote/jnote from legacy servers.
...
Stop unnecessarily raising OperationFailure in the Bulk API
when a pre-2.6 server returns a result with a wnote or jnote
field.
2014-04-29 11:41:35 -07:00
Bernie Hackett
7d55d77072
Version -> +
2014-04-29 11:40:26 -07:00
Bernie Hackett
a7575fa14f
BUMP 2.7
2014-04-03 11:29:31 -07:00
Bernie Hackett
2fd2efaa85
Mention the pykerberos module, which supports python 3.
2014-04-03 11:01:34 -07:00
A. Jesse Jiryu Davis
bd334626ab
More lenient timeout in test_max_pool_size.
2014-04-03 12:10:42 -04:00
A. Jesse Jiryu Davis
9f7580fd61
More robust test_read_preference.
2014-04-03 09:45:54 -04:00
A. Jesse Jiryu Davis
cb101acb29
Fix race in test_request_during_failover.
2014-04-02 21:16:10 -04:00