Storm 0.15
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:
- 1 Francis J. Lacoste, 1 Gavin Panella, 8 James Henstridge, 1 Jamu Kakar, 1 Michael Hudson-Doyle, 1 Sidnei da Silva, 3 Stuart Bishop, 1 Thomas Herve
- Blueprints:
- No blueprints are targeted to this milestone.
- Bugs:
- 17 Fix Released
Download files for this release
Release notes
The Storm team is proud to announce Storm 0.15!
The new release includes a number of new features:
* New GenerationalCache object cache
* New ResultSet.find method and other improvements
* New Neg and Coalesce expressions
* Python 2.6 is supported
* New Ubuntu packages
Read on for more...
New GenerationalCache object cache
-------
A new GenerationalCache is available. It can be used in place of
the default Cache and will likely become the default in the future.
You can use it by passing it as a parameter to Store:
from storm.locals import Store, create_database
from storm.cache import GenerationalCache
uri = "<uri>"
store = Store(create_
Also note that the default cache size has been increased from 100
objects to 1000. Please try the new cache and report your results
to mailing list.
New ResultSet.find method and other improvements
-------
The new ResultSet.find method works just like ReferenceSet.find. It
takes a list of expressions and uses them to filter the items in the
original result:
result = store.find(Foo, Foo.bar == 42)
result = result.find(Foo.baz > 7)
In addition to the new find, ResultSet.set works with expressions and
ResultSet.remove returns the number of rows that were deleted.
New Neg and Coalesce expressions
-------
The new Neg expression prepends a minus sign to the expression it
wraps, providing unary minus. The new Coalesce expression takes an
arbitrary number of columns and calls the COALESCE function with
them.
Python 2.6 is supported
-------
Python 2.6 is now fully supported with all tests passing. In
addition, Storm's C extension compiles for python 2.4, 2.5 and 2.6.
The PostgreSQL backend now requires pyscopg2 2.0.7 or newer.
New Ubuntu packages
-------------------
This release includes official packages for all supported releases
of Ubuntu. They are available in the Storm team's PPA:
https:/
You can find the release files at:
https:/
You can always get the latest source code from Launchpad:
bzr branch lp:storm
As always, you can join us in channel #storm on irc.freenode.net and
on the storm mailing list: