Flyway 10.0.0

Released: Oct 31, 2023

Flyway 10.0.0 での更新項目

機能

  • Added auth command to authorize Flyway online using Redgate username and password.
  • Added support for REDGATE_LICENSING_PERMIT_PATH and REDGATE_LICENSING_PERMIT environment variables along with offline licensing for offline machines.
  • Added support for LocalSecrets resolvers.
  • Breaking changes:
    • Removed deprecated flyway.check.reportFilename. Please use flyway.reportFilename.
    • The 'cherryPick' configuration option has been moved to a configuration extension. When using the API, it can no longer be directly set through configuration object - instead it is set using an 'cherryPickConfigurationExtension' object which must be retrieved from the plugin register.
    • License key logic has been moved into a different module ('flyway-key-licensing'). This is not shipped in the open-source edition of Flyway so attempting to configure the license key will cause an error. In the Redgate edition of Flyway, license keys must be configured as a configuration extension.
    • Renamed lib/community with lib/flyway
    • Removed the default SQL folder from Flyway CLI and Docker release.
    • Modularized database support in Flyway to allow greater flexibility. This includes; DB2, Derby, HSQLDB, Informix, PostgreSQL, CockroachDB, Redshift, SAP HANA, Snowflake and Sybase ASE.
  • Changes:
    • Remove unused Edition flags documentation, E.G -community or -teams. These flags are no longer used by Flyway and have been marked for deprecation.
    • The lowest supported Gradle version for the Flyway Gradle plugin is now 7.6. This is due to a known issue with older Gradle versions where it cannot handle dependencies with multi-release chars containing Java 19 code.
    • Moved older db support handling into OSS.
    • If flyway fails due to a licensing issue, it now returns a unique (35) exit code.
    • Adjusted the wording on the 'deleted' Repair action to mention it only marks migrations as deleted.
  • Database compatibility:
    • Flyway now supports MySQL 8.1.0.
    • Google Cloud Spanner has been release from BETA.
  • Java compatibility:
    • Deprecated Java 8. Java 17 is now required for development.