Storm 0.21
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 Adam Collard, 3 Alberto Donato, 1 Björn Tillenius, 4 Colin Watson, 1 Sidnei da Silva
- Blueprints:
- No blueprints are targeted to this milestone.
- Bugs:
- 12 Fix Released
Download files for this release
Release notes
0.21 (2019-09-20)
=================
Improvements
------------
- A new storm.schema.
package, which can apply patches "in parallel" against a set of stores. See
the module docstring for more information.
- Added tox testing support.
- Re-raise DB-API exceptions wrapped in exception types that inherit from
both StormError and the appropriate DB-API exception type, rather than
injecting virtual base classes. This preserves existing exception handling
in applications while also being a viable approach in Python 3.
- Port to Python 3 (bug #1530734, based partly on contributions from Thiago
Bellini). Existing Python 2 users should be unaffected. For people
porting to Python 3, note the following API changes relative to Python 2:
- On Python 3, raw=True and token=True in storm.expr.
treat str specially, not bytes and str, because ultimately the compiler
is assembling a text string to send to the database.
- On Python 3, storm.tracer.
renders text parameters using ascii() rather than by encoding to bytes
and then calling repr(). While this does result in slightly different
output from Python 2, it's normally more useful since the encoding is in
terms of Unicode codepoints rather than UTF-8.
- storm.sqlobject
documents that it only accepts text on Python 3, since native strings
are already Unicode there so there's much less need for the porting
affordance.
Bug fixes
---------
- Fixed SQLObject tests to work with SQLObject 2.x by using Unicode strings for
LIKE operations.
- Cope with ThreadTransacti
- Move tests to a new storm.tests package to avoid package manager conflicts
(bug #1199578).
API changes
-----------
- Removed Django support, storm.django is no more.
- Removed MySQL support.
- Removed support for Python < 2.6.
Changelog
This release does not have a changelog.