0.8.3
0.8.3
Released: October 16, 2015
-
[autogenerate] [bug] Fixed an 0.8 regression whereby the "imports" dictionary member of
the autogen context was removed; this collection is documented in the
"render custom type" documentation as a place to add new imports.
The member is now known as
AutogenContext.imports
and the documentation is repaired.References: #332
-
[batch] [bug] Fixed bug in batch mode where a table that had pre-existing indexes
would create the same index on the new table with the same name,
which on SQLite produces a naming conflict as index names are in a
global namespace on that backend. Batch mode now defers the production
of both existing and new indexes until after the entire table transfer
operation is complete, which also means those indexes no longer take
effect during the INSERT from SELECT section as well; the indexes
are applied in a single step afterwards.References: #333
-
[bug] [tests] Added "pytest-xdist" as a tox dependency, so that the -n flag
in the test command works if this is not already installed.
Pull request courtesy Julien Danjou. -
[autogenerate] [bug] [postgresql] Fixed issue in PG server default comparison where model-side defaults
configured with Python unicode literals would leak the "u" character
from arepr()
into the SQL used for comparison, creating an invalid
SQL expression, as the server-side comparison feature in PG currently
repurposes the autogenerate Python rendering feature to get a quoted
version of a plain string default.References: #324