Download¶
Migrax needs Java 17 or newer. Download the command line tool below, then run its installer as described in Installation.
Migrax 0.19.0¶
Latest release, published 2026-11-19.
Then follow Installation.
| File | What it is | Size | SHA-256 |
|---|---|---|---|
migrax-0.19.0.zip |
Command line tool with installers for Windows, macOS and Linux | 915 KB | 1bc8a0514fe1a194e222fed28c3bdfb38423fa4b8eb20f325ff8f1f75c466157 |
migrax-0.19.0-sbom.cdx.json |
Software bill of materials (CycloneDX): every library in this release | 341 KB | f7b3fbec32edb3a1a9e54f17c76d0a56b8973c2d27ad420c464a8bc4cd283582 |
migrax-0.19.0.jar |
Core library and Maven plugin | 933 KB | 2e74e13775a5933fbe81023ba4ce5af44c744d92402063df7a7c50f675b4cb3d |
migrax-gradle-plugin-0.19.0.jar |
Gradle plugin | 8 KB | ddae765710eaa1563a479dd131060bfb82621931e400fab8d0ee3c845a047e13 |
migrax-helidon-0.19.0.jar |
Helidon MP startup integration | 9 KB | fe14cb51eaabb310043ee8d3dc7e635656671eac83834794d8e7be8c8c3d7dc2 |
migrax-jakarta-ee-0.19.0.jar |
Jakarta EE startup integration (WildFly, Payara, ...) | 9 KB | 047d0d0bb0ce88a110faf269bbb881fd087391c62ccb4d60e778122a0d3e112f |
migrax-junit-0.19.0.jar |
JUnit 5 extension: @MigraxTest checks migrations against the entities | 10 KB | f0c1370cb46a2e7e0487891c55ebbefe73c680d3d31281376d175c6530c1f361 |
migrax-micronaut-0.19.0.jar |
Micronaut startup integration | 33 KB | be71e37bc8024a585d4ba734d9164a36addd0b77aaa70f4e2b7d23bdfd248cb9 |
migrax-quarkus-0.19.0.jar |
Quarkus startup integration | 16 KB | e1e8f0a0399eb0d2ebc8714f59a7dbcd456f344aeabddb6188a97b7617872415 |
migrax-quarkus-deployment-0.19.0.jar |
Quarkus extension, build part (used with migrax-quarkus) | 9 KB | e0bd01a5c49f24480e4301bf8cb7197a034105efae4d4ea46cf55784f174bb8d |
migrax-spring-boot-starter-0.19.0.jar |
Spring Boot startup integration | 31 KB | ca581bc1112dcc5ab3fd2cd7e4437f046a8c953ddecf38704e89eccafef8f970 |
All checksums: SHA256SUMS
What's new in 0.19.0
The first stable release since 0.17.1. It contains everything in the release candidates 0.17.2-rc.1 to 0.19.0-rc.4 (each in the changelog), plus the fixes in this section. The main changes since 0.17.1:
generate,checkandplanno longer wait for Maven or Gradle after an entity edit.- PostgreSQL: a migration waits at most 5 seconds for a table that another session has
locked (MXE117,
--table-lock-timeout), so queries on that table don't queue behind it. generateasks whether to keep the data it drops, so a rollback can restore it;rollbackwarns about data its scripts can't bring back.verifystarts its throwaway database in the version of yours.- New lint rule MX018 (transaction control in a migration);
importlists what still ties the project to the old tool; JSON output forstatus,generate,planandcheck. - Security: passwords stay hidden in more URLs and messages, the MCP server only reads files
of the project, and the container image has the fixed Java (CVE-2026-114938),
apt(CVE-2026-109518) and newer JDBC drivers.
Security¶
- Migrax refuses table, column and constraint names with a line break or another control
character (MXE118), whether they come from the entities, the schema file, the database
(the first
generate) or.migrax/snapshot.json. A line break in a name ended a comment line in the rollback script, and the rest of the name ran as SQL onrollback. Messages, errors,plan/check/diffreports, lint findings anddriftshow such characters as text (an escape character as\u001b) instead of sending them to the terminal. - MySQL, MariaDB and TiDB: a backslash in a table or column comment, a table-generator
sequence name or a text default of a schema file (read back through a MySQL or TiDB
database) is now written as
\\. These databases read\'as a quote inside the string, so a comment such asx\'; DROP TABLE t; --ended the string early and the rest ran as SQL, and a comment ending in\(C:\temp\) broke the migration. - On PostgreSQL, a migration with a
COMMIThidden behind anE'...'string ending in\', or after a name ending in$$(including a name with non-ASCII letters), was reported as MXE117 "Nothing was changed" when it then waited too long for a table lock, although the statements before theCOMMITwere committed. It is now recorded as failed. importno longer shows values written in Groovy slashy strings (/.../,$/.../$) or triple-quoted strings, and shows a quotedgroup:artifactonly where it is a dependency; elsewhere it saysflyway coordinateorliquibase coordinate.
Pre-release 0.20.0-rc.2¶
Published 2026-11-22, for testing the next version. It may still change before the release; please report problems.
Download migrax-0.20.0-rc.2.zip
It installs like a release, over the version you have; install the latest release again to go back.
| File | What it is | Size | SHA-256 |
|---|---|---|---|
migrax-0.20.0-rc.2.zip |
Command line tool with installers for Windows, macOS and Linux | 937 KB | e1f7292ecd62c4824bc823c20e042c384733e6a49599e5951fca5b878792ee7e |
migrax-0.20.0-rc.2-sbom.cdx.json |
Software bill of materials (CycloneDX): every library in this release | 342 KB | e75d5ab7c9b92338704b4ec95ede4ff77c52966ec7d2fea617f35430a5b7b5aa |
migrax-0.20.0-rc.2.jar |
Core library and Maven plugin | 956 KB | ec3bec1ab2c82ae1b0224191d2e6acf5167e3a9dd82ba3ff746032e2d916ac92 |
migrax-gradle-plugin-0.20.0-rc.2.jar |
Gradle plugin | 8 KB | 68e6940395ff7f360b30fa4050cff326c36dfcdf50277e3f0708c45e6822564d |
migrax-helidon-0.20.0-rc.2.jar |
Helidon MP startup integration | 9 KB | 61df46b0abca0004d859cc9c1ca949fa15ebf83e5abd37a589ddc65e5c9e93e9 |
migrax-jakarta-ee-0.20.0-rc.2.jar |
Jakarta EE startup integration (WildFly, Payara, ...) | 9 KB | 7fa11a84ee6ae1023204ec696f45f78bc4c1b664a46a2282d119a34ee783b187 |
migrax-junit-0.20.0-rc.2.jar |
JUnit 5 extension: @MigraxTest checks migrations against the entities | 10 KB | 601a5c00a9d4cbb6f6f05f02f5f9dc41de031ebdd59af8fbad581ab55a00a511 |
migrax-micronaut-0.20.0-rc.2.jar |
Micronaut startup integration | 33 KB | 0c6392b9fda44ad955acba514ff9978199d1a2a8ab24ede61c36333b045ac98b |
migrax-quarkus-0.20.0-rc.2.jar |
Quarkus startup integration | 16 KB | 3c5d22aee1c0f7635f6b4c2c430c50a8351c491271dc8684696c4b8c9645ceac |
migrax-quarkus-deployment-0.20.0-rc.2.jar |
Quarkus extension, build part (used with migrax-quarkus) | 9 KB | 8e5a4c89f1875d59fc213c87a7717c0536f84fa84cb67627700c0a6ed72c3f68 |
migrax-spring-boot-starter-0.20.0-rc.2.jar |
Spring Boot startup integration | 31 KB | 37472646c5134c594794461e69a177bbbbb536b0306702c53a03781be3f8fd3f |
All checksums: SHA256SUMS
What's new in 0.20.0-rc.2
Release candidate for 0.20.0, for testing.
Added¶
status --checkalso checks the entities against the snapshot in the same run, andstatus --json --checkprints both results in one object: one command instead of two after each saved file.- Lint findings carry the safer SQL with the statement's own names, ready to copy, for MX001,
MX004, MX005, MX006, MX013, MX014 and MX020 (
Safe SQLin the text output,safeSqlin JSON), and thelinewhere the statement starts. migrax lint --sarif <file>writes the findings as SARIF 2.1.0, so GitHub code scanning, Azure DevOps and others show them on the SQL line in a pull request. The GitHub Action writes it too (outputsarif).- PostgreSQL lint rules MX020 (
REINDEX,DROP INDEX,REFRESH MATERIALIZED VIEWandDETACH PARTITIONwithoutCONCURRENTLY) and MX021 (VACUUM FULL,CLUSTER,SET TABLESPACE,SET LOGGED/UNLOGGED, which rewrite the table under an exclusive lock). MX008 also flags renamed views, materialized views, sequences and schemas, and MX012DETACH PARTITION ... CONCURRENTLYinside a transaction. init --jsonandreport --json.initalso says when the folder it ran in has no build file and the project folder above it was set up.generate --rebuild-snapshotmoves.migrax/snapshot.jsonback to the history snapshot of the newest generated migration before the deleted ones, after one was deleted on purpose. With no migration file left at all (a wrong--locations, say) it asks for--yesbefore it removes the snapshot.
Changed¶
generatestops with MXE119 when a generated migration file was deleted after the snapshot moved on. Before, it reported "No changes detected" and the deleted changes were never written again.rollbacksays when the migration file itself is missing, and how to remove it from the history withrepair --action forget, instead of only "No rollback script".migrax helpdescribesimportwithout naming other tools.
Security¶
- More password forms are hidden in database URLs shown in messages,
doctor,statusand reports: misspelled or percent-encoded setting names (paswd=,pasword=,%70assword=,auth=), a password where the port should be when the@hostis missing (//root:password/shop), Oracle URLs after a mistypedjdbc:, behind wrappers with-in their name, ash2:oracle:, and with the user and password quoted together. A driver that fails with a plainErrorno longer shows a URL that may hold a password. Also hidden: an Oracle URL whose later password setting holds an@, and a URL typed without//and@host(jdbc:postgresql:postgres:password/shop), also when a//comes only later in it. doctornames a skipped non-JDBCDATABASE_URLonly by a known scheme (postgres://,mysql://, ...); for any other text before://it says only that it is a URL.
Fixed¶
- Reading a table whose name has
_or%could also read the columns of a table the name matches as a pattern (a_bandaxb). verifyno longer warns that it found no entities when they are mapped inorm.xml.
Older versions¶
| Version | Published | Command line tool | All files |
|---|---|---|---|
| 0.20.0-rc.1 (pre-release) | 2026-11-20 | migrax-0.20.0-rc.1.zip |
SHA256SUMS |
| 0.19.0-rc.4 (pre-release) | 2026-11-19 | migrax-0.19.0-rc.4.zip |
SHA256SUMS |
| 0.19.0-rc.3 (pre-release) | 2026-11-18 | migrax-0.19.0-rc.3.zip |
SHA256SUMS |
| 0.19.0-rc.2 (pre-release) | 2026-11-06 | migrax-0.19.0-rc.2.zip |
SHA256SUMS |
| 0.19.0-rc.1 (pre-release) | 2026-11-05 | migrax-0.19.0-rc.1.zip |
SHA256SUMS |
| 0.18.0-rc.2 (pre-release) | 2026-11-02 | migrax-0.18.0-rc.2.zip |
SHA256SUMS |
| 0.18.0-rc.1 (pre-release) | 2026-10-31 | migrax-0.18.0-rc.1.zip |
SHA256SUMS |
| 0.17.2-rc.3 (pre-release) | 2026-10-28 | migrax-0.17.2-rc.3.zip |
SHA256SUMS |
| 0.17.2-rc.2 (pre-release) | 2026-10-28 | migrax-0.17.2-rc.2.zip |
SHA256SUMS |
| 0.17.2-rc.1 (pre-release) | 2026-10-27 | migrax-0.17.2-rc.1.zip |
SHA256SUMS |
| 0.17.1 | 2026-10-25 | migrax-0.17.1.zip |
SHA256SUMS |
| 0.17.0 | 2026-10-22 | migrax-0.17.0.zip |
SHA256SUMS |
| 0.16.0 | 2026-10-19 | migrax-0.16.0.zip |
SHA256SUMS |
| 0.15.0 | 2026-10-19 | migrax-0.15.0.zip |
SHA256SUMS |
| 0.14.0 | 2026-10-18 | migrax-0.14.0.zip |
SHA256SUMS |
| 0.13.0 | 2026-10-16 | migrax-0.13.0.zip |
SHA256SUMS |
| 0.12.0 | 2026-10-16 | migrax-0.12.0.zip |
SHA256SUMS |
| 0.11.0 | 2026-10-16 | migrax-0.11.0.zip |
SHA256SUMS |
| 0.10.0 | 2026-10-16 | migrax-0.10.0.zip |
SHA256SUMS |
| 0.9.0 | 2026-10-15 | migrax-0.9.0.zip |
SHA256SUMS |
| 0.8.0 | 2026-10-15 | migrax-0.8.0.zip |
SHA256SUMS |
| 0.7.0 | 2026-10-15 | migrax-0.7.0.zip |
SHA256SUMS |
| 0.6.1 | 2026-10-14 | migrax-0.6.1.zip |
SHA256SUMS |
| 0.6.0 | 2026-10-14 | migrax-0.6.0.zip |
SHA256SUMS |
| 0.5.0 | 2026-10-14 | migrax-0.5.0.zip |
SHA256SUMS |
| 0.4.0 | 2026-10-11 | migrax-0.4.0.zip |
SHA256SUMS |
| 0.3.0 | 2026-10-11 | migrax-0.3.0.zip |
SHA256SUMS |
| 0.3.0-rc.3 (pre-release) | 2026-10-10 | migrax-0.3.0-rc.3.zip |
SHA256SUMS |
| 0.3.0-rc.2 (pre-release) | 2026-10-10 | migrax-0.3.0-rc.2.zip |
SHA256SUMS |
| 0.3.0-rc.1 (pre-release) | 2026-10-10 | migrax-0.3.0-rc.1.zip |
SHA256SUMS |
| 0.2.0 | 2026-10-10 | migrax-0.2.0.zip |
SHA256SUMS |
| 0.2.0-rc.6 (pre-release) | 2026-10-10 | migrax-0.2.0-rc.6.zip |
SHA256SUMS |
| 0.2.0-rc.5 (pre-release) | 2026-10-10 | migrax-0.2.0-rc.5.zip |
SHA256SUMS |
| 0.2.0-rc.4 (pre-release) | 2026-10-09 | migrax-0.2.0-rc.4.zip |
SHA256SUMS |
| 0.2.0-rc.3 (pre-release) | 2026-10-09 | migrax-0.2.0-rc.3.zip |
SHA256SUMS |
| 0.2.0-rc.2 (pre-release) | 2026-10-09 | migrax-0.2.0-rc.2.zip |
SHA256SUMS |
| 0.2.0-rc.1 (pre-release) | 2026-10-09 | migrax-0.2.0-rc.1.zip |
SHA256SUMS |
| 0.1.4 | 2026-10-10 | migrax-0.1.4.zip |
SHA256SUMS |
| 0.1.3 | 2026-10-09 | migrax-0.1.3.zip |
SHA256SUMS |
| 0.1.2 | 2026-10-09 | migrax-0.1.2.zip |
SHA256SUMS |
| 0.1.1 | 2026-10-09 | migrax-0.1.1.zip |
SHA256SUMS |
| 0.1.0 | 2026-10-08 | migrax-0.1.0.zip |
SHA256SUMS |
Container image¶
From Migrax 0.3.0 on, every release is also a container image with the common JDBC drivers, for running migrations in Kubernetes or CI without a Java project:
See Containers and Kubernetes.
Check your download¶
Each file's SHA-256 checksum is listed above and in SHA256SUMS. To check a file:
The result must match the checksum on this page.
From Migrax 0.17.1 on, you can also check that a file was built by Migrax's own release workflow on GitHub, from this repository's code, with the GitHub CLI:
Each release also lists every library its files contain in migrax-<version>-sbom.cdx.json
(CycloneDX format), for security scanners and license checks. The container image keeps its
own software list and build record in the registry:
docker buildx imagetools inspect ghcr.io/fsmutimeer/migrax:0.19.0 --format '{{ json .SBOM }}'
docker buildx imagetools inspect ghcr.io/fsmutimeer/migrax:0.19.0 --format '{{ json .Provenance }}'
Which file do I need?¶
- To use the
migraxcommand: the.zip. It contains the command line tool and its installers. - The
.jarfiles are libraries for build tools and frameworks: the core library with the Maven plugin, the Gradle plugin, and the startup integrations for Spring Boot, Quarkus, Micronaut and Helidon. Maven and Gradle normally download these themselves; see Frameworks.