Flyway 6.3.0 is out! This release contains new features and improvements over Flyway 6.2.0.
The highlights of the features introduced since the 6.2.0 release include:
New in Flyway 6.3.0
- Add a
loadDefaultConfigurationFilesmethod to the api to load
flyway.conffiles from the default locations
- Add working directory support to the clients that didn’t already have it
- Add support for multiline properties in configuration files
- Add support for a
- Placeholders now affect the migration checksum
Introduced in patch releases since Flyway 6.2.0
- Add support for CockroachDb 19.1
- Oracle SQL*Plus parsing extended to support
- Oracle drivers are now shipped with the commandline
- Add support for Snowflake key-auth and SQL Server integratedSecurity
You can find a detailed list of issues fixed in the release notes.
Load default configuration files API method
The API now contains a method to load configuration files from the default locations. These are:
You can use it as follows:
Flyway flyway = Flyway.configure(newClassLoader) .loadDefaultConfigurationFiles() .load();
Multiline properties in configuration files
Configuration files now support splitting a property over multiple lines. To do this simple end a line with a backslash. All sequential backslash-ending lines will be appended together when the configuration file is loaded by Flyway.
flyway.locations=filesystem:my/migrations/release-v1,\ filesystem:my/migrations/release-v2,\ filesystem:my/migrations/release-v3,\ filesystem:my/migrations/release-v3.5,\ filesystem:my/migrations/release-v4,\ filesystem:my/migrations/release-v5
A new default placeholder has been added, called
flyway:timestamp. This contains the current time, in the format
Download it now and enjoy!
You can download Flyway 6.3.0 now! We recommend you upgrade if you are affected by any of the issues logged in the release notes.
Now it’s your turn! Spread the word, follow @flywaydb on Twitter and subscribe to our newsletter below to be the first one to be notified about updates.
Stay updated about Flyway
Get all the latest guides, community news, product updates, and resources