Upgrading alembic 0.2 to 0.3
Unknown0.2.2 → 0.3.6
UnknownUpgrade verdict
DepDelta hasn't looked for this range's notes yet, so breaking changes can't be ruled out.
In plain terms
- DepDelta hasn't finished looking for the notes in this range, so it can't rule out breaking changes yet.
Must act Unknown for releases without notes
Releases without notes may still need changes. Check their commits before upgrading.
API changes
Generated by DepDelta from published Python source. Not mixed with prose notes.
- removed:
function produce_migration_diffs(context, template_args, imports) - added:
function compare_metadata(context, metadata)
- changed:
function main(argv=…, **kwargs) → function main(argv=…, prog=…, **kwargs)
- added:
field DefaultImpl.command_terminator
- added:
class OracleImpl(DefaultImpl) - added:
constructor OracleImpl(*arg, **kw) - added:
field OracleImpl.batch_separator - added:
field OracleImpl.command_terminator - added:
field OracleImpl.transactional_ddl - added:
function add_column(compiler, column, **kw) - added:
function alter_column(compiler, name) - added:
function visit_add_column(element, compiler, **kw) - added:
function visit_column_default(element, compiler, **kw) - added:
function visit_column_name(element, compiler, **kw) - added:
function visit_column_nullable(element, compiler, **kw) - added:
function visit_column_type(element, compiler, **kw) - added:
method OracleImpl.emit_begin() - added:
method OracleImpl.emit_commit()
- removed:
variable configure - changed:
method EnvironmentContext.configure(connection=…, url=…, dialect_name=…, transactional_ddl=…, output_buffer=…, starting_rev=…, tag=…, target_metadata=…, compare_type=…, compare_server_default=…, upgrade_token=…, downgrade_token=…, alembic_module_prefix=…, sqlalchemy_module_prefix=…, **kw) → method EnvironmentContext.configure(connection=…, url=…, dialect_name=…, transactional_ddl=…, output_buffer=…, starting_rev=…, tag=…, template_args=…, target_metadata=…, include_symbol=…, compare_type=…, compare_server_default=…, upgrade_token=…, downgrade_token=…, alembic_module_prefix=…, sqlalchemy_module_prefix=…, **kw)
- removed:
method MigrationContext.compare_server_default(inspector_column, metadata_column, rendered_metadata_default) - removed:
method MigrationContext.compare_type(inspector_column, metadata_column) - added:
method MigrationContext.get_current_revision()
- changed:
method Operations.drop_constraint(name, tablename) → method Operations.drop_constraint(name, tablename, type=…)
- removed:
method ScriptDirectory.copy_file(src, dest) - removed:
method ScriptDirectory.downgrade_to(destination, current_rev, context) - removed:
method ScriptDirectory.generate_rev(revid, message, refresh=…, **kw) - removed:
method ScriptDirectory.generate_template(src, dest, **kw) - removed:
method ScriptDirectory.upgrade_from(destination, current_rev, context) - removed:
static method Script.from_filename(dir_, filename) - removed:
static method Script.from_path(path) - added:
field Script.down_revision - added:
field Script.module - added:
field Script.path - added:
field Script.revision - added:
method ScriptDirectory.as_revision_number(id_) - added:
method ScriptDirectory.generate_revision(revid, message, refresh=…, **kw) - added:
method ScriptDirectory.get_base() - added:
method ScriptDirectory.get_current_head() - added:
method ScriptDirectory.get_heads() - added:
method ScriptDirectory.get_revision(id_) - added:
method ScriptDirectory.iterate_revisions(upper, lower)