Flyway 12.2.0

Released: Mar 26, 2026

Flyway 12.2.0 での更新項目

機能

  • Added a new rule: RG19 - Simple check to ensure table names are not pluralized. More complex pluralizations should be handled by hand.
  • Added a new rule: RG20 - Object names should be contained within square brackets.
  • 'check -code' now generates a SARIF 2.1.0 report file ('.sarif') alongside JSON and HTML reports, enabling integration with GitHub Code Scanning, Azure DevOps, and other SARIF-compatible tools.
  • Added a new rule: RG21 - This is a configurable rule that can enforce naming prefixes for multiple object types. (Table, View, Procedure, Function, Schema).
  • Added 'check.code.noqaSeverity' setting for configuring the severity of the warning about use of '--noqa' in migrations checked by SQLFluff as part of 'check -code'.
  • Code Analysis renamed to Code Review in output from check command.
  • The regex rule engine used by check -code will no longer automatically convert line endings before applying rules for the contents of migrations.
  • Library Upgrades:
    • Updated Snowflake JDBC driver to 4.0.2.
    • Upgrade aws-secretsmanager to 2.0.4.
  • Internal Dependency:
    • Updated RgCompare.Cli from 1.52.0.3327 to 1.52.0.3345.
    • Updated RgCompare.Cli from 1.52.0.3345 to 1.52.0.3385.
    • Upgraded RgCompare.Cli from 1.52.1.3407 to 1.52.1.3410.
    • Upgraded RgCompare.Cli from 1.52.1.3410 to 1.52.1.3424.
    • Upgraded RgCompare.Cli from 1.52.1.3424 to 1.52.1.3430.

不具合の修正

  • Flyway now correctly exits with a non-zero exit code when migrations fail and multiple report generators are loaded.
  • Fixed parsing of backticks for quoted strings in MySQL.