|
1 | 1 | Changelog
|
2 | 2 | =========
|
3 | 3 |
|
| 4 | +Changes in Version 1.3 |
| 5 | +---------------------- |
| 6 | +- DEPRECATED running :meth:`~pymongo.collection.Collection.group` as |
| 7 | + :meth:`~pymongo.database.Database.eval`, also changed default for |
| 8 | + :meth:`~pymongo.collection.Collection.group` to running as a command |
| 9 | +- remove :meth:`pymongo.cursor.Cursor.__len__`, which was deprecated |
| 10 | + in 1.1.1 - needed to do this aggressively due to it's presence |
| 11 | + breaking **Django** template *for* loops |
| 12 | +- DEPRECATED :meth:`~pymongo.connection.Connection.host`, |
| 13 | + :meth:`~pymongo.connection.Connection.port`, |
| 14 | + :meth:`~pymongo.database.Database.connection`, |
| 15 | + :meth:`~pymongo.database.Database.name`, |
| 16 | + :meth:`~pymongo.collection.Collection.database`, |
| 17 | + :meth:`~pymongo.collection.Collection.name` and |
| 18 | + :meth:`~pymongo.collection.Collection.full_name` in favor of |
| 19 | + :attr:`~pymongo.connection.Connection.host`, |
| 20 | + :attr:`~pymongo.connection.Connection.port`, |
| 21 | + :attr:`~pymongo.database.Database.connection`, |
| 22 | + :attr:`~pymongo.database.Database.name`, |
| 23 | + :attr:`~pymongo.collection.Collection.database`, |
| 24 | + :attr:`~pymongo.collection.Collection.name` and |
| 25 | + :attr:`~pymongo.collection.Collection.full_name`, respectively. The |
| 26 | + deprecation schedule for this change will probably be faster than |
| 27 | + usual, as it carries some performance implications. |
| 28 | +- added :meth:`~pymongo.connection.Connection.disconnect` |
| 29 | + |
4 | 30 | Changes in Version 1.2.1
|
5 | 31 | ------------------------
|
6 |
| -- add :doc:`changelog` to docs |
7 |
| -- add ``setup.py doc --test`` to run doctests for tutorial, examples |
8 |
| -- move most examples to Sphinx docs (and remove from *examples/* |
| 32 | +- added :doc:`changelog` to docs |
| 33 | +- added ``setup.py doc --test`` to run doctests for tutorial, examples |
| 34 | +- moved most examples to Sphinx docs (and remove from *examples/* |
9 | 35 | directory)
|
10 | 36 | - raise :class:`~pymongo.errors.InvalidId` instead of
|
11 | 37 | :class:`TypeError` when passing a 24 character string to
|
@@ -56,7 +82,7 @@ Changes in Version 1.1.1
|
56 | 82 | - added `database` support for :class:`~pymongo.dbref.DBRef`
|
57 | 83 | - added :mod:`~pymongo.json_util` with helpers for encoding / decoding
|
58 | 84 | special types to JSON
|
59 |
| -- DEPRECATED :meth:`~pymongo.cursor.Cursor.__len__` in favor of |
| 85 | +- DEPRECATED :meth:`pymongo.cursor.Cursor.__len__` in favor of |
60 | 86 | :meth:`~pymongo.cursor.Cursor.count` with `with_limit_and_skip` set
|
61 | 87 | to ``True`` due to performance regression
|
62 | 88 | - switch documentation to Sphinx
|
|
0 commit comments