Skip to content

Commit 9666bf1

Browse files
authored
Merge pull request #41 from xdev-software/develop
Release
2 parents 0e2792a + 0bd2c75 commit 9666bf1

File tree

6 files changed

+41
-21
lines changed

6 files changed

+41
-21
lines changed

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 9 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,15 @@ body:
3333
validations:
3434
required: true
3535

36+
- type: textarea
37+
id: description
38+
attributes:
39+
label: Description of the problem
40+
description: |
41+
Describe as exactly as possible what is not working.
42+
validations:
43+
required: true
44+
3645
- type: textarea
3746
id: steps-to-reproduce
3847
attributes:
@@ -47,20 +56,6 @@ body:
4756
validations:
4857
required: true
4958

50-
- type: textarea
51-
id: expected-behavior
52-
attributes:
53-
label: Expected behavior
54-
description: |
55-
Tell us what you expect to happen.
56-
57-
- type: textarea
58-
id: actual-behavior
59-
attributes:
60-
label: Actual behavior
61-
description: |
62-
Tell us what happens with the steps given above.
63-
6459
- type: textarea
6560
id: additional-information
6661
attributes:

CHANGELOG.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# 1.1.0
2+
_Compatible with Flyway 11.7.2_
3+
4+
* Compatible with Flyway 11.7.2 (shipped with Spring Boot 3.5) #40
5+
16
# 1.0.2
27
* Migrated deployment to _Sonatype Maven Central Portal_ [#155](https://github.com/xdev-software/standard-maven-template/issues/155)
38
* Updated dependencies
@@ -6,7 +11,7 @@
611
Do not include MariaDB JDBC adapter in ``compile`` scope.
712

813
# 1.0.0
9-
_Compatible with Flyway 1.20.1_
14+
_Compatible with Flyway 10.20.1_
1015

1116
_Initial release_
1217

flyway-core-slim/pom.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<groupId>software.xdev</groupId>
88
<artifactId>flyway-core-slim</artifactId>
9-
<version>1.0.3-SNAPSHOT</version>
9+
<version>1.1.0-SNAPSHOT</version>
1010
<packaging>jar</packaging>
1111

1212
<name>flyway-core-slim</name>
@@ -48,7 +48,7 @@
4848
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
4949
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
5050

51-
<flyway.version>10.20.1</flyway.version>
51+
<flyway.version>11.7.2</flyway.version>
5252
<testcontainers.version>1.21.0</testcontainers.version>
5353

5454
<!-- by default run no tests as Docker is required -->
@@ -91,7 +91,7 @@
9191
<dependency>
9292
<groupId>software.xdev</groupId>
9393
<artifactId>testcontainers-junit4-mock</artifactId>
94-
<version>1.0.1</version>
94+
<version>1.0.2</version>
9595
<scope>test</scope>
9696
</dependency>
9797
<dependency>
@@ -296,7 +296,7 @@
296296
<dependency>
297297
<groupId>com.puppycrawl.tools</groupId>
298298
<artifactId>checkstyle</artifactId>
299-
<version>10.23.1</version>
299+
<version>10.24.0</version>
300300
</dependency>
301301
</dependencies>
302302
<configuration>

flyway-core-slim/src/main/java/org/flywaydb/core/internal/plugin/PluginRegister.java

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,11 @@ public <T extends Plugin> List<T> getLicensedPlugins(final Class<T> clazz, final
8585
.toList();
8686
}
8787

88+
public <T extends Plugin> T getLicensedPlugin(final Class<T> clazz, final Configuration configuration)
89+
{
90+
return getLicensedPlugins(clazz, configuration).stream().findFirst().orElse(null);
91+
}
92+
8893
@SuppressWarnings("unchecked")
8994
public <T extends Plugin> T getLicensedPlugin(final String className, final Configuration configuration)
9095
{
@@ -108,6 +113,17 @@ public <T extends Plugin> T getPlugin(final String className)
108113
.orElse(null);
109114
}
110115

116+
@SuppressWarnings("unchecked")
117+
public <T extends Plugin> T getPluginInstanceOf(final Class<T> clazz)
118+
{
119+
return (T)getPlugins()
120+
.stream()
121+
.filter(clazz::isInstance)
122+
.sorted()
123+
.findFirst()
124+
.orElse(null);
125+
}
126+
111127
protected List<Plugin> getPlugins()
112128
{
113129
this.registerPlugins();

flyway-core-slim/src/test/java/org/flywaydb/core/internal/plugin/TestPluginRegister.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,10 @@
3131
import org.flywaydb.core.api.migration.baseline.BaselineResourceTypeProvider;
3232
import org.flywaydb.core.experimental.migration.CoreMigrationTypeResolver;
3333
import org.flywaydb.core.extensibility.Plugin;
34+
import org.flywaydb.core.internal.NullFlywayTelemetryManager;
3435
import org.flywaydb.core.internal.configuration.resolvers.EnvironmentProvisionerNone;
3536
import org.flywaydb.core.internal.configuration.resolvers.EnvironmentVariableResolver;
37+
import org.flywaydb.core.internal.configuration.resolvers.PlaceholderPropertyResolver;
3638
import org.flywaydb.core.internal.resource.CoreResourceTypeProvider;
3739
import org.flywaydb.core.internal.schemahistory.BaseAppliedMigration;
3840
import org.flywaydb.database.mysql.MySQLDatabaseType;
@@ -54,13 +56,15 @@ void onlyExpectedPlugins()
5456
BaseAppliedMigration.class,
5557
CoreResourceTypeProvider.class,
5658
EnvironmentVariableResolver.class,
59+
PlaceholderPropertyResolver.class,
5760
BaselineAppliedMigration.class,
5861
BaselineMigrationConfigurationExtension.class,
5962
BaselineMigrationResolver.class,
6063
BaselineResourceTypeProvider.class,
6164
BaselineMigrationTypeResolver.class,
6265
CoreMigrationTypeResolver.class,
6366
EnvironmentProvisionerNone.class,
67+
NullFlywayTelemetryManager.class,
6468
MySQLDatabaseType.class,
6569
MariaDBDatabaseType.class);
6670

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<groupId>software.xdev</groupId>
88
<artifactId>flyway-core-slim-root</artifactId>
9-
<version>1.0.3-SNAPSHOT</version>
9+
<version>1.1.0-SNAPSHOT</version>
1010
<packaging>pom</packaging>
1111

1212
<organization>
@@ -44,7 +44,7 @@
4444
<dependency>
4545
<groupId>com.puppycrawl.tools</groupId>
4646
<artifactId>checkstyle</artifactId>
47-
<version>10.23.1</version>
47+
<version>10.24.0</version>
4848
</dependency>
4949
</dependencies>
5050
<configuration>

0 commit comments

Comments
 (0)