summaryrefslogtreecommitdiff
path: root/CHANGES
Commit message (Collapse)AuthorAgeFilesLines
* Move to github, new domain, sqlalchemy linksMike Bayer2018-11-261-1/+1
| | | | | | | Alembic is now under the sqlalchemy.org domain for the website and all repos are moving under github.com/sqlalchemy. Change-Id: Id9ce08b61ed0ccdf50396f911838b21112e61652
* Fix doclink away from readthedocsAlfred Perlstein2016-07-171-1/+1
|
* move the changelog to the new changelog extensionMike Bayer2012-10-201-471/+7
|
* Fix bug with minute component in file_template and make sure it is tested ↵Daniel Haaker2012-10-211-0/+3
| | | | correctly
* - [bug] Removed erroneous "emit_events" attributeMike Bayer2012-10-201-0/+4
| | | | | from operations.create_table() documentation. #81
* - [feature] Explicit error message describing the caseMike Bayer2012-10-181-0/+6
| | | | | when downgrade --sql is used without specifying specific start/end versions. #66
* - [feature] Support for tables in alternate schemasMike Bayer2012-09-301-0/+11
| | | | | | | | | | | | has been added fully to all operations, as well as to the autogenerate feature. When using autogenerate, specifying the flag include_schemas=True to Environment.configure() will also cause autogenerate to scan all schemas located by Inspector.get_schema_names(), which is supported by *some* (but not all) SQLAlchemy dialects including Postgresql. *Enormous* thanks to Bruno Binet for a huge effort in implementing as well as writing tests. #33.
* - [feature] Added "stdout" option to Config, providesMike Bayer2012-09-301-0/+4
| | | | | control over where the "print" output of commands like "history", "init", "current" etc. are sent. #43
* - [bug] Fixed the "multidb" template which was badly outMike Bayer2012-09-301-0/+7
| | | | | | | | of date. It now generates revision files using the configuration to determine the different upgrade_<xyz>() methods needed as well, instead of needing to hardcode these. Huge thanks to BryceLohr for doing the heavy lifting here. #71
* - [bug] Fixed the regexp that was checking for .py filesMike Bayer2012-09-301-0/+7
| | | | | | | | in the version directory to allow any .py file through. Previously it was doing some kind of defensive checking, probably from some early notions of how this directory works, that was prohibiting various filename patterns such as those which begin with numbers. #72
* - call it 0.4.0Mike Bayer2012-09-301-1/+6
| | | | | | | - [feature] The command line runner has been organized into a reusable CommandLine object, so that other front-ends can re-use the argument parsing built in. #70
* - changelog + support for remove autoincMike Bayer2012-08-221-0/+4
|
* - [bug] Fixed MySQL rendering for server_default whichMike Bayer2012-08-221-0/+6
| | | | | didn't work if the server_default was a generated SQL expression. Courtesy Moriyoshi Koizumi.
* - [feature] Added include_symbol option torel_0_3_6Mike Bayer2012-08-151-0/+6
| | | | | | | EnvironmentContext.configure(), specifies a callable which will include/exclude tables in their entirety from the autogeneration process based on name. #27
* - [bug] Improved error message when specifiyingMike Bayer2012-08-081-0/+5
| | | | | | non-ordered revision identifiers to cover the case when the "higher" rev is None, improved message overall. #66
* - [bug] Repaired create_foreign_key() forMike Bayer2012-08-041-0/+4
| | | | | self-referential foreign keys, which weren't working at all.
* - [bug] Fixes made to the constraints created/droppedMike Bayer2012-07-281-0/+11
| | | | | | | | | | | | alongside so-called "schema" types such as Boolean and Enum. The create/drop constraint logic does not kick in when using a dialect that doesn't use constraints for these types, such as postgresql, even when existing_type is specified to alter_column(). Additionally, the constraints are not affected if existing_type is passed but type_ is not, i.e. there's no net change in type. #62
* - [bug] 'alembic' command reports an informativeMike Bayer2012-07-281-0/+4
| | | | | error message when the configuration is missing the 'script_directory' key. #63
* - [feature] Added --sql argument to the "revision" command,Mike Bayer2012-07-281-2/+7
| | | | | | for the use case where the "revision_environment" config option is being used but SQL access isn't desired.
* - sublime blowing away trailing spaceMike Bayer2012-07-171-0/+3
| | | | | | - changelog - fix this test - fix docs for new mysql 'primary'
* - Added year, month, day, hour, minute, secondMike Bayer2012-07-111-0/+5
| | | | variables to file_template. #59
* - [bug] Fixed issue whereby when autogenerate wouldMike Bayer2012-07-081-72/+82
| | | | | | | | | | | render create_table() on the upgrade side for a table that has a Boolean type, an unnecessary CheckConstraint() would be generated. #58 - [feature] Implemented SQL rendering for CheckConstraint() within autogenerate upgrade, including for literal SQL as well as SQL Expression Language expressions.
* - apply repr() to server default string, #31Mike Bayer2012-06-231-0/+6
|
* - repair entirely broken revision_environment feature released in 0.3.3rel_0_3_4Mike Bayer2012-06-021-0/+8
| | | | - its beta
* - [feature] New config argumentrel_0_3_3Mike Bayer2012-06-021-0/+12
| | | | | | | | | | | | | "revision_environment=true", causes env.py to be run unconditionally when the "revision" command is run, to support script.py.mako templates with dependencies on custom "template_args". - [feature] Added "template_args" option to configure() so that an env.py can add additional arguments to the template context when running the "revision" command. This requires either --autogenerate or the configuration directive "revision_environment=true".
* - [bug] Fixed bug whereby directories inside ofMike Bayer2012-05-201-0/+5
| | | | | | the template directories, such as __pycache__ on Pypy, would mistakenly be interpreted as files which are part of the template. #49
* - [feature] Added support for "relative" migrationMike Bayer2012-05-161-0/+5
| | | | | | identifiers, i.e. "alembic upgrade +2", "alembic downgrade -1". Courtesy Atsushi Odagiri for this feature.
* Make version table name configurable.Jeff Dairiki2012-05-031-0/+4
|
* - [bug] Added "type" argument to op.drop_constraint(),Mike Bayer2012-05-011-0/+8
| | | | | | | and implemented full constraint drop support for MySQL. CHECK and undefined raise an error. MySQL needs the constraint type in order to emit a DROP CONSTRAINT. #44
* - [feature] Basic support for Oracle added,rel_0_3_2Mike Bayer2012-04-301-0/+3
| | | | courtesy shgoh. #40
* - [bug] Fixed bug whereby create_unique_constraint()Mike Bayer2012-04-261-0/+5
| | | | | | would include in the constraint columns that are added to all Table objects using events, externally to the generation of the constraint.
* - [bug] Fixed support of schema-qualifiedMike Bayer2012-04-251-0/+4
| | | | | ForeignKey target in column alter operations, courtesy Alexander Kolov.
* - [feature] Added support for UniqueConstraintMike Bayer2012-04-211-0/+5
| | | | in autogenerate, courtesy Atsushi Odagiri
* - [bug] bulk_insert() fixes:rel_0_3_1Mike Bayer2012-04-071-0/+18
| | | | | | | | | | | | | | | | 1. bulk_insert() operation was not working most likely since the 0.2 series when used with an engine. #41 2. Repaired bulk_insert() to complete when used against a lower-case-t table and executing with only one set of parameters, working around SQLAlchemy bug #2461 in this regard. 3. bulk_insert() uses "inline=True" so that phrases like RETURNING and such don't get invoked for single-row bulk inserts. 4. bulk_insert() will check that you're passing a list of dictionaries in, raises TypeError if not detected.
* - move to 0.3 as we are changing APIrel_0_3_0Mike Bayer2012-04-051-2/+23
| | | | | | | | | | | | | | | | | | | | | - [general] The focus of 0.3 is to clean up and more fully document the public API of Alembic, including better accessors on the MigrationContext and ScriptDirectory objects. Methods that are not considered to be public on these objects have been underscored, and methods which should be public have been cleaned up and documented, including: MigrationContext.get_current_revision() ScriptDirectory.iterate_revisions() ScriptDirectory.get_current_head() ScriptDirectory.get_heads() ScriptDirectory.get_base() ScriptDirectory.generate_revision() - [feature] Added a bit of autogenerate to the public API in the form of the function alembic.autogenerate.compare_metadata.
* - changelogMike Bayer2012-03-121-0/+4
| | | | - import OrderedSet from sqlalchemy.util
* - [bug] Fixed inappropriate direct call toMike Bayer2012-02-281-0/+6
| | | | | | | util.err() and therefore sys.exit() when Config failed to locate the config file within library usage. [#35]
* - [bug] implement 'tablename' parameter onMike Bayer2012-02-281-1/+18
| | | | | | | | | | | | | | | | | | 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.
* - [feature] Informative error message when op.XYZMike Bayer2012-02-131-0/+3
| | | | directives are invoked at module import time.
* - [bug] drop_index() ensures a dummy columnMike Bayer2012-02-121-0/+4
| | | | | is added when it calls "Index", as SQLAlchemy 0.7.6 will warn on index with no column names.
* changelogMike Bayer2012-02-081-1/+8
|
* changelogMike Bayer2012-02-081-0/+4
|
* - [feature] script_location can be interpretedMike Bayer2012-02-081-0/+6
| | | | | | | by pkg_resources.resource_filename(), if it is a non-absolute URI that contains colons. This scheme is the same one used by Pyramid. [#29]
* - update version + CHANGES for rff49b7fe01b4Mike Bayer2012-02-031-0/+5
|
* - [bug] Fixed the generation of CHECK constraint,Mike Bayer2012-01-311-0/+5
| | | | regression from 0.2.0 [#26]
* merge this togetherMike Bayer2012-01-301-2/+0
|
* - [bug] env.py templates callMike Bayer2012-01-261-0/+7
| | | | | | | | connection.close() to better support programmatic usage of commands; use NullPool in conjunction with create_engine() as well so that no connection resources remain afterwards. [#25]
* - [feature] The naming of revision files canMike Bayer2012-01-241-0/+11
| | | | | | | | | | | | now be customized to be some combination of "rev id" and "slug", the latter of which is based on the revision message. By default, the pattern "<rev>_<slug>" is used for new files. New script files should include the "revision" variable for this to work, which is part of the newer script.py.mako scripts. [#24]
* - rearrange the internals such that we no longer use globalMike Bayer2012-01-241-0/+17
| | | | | | | | | | | | variables to get to things. The new structure is: EnvironmentContext -> MigrationContext -> Operation EnvironmentContext sets up the variables "alembic.context" and "alembic.op" to act like the modules they used to. MigrationContext can also exist independently of EnvironmentContext. Refactoring is still underway here.
* - [feature] Can create alembic.config.ConfigMike Bayer2012-01-201-0/+5
| | | | | | with no filename, use set_main_option() to add values. Also added set_section_option() which will add sections. [#23]