Commit Graph

28 Commits

Author SHA1 Message Date
Lukas Eder
7d79fab68f [jOOQ/jOOQ#9506] jgit 7 requires JDK 17 2024-12-04 16:46:27 +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
8ba74dc91e [jOOQ/jOOQ#9506] More work on Migrations API:
- GitCommitProvider should distinguish between uncommitted (in index) and untracked (not in index)
2024-11-27 10:28:15 +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
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
12d1aa31ab [jOOQ/jOOQ#9506] More work on Migrations API:
- Support a commit author
2024-11-19 16:55:32 +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
08d76e4523 [jOOQ/jOOQ#15862] Remove unnecessary managed JDBC drivers from parent pom.xml 2023-11-21 10:42:42 +01:00
dependabot[bot]
5f41604fc7
Bump org.eclipse.jgit:org.eclipse.jgit in /jOOQ-migrations
Bumps org.eclipse.jgit:org.eclipse.jgit from 5.9.0.202009080501-r to 6.6.1.202309021850-r.

---
updated-dependencies:
- dependency-name: org.eclipse.jgit:org.eclipse.jgit
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-18 19:22:21 +00:00
Lukas Eder
bae588224b [jOOQ/jOOQ#9506] GitCommitProvider now supports tags 2023-06-16 09:50:37 +02:00
Lukas Eder
4d5147ec52 [jOOQ/jOOQ#15201] Remove org.jooq.impl.Migrations
Remove static constructors in org.jooq.impl.Migrations. All constructors should be offered via org.jooq.Migrations
2023-06-14 10:52:09 +02:00
Lukas Eder
5988833d09 Release 3.19.0-SNAPSHOT 2023-03-08 13:41:09 +01:00
Lukas Eder
359ef49ad6 [jOOQ/jOOQ#14110] License header should use HTTPS rather than HTTP 2022-10-19 10:43:58 +02:00
Lukas Eder
f4882581e1 Release 3.18.0-SNAPSHOT 2022-06-23 14:56:33 +02:00
Lukas Eder
81de955e11 Release 3.17.1-SNAPSHOT 2022-06-23 11:25:37 +02:00
Lukas Eder
b1718c6648 [jOOQ/jOOQ#13700] Upgrade to H2 2.1.214
This includes upgrading to 3.18.0-SNAPSHOT on main branch
2022-06-22 11:58:07 +02:00
Lukas Eder
618a15f235 Release 3.17.0-SNAPSHOT 2022-01-04 16:34:34 +01:00
Lukas Eder
c67e718892 Release 3.16.0-SNAPSHOT 2021-07-05 17:30:40 +02:00
Lukas Eder
5b2cd20fe7 [jOOQ/jOOQ#9684] Don't publish GitCLI yet 2021-07-05 17:29:53 +02:00
Lukas Eder
918f91b028 [jOOQ/jOOQ#11196] Drop support for Java 6 and 7
Runtime library - language usage

- Removed [java-8] tags
- Removed F functional interfaces
- Removed Meta.Predicate functional interfaces
- Converted anonymous classes to lambdas
- Removed some explicit final keywords where effectively final works
- Removed Java 6 Jenkinsfile
- try-with-resources
- Merged some catch blocks
- Get rid of type witnesses where possible

Runtime library - JDK API usage

- Prefer Collection.sort() over Collections.sort()
- Use Map.computeIfAbsent for Map<K, List<V>> lazy initialisation
- Replace Iterator::remove calls by Collection::removeIf
- Use Map::computeIfAbsent for Map<K, List<V>> lazy initialisation
- Replace Iterator::remove calls by Collection::removeIf
- Use Comparator::comparing and Comparator::thenComparing
- Use Stream API where not performance critical
- Replaced Map::entrySet iterations by Map::forEach
- Use ResultQuery::collect
- Map::putIfAbsent

Code generation

- Generate lambda for LazySchema's LazySupplier

Unrelated

- Applied a few IntelliJ inspections
- Remove unnecessary explicit array creation
2021-01-08 12:35:47 +01:00
Lukas Eder
54607c3105 [jOOQ/jOOQ#9684] Order parents deterministically 2020-10-30 15:54:45 +01:00
Lukas Eder
92a9549e90 [jOOQ/jOOQ#9684] Sync OSS repo 2020-10-28 16:27:45 +01:00