Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Bump version to 1.7.0, update changelogs

  • Loading branch information...
commit e74631a0017113cc344c3fca996843ded5e0632a 1 parent 2e3253a
@thobbs thobbs authored
View
53 CHANGES
@@ -1,3 +1,56 @@
+Changes in Version 1.7.0
+
+ This release has a few relatively large changes in it: a new connection
+ pool stats collector, compatibility with Cassandra 0.7 through 1.1, and a
+ change in timezone behavior for datetimes.
+
+ Before upgrading, take special care to make sure datetimes that you pass to
+ pycassa (for TimeUUIDType or DateType data) are in UTC, and make sure your code
+ expects to get UTC datetimes back in return.
+
+ Likewise, the SystemManager changes should be backwards compatible, but there
+ may be minor differences, mostly in create_column_family() and
+ alter_column_family(). Be sure to test any code that works programmatically
+ with these.
+
+ Features
+
+ * Added StatsLogger for tracking ConnectionPool metrics
+ * Full Cassandra 1.1 compatibility in SystemManager. To support this, all
+ column family or keyspace attributes that have existed since Cassandra 0.7 may
+ be used as keyword arguments for create_column_family() and
+ alter_column_family(). It is up to the user to know which attributes are
+ available and valid for their version of Cassandra. As part of this change, the
+ version-specific thrift-generated cassandra modules (pycassa.cassandra.c07,
+ pycassa.cassandra.c08, and pycassa.cassandra.c10) have been replaced by
+ pycassa.cassandra. A minor related change is that individual connections now
+ now longer ask for the node’s API version, and that information is no longer
+ stored as an attribute of the ConnectionWrapper.
+
+ Bug Fixes
+
+ * Fix xget() paging for non-string comparators
+ * Add batch_insert() to ColumnFamilyMap
+ * Use setattr instead of directly updating the object’s __dict__ in
+ * ColumnFamilyMap to avoid breaking descriptors
+ * Fix single-column counter increments with ColumnFamily.insert()
+ * Include AuthenticationException and AuthorizationException in the pycassa module
+ * Support counters in xget()
+ * Sort column families in pycassaShell for display
+ * Raise TypeError when bad keyword arguments are used when creating a ColumnFamily object
+
+ Other
+
+ All datetime objects create by pycassa now use UTC as their timezone
+ rather than the local timezone. Likewise, naive datetime objects that
+ are passed to pycassa are now assumed to be in UTC time, but tz_info is
+ respected if set.
+
+ Specifically, the types of data that you may need to make adjustments
+ for when upgrading are TimeUUIDType and DateType (including OldPycassaDateType
+ and IntermediateDateType).
+
+
Changes in Version 1.6.0
This release adds a few minor features and several important bug fixes.
View
9 debian/changelog
@@ -1,3 +1,12 @@
+pycassa (1.7.0) unstable; urgency=low
+
+ * Cassandra 1.1 compatibility
+ * Add StatsLogger for capturing pool metrics
+ * Change in datetime timezone behavior
+ * Bugfixes
+
+ -- Tyler Hobbs <tyler@datastax.com> Tue, 24 Jul 2012 12:35:17 -0500
+
pycassa (1.1.0) unstable; urgency=low
* initial packaging
View
59 doc/changelog.rst
@@ -1,6 +1,65 @@
Changelog
=========
+Changes in Version 1.7.0
+------------------------
+This release has a few relatively large changes in it: a new
+connection pool stats collector, compatibility with Cassandra 0.7
+through 1.1, and a change in timezone behavior for datetimes.
+
+Before upgrading, take special care to make sure datetimes that you
+pass to pycassa (for TimeUUIDType or DateType data) are in UTC, and
+make sure your code expects to get UTC datetimes back in return.
+
+Likewise, the SystemManager changes *should* be backwards compatible,
+but there may be minor differences, mostly in
+:meth:`~.SystemManager.create_column_family` and
+:meth:`~.SystemManager.alter_column_family`. Be sure to test any code
+that works programmatically with these.
+
+Features
+~~~~~~~~
+- Added :class:`~.StatsLogger` for tracking :class:`~.ConnectionPool`
+ metrics
+- Full Cassandra 1.1 compatibility in :class:`.SystemManager`. To support
+ this, all column family or keyspace attributes that have existed since
+ Cassandra 0.7 may be used as keyword arguments for
+ :meth:`~.SystemManager.create_column_family` and
+ :meth:`~.SystemManager.alter_column_family`. It is up to the user to
+ know which attributes are available and valid for their version of
+ Cassandra.
+ As part of this change, the version-specific thrift-generated cassandra
+ modules (``pycassa.cassandra.c07``, ``pycassa.cassandra.c08``, and
+ ``pycassa.cassandra.c10``) have been replaced by ``pycassa.cassandra``.
+ A minor related change is that individual connections now
+ now longer ask for the node's API version, and that information is
+ no longer stored as an attribute of the :class:`.ConnectionWrapper`.
+
+Bug Fixes
+~~~~~~~~~
+- Fix :meth:`~.ColumnFamily.xget()` paging for non-string comparators
+- Add :meth:`~.ColumnFamilyMap.batch_insert()` to :class:`.ColumnFamilyMap`
+- Use `setattr` instead of directly updating the object's ``__dict__`` in
+ :class:`.ColumnFamilyMap` to avoid breaking descriptors
+- Fix single-column counter increments with :meth:`.ColumnFamily.insert()`
+- Include `AuthenticationException` and `AuthorizationException` in
+ the ``pycassa`` module
+- Support counters in :meth:`~.ColumnFamily.xget()`
+- Sort column families in pycassaShell for display
+- Raise ``TypeError`` when bad keyword arguments are used when creating
+ a :class:`.ColumnFamily` object
+
+Other
+~~~~~
+All ``datetime`` objects create by pycassa now use UTC as their timezone
+rather than the local timezone. Likewise, naive ``datetime`` objects that are
+passed to pycassa are now assumed to be in UTC time, but ``tz_info`` is respected
+if set.
+
+Specifically, the types of data that you may need to make adjustments for
+when upgrading are TimeUUIDType and DateType (including OldPycassaDateType
+and IntermediateDateType).
+
Changes in Version 1.6.0
------------------------
This release adds a few minor features and several important bug fixes.
View
4 doc/conf.py
@@ -31,9 +31,9 @@
# built documents.
#
# The short X.Y version.
-version = '1.6'
+version = '1.7'
# The full version, including alpha/beta/rc tags.
-release = '1.6.0'
+release = '1.7.0'
# List of documents that shouldn't be included in the build.
unused_docs = []
View
2  setup.py
@@ -23,7 +23,7 @@
from distutils.cmd import Command
-version_tuple = (1, 6, 0)
+version_tuple = (1, 7, 0)
__version__ = '.'.join(map(str, version_tuple))
long_description = """pycassa is a python client library for Apache Cassandra with the following features:
Please sign in to comment.
Something went wrong with that request. Please try again.