Skip to content

Commit

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

Ship JRE 17.0.11+9 with Flyway Command Line

Add publishResult config param to enable or disable data publishing plugins
  • Loading branch information
rg-buildmonkey committed May 14, 2024
1 parent 2bb4305 commit d3ee52a
Show file tree
Hide file tree
Showing 67 changed files with 437 additions and 294 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Windows, macOS, Linux, Docker and Java
Maven and Gradle

#### Supported databases
Aurora MySQL, Aurora PostgreSQL, Azure Synapse, Clickhouse, CockroachDB, DB2, Derby, Firebird, Google BigQuery, Google Cloud Spanner, H2, HSQLDB, Informix, MariaDB, MongoDB, MySQL, Oracle, Percona XtraDB Cluster, PostgreSQL, Redshift, SAP HANA (Including SAP HANA Cloud), SingleStoreDB, Snowflake, SQLite, SQL Server, Sybase ASE, TiDB, TimescaleDB, YugabyteDB
Aurora MySQL, Aurora PostgreSQL, Azure Synapse, Clickhouse, CockroachDB, Databricks, DB2, Derby, Firebird, Google BigQuery, Google Cloud Spanner, H2, HSQLDB, Informix, MariaDB, MongoDB, MySQL, Oracle, Percona XtraDB Cluster, PostgreSQL, Redshift, SAP HANA (Including SAP HANA Cloud), SingleStoreDB, Snowflake, SQLite, SQL Server, Sybase ASE, TiDB, TimescaleDB, YugabyteDB

#### Third party plugins
SBT, Ant, Spring Boot, Grails, Play!, DropWizard, Grunt, Griffon, Ninja, ...
Expand Down
4 changes: 4 additions & 0 deletions documentation/Flyway CLI and API/Concepts/Callback concept.md
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,10 @@ beforeConnect__a.sql
beforeConnect__b.sql
```

## Notes

It is strongly discouraged to include any write-related callbacks for the Info command. The Info command may be internally triggered by Flyway.

## Tutorial

Click [here](Tutorials/Tutorial Callbacks) to see a tutorial on using callbacks.
2 changes: 1 addition & 1 deletion documentation/Flyway CLI and API/Concepts/Migrations.md
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ public class V1_2__Another_user extends BaseJavaMigration {

## Script migrations

Sometimes it may be more desirable to use a scripting language for migrations. Flyway Teams currently supports the `.ps1`, `.bat`, `.cmd`, `.sh`, `.bash`, `.py` file extensions as migrations, and on non-windows platforms it also supports migrations without extensions (assuming a valid [shebang](https://en.wikipedia.org/wiki/Shebang_(Unix))).
Sometimes it may be more desirable to use a scripting language for migrations. Flyway currently supports the `.ps1`, `.bat`, `.cmd`, `.sh`, `.bash`, `.py` file extensions as migrations, and on non-windows platforms it also supports migrations without extensions (assuming a valid [shebang](https://en.wikipedia.org/wiki/Shebang_(Unix))).

These migrations follow the same [naming scheme](Concepts/migrations#naming) as SQL migrations, with only the file extension being different. For example `V1__execute_batch_tool.ps1` is a valid migration.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ Flyway also provides default placeholders, whose values are automatically popula
- `${flyway:filename}` = The filename of the current script
- `${flyway:workingDirectory}` = The user working directory as defined by the ['user.dir'](https://docs.oracle.com/javase/tutorial/essential/environment/sysprop.html) System Property
- `${flyway:table}` = The name of the Flyway schema history table
- `${flyway:environment}` = The current environment of the Flyway
- `${flyway:environment}` = The name of the [environment](configuration/parameters/flyway/environment) configured for this script execution

### Example
Here is a small example of the supported syntax:
Expand Down
6 changes: 0 additions & 6 deletions documentation/Flyway CLI and API/Flyway Hub.md

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ The file name will be used as the source of rule metadata:

## File location

See the [check.rulesLocation](Configuration/Parameters/Flyway/Check/Rules Location) parameter
See the [check.rulesLocation](Configuration/Parameters/Flyway/Check/Rules Location) parameter for setting where rules are read from.

# Running the rules
When you run `./flyway check -code` all regex rules will be run
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@ subtitle: Rebuild the Schema history table
You may want to do this if your Schema history table has been accidentally dropped or if you have rebaselined your migrations and the previous deployment information is no longer applicable.

Steps
1) Run the [Baseline command](commands/baseline) to provision the table
2) Populate the table without re-executing your migrations by running a Migrate command with the [Skip Executing Migrations](Configuration/parameters/flyway/skip-executing-migrations) switch enabled.

1. Run the [Baseline command](commands/baseline) to provision the table
2. Populate the table without re-executing your migrations by running a Migrate command with the [Skip Executing Migrations](Configuration/parameters/flyway/skip-executing-migrations) switch enabled.
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,14 @@ It's important to note that while upgrading to the latest version offers numerou
You can download the latest version of Flyway here:
<br />

<a style="text-decoration: none; background: rgb(204,0,0); padding: 6px 40px; border-radius: 10px; color: white; font-weight: bold;" href="https://flywaydb.org/download?ref=staying-up-to-date">
<a style="text-decoration: none; background: rgb(204,0,0); padding: 6px 40px; border-radius: 10px; color: white; font-weight: bold;" href="https://www.red-gate.com/products/flyway/community/download/">
Download
</a>

## Try Teams Edition

While you're updating, why not try the free trial of Flyway Teams Edition?

<a style="text-decoration: none; background: rgb(204,0,0); padding: 6px 40px; border-radius: 10px; color: white; font-weight: bold;" href="https://flywaydb.org/try-flyway-teams-edition?ref=staying-up-to-date">
<a style="text-decoration: none; background: rgb(204,0,0); padding: 6px 40px; border-radius: 10px; color: white; font-weight: bold;" href="https://www.red-gate.com/products/flyway/teams/trial/">
Learn more about Flyway Teams
</a>
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ subtitle: Aurora MySQL
| Item | Details |
|------------------------------------|--------------------------------------------------------------------------------------------------------|
| **URL format** | <code>jdbc:mysql://<i>instance</i>.<i>region</i>.rds.amazonaws.com:<i>port</i>/<i>database?usePipelineAuth=false&useBatchMultiSend=false</i></code> |
| **URL format** | Yes - add `?useSsl=true` |
| **SSL support** | Yes - add `?useSsl=true` |
| **Ships with Flyway Command-line** | No |
| **Maven Central coordinates** | `mysql:mysql-connector-java` |
| **Supported versions** | `8.0.12` and later |
Expand Down
Loading

0 comments on commit d3ee52a

Please sign in to comment.