0.3.3
Released: Sat Jun 02 2012
-
[feature] New config argument
"revision_environment=true", causes env.py to
be run unconditionally when the "revision" command
is run, to support script.py.mako templates with
dependencies on custom "template_args". -
[feature] Added "template_args" option to configure()
so that an env.py can add additional arguments
to the template context when running the
"revision" command. This requires either --autogenerate
or the configuration directive "revision_environment=true". -
[bug] Added "type" argument to op.drop_constraint(),
and implemented full constraint drop support for
MySQL. CHECK and undefined raise an error.
MySQL needs the constraint type
in order to emit a DROP CONSTRAINT.References: #44
-
[feature] Added version_table argument to
EnvironmentContext.configure(), allowing for the
configuration of the version table name.References: #34
-
[feature] Added support for "relative" migration
identifiers, i.e. "alembic upgrade +2",
"alembic downgrade -1". Courtesy
Atsushi Odagiri for this feature. -
[bug] Fixed bug whereby directories inside of
the template directories, such as pycache
on Pypy, would mistakenly be interpreted as
files which are part of the template.References: #49