Upgrade to Flyway 10.18.0

Closes gh-42295
This commit is contained in:
Stéphane Nicoll 2024-09-13 14:33:28 +02:00
parent 36abc9c933
commit d6bfdbd90e
4 changed files with 6 additions and 1 deletions

View File

@ -225,6 +225,7 @@ public class FlywayAutoConfiguration {
* @param configuration the configuration
* @param properties the properties
*/
@SuppressWarnings("removal")
private void configureProperties(FluentConfiguration configuration, FlywayProperties properties) {
// NOTE: Using method references in the mapper methods can break
// back-compatibility (see gh-38164)

View File

@ -597,10 +597,13 @@ public class FlywayProperties {
this.cleanDisabled = cleanDisabled;
}
@Deprecated(since = "3.4.0", forRemoval = true)
@DeprecatedConfigurationProperty(since = "3.4.0")
public boolean isCleanOnValidationError() {
return this.cleanOnValidationError;
}
@Deprecated(since = "3.4.0", forRemoval = true)
public void setCleanOnValidationError(boolean cleanOnValidationError) {
this.cleanOnValidationError = cleanOnValidationError;
}

View File

@ -46,6 +46,7 @@ import static org.assertj.core.api.Assertions.assertThat;
class FlywayPropertiesTests {
@Test
@SuppressWarnings("removal")
void defaultValuesAreConsistent() {
FlywayProperties properties = new FlywayProperties();
Configuration configuration = new FluentConfiguration();

View File

@ -354,7 +354,7 @@ bom {
releaseNotes("https://www.elastic.co/guide/en/elasticsearch/reference/current/release-notes-{version}.html")
}
}
library("Flyway", "10.17.3") {
library("Flyway", "10.18.0") {
group("org.flywaydb") {
modules = [
"flyway-commandline",