Storm 0.19
Milestone information
- Active:
- No. Drivers cannot target bugs and blueprints to this milestone.
Activities
- Assigned to you:
- No blueprints or bugs assigned to you.
- Assignees:
- 2 Free Ekanayaka, 2 Gavin Panella, 1 Henning Eggers, 2 James Henstridge, 2 Jamu Kakar, 1 Jelmer Vernooij, 1 Robert Collins, 2 Sidnei da Silva, 3 Thomas Herve
- Blueprints:
- No blueprints are targeted to this milestone.
- Bugs:
- 16 Fix Released
Download files for this release
Release notes
0.19 (2011-10-03)
=================
Improvements
------------
- A new Cast expressions compiles an input and the type to cast it to
into a call the CAST function (bug #681121).
- The storm.zope.
schemas using a custom URI, typically for connecting to the database using a
different user with greater privileges than the user running the tests. Note
that the format of the 'databases' parameter passed to the constructor of
the ZStormResourceM
resource manager roughly like this::
databases = [{"name": "test",
manager = ZStormResourceM
where the "schema-uri" key is optional and would default to "uri" if
not given. The old format of the 'databases' parameter is still supported
but deprecated. (bug #772258)
- A new storm.twisted.
integrate Storm with twisted, by running transactions in a separate
thread from the main one in order to not block the reactor. (bug #777047)
- ResultSet.config's "distinct" argument now also accepts a tuple of
columns, which will be turned into a DISTINCT ON clause.
- Provide wrapped cursor objects in the Django integration
layer. Catch some disconnection errors that might otherwise be
missed, leading to broken connections. (bug #816049)
- A new JSON property is available. It's similar to the existing
Pickle property, except that it serializes data as JSON, and must
back onto a text column rather than a byte column. (bug #726799, #846867)
- Cache the compilation of columns and tables (bug #826170, #848925).
- Add two new tracers extracted from the Launchpad codebase.
BaseStatemen
to its subclasses. TimelineTracer records queries in a timeline
(useful for OOPS reports).
- New ROW constructor (bug #698344).
- Add support for Postgres DISTINCT ON queries. (bug #374777)
Bug fixes
---------
- When retrieving and using an object with Store.get(), Storm will no
longer issue two queries when there is a live invalidated object
(bug #697513).
- When a datetime object is returned by the database driver,
DateVariable failed to detect and convert it to a date() object
(bug #391601).
- The ISQLObjectResultSet declares an is_empty method, which matches
the existing implementation. This makes it possible to call the
method in security proxied environments (bug #759384).
- The UUIDVariable correctly converts inputs to unicode before
sending them to the database. This makes the UUID property usable
(bug #691752).
- Move the firing of the register-
Connection.
that the store gets registered properly for future rollbacks (bug
#819282).
- Skip tests/zope/
- Fix the handling of disconnection errors in the storm.django bridge. (bug
#854787)
Changelog
This release does not have a changelog.