Skip to content

Commit d2d5378

Browse files
Bump version to flyway-11.13.0
Please see the GH release for the release notes Bump netty-common-http to 4.1.125 to fix CVE-2025-58057
1 parent b9c83e6 commit d2d5378

File tree

107 files changed

+2108
-751
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

107 files changed

+2108
-751
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ flyway-*compare/**/resources/*compare/
3535
flyway-rulesengine-sqlfluff/**/resources/sqlfluff*/.pytest_cache
3636
flyway-rulesengine-sqlfluff/**/resources/sqlfluff*/**/*.pyc
3737
flyway-rulesengine-sqlfluff/sqlfluff*
38+
flyway-rulesengine-sqlfluff/scripts/default_config.cfg
3839

3940
flyway-comparison/flyway-rgcompare/**/resources/rgcompare/
4041
flyway-comparison/flyway-rgcompare/**/resources/obj/

documentation/Reference/Command-line Parameters/Working Directory Parameter.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ The working directory to consider when dealing with relative paths. If configure
2020
- The [`deployedSnapshot`](<Configuration/Flyway Namespace/Flyway Check Namespace/Flyway Check Deployed Snapshot Setting>) parameter
2121
- The [`nextSnapshot`](<Configuration/Flyway Namespace/Flyway Check Namespace/Flyway Check Next Snapshot Setting>) parameter
2222
- The [`filterFile`](<Configuration/Flyway Namespace/Flyway Check Namespace/Flyway Check Filter File Setting>) parameter
23-
- The [`rulesLocation`](<Configuration/Flyway Namespace/Flyway Check Namespace/Flyway Check Rules Location Setting>) parameter
23+
- The [`rulesLocation`](<Configuration/Flyway Namespace/Flyway Check Namespace/Flyway Check Rules Location Setting>) parameter
24+
- The [`rulesConfig`](<Configuration/Flyway Namespace/Flyway Check Namespace/Flyway Check Rules Config Setting>) parameter
2425

2526
## Type
2627

documentation/Reference/Configuration/Flyway Namespace.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ This namespace contains the configurations specific to the Flyway engine.
5050
| Setting | Tier | Type | Description |
5151
|--------------------------------------------------------------------------------------------------------|-----------|--------------|-----------------------------------------------------------------------------------------------|
5252
| [`batch`](<Configuration/Flyway Namespace/Flyway Batch Setting>) | Community | Boolean | Whether to batch SQL statements when executing them. |
53+
| [`callbackLocations`](<Configuration/Flyway Namespace/Flyway Callback Locations Setting>) | Community | String array | Locations to scan recursively for callbacks to use to hook into the Flyway lifecycle. |
5354
| [`callbacks`](<Configuration/Flyway Namespace/Flyway Callbacks Setting>) | Community | String array | Callbacks to use to hook into the Flyway lifecycle. |
5455
| [`cherryPick`](<Configuration/Flyway Namespace/Flyway Cherry Pick Setting>) | Teams | String array | A list of migrations that Flyway should consider when migrating. |
5556
| [`createSchemas`](<Configuration/Flyway Namespace/Flyway Create Schemas Setting>) | Community | Boolean | Create the configured schemas if they do not exist. |
Lines changed: 109 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,109 @@
1+
---
2+
subtitle: flyway.locations
3+
redirect_from: Configuration/locations/
4+
---
5+
6+
## Description
7+
8+
Array of locations to scan recursively for callbacks. The location type is determined by its prefix.
9+
10+
Callbacks can also be scanned from [migration locations](<Configuration/Flyway Namespace/Flyway Locations Setting>).
11+
12+
### Classpath
13+
14+
Locations without a prefix or locations starting with <code>classpath:</code> point to a package on the classpath and may contain both SQL and Java-based callbacks. You must ensure the package is available on the classpath (see [Adding to the classpath](<Usage/Adding to the classpath>)).
15+
16+
### Filesystem
17+
18+
Locations starting with <code>filesystem:</code> point to a directory on the filesystem, may only contain SQL callbacks and are only scanned recursively down non-hidden directories.
19+
Relative paths will be resolved against your [working directory](<Command-line Parameters/Working Directory Parameter>).
20+
21+
### Amazon S3
22+
23+
Locations starting with <code>s3:</code> point to a bucket in AWS S3, may only contain SQL callbacks, and are scanned recursively. They are in the format <code>s3:&lt;bucket&gt;(/optionalfolder/subfolder)</code>. To use AWS S3, the [AWS SDK v2](https://mvnrepository.com/artifact/software.amazon.awssdk/services) and dependencies must be included, and [configured](https://docs.aws.amazon.com/sdk-for-java/v1/developer-guide/credentials.html) for your S3 account.<br/>
24+
25+
### Google Cloud Storage
26+
27+
{% include teams.html %}
28+
29+
Locations starting with <code>gcs:</code> point to a bucket in Google Cloud Storage, may only contain SQL callbacks, and are scanned recursively. They are in the format <code>gcs:&lt;bucket&gt;(/optionalfolder/subfolder)</code>. To use GCS, the GCS library must be included, and the GCS environment variable <code>GOOGLE_APPLICATION_CREDENTIALS</code> must be set to the credentials file for the service account that has access to the bucket.<br/>
30+
31+
### Wildcards
32+
33+
Locations can contain wildcards. This allows matching against a path pattern instead of a single path. Supported wildcards:<br/>
34+
<ul>
35+
<li>
36+
<code>**</code> : Matches any 0 or more directories. (e.g. <code>db/**/test</code> will match <code>db/version1.0/test</code>, <code>db/version2.0/test</code>, <code>db/development/version/1.0/test</code> but not <code>db/version1.0/release</code>)
37+
</li>
38+
<li>
39+
<code>*</code> : Matches any 0 or more non-separator characters. (e.g. <code>db/release1.*</code> will match <code>db/release1.0</code>, <code>db/release1.1</code>, <code>db/release1.123</code> but not <code>db/release2.0</code>)
40+
</li>
41+
<li>
42+
<code>?</code> : Matches any 1 non-separator character. (e.g. <code>db/release1.?</code> will match <code>db/release1.0</code>, <code>db/release1.1</code> but not <code>db/release1.11</code>)
43+
</li>
44+
</ul>
45+
46+
## Type
47+
48+
String array
49+
50+
## Default
51+
52+
<i>None</i>
53+
54+
## Usage
55+
56+
### Flyway Desktop
57+
58+
This can't be set in a config file via Flyway Desktop, although it will be honoured, and it can be configured as an advanced parameter in operations on the Migrations page.
59+
60+
### Command-line
61+
62+
```powershell
63+
./flyway -callbackLocations="filesystem:callbacks" info
64+
```
65+
66+
### TOML Configuration File
67+
68+
```toml
69+
[flyway]
70+
callbackLocations = ["filesystem:callbacks"]
71+
```
72+
73+
### Configuration File
74+
75+
```properties
76+
flyway.callbackLocations=filesystem:callbacks
77+
```
78+
79+
### Environment Variable
80+
81+
```properties
82+
FLYWAY_CALLBACK_LOCATIONS=filesystem:callbacks
83+
```
84+
85+
### API
86+
87+
```java
88+
Flyway.configure()
89+
.callbackLocations("filesystem:callbacks")
90+
.load()
91+
```
92+
93+
### Gradle
94+
95+
```groovy
96+
flyway {
97+
callbackLocations = ['filesystem:callbacks']
98+
}
99+
```
100+
101+
### Maven
102+
103+
```xml
104+
<configuration>
105+
<callbackLocations>
106+
<callbackLocation>filesystem:callbacks</callbackLocation>
107+
</callbackLocations>
108+
</configuration>
109+
```

documentation/Reference/Database Driver Reference/Oracle Database.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
subtitle: Oracle
33
---
44

5-
- **Verified Versions:** 11.1, 21
5+
- **Verified Versions:** 18.4, 21
66
- **Maintainer:** {% include redgate-badge.html %}
77

88
All editions are supported, including XE.

documentation/Reference/Usage/API (Java).md

Lines changed: 89 additions & 91 deletions
Original file line numberDiff line numberDiff line change
@@ -16,112 +16,110 @@ be migrated to a state the rest of the code can work with.
1616
**Note: JDK 24 is known to emit warnings with Flyway. We recommend avoiding**
1717

1818
## Download
19-
<table class="table">
20-
<tr>
21-
<th>Maven</th>
22-
<td>
23-
<pre class="prettyprint">&lt;repositories&gt;
24-
...
25-
&lt;repository&gt;
26-
&lt;id&gt;redgate&lt;/id&gt;
27-
&lt;url&gt;https://download.red-gate.com/maven/release&lt;/url&gt;
28-
&lt;/repository&gt;
29-
...
30-
&lt;/repositories&gt;
31-
&lt;dependencies&gt;
32-
...
33-
&lt;dependency&gt;
34-
&lt;groupId&gt;<strong>com.redgate.flyway</strong>&lt;/groupId&gt;
35-
&lt;artifactId&gt;flyway-core&lt;/artifactId&gt;
36-
&lt;version&gt;{{ site.flywayVersion }}&lt;/version&gt;
37-
&lt;/dependency&gt;
38-
&lt;!-- If you need Teams features then you'll need this additional dependency --&gt;
39-
&lt;dependency&gt;
40-
&lt;groupId&gt;<strong>com.redgate.flyway</strong>&lt;/groupId&gt;
41-
&lt;artifactId&gt;flyway-proprietary&lt;/artifactId&gt;
42-
&lt;version&gt;{{ site.flywayVersion }}&lt;/version&gt;
43-
&lt;/dependency&gt;
44-
...
45-
&lt;/dependencies&gt;</pre>
46-
</td>
47-
</tr>
48-
<tr>
49-
<th>Gradle</th>
50-
<td>
51-
<pre class="prettyprint">repositories {
19+
20+
### Redgate Edition
21+
22+
#### Maven
23+
24+
```xml
25+
<repositories>
26+
...
27+
<repository>
28+
<id>redgate</id>
29+
<url>https://download.red-gate.com/maven/release</url>
30+
</repository>
31+
...
32+
</repositories>
33+
<dependencies>
34+
...
35+
<dependency>
36+
<groupId>com.redgate.flyway</groupId>
37+
<artifactId>flyway-core</artifactId>
38+
<version>{{ site.flywayVersion }}</version>
39+
</dependency>
40+
<!-- If you need Teams or Enterprise features then you'll need these additional dependencies -->
41+
<dependency>
42+
<groupId>com.redgate.flyway</groupId>
43+
<artifactId>flyway-proprietary</artifactId>
44+
<version>{{ site.flywayVersion }}</version>
45+
</dependency>
46+
<dependency>
47+
<groupId>com.redgate.flyway</groupId>
48+
<artifactId>flyway-redgate-licensing</artifactId>
49+
<version>{{ site.flywayVersion }}</version>
50+
</dependency>
51+
...
52+
</dependencies>
53+
```
54+
55+
#### Gradle
56+
57+
```groovy
58+
repositories {
5259
mavenCentral()
5360
maven {
5461
url "https://download.red-gate.com/maven/release"
5562
}
5663
}
5764
dependencies {
58-
implementation "<strong>com.redgate.flyway</strong>:flyway-core:{{ site.flywayVersion }}"
59-
}</pre>
60-
</td>
61-
</tr>
62-
<tr>
63-
<th>Binary</th>
64-
<td>
65-
<a style="text-decoration: none; background: rgb(204,0,0); padding: 6px 40px; border-radius: 10px; color: white; font-weight: bold;" href="{{site.enterpriseUrl}}/flyway-core/{{site.flywayVersion}}/flyway-core-{{site.flywayVersion}}.jar"><i class="fa fa-download"></i> flyway-core-{{site.flywayVersion}}.jar</a>
66-
<a class="note" href="{{site.enterpriseUrl}}/flyway-core/{{site.flywayVersion}}/flyway-core-{{site.flywayVersion}}.jar.md5">md5</a>
67-
<a class="note" href="{{site.enterpriseUrl}}/flyway-core/{{site.flywayVersion}}/flyway-core-{{site.flywayVersion}}.jar.sha1">sha1</a>
68-
</td>
69-
</tr>
70-
<tr>
71-
<th>Licensing</th>
72-
<td>
73-
By downloading Flyway Community you confirm that you have read and agree to the terms of the <a href="https://www.red-gate.com/assets/purchase/assets/subscription-license.pdf">Redgate EULA</a>.
74-
</td>
75-
</tr>
76-
</table>
65+
implementation "com.redgate.flyway:flyway-core:{{ site.flywayVersion }}"
66+
// If you need Teams or Enterprise features then you'll need these additional dependencies
67+
implementation "com.redgate.flyway:flyway-proprietary:{{ site.flywayVersion }}"
68+
implementation "com.redgate.flyway:flyway-redgate-licensing:{{ site.flywayVersion }}"
69+
}
70+
```
71+
72+
#### Binary
73+
74+
<a style="text-decoration: none; background: rgb(204,0,0); padding: 6px 40px; border-radius: 10px; color: white; font-weight: bold;" href="{{site.enterpriseUrl}}/flyway-core/{{site.flywayVersion}}/flyway-core-{{site.flywayVersion}}.jar"><i class="fa fa-download"></i> flyway-core-{{site.flywayVersion}}.jar</a>
75+
<a class="note" href="{{site.enterpriseUrl}}/flyway-core/{{site.flywayVersion}}/flyway-core-{{site.flywayVersion}}.jar.md5">md5</a>
76+
<a class="note" href="{{site.enterpriseUrl}}/flyway-core/{{site.flywayVersion}}/flyway-core-{{site.flywayVersion}}.jar.sha1">sha1</a>
77+
78+
#### Licensing
7779

80+
By downloading Flyway Community you confirm that you have read and agree to the terms of the <a href="https://www.red-gate.com/assets/purchase/assets/subscription-license.pdf">Redgate EULA</a>.
81+
82+
---
7883

7984
Please note, the `groupId` changed at Flyway V10.0.0 from `org.flywaydb.enterprise` to `com.redgate.flyway` and published as a convenience in both locations up till Flyway V10.22.0
8085

8186
For older versions see [Accessing Older Versions of Flyway Engine](https://documentation.red-gate.com/flyway/release-notes-and-older-versions/accessing-older-versions-of-flyway-engine)
8287

8388
### Open Source Edition
84-
<table class="table">
85-
<tr>
86-
<th>Maven</th>
87-
<td>
88-
<pre class="prettyprint">&lt;dependencies&gt;
89-
...
90-
&lt;dependency&gt;
91-
&lt;groupId&gt;org.flywaydb&lt;/groupId&gt;
92-
&lt;artifactId&gt;flyway-core&lt;/artifactId&gt;
93-
&lt;version&gt;{{ site.flywayVersion }}&lt;/version&gt;
94-
&lt;/dependency&gt;
95-
...
96-
&lt;/dependencies&gt;</pre>
97-
</td>
98-
</tr>
99-
<tr>
100-
<th>Gradle</th>
101-
<td>
102-
<pre class="prettyprint">dependencies {
89+
90+
#### Maven
91+
92+
```xml
93+
<dependencies>
94+
...
95+
<dependency>
96+
<groupId>org.flywaydb</groupId>
97+
<artifactId>flyway-core</artifactId>
98+
<version>{{ site.flywayVersion }}</version>
99+
</dependency>
100+
...
101+
</dependencies>
102+
```
103+
104+
#### Gradle
105+
106+
```groovy
107+
dependencies {
103108
implementation "org.flywaydb:flyway-core:{{ site.flywayVersion }}"
104-
}</pre>
105-
</td>
106-
</tr>
107-
<tr>
108-
<th>Binary</th>
109-
<td>
110-
<a style="text-decoration: none; background: rgb(204,0,0); padding: 6px 40px; border-radius: 10px; color: white; font-weight: bold;" href="https://repo1.maven.org/maven2/org/flywaydb/flyway-core/{{site.flywayVersion}}/flyway-core-{{site.flywayVersion}}.jar"><i class="fa fa-download"></i> flyway-core-{{site.flywayVersion}}.jar</a>
111-
<a class="note" href="https://repo1.maven.org/maven2/org/flywaydb/flyway-core/{{site.flywayVersion}}/flyway-core-{{site.flywayVersion}}.jar.md5">md5</a>
112-
<a class="note" href="https://repo1.maven.org/maven2/org/flywaydb/flyway-core/{{site.flywayVersion}}/flyway-core-{{site.flywayVersion}}.jar.sha1">sha1</a>
113-
</td>
114-
</tr>
115-
<tr>
116-
<th>Sources</th>
117-
<td>
118-
<a style="text-decoration: none; background: rgb(204,0,0); padding: 6px 40px; border-radius: 10px; color: white; font-weight: bold;" href="https://repo1.maven.org/maven2/org/flywaydb/flyway-core/{{site.flywayVersion}}/flyway-core-{{site.flywayVersion}}-sources.jar"><i class="fa fa-download"></i> flyway-core-{{site.flywayVersion}}-sources.jar</a>
119-
<a class="note" href="https://repo1.maven.org/maven2/org/flywaydb/flyway-core/{{site.flywayVersion}}/flyway-core-{{site.flywayVersion}}-sources.jar.md5">md5</a>
120-
<a class="note" href="https://repo1.maven.org/maven2/org/flywaydb/flyway-core/{{site.flywayVersion}}/flyway-core-{{site.flywayVersion}}-sources.jar.sha1">sha1</a>
121-
</td>
122-
</tr>
123-
</table>
109+
}
110+
```
111+
112+
#### Binary
113+
114+
<a style="text-decoration: none; background: rgb(204,0,0); padding: 6px 40px; border-radius: 10px; color: white; font-weight: bold;" href="https://repo1.maven.org/maven2/org/flywaydb/flyway-core/{{site.flywayVersion}}/flyway-core-{{site.flywayVersion}}.jar"><i class="fa fa-download"></i> flyway-core-{{site.flywayVersion}}.jar</a>
115+
<a class="note" href="https://repo1.maven.org/maven2/org/flywaydb/flyway-core/{{site.flywayVersion}}/flyway-core-{{site.flywayVersion}}.jar.md5">md5</a>
116+
<a class="note" href="https://repo1.maven.org/maven2/org/flywaydb/flyway-core/{{site.flywayVersion}}/flyway-core-{{site.flywayVersion}}.jar.sha1">sha1</a>
117+
118+
#### Sources
124119

120+
<a style="text-decoration: none; background: rgb(204,0,0); padding: 6px 40px; border-radius: 10px; color: white; font-weight: bold;" href="https://repo1.maven.org/maven2/org/flywaydb/flyway-core/{{site.flywayVersion}}/flyway-core-{{site.flywayVersion}}-sources.jar"><i class="fa fa-download"></i> flyway-core-{{site.flywayVersion}}-sources.jar</a>
121+
<a class="note" href="https://repo1.maven.org/maven2/org/flywaydb/flyway-core/{{site.flywayVersion}}/flyway-core-{{site.flywayVersion}}-sources.jar.md5">md5</a>
122+
<a class="note" href="https://repo1.maven.org/maven2/org/flywaydb/flyway-core/{{site.flywayVersion}}/flyway-core-{{site.flywayVersion}}-sources.jar.sha1">sha1</a>
125123

126124
## The Flyway Class
127125

0 commit comments

Comments
 (0)