Commit Graph

191 Commits

Author SHA1 Message Date
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
40a60d4d2e [jOOQ/jOOQ#15065] Include also:
- Setting of project encoding
- Setting of maven plugin dependency suggested provided scope
2023-05-12 15:21:23 +02:00
Lukas Eder
7f972d19ce [jOOQ/jOOQ#15065] Upgrade maven plugins 2023-05-12 15:03:52 +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
78792b0659 [jOOQ/jOOQ#10677¨Add <onUnused/> to code generation configuration to specify behaviour when encountering unused objects 2022-05-11 16:05:07 +02:00
Lukas Eder
618a15f235 Release 3.17.0-SNAPSHOT 2022-01-04 16:34:34 +01:00
Lukas Eder
33a29b5afe [jOOQ/jOOQ#12434] CVE-2021-26291 via maven-core-3.6.3 dependency 2021-09-17 14:30:42 +02:00
Lukas Eder
c67e718892 Release 3.16.0-SNAPSHOT 2021-07-05 17:30:40 +02:00
Lukas Eder
059f3fb4a3 [jOOQ/jOOQ#11804] Dogfooding 2021-05-10 22:59:59 +02:00
Lukas Eder
0fad1b0190 [jOOQ/jOOQ#11729] Create a Java 17 distribution
- Updated Jenkinsfiles
- Updated .classpath files (assuming Eclipse is Java 16 ready)
- Add import org.jooq.Record where needed (org.jooq.* no longer works)
- Workaround for https://bugs.eclipse.org/bugs/show_bug.cgi?id=572873
- Backport text blocks to pre Java 16
- Backport record types to pre Java 16
- Added a few record types to sources
- Upgraded dependencies to build with Java 16+
- Backport pattern matching
2021-04-16 11:21:40 +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
7cff2cae7e Release 3.15.0-SNAPSHOT 2020-10-20 10:20:20 +02:00
Lukas Eder
330dac76de Release 3.14.0-SNAPSHOT 2020-02-12 11:29:19 +01:00
Lukas Eder
cff813a73e [jOOQ/jOOQ#9727] Add configuration/basedir to resolve relative paths in
code generator
2020-01-14 15:41:37 +01:00
Lukas Eder
83da9e2c23 [jOOQ/jOOQ#9506] [jOOQ/jOOQ#9583]
- [jOOQ/jOOQ#9506] Add org.jooq.Migration to describe a migration
between two org.jooq.Version
- [jOOQ/jOOQ#9583] Add a VersionProvider SPI
2019-11-21 18:08:09 +01:00
Knut Wannheden
d27dbf4117 Preparing master for 3.13 release cycle 2019-08-29 16:12:59 +02:00
Lukas Eder
0f5b8799b9 [jOOQ/jOOQ#9048] Delete module-info.java.invalid files 2019-08-16 14:02:45 +02:00
Lukas Eder
854375dbcf [jOOQ/jOOQ#7789] Revert change
The jOOQ 3.12 Open Source Edition will continue to support Java 8. The only things we gain from the JDK 11 dependency is:

- Updated logic for reflection when mapping into proxied default methods (that stuff has changed completely in JDK 9). This is a regression, which we can live with. The workaround is to write a custom
- Explicit dependency on the JDK 9  API, for which we provide a Java 8 compatible alternative via reactive streams anyway.
- JDBC 4.3 compatibility (mostly sharding). We currently don't use that yet.

We're not even using  internally, outside of a few integration tests. So, we'll postpone the JDK 11 *requirement* (while supporting it nonetheless) to a later release, e.g. 3.13. We'll observe market share shifts. Currently Java 11's market share is a bit of a disappointment, so making it a requirement might be premature.
2019-07-26 15:18:18 +02:00
Knut Wannheden
8b04f08e15 [jOOQ/jOOQ#8919] Implement formatting in MiniJAXB
The formatting logic is encapsulated by the new internal `XMLBuilder`
class which also required a new internal interface `XMLAppendable` which
is implemented by all XJC generated classes.

The XJC plugin was modified accordingly and all code was regenerated.

Also note that the `MiniJAXB` class was moved to package
`org.jooq.util.jaxb.tools`.
2019-07-10 11:26:58 +02:00
Lukas Eder
fce9626b13 [jOOQ/jOOQ#8615] Missing NOTICE file from commons-lang 2019-05-21 12:23:17 +02:00
Knut Wannheden
df2ec439bc [#6971] Add <onError/> to generator's <configuration/>
Using the new <onError/> (which accepts the values FAIL (default), LOG,
and SILENT) the generator's behavior on an encountered exceptions can be
controlled.
2019-04-10 12:20:17 +02:00
lukaseder
2785bc84ae [#8491] Remove unnecessary marker tokens in source code 2019-04-05 11:52:34 +02:00
Knut Wannheden
ed38769655 [#7789] Change Maven projects to use Java 11 2019-04-05 10:36:37 +02:00
lukaseder
910c1c5386 [#8086] Avoid edge cases with concatenation of File.separator 2018-12-17 10:37:48 +01:00
lukaseder
f24e629155 [#8086] Resolve relative paths in target directory in Maven plugin 2018-12-14 16:24:26 +01:00
lukaseder
fd40b5a90c [#6548] Support multiple external configuration files through <configurationFiles/> 2018-12-12 16:41:57 +01:00
lukaseder
881bd76669 [#7630] Close the Maven Plugin's URLClassLoader after code generation 2018-07-02 08:54:34 +02:00
Sergey Tselovalnikov
d1c6163cb6
close the plugin classloader after finishing the job 2018-07-02 15:44:42 +10:00
lukaseder
d032831897 Remove unnecessary SuppressWarnings annotation 2018-06-21 12:14:56 +02:00
lukaseder
b1a184a4c3 Release 3.11.1 2018-06-21 12:14:34 +02:00
lukaseder
3ed2fa8e48 [#6612] Cannot make maven plugin a module yet 2018-06-15 16:48:26 +02:00
lukaseder
b20d9b4906 [#6612] Cannot make maven plugin a module yet 2018-06-15 16:28:49 +02:00
lukaseder
965a925876 Removed unnecessary groupId re-definitions 2018-06-14 16:28:04 +02:00
lukaseder
98b8130f84 [#6612] Modularise jOOQ and cross-release JDK 8 and 9 builds 2018-06-12 14:26:32 +02:00
lukaseder
22b200a389 Release 3.12.0-SNAPSHOT 2018-06-08 10:03:57 +02:00
lukaseder
23df47ba4f Release 3.11.0 2018-06-07 16:45:37 +02:00
lukaseder
9a357cd4f0 [#7419] Remove leftovers from renaming 2018-04-18 16:29:16 +02:00
lukaseder
c77fdd3c85 [#7419] Rename jooq-meta and jooq-codegen packages to avoid conflicts in JPMS 2018-04-16 11:35:01 +02:00
lukaseder
d0acc17226 [#6879] Add javax.xml.bind:jaxb-api dependency and avoid using the implementation 2018-02-20 15:17:26 +01:00
lukaseder
eb827e8b9a [#6997] [#7011] Support system properties in Maven code generation 2018-01-09 10:38:17 +01:00
lukaseder
05d19194d7 [#6554] Mark Maven plugin as @ThreadSafe 2017-12-18 15:08:40 +01:00
lukaseder
b2f9a4e5ad [#6873] Line numbers not aligned correctly between OSS and Pro edition 2017-11-29 10:02:42 +01:00
lukaseder
d280225df0 Updated junit dependency 2017-10-19 12:05:44 +02:00
lukaseder
059efb93e4 Release 3.11.0-SNAPSHOT 2017-09-29 15:49:30 +02:00