BUMP 1.5.1 -- see changelog for details
This commit is contained in:
parent
97b91b7e4a
commit
35f52cc31d
@ -1,6 +1,20 @@
|
||||
Changelog
|
||||
=========
|
||||
|
||||
Changes in Version 1.5.1
|
||||
------------------------
|
||||
- added :data:`~gridfs.grid_file.GridFile._id` property for
|
||||
:class:`~gridfs.grid_file.GridFile` instances.
|
||||
- fix for making a :class:`~pymongo.connection.Connection` (with
|
||||
`slave_okay` set) directly to a slave in a replica pair.
|
||||
- accept kwargs for
|
||||
:meth:`~pymongo.collection.Collection.create_index` and
|
||||
:meth:`~pymongo.collection.Collection.ensure_index` to support all
|
||||
indexing options.
|
||||
- add :data:`pymongo.GEO2D` and support for geo indexing.
|
||||
- improvements to Python code caching in C extension - should improve
|
||||
behavior on mod_wsgi.
|
||||
|
||||
Changes in Version 1.5
|
||||
----------------------
|
||||
- added subtype constants to :mod:`~pymongo.binary` module.
|
||||
|
||||
@ -168,7 +168,7 @@ class GridFile(object):
|
||||
def _id(self):
|
||||
"""The ``"_id"`` value for this :class:`GridFile`.
|
||||
|
||||
.. versionadded:: 1.5+
|
||||
.. versionadded:: 1.5.1
|
||||
"""
|
||||
return self.__id
|
||||
|
||||
|
||||
@ -24,7 +24,7 @@ DESCENDING = -1
|
||||
GEO2D = "2d"
|
||||
"""Index specifier for a 2-dimensional `geospatial index`_.
|
||||
|
||||
.. versionadded:: 1.5+
|
||||
.. versionadded:: 1.5.1
|
||||
|
||||
.. note:: Geo-spatial indexing requires server version **>= 1.3.3+**.
|
||||
|
||||
@ -38,7 +38,7 @@ SLOW_ONLY = 1
|
||||
ALL = 2
|
||||
"""Profile all operations."""
|
||||
|
||||
version = "1.5+"
|
||||
version = "1.5.1"
|
||||
"""Current version of PyMongo."""
|
||||
|
||||
Connection = PyMongo_Connection
|
||||
|
||||
@ -554,7 +554,7 @@ class Collection(object):
|
||||
- `kwargs` (optional): any additional index creation options
|
||||
(see the above list) should be passed as keyword arguments
|
||||
|
||||
.. versionchanged:: 1.5+
|
||||
.. versionchanged:: 1.5.1
|
||||
Accept kwargs to support all index creation options.
|
||||
|
||||
.. versionadded:: 1.5
|
||||
@ -642,7 +642,7 @@ class Collection(object):
|
||||
- `kwargs` (optional): any additional index creation options
|
||||
(see the above list) should be passed as keyword arguments
|
||||
|
||||
.. versionchanged:: 1.5+
|
||||
.. versionchanged:: 1.5.1
|
||||
Accept kwargs to support all index creation options.
|
||||
|
||||
.. versionadded:: 1.5
|
||||
|
||||
Loading…
Reference in New Issue
Block a user