0.6.1
Released: Wed Nov 27 2013
-
[bug] [mysql] Fixed bug where
op.alter_column()
in the MySQL dialect
would fail to apply quotes to column names that had mixed casing
or spaces.References: #152
-
[feature] Expanded the size of the "slug" generated by "revision" to 40
characters, which is also configurable by new field
truncate_slug_length
; and also split on the word rather than the
character; courtesy Frozenball. -
[bug] Fixed the output wrapping for Alembic message output, so that
we either get the terminal width for "pretty printing" with
indentation, or if not we just output the text as is; in any
case the text won't be wrapped too short.References: #135
-
[bug] Fixes to Py3k in-place compatibity regarding output encoding and related;
the use of the new io.* package introduced some incompatibilities on Py2k.
These should be resolved, due to the introduction of new adapter types
for translating from io.* to Py2k file types, StringIO types.
Thanks to Javier Santacruz for help with this. -
[bug] Fixed py3k bug where the wrong form of
next()
was being called
when using the list_templates command. Courtesy Chris Wilkes.References: #145
-
[feature] Support for autogeneration detection and rendering of indexes and
unique constraints has been added. The logic goes through some effort
in order to differentiate between true unique constraints and
unique indexes, where there are some quirks on backends like Postgresql.
The effort here in producing the feature and tests is courtesy of IJL.References: #107
-
[bug] Fixed bug introduced by new
include_object
argument where the
inspected column would be misinterpreted when using a user-defined
type comparison function, causing a KeyError or similar expression-related
error. Fix courtesy Maarten van Schaik. -
[bug] Added the "deferrable" keyword argument to
op.create_foreign_key()
so thatDEFERRABLE
constraint generation is supported; courtesy
Pedro Romano. -
[bug] Ensured that strings going to stdout go through an encode/decode phase,
so that any non-ASCII characters get to the output stream correctly
in both Py2k and Py3k. Also added source encoding detection using
Mako's parse_encoding() routine in Py2k so that the doc of a
non-ascii revision file can be treated as unicode in Py2k.References: #137