What's new in Flyway 3.2.1
Mar 21, 2015
- Bug fixes:
- Issue 969 Fix SQL syntax error in MetaDataTableImpl.java Pull Request
- Issue 971 Regression in 3.2: Invalid charater Pull Request
New in Flyway 3.2 (Mar 17, 2015)
- New features:
- Issue 732 The command-line tool now optionally ships with a JRE
- Issue 885 SolidDB support Pull Request
- Issue 906 Option to validate only until current version of the schema Pull Request
- Issue 909 The commandline tool now also ships with the Derby Client driver
- Issue 915 Command-line: -q switch for quiet mode Pull Request
- Issue 945 Allow to skip placeholder resolution
- Issue 956 Try to load configFile from current directory first
- Changes:
- Issue 752 Deprecated Flyway.setBaselineVersion(String), use setBaselineVersionAsString(String) instead.
- Issue 752 Deprecated Flyway.setTarget(String), use setTargetAsString(String) instead.
- Issue 752 Deprecated Flyway.setCallbacks(String...), use setCallbacksAsClassNames(String...) instead.
- Issue 752 Deprecated Flyway.setResolvers(String...), use setResolversAsClassNames(String...) instead.
- Issue 895 Deprecated Gradle plugin ID flyway, use org.flywaydb.flyway instead. Pull Request
- Issue 966 Commandline: Deprecated jarDir, use jarDirs instead.
- Bug fixes:
- Issue 598 No "current" schema in flyway.url causes a Flyway exception
- Issue 752 Overloaded setters break Spring XML usage € Sponsored by David Harrigan
- Issue 892 Using (deprecated) init goal in Maven takes wrong baseline version
- Issue 893 Add command images to Javadoc
- Issue 898 Flyway baselines new schemas, since they always have a schema_version table
- Issue 902 slf4j optional package import missing from OSGi manifest
- Issue 903 Fix an error where MigrationVersion wouldn't parse correctly Pull Request
- Issue 905 NullPointerException at org.flywaydb.maven.MigrateMojo.doExecute(MigrateMojo.java:35)
- Issue 918 Explicitly drop Views then doing a Flyway.clean() on a PostgreSQL db
- Issue 921 Incorrect parsing when space is missing between end quote and next token
- Issue 922 Escape command-line arguments
- Issue 939 Multiline comment closing not detected properly
- Issue 940 Implicit baseline triggered by baselineOnMigrate does not respect baselineVersion
- Issue 951 Still issues with the Gradle plugin under Java 6
- Issue 955 Loading configFile from relative path seems to be broken
- Issue 957 Improve DataSource not set error message for non-API clients
- Issue 958 Backslashes are not treated properly in conf file
- Issue 965 Problem with double quotes
- Documentation fixes:
- Issue 959 Gradle documentation should have commas to separate placeholders
New in Flyway 3.1 (Dec 30, 2014)
- New Features:
- Issue 344 HP Vertica support Pull Request
- Issue 638 DB2 on z/OS support Pull Request
- Issue 661 AWS Redshift support Pull Request
- Issue 728 SQL-based callbacks
- Issue 731 Package JDBC drivers with command-line tool
- Issue 778 Maven plugin: Expose new DB version in flyway.current property Pull Request
- Issue 834 Use Slf4j for logging if available
- Issue 863 PostgreSQL COPY ... FROM STDIN support € Sponsored by Dembach Goo Informatik
- Incompatible Changes:
- Issue 860 The FlywayCallback interface has two new methods: beforeBaseline() and afterBaseline().
- Issue 860 info() now returns INIT migrations as BASELINE.
- Issue 860 info() now returns PREINIT migrations as BELOW_BASELINE.
- Changes:
- Issue 860 Deprecated init(), use baseline() instead.
- Issue 860 Deprecated initVersion, use baselineVersion instead.
- Issue 860 Deprecated initDescription, use baselineDescription instead.
- Issue 860 Deprecated initOnMigrate, use baselineOnMigrate instead.
- Issue 860 Deprecated FlywayCallback.beforeInit(), use FlywayCallback.beforeBaseline() instead.
- Issue 860 Deprecated FlywayCallback.afterInit(), use FlywayCallback.afterBaseline() instead.
- Issue 860 Deprecated MigrationState.PREINIT, use MigrationState.BELOW_BASELINE instead.
- Issue 860 Deprecated MigrationType.INIT, use MigrationType.BASELINE instead.
- Derby Jdbc driver: Flyway is now tested with 10.11.1.1 (was 10.8.2.2)
- Hsql Jdbc driver: Flyway is now tested with 2.3.2 (was 2.2.8)
- PostgreSQL Jdbc driver: Flyway is now tested with 9.3-1102-jdbc4 (was 9.0-801.jdbc4)
- SQLite Jdbc driver: Flyway is now tested with sqlite-jdbc 3.7.15-M1 (was sqlite-jdbc 3.7.2)
- Bug fixes:
- Issue 691 Clean fix #664 breaks DB2 clean in some cases
- Issue 718 SQLServer: no exception thrown when statement fails Pull Request
- Issue 735 cygwin classpath problem Pull Request
- Issue 742 flyway info does cuts off or truncates information
- Issue 746 Unhelpful error when forgetting "flyway.driver" with xerial sqlite-jdbc
- Issue 754 flyway fails to remove forward slash from a script if it contains a comment Pull Request
- Issue 758 Fixed OSGi metadata table create script loading Pull Request
- Issue 761 Clean Oracle scheduled jobs Pull Request
- Issue 770 Improve Oracle error - show the ORA code
- Issue 774 Informational message from database logged at WARN level Pull Request
- Issue 779 Restore JDK6 compatibility for Gradle plugin Pull Request
- Issue 783 Spring Jdbc not available from command line
- Issue 793 MySQL flywayMigrate fails due to user permission
- Issue 800 Handle Oracle java source Pull Request
- Issue 801 ClassPathScanner fails with enum
- Issue 802 Clean on DB2 does not clean triggers Pull Request
- Issue 806 Flyway does not clean sequences on SQL Server 2012
- Issue 816 Allow newer migrations to exist and be skipped by validateOnMigrate
- Issue 824 Classpath scanner does not detect sql-files in WEB-INF/classes in (non-exploded) war-file
- Issue 825 Warn instead of fail when clean cannot find a schema
- Issue 830 Allow gradle plugin to create multiple migrate tasks for different schemas Pull Request
- Issue 842 migrate [initOnMigrate, initVersion] should use initVersion when the schema does not exist
- Issue 843 Flyway suppresses warnings silently on SQLException
- Issue 866 Classpath Scanner swallows Instantiation Exceptions
- Issue 867 DB2 schema clean fails for expression-based index
- Issue 868 Update filed for MSSQL scripts containing 'Go'
- Issue 871 Please include SQLException message when failing to connect
- Issue 877 Exception cause lost in classutils instantiateAll
- Issue 884 Flyway incorrectly handles paths with a + in their name
New in Flyway 2.1.1 (Jun 25, 2013)
- Incompatible Changes:
- Flyway now throws an exception if a placeholder is missing a replacement value
- init is now idempotent. Calling init multiple times with the same values no longer throws an exception.
- Ant: Dropped support for the separate Spring distribution.
- Spring is still supported by adding the Spring jars yourself on Flyway's classpath
- Ant: The distribution is now called flyway-ant-2.2.[zip|tar.gz] (dropped the -dist part)
- Command-line: Dropped support for the Spring distribution.
- Spring is still supported by adding the Spring jars yourself in the /jars directory
- Command-line: The distribution is now called flyway-commandline-2.2.[zip|tar.gz] (dropped the -dist part)
- Command-line: The root directory is now called flyway-2.2 (dropped the -commandline part)
- Command-line: On Linux and OSX the script is now called flyway (dropped the .sh)
- Bug fixes:
- Small Bug in Flyway.getLocations() -> flyway-test-extension crash
- Issue 453 flyway.cmd cannot determine console width on windows 7
- Issue 456 "Migrate" command fails when the SQL Server login doesn't have a default schema
- Issue 458 FlywayException executing flyway:info with -f maven option
- Issue 459 Flyway.migrate() leaves the metadata table locked if it throws an exception
- Issue 462 Flyway 2.1.1 hangs on ANALYZE command Sponsored :-)
- Issue 463 Clean on DB2 functions or procedures fails when two procedures have the same name
- Issue 464 Clean on DB2 fails to clean schemas with ARRAY TYPES
- Issue 471 Dropping queue tables throws Exception
- Issue 472 SQL Server Unable to drop schema when functions exist
- Issue 473 SQL Server: flyway:clean should drop synonyms
- Issue 474 MySql - Cannot create table or query data from tables in migration steps because meta data table is locked
- Issue 477 Fail fast for missing placeholders
- Issue 481 Hexadecimal Value using x'1234' notation not parsed correctly
- Issue 491 Oracle COMPOUND TRIGGER with initialization section not working properly
- Issue 497 MySQLSqlStatementBuilder gets confused with lines containing escaped single quote
- Issue 499 MySQL dump file's Views are not migrated
- Pull Request 23 Consider colons as a token separator
- Pull Request 25 Version in child projects is redundant, since it is inherited from the parent