github sqlalchemy/alembic rel_0_6_0
0.6.0

latest releases: rel_1_15_2, rel_1_15_1, rel_1_15_0...
5 years ago

0.6.0

Released: Fri July 19 2013

  • [feature] Added new kw argument to EnvironmentContext.configure()
    include_object. This is a more flexible version of the
    include_symbol argument which allows filtering of columns as well as tables
    from the autogenerate process,
    and in the future will also work for types, constraints and
    other constructs. The fully constructed schema object is passed,
    including its name and type as well as a flag indicating if the object
    is from the local application metadata or is reflected.

    References: #101

  • [feature] The output of the alembic history command is now
    expanded to show information about each change on multiple
    lines, including the full top message,
    resembling the formatting of git log.

  • [feature] Added alembic.config.Config.cmd_opts attribute,
    allows access to the argparse options passed to the
    alembic runner.

  • [feature] Added new command line argument -x, allows extra arguments
    to be appended to the command line which can be consumed
    within an env.py script by looking at
    context.config.cmd_opts.x, or more simply a new
    method EnvironmentContext.get_x_argument().

    References: #120

  • [bug] Added support for options like "name" etc. to be rendered
    within CHECK constraints in autogenerate. Courtesy
    Sok Ann Yap.

    References: #125

  • [misc] Source repository has been moved from Mercurial to Git.

  • [bug] Repaired autogenerate rendering of ForeignKeyConstraint
    to include use_alter argument, if present.

  • [feature] Added -r argument to alembic history command,
    allows specification of [start]:[end] to view
    a slice of history. Accepts revision numbers, symbols
    "base", "head", a new symbol "current" representing the
    current migration, as well as relative ranges for one
    side at a time (i.e. -r-5:head, -rcurrent:+3).
    Courtesy Atsushi Odagiri for this feature.

  • [feature] Source base is now in-place for Python 2.6 through
    3.3, without the need for 2to3. Support for Python 2.5
    and below has been dropped. Huge thanks to
    Hong Minhee for all the effort on this!

    References: #55

Don't miss a new alembic release

NewReleases is sending notifications on new releases.