Skip to content

Commit

Permalink
Bump version to flyway-9.22.3
Browse files Browse the repository at this point in the history
Please see the GH release for the release notes

Upgrade software.amazon.awssdk:s3@2.20.158 to software.amazon.awssdk:s3@2.20.159 to fix CWE-295

Upgrade software.amazon.awssdk:s3@2.20.159 to software.amazon.awssdk:s3@2.20.160 to fix CWE-295

upgrade AWS Java SDK to 2.20.161

Keep software.amazon.awssdk:s3 on latest 2.20.X release to get fix for CVE-2023-4586

[Upgrade software.amazon.awssdk:s3@2.20.94 to software.amazon.awssdk:s3@2.20.158 to fix CWE-295

upgrade aws-secretsmanager-jdbc to 2.0.0

update newest supported Snowflake version
  • Loading branch information
rg-buildmonkey committed Oct 12, 2023
1 parent ec476a7 commit 4888d9c
Show file tree
Hide file tree
Showing 19 changed files with 53 additions and 22 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ subtitle: Snowflake

## Supported Versions

- `7.x` versions up to 7.1
- `7.x` versions up to 7.33
- `6.x` versions up to 6.29
- `5.x` versions up to 5.1
- `4.x` versions up to 4.2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,34 @@
</div>
<div class="col-md-9">

<div class="release">
<h2 id="9.22.3">Flyway 9.22.3 (2023-10-12)</h2>

<h3>Changes</h3>
<ul>
<li>The AWS-Secrets JDBC driver included in the Commandline package has been upgraded to 2.0.0.</li>
<li>
<a href="https://github.com/flyway/flyway/issues/3752">Issue 3752</a>
add &quot;END CASE&quot; support in BigQuery sql script
</li>
</ul>

<h3>Database compatibility</h3>
<ul>
<li>Update newest supported version of Snowflake to 7.33</li>
</ul>

<h3>Java compatibility</h3>
<ul>
<li>Keep software.amazon.awssdk:s3 on latest 2.20.X release to get fix for CVE-2023-4586</li>
<li>Upgrade software.amazon.awssdk:s3@2.20.94 to software.amazon.awssdk:s3@2.20.158 to fix CWE-295</li>
</ul>

<p>
Thanks to kankaiz for reporting these issues.
</p>
</div>

<div class="release">
<h2 id="9.22.2">Flyway 9.22.2 (2023-09-21)</h2>

Expand Down
2 changes: 1 addition & 1 deletion documentation/_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
# limitations under the License.
#

flywayVersion: 9.22.2
flywayVersion: 9.22.3
enterpriseUrl: https://download.red-gate.com/maven/release/org/flywaydb/enterprise
kramdown:
smart_quotes: ["apos", "apos", "quot", "quot"]
Expand Down
4 changes: 2 additions & 2 deletions flyway-commandline/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<parent>
<groupId>org.flywaydb</groupId>
<artifactId>flyway-parent</artifactId>
<version>9.22.2</version>
<version>9.22.3</version>
</parent>
<artifactId>flyway-commandline</artifactId>
<packaging>jar</packaging>
Expand All @@ -30,7 +30,7 @@



<flyway-gcp-spanner.version>9.22.2-beta</flyway-gcp-spanner.version>
<flyway-gcp-spanner.version>9.22.3-beta</flyway-gcp-spanner.version>
<jre.version>17.0.8.1</jre.version>
</properties>
<dependencies>
Expand Down
2 changes: 1 addition & 1 deletion flyway-community-db-support/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<parent>
<groupId>org.flywaydb</groupId>
<artifactId>flyway-parent</artifactId>
<version>9.22.2</version>
<version>9.22.3</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion flyway-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<parent>
<groupId>org.flywaydb</groupId>
<artifactId>flyway-parent</artifactId>
<version>9.22.2</version>
<version>9.22.3</version>
</parent>
<artifactId>flyway-core</artifactId>
<packaging>jar</packaging>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1672,8 +1672,10 @@ public void configure(Map<String, String> props) {
}

if (StringUtils.hasText(getCurrentResolvedEnvironment().getUrl()) && (dataSource == null || StringUtils.hasText(urlProp) || StringUtils.hasText(driverProp) || StringUtils.hasText(userProp) || StringUtils.hasText(passwordProp))) {
Map<String, String> jdbcProperties = Optional.ofNullable(getCurrentResolvedEnvironment().getJdbcProperties()).orElse(new HashMap<>());
Map<String, String> jdbcPropertiesFromProps = getPropertiesUnderNamespace(props, getPlaceholders(), ConfigUtils.JDBC_PROPERTIES_PREFIX);
setDataSource(new DriverDataSource(classLoader, getCurrentResolvedEnvironment().getDriver(), getCurrentResolvedEnvironment().getUrl(), getCurrentResolvedEnvironment().getUser(), getCurrentResolvedEnvironment().getPassword(), this, jdbcPropertiesFromProps));
jdbcProperties.putAll(jdbcPropertiesFromProps);
setDataSource(new DriverDataSource(classLoader, getCurrentResolvedEnvironment().getDriver(), getCurrentResolvedEnvironment().getUrl(), getCurrentResolvedEnvironment().getUser(), getCurrentResolvedEnvironment().getPassword(), this, jdbcProperties));
}

ConfigUtils.checkConfigurationForUnrecognisedProperties(props, "flyway.");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ public void ensureSupported() {

ensureDatabaseNotOlderThanOtherwiseRecommendUpgradeToFlywayEdition("3", org.flywaydb.core.internal.license.Edition.ENTERPRISE);

recommendFlywayUpgradeIfNecessaryForMajorVersion("7.1");
recommendFlywayUpgradeIfNecessaryForMajorVersion("7.33");
}

@Override
Expand Down
2 changes: 1 addition & 1 deletion flyway-database-oracle/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<parent>
<groupId>org.flywaydb</groupId>
<artifactId>flyway-parent</artifactId>
<version>9.22.2</version>
<version>9.22.3</version>
</parent>

<artifactId>flyway-database-oracle</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion flyway-firebird/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<parent>
<artifactId>flyway-parent</artifactId>
<groupId>org.flywaydb</groupId>
<version>9.22.2</version>
<version>9.22.3</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
4 changes: 2 additions & 2 deletions flyway-gcp-bigquery/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@
<parent>
<groupId>org.flywaydb</groupId>
<artifactId>flyway-parent</artifactId>
<version>9.22.2</version>
<version>9.22.3</version>
</parent>
<modelVersion>4.0.0</modelVersion>

<artifactId>flyway-gcp-bigquery</artifactId>
<packaging>jar</packaging>
<name>${project.artifactId}</name>
<version>9.22.2</version>
<version>9.22.3</version>

<dependencies>
<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ protected void adjustBlockDepth(ParserContext context, List<Token> tokens, Token
&& !"WHILE".equalsIgnoreCase(keywordText)
&& !"LOOP".equalsIgnoreCase(keywordText)
&& !"AS".equalsIgnoreCase(keywordText)
&& !"CASE".equalsIgnoreCase(keywordText)
&& context.getBlockDepth() > 0) {
context.decreaseBlockDepth();
}
Expand Down
4 changes: 2 additions & 2 deletions flyway-gcp-spanner/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@
<parent>
<groupId>org.flywaydb</groupId>
<artifactId>flyway-parent</artifactId>
<version>9.22.2</version>
<version>9.22.3</version>
</parent>
<modelVersion>4.0.0</modelVersion>

<artifactId>flyway-gcp-spanner</artifactId>
<packaging>jar</packaging>
<name>${project.artifactId}</name>
<version>9.22.2-beta</version>
<version>9.22.3-beta</version>

<dependencies>
<dependency>
Expand Down
2 changes: 1 addition & 1 deletion flyway-gradle-plugin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<parent>
<groupId>org.flywaydb</groupId>
<artifactId>flyway-parent</artifactId>
<version>9.22.2</version>
<version>9.22.3</version>
</parent>
<artifactId>flyway-gradle-plugin</artifactId>
<packaging>jar</packaging>
Expand Down
2 changes: 1 addition & 1 deletion flyway-maven-plugin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<parent>
<groupId>org.flywaydb</groupId>
<artifactId>flyway-parent</artifactId>
<version>9.22.2</version>
<version>9.22.3</version>
</parent>
<artifactId>flyway-maven-plugin</artifactId>
<packaging>maven-plugin</packaging>
Expand Down
2 changes: 1 addition & 1 deletion flyway-mysql/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<parent>
<artifactId>flyway-parent</artifactId>
<groupId>org.flywaydb</groupId>
<version>9.22.2</version>
<version>9.22.3</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion flyway-singlestore/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<parent>
<groupId>org.flywaydb</groupId>
<artifactId>flyway-parent</artifactId>
<version>9.22.2</version>
<version>9.22.3</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion flyway-sqlserver/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<parent>
<groupId>org.flywaydb</groupId>
<artifactId>flyway-parent</artifactId>
<version>9.22.2</version>
<version>9.22.3</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
6 changes: 3 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.flywaydb</groupId>
<artifactId>flyway-parent</artifactId>
<version>9.22.2</version>
<version>9.22.3</version>
<packaging>pom</packaging>
<name>${project.artifactId}</name>
<description>Flyway: Database Migrations Made Easy.</description>
Expand Down Expand Up @@ -138,8 +138,8 @@
<properties>
<version.ant>1.10.13</version.ant>
<version.appinsights>3.4.7</version.appinsights>
<version.aws-java-sdk>2.20.94</version.aws-java-sdk>
<version.aws-secretsmanager>1.0.9</version.aws-secretsmanager>
<version.aws-java-sdk>[2.20.162,2.21.0)</version.aws-java-sdk>
<version.aws-secretsmanager>2.0.0</version.aws-secretsmanager>
<version.byte-buddy-agent>1.11.18</version.byte-buddy-agent>
<version.commonslogging>1.2</version.commonslogging>
<version.commonstext>1.10.0</version.commonstext>
Expand Down

0 comments on commit 4888d9c

Please sign in to comment.