Skip to content

Commit d6bfdbd

Browse files
committed
Upgrade to Flyway 10.18.0
Closes gh-42295
1 parent 36abc9c commit d6bfdbd

File tree

4 files changed

+6
-1
lines changed

4 files changed

+6
-1
lines changed

spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/flyway/FlywayAutoConfiguration.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,7 @@ private void applyConnectionDetails(FlywayConnectionDetails connectionDetails, D
225225
* @param configuration the configuration
226226
* @param properties the properties
227227
*/
228+
@SuppressWarnings("removal")
228229
private void configureProperties(FluentConfiguration configuration, FlywayProperties properties) {
229230
// NOTE: Using method references in the mapper methods can break
230231
// back-compatibility (see gh-38164)

spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/flyway/FlywayProperties.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -597,10 +597,13 @@ public void setCleanDisabled(boolean cleanDisabled) {
597597
this.cleanDisabled = cleanDisabled;
598598
}
599599

600+
@Deprecated(since = "3.4.0", forRemoval = true)
601+
@DeprecatedConfigurationProperty(since = "3.4.0")
600602
public boolean isCleanOnValidationError() {
601603
return this.cleanOnValidationError;
602604
}
603605

606+
@Deprecated(since = "3.4.0", forRemoval = true)
604607
public void setCleanOnValidationError(boolean cleanOnValidationError) {
605608
this.cleanOnValidationError = cleanOnValidationError;
606609
}

spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/flyway/FlywayPropertiesTests.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@
4646
class FlywayPropertiesTests {
4747

4848
@Test
49+
@SuppressWarnings("removal")
4950
void defaultValuesAreConsistent() {
5051
FlywayProperties properties = new FlywayProperties();
5152
Configuration configuration = new FluentConfiguration();

spring-boot-project/spring-boot-dependencies/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ bom {
354354
releaseNotes("https://www.elastic.co/guide/en/elasticsearch/reference/current/release-notes-{version}.html")
355355
}
356356
}
357-
library("Flyway", "10.17.3") {
357+
library("Flyway", "10.18.0") {
358358
group("org.flywaydb") {
359359
modules = [
360360
"flyway-commandline",

0 commit comments

Comments
 (0)