Skip to content

0.2.2

Compare
Choose a tag to compare
@sqla-tester sqla-tester released this 17 Sep 22:11

0.2.2

Released: Mon Mar 12 2012

  • [feature] Informative error message when op.XYZ
    directives are invoked at module import time.

  • [bug] Fixed inappropriate direct call to
    util.err() and therefore sys.exit()
    when Config failed to locate the
    config file within library usage.

    References: #35

  • [bug] Autogenerate will emit CREATE TABLE
    and DROP TABLE directives according to
    foreign key dependency order.

  • [bug] implement 'tablename' parameter on
    drop_index() as this is needed by some
    backends.

  • [feature] Added execution_options parameter
    to op.execute(), will call execution_options()
    on the Connection before executing.

    The immediate use case here is to allow
    access to the new no_parameters option
    in SQLAlchemy 0.7.6, which allows
    some DBAPIs (psycopg2, MySQLdb) to allow
    percent signs straight through without
    escaping, thus providing cross-compatible
    operation with DBAPI execution and
    static script generation.

  • [bug] setup.py won't install argparse if on
    Python 2.7/3.2

  • [feature] script_location can be interpreted
    by pkg_resources.resource_filename(), if
    it is a non-absolute URI that contains
    colons. This scheme is the same
    one used by Pyramid.

    References: #29

  • [feature] added missing support for
    onupdate/ondelete flags for
    ForeignKeyConstraint, courtesy Giacomo Bagnoli

  • [bug] fixed a regression regarding an autogenerate
    error message, as well as various glitches
    in the Pylons sample template. The Pylons sample
    template requires that you tell it where to
    get the Engine from now. courtesy
    Marcin Kuzminski

    References: #30

  • [bug] drop_index() ensures a dummy column
    is added when it calls "Index", as SQLAlchemy
    0.7.6 will warn on index with no column names.