Upgrading alembic 0.5 to 0.6
Unknown0.5.0 → 0.6.7
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 compare_metadata(context, metadata) - removed:
variable log - added:
export compare_metadata
- added:
function compare_metadata(context, metadata) - added:
variable log
- added:
variable log
- added:
variable MAX_PYTHON_ARGS - added:
variable log
- changed:
function history(config) → function history(config, rev_range=…)
- added:
class ActLikePy3kIO(object) - added:
class EncodedIO(EncodedIO) - added:
class EncodedIO(io.TextIOWrapper) - added:
constructor ActLikePy3kIO(file_) - added:
constructor EncodedIO(file_, encoding) - added:
field ActLikePy3kIO.closed - added:
field ActLikePy3kIO.readable - added:
field ActLikePy3kIO.seekable - added:
field ActLikePy3kIO.writable - added:
function callable(fn) - added:
function exec_(func_text, globals_, lcl) - added:
function load_module_py(module_id, path) - added:
function load_module_pyc(module_id, path) - added:
function u(s) - added:
function with_metaclass(meta, base=…) - added:
method ActLikePy3kIO.flush() - added:
method ActLikePy3kIO.write(text) - added:
method EncodedIO.close() - added:
variable binary_type - added:
variable callable - added:
variable exec_ - added:
variable py2k - added:
variable py33 - added:
variable py3k - added:
variable sqla_08 - added:
variable sqla_09 - added:
variable string_types - added:
variable text_type
- changed:
constructor Config(file_=…, ini_section=…, output_buffer=…, stdout=…) → constructor Config(file_=…, ini_section=…, output_buffer=…, stdout=…, cmd_opts=…) - added:
field Config.cmd_opts
- added:
export DefaultImpl - added:
export mssql - added:
export mysql - added:
export oracle - added:
export postgresql - added:
export sqlite
- changed:
class DefaultImpl(object) → class DefaultImpl(with_metaclass(ImplMeta)) - changed:
method DefaultImpl.bulk_insert(table, rows) → method DefaultImpl.bulk_insert(table, rows, multiinsert=…) - changed:
method DefaultImpl.compare_server_default(inspector_column, metadata_column, rendered_metadata_default) → method DefaultImpl.compare_server_default(inspector_column, metadata_column, rendered_metadata_default, rendered_inspector_default) - added:
method DefaultImpl.correct_for_autogen_constraints(conn_uniques, conn_indexes, metadata_unique_constraints, metadata_indexes)
- changed:
method MSSQLImpl.bulk_insert(table, rows) → method MSSQLImpl.bulk_insert(table, rows, **kw) - added:
function visit_rename_table(element, compiler, **kw) - added:
method MSSQLImpl.emit_commit()
- removed:
class MySQLAlterColumn(AlterColumn) - removed:
constructor MySQLAlterColumn(name, column_name, schema=…, newname=…, type_=…, nullable=…, default=…, autoincrement=…) - added:
class MySQLAlterDefault(AlterColumn) - added:
class MySQLChangeColumn(AlterColumn) - added:
class MySQLModifyColumn(MySQLChangeColumn) - added:
constructor MySQLAlterDefault(name, column_name, default, schema=…) - added:
constructor MySQLChangeColumn(name, column_name, schema=…, newname=…, type_=…, nullable=…, default=…, autoincrement=…) - added:
method MySQLImpl.correct_for_autogen_constraints(conn_unique_constraints, conn_indexes, metadata_unique_constraints, metadata_indexes)
- changed:
method PostgresqlImpl.compare_server_default(inspector_column, metadata_column, rendered_metadata_default) → method PostgresqlImpl.compare_server_default(inspector_column, metadata_column, rendered_metadata_default, rendered_inspector_default)
- added:
method SQLiteImpl.compare_server_default(inspector_column, metadata_column, rendered_metadata_default, rendered_inspector_default) - added:
method SQLiteImpl.correct_for_autogen_constraints(conn_unique_constraints, conn_indexes, metadata_unique_constraints, metadata_indexes)
- changed:
method EnvironmentContext.configure(connection=…, url=…, dialect_name=…, transactional_ddl=…, output_buffer=…, starting_rev=…, tag=…, template_args=…, target_metadata=…, include_symbol=…, include_schemas=…, compare_type=…, compare_server_default=…, render_item=…, upgrade_token=…, downgrade_token=…, alembic_module_prefix=…, sqlalchemy_module_prefix=…, **kw) → method EnvironmentContext.configure(connection=…, url=…, dialect_name=…, transactional_ddl=…, transaction_per_migration=…, output_buffer=…, starting_rev=…, tag=…, template_args=…, target_metadata=…, include_symbol=…, include_object=…, include_schemas=…, compare_type=…, compare_server_default=…, render_item=…, upgrade_token=…, downgrade_token=…, alembic_module_prefix=…, sqlalchemy_module_prefix=…,… - added:
method EnvironmentContext.get_x_argument(as_dictionary=…)
- changed:
constructor MigrationContext(dialect, connection, opts) → constructor MigrationContext(dialect, connection, opts, environment_context=…) - changed:
static method MigrationContext.configure(connection=…, url=…, dialect_name=…, opts=…) → static method MigrationContext.configure(connection=…, url=…, dialect_name=…, environment_context=…, opts=…) - added:
method MigrationContext.begin_transaction(_per_migration=…) - added:
property MigrationContext.config
- changed:
method Operations.bulk_insert(table, rows) → method Operations.bulk_insert(table, rows, multiinsert=…) - changed:
method Operations.create_foreign_key(name, source, referent, local_cols, remote_cols, onupdate=…, ondelete=…, source_schema=…, referent_schema=…) → method Operations.create_foreign_key(name, source, referent, local_cols, remote_cols, onupdate=…, ondelete=…, deferrable=…, initially=…, match=…, source_schema=…, referent_schema=…, **dialect_kw) - added:
method Operations.f(name)
- changed:
constructor ScriptDirectory(dir, file_template=…) → constructor ScriptDirectory(dir, file_template=…, truncate_slug_length=…, sourceless=…) - changed:
method ScriptDirectory.walk_revisions() → method ScriptDirectory.walk_revisions(base=…, head=…) - added:
property Script.log_entry - added:
property Script.longdoc
- added:
class CommandError(Exception) - added:
class immutabledict(dict) - added:
class memoized_property(object) - added:
constructor immutabledict(*args) - added:
constructor memoized_property(fget, doc=…) - added:
field immutabledict.clear - added:
field immutabledict.pop - added:
field immutabledict.popitem - added:
field immutabledict.setdefault - added:
field immutabledict.update - added:
function asbool(value) - added:
function coerce_resource_to_filename(fname) - added:
function create_module_class_proxy(cls, globals_, locals_) - added:
function err(message) - added:
function load_python_file(dir_, filename) - added:
function msg(msg, newline=…) - added:
function obfuscate_url_pw(u) - added:
function pyc_file_from_path(path) - added:
function rev_id() - added:
function simple_pyc_file_from_path(path) - added:
function status(_statmsg, fn, *arg, **kw) - added:
function template_to_file(template_file, dest, **kw) - added:
function warn(msg) - added:
function write_outstream(stream, *text) - added:
method immutabledict.union(d) - added:
variable TERMWIDTH - added:
variable ioctl - added:
variable log - added:
variable sqla_07 - added:
variable sqla_08 - added:
variable sqla_09 - added:
variable sqla_092 - added:
variable sqla_094
- removed:
class ChangeDirective(EnvDirective, Directive) - removed:
class ChangeLogDirective(EnvDirective, Directive) - removed:
class EnvDirective(object) - removed:
field ChangeDirective.has_content - removed:
field ChangeDirective.parent_cls - removed:
field ChangeDirective.type_ - removed:
field ChangeLogDirective.default_section - removed:
field ChangeLogDirective.has_content - removed:
field ChangeLogDirective.type_ - removed:
function make_ticket_link(name, rawtext, text, lineno, inliner, options=…, content=…) - removed:
function setup(app) - removed:
method ChangeDirective.run() - removed:
method ChangeLogDirective.run() - removed:
property EnvDirective.env - removed:
static method ChangeLogDirective.changes(env)