~ubuntu-branches/ubuntu/saucy/migrate/saucy-proposed

« back to all changes in this revision

Viewing changes to docs/changelog.rst

  • Committer: Bazaar Package Importer
  • Author(s): Jan Dittberner
  • Date: 2010-07-12 00:24:57 UTC
  • mfrom: (1.1.5 upstream) (2.1.8 sid)
  • Revision ID: james.westby@ubuntu.com-20100712002457-4j2fdmco4u9kqzm5
Upload to unstable.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
Changelog
2
 
=========
 
1
0.6 (11.07.2010)
 
2
---------------------------
 
3
 
 
4
.. _backwards-06:
 
5
 
 
6
.. warning:: **Backward incompatible changes**:
 
7
 
 
8
    - :func:`api.test` and schema comparison functions now all accept `url` as first parameter and `repository` as second.
 
9
    - python upgrade/downgrade scripts do not import `migrate_engine` magically, but recieve engine as the only parameter to function (eg. ``def upgrade(migrate_engine):``)
 
10
    - :meth:`Column.alter <migrate.changeset.schema.ChangesetColumn.alter>` does not accept `current_name` anymore, it extracts name from the old column.
 
11
 
 
12
Features
 
13
**************
 
14
 
 
15
- added support for :ref:`firebird <firebird-d>`
 
16
- added option to define custom templates through option ``--templates_path`` and ``--templates_theme``,
 
17
  read more in :ref:`tutorial section <custom-templates>`
 
18
- use Python logging for output, can be shut down by passing ``--disable_logging`` to :func:`migrate.versioning.shell.main`
 
19
- deprecated `alter_column` comparing of columns. Just use explicit parameter change.
 
20
- added support for SQLAlchemy 0.6.x by Michael Bayer
 
21
- Constraint classes have `cascade=True` keyword argument to issue ``DROP CASCADE`` where supported
 
22
- added :class:`~migrate.changeset.constraint.UniqueConstraint`/:class:`~migrate.changeset.constraint.CheckConstraint`
 
23
  and corresponding create/drop methods
 
24
- API `url` parameter can also be an :class:`Engine` instance (this usage is discouraged though sometimes necessary)
 
25
- code coverage is up to 80% with more than 100 tests
 
26
- alter, create, drop column / rename table / rename index constructs now accept `alter_metadata` parameter. If True, it will modify Column/Table objects according to changes. Otherwise, everything will be untouched.
 
27
- added `populate_default` bool argument to :meth:`Column.create <migrate.changeset.schema.ChangesetColumn.create>` which issues corresponding UPDATE statements to set defaults after column creation
 
28
- :meth:`Column.create <migrate.changeset.schema.ChangesetColumn.create>` accepts `primary_key_name`, `unique_name` and `index_name` as string value which is used as contraint name when adding a column
 
29
 
 
30
Bug fixes
 
31
*****************
 
32
 
 
33
- ORM methods now accept `connection` parameter commonly used for transactions
 
34
- `server_defaults` passed to :meth:`Column.create <migrate.changeset.schema.ChangesetColumn.create>`
 
35
  are now issued correctly
 
36
- use SQLAlchemy quoting system to avoid name conflicts (for issue 32)
 
37
- complete refactoring of :class:`~migrate.changeset.schema.ColumnDelta` (fixes issue 23)
 
38
- partial refactoring of :mod:`changeset` package
 
39
- fixed bug when :meth:`Column.alter <migrate.changeset.schema.ChangesetColumn.alter>`\(server_default='string') was not properly set
 
40
- constraints passed to :meth:`Column.create <migrate.changeset.schema.ChangesetColumn.create>` are correctly interpreted  (``ALTER TABLE ADD CONSTRAINT`` is issued after ``ATLER TABLE ADD COLUMN``)
 
41
- script names don't break with dot in the name
 
42
 
 
43
Documentation
 
44
*********************
 
45
 
 
46
- :ref:`dialect support <dialect-support>` table was added to documentation
 
47
- majoy update to documentation
 
48
 
 
49
 
3
50
 
4
51
0.5.4
5
52
-----