Commit Graph

52 Commits

Author SHA1 Message Date
Lukas Eder
d408641750 Release 3.20.10 2025-12-05 10:17:03 +01:00
Lukas Eder
2336f3bee3 Release 3.20.10-SNAPSHOT 2025-11-11 17:15:13 +01:00
Lukas Eder
4bce9c192a Release 3.20.9 2025-11-11 13:57:55 +01:00
Lukas Eder
ad6d969322 [jOOQ/jOOQ#19349] Explicit <goalPrefix/> is now mandatory, see
https://issues.apache.org/jira/browse/MPLUGIN-504
2025-11-10 12:55:28 +01:00
Lukas Eder
ecbc97d10f Release 3.20.9-SNAPSHOT 2025-10-01 16:35:06 +02:00
Lukas Eder
4474ad4d43 Release 3.20.8 2025-10-01 11:18:08 +02:00
Lukas Eder
ded36561ea Release 3.20.8-SNAPSHOT 2025-09-11 13:05:36 +02:00
Lukas Eder
84697dbd30 Release 3.20.7 2025-09-11 08:51:35 +02:00
Lukas Eder
2ba661d42b Release 3.20.7-SNAPSHOT 2025-08-12 16:41:42 +02:00
Lukas Eder
cad2748e31 Release 3.20.6 2025-08-12 13:22:54 +02:00
Lukas Eder
cc82317ff4 Release 3.20.6-SNAPSHOT 2025-06-11 14:40:33 +02:00
Lukas Eder
54f814d12c Release 3.20.5 2025-06-11 10:24:51 +02:00
Lukas Eder
bdc0d36e31 [jOOQ/jOOQ#9506] Add another warning to the logs 2025-05-13 09:54:07 +02:00
Lukas Eder
7aac0c979e Release 3.20.5-SNAPSHOT 2025-05-02 14:41:20 +02:00
Lukas Eder
cd205442d5 Release 3.20.4 2025-05-02 08:37:46 +02:00
Lukas Eder
343696fe81 Release 3.20.4-SNAPSHOT 2025-04-03 09:10:27 +02:00
Lukas Eder
5c8935ed3b Release 3.20.3 2025-04-02 14:40:39 +02:00
Lukas Eder
2175d9e9f6 Release 3.20.3-SNAPSHOT 2025-03-11 15:51:24 +01:00
Lukas Eder
7ddb819874 Release 3.20.2 2025-03-11 12:46:18 +01:00
Lukas Eder
e19cd25b67 Release 3.20.2-SNAPSHOT 2025-02-21 17:09:52 +01:00
Lukas Eder
4fa569282b Release 3.20.1 2025-02-21 14:04:40 +01:00
Lukas Eder
eae83f24da Release 3.20.1-SNAPSHOT 2025-02-20 11:12:44 +01:00
Lukas Eder
455fec9cb6 Release 3.20.0 2025-02-19 14:33:19 +01:00
Lukas Eder
756d845782 [jOOQ/jOOQ#9506] More work on Migrations API:
- Fix LogPendingMojo name in annotation
- Allow for configuring dialect in Mojos
- Add BaselineMojo
- Add a way to explicitly create a baseline via API
2024-11-28 15:24:51 +01:00
Lukas Eder
a7c9cee82f [jOOQ/jOOQ#9506] Rename Settings.migrationAllowsUndo to migrationAllowUndo 2024-11-28 12:55:13 +01:00
Lukas Eder
82ded123e7 [jOOQ/jOOQ#9506] More work on Migrations API:
- Remove TODO doclink for now. We'll update all the exceptions later
- Rename Settings.migrationAllowsUndo to migrationAllowUndo
- Snapshots are a commercial only feature
- Add Settings.migrationAllowInvalidCommits
- Improve invalid commit exception message
- GitCommitProvider message uncommitted-and-untracked
2024-11-28 11:52:17 +01:00
Lukas Eder
ab67f867de [jOOQ/jOOQ#9506] Rename logMigration() to logPending() 2024-11-27 11:30:45 +01:00
Lukas Eder
7903638c6f [jOOQ/jOOQ#9506] Rename logMigration() to logPending() 2024-11-27 10:56:46 +01:00
Lukas Eder
dfb607c1ff [jOOQ/jOOQ#9506] More work on Migrations API:
- Snapshots will be a commercial only feature
- CommitImpl should reject duplicate paths
- Add the ContentType.SCRIPT implementation
- Files.writeString() wasn't available in JDK 8 yet
2024-11-27 07:57:57 +01:00
Lukas Eder
d0cdd0c820 [jOOQ/jOOQ#9506] Replace the term outstanding by pending 2024-11-26 09:26:18 +01:00
Lukas Eder
20a0070519 [jOOQ/jOOQ#9506] More work on Migrations API:
- Move LogMojo and HistoryMojo logic into org.jooq.Migration
- Reduce log level in FilePattern to DEBUG
- Rename SnapshotMojo to AddSnapshotMojo
- Rename AddMojo to AddUntrackedMojo
- AddUntrackedMojo should append to the file, not overwrite it
- Add fileName property to AddSnapshotMojo and AddUntrackedMojo
- Rename HistoryMojo to LogHistoryMojo
- Add a LogMigrationMojo
- Add a LogUntrackedMojo
2024-11-25 14:56:09 +01:00
Lukas Eder
180a441617 [jOOQ/jOOQ#9506] More work on Migrations API:
- Add History::available
- Allow for updating the root node after all, in order to allow for creating baselines on existing databases
- [jOOQ/jOOQ#17646] Ignore unnamed constraint changes in both directions
- Expose Migration::untracked, publicly
- Add an AddMojo to add untracked files to the migration
2024-11-22 19:25:43 +01:00
Lukas Eder
2cfc3005fc [jOOQ/jOOQ#9506] More work on Migrations API:
- Support ContentType.SNAPSHOT in CommitImpl
- Avoid creating schema in snapshots if it's managed
2024-11-22 15:45:21 +01:00
Lukas Eder
b988c5b5cb [jOOQ/jOOQ#9506] More work on Migrations API:
- Add SnapshotMojo to create snapshots of database versions
- Don't include path in Version::id anymore
2024-11-22 13:43:29 +01:00
Lukas Eder
d0a5e9635c [jOOQ/jOOQ#9506] More work on Migrations API:
- Remove debug info
- Add Commit.valid()
2024-11-22 11:15:00 +01:00
Lukas Eder
2406f7ec50 [jOOQ/jOOQ#9506] [jOOQ/jOOQ#17646] Diff should ignore constraint changes where (synthetically) named constraint is replaced by an equivalent unnamed constraint.
Users may use unnamed constraints in migration scripts. When comparing the schema with the existing schema in the database, we must ignore the database's synthetic constraint names.
2024-11-21 16:30:45 +01:00
Lukas Eder
1dd1205673 [jOOQ/jOOQ#9506] More work on Migrations API:
- Handling of default schema in MigrationImpl::revertUntrackedQueries
- Use Settings.migrationHistorySchema in revertUntrackedQueries
- Improve logic to filter out history table from revertUntrackedQueries
- Set migration default schema as interpreter search path in History
- Suppress exceptions caused by history record re-insertion in case of
DataMigrationRedoLogException
- VersionImpl should apply CREATE SCHEMA IF NOT EXISTS to on init
- Remove weird initialisation of VersionImpl.meta with interpreter
search path
- Implement DefaultMigrationContext::toString
- Automatically set interpreter search path in Maven plugin
- GitCommitProvider should use same content type subdirs (in plural)
- Add commitProvider property to Maven plugin
- Upgrade jgit
- Allow for configuring a basedir within the GitConfiguration#repository
2024-11-21 15:22:34 +01:00
Lukas Eder
f086212738 [jOOQ/jOOQ#9506] More work on Migrations API:
- Don't throw exceptions in HistoryImpl::toString
- LogMojo should log history as well
- Reuse FilePattern::fileComparator also to sort IDs when loading files
- LogMojo should also include HistoryMojo output
- Make CommitType::getId optional for per-SQL-file metadata usage
2024-11-20 17:04:13 +01:00
Lukas Eder
2343e3c53d [jOOQ/jOOQ#9506] More work on Migrations API:
- Infer JDBC driver from JDBC URL if not given explicitly
- Better FileData debugging info
- Add HistoryVersion type to add a migratedAt() Instant to a Version
- Add a CleanMojo
- Improve mojo Javadocs
- Rename init node to root
- Make root a reserved ID
2024-11-19 14:08:29 +01:00
Lukas Eder
48d19c3b29 [jOOQ/jOOQ#17470] Add <description/> to all pom.xml files 2024-10-21 14:12:16 +02:00
Lukas Eder
3cade0204f [#16988] Correctly name Apache-2.0 everywhere 2024-07-29 13:00:52 +02:00
Lukas Eder
4f50ef2c55 [#16988] Correctly name Apache-2.0 everywhere 2024-07-29 12:53:09 +02:00
Lukas Eder
e07765fc3e [jOOQ/jOOQ#15987] pom.xml files should use https links instead of http links 2023-12-22 14:44:36 +01:00
Lukas Eder
070d47a161 Release 3.20.0-SNAPSHOT 2023-12-15 17:16:27 +01:00
Lukas Eder
05f24d79e3 Release 3.19.1-SNAPSHOT 2023-12-15 17:08:05 +01:00
Lukas Eder
04dbbf4639 Release 3.19.0 2023-12-15 14:05:22 +01:00
Lukas Eder
49713f680b [jOOQ/jOOQ#9506] Fix wrong package name 2023-06-16 16:45:15 +02:00
Lukas Eder
d334f61aa3 [jOOQ/jOOQ#9506] Explicit loading of the JDBC driver, if available 2023-06-16 15:41:00 +02:00
Lukas Eder
9e04de7cf8 [jOOQ/jOOQ#9506] Add a way to resolve() a FAILURE 2023-06-16 09:05:25 +02:00
Lukas Eder
d154a461a8 [jOOQ/jOOQ#15201] Rename "validate" to "verify" 2023-06-15 12:01:41 +02:00