Releases: domaframework/doma
3.2.0
What's Changed
New Features
- Add the
doma.trace
option (#1246) @nakamura-to - add convenient factory method to QueryDsl (#1243) @taichi
- Support CTE (#1230) @momosetkn
Maintenance
- Fix Gradle tasks in the ecj job (#1249) @nakamura-to
- Deprecate
Entityql
,NativeSql
,KEntityql
, andKNativeSql
(#1248) @nakamura-to - Add an import statement for a class referenced by the Javadoc
@link
tag (#1247) @nakamura-to - Enable integration test building with Eclipse Compiler (#1245) @nakamura-to
- Enable annotation processor testing with Eclipse Compiler (#1242) @nakamura-to
- Add support for Java 23 (#1186) @nakamura-to
- Renaming to QueryDslEntityqlSelectTest (#1229) @momosetkn
Dependency Upgrades
- Update plugin release to v3.1.0 (#1244) @renovate
- Update dependency ch.qos.logback:logback-classic to v1.5.15 (#1241) @renovate
- Update dependency gradle to v8.12 (#1240) @renovate
- Update dependency ch.qos.logback:logback-classic to v1.5.14 (#1239) @renovate
- Update dependency ch.qos.logback:logback-classic to v1.5.13 (#1238) @renovate
- Update gradle/actions action to v4.2.2 (#1237) @renovate
- Update org.junit.jupiter to v5.11.4 (#1236) @renovate
- Update dependency com.google.googlejavaformat:google-java-format to v1.25.2 (#1235) @renovate
- Update dependency com.google.googlejavaformat:google-java-format to v1.25.1 (#1234) @renovate
- Update dependency com.pinterest.ktlint:ktlint-cli to v1.5.0 (#1233) @renovate
- Update org.jetbrains.kotlin to v2.1.0 (#1232) @renovate
- Update dependency org.xerial:sqlite-jdbc to v3.47.1.0 (#1231) @renovate
- Update dependency org.testcontainers:testcontainers-bom to v1.20.4 (#1228) @renovate
- Update dependency gradle to v8.11.1 (#1227) @renovate
- Update dependency com.google.googlejavaformat:google-java-format to v1.25.0 (#1226) @renovate
- Update gradle/actions action to v4.2.1 (#1225) @renovate
- Update gradle/actions action to v4.2.0 (#1224) @renovate
- Update dependency gradle to v8.11 (#1223) @renovate
- Update dependency com.oracle.database.jdbc:ojdbc11 to v23.6.0.24.10 (#1222) @renovate
- Update dependency com.pinterest.ktlint:ktlint-cli to v1.4.1 (#1221) @renovate
Full Changelog: 3.1.0...3.2.0
3.1.0
What's Changed
New Features
- Introduce QueryDsl to unify Entityql and NativeSql APIs (#1203) @nakamura-to
Bug Fixes
- Remove potential for NullPointerException (#1219) @nakamura-to
- Fix to enable basic Doma functionality with the latest SQLite (#1218) @nakamura-to
- Fix issue causing error when using classes annotated with
DataType
in Criteria API (#1217) @nakamura-to
Maintenance
- Improve build scripts (#1215) @nakamura-to
- Manage library versions in libs.versions.toml (#1205) @nakamura-to
- Update release-draft.yml to run autolabeler (#1200) @nakamura-to
- Use Release Drafter's autolabeler feature (#1199) @nakamura-to
Dependency Upgrades
- Update dependency ch.qos.logback:logback-classic to v1.5.12 (#1214) @renovate
- Update dependency com.pinterest.ktlint:ktlint-cli to v1.4.0 (#1213) @renovate
- Update dependency org.testcontainers:testcontainers-bom to v1.20.3 (#1212) @renovate
- Update org.junit.jupiter to v5.11.3 (#1211) @renovate
- Update dependency ch.qos.logback:logback-classic to v1.5.11 (#1209) @renovate
- Update dependency com.pinterest.ktlint:ktlint-cli to v1 (#1208) @renovate
- Update dependency com.google.googlejavaformat:google-java-format to v1.24.0 (#1206) @renovate
- Update dependency ch.qos.logback:logback-classic to v1.5.10 (#1204) @renovate
- Update org.jetbrains.kotlin to v2.0.21 (#1202) @renovate
- Update dependency ch.qos.logback:logback-classic to v1.5.9 (#1201) @renovate
- Update org.junit.jupiter to v5.11.2 (#1198) @renovate
- Update dependency org.testcontainers:testcontainers-bom to v1.20.2 (#1196) @renovate
- Update plugin org.domaframework.doma.compile to v3.0.1 (#1195) @renovate
Full Changelog: 3.0.1...3.1.0
3.0.1
What's Changed
π’ INFORMATION: We have also released version 3 of the Doma CodeGen Plugin and Doma Compile Plugin. Please consider using version 3 of these plugins for Doma 3 going forward. Currently, version 2 of the plugins also works without any issues when used with Doma 3.
Bug Fixes
- Fix an issue where calling
peek
onNativeSql
caused aClassCastException
(#1180) @nakamura-to
Maintenance
- Remove unnecessary processing for retrieving the value of the auto-increment column (#1193) @nakamura-to
- Remove unused code related to SingletonConfig (#1192) @nakamura-to
- Improve batch insertion for entities with auto-increment primary keys. (#1191) @nakamura-to
- Remove unused code from build script (#1190) @nakamura-to
- Restrict Spotless line endings to LF (#1189) @taichi
- Update SQL Server docker image to 2019-CU28-ubuntu-20.04 (#1185) @nakamura-to
Dependency Upgrades
- Update org.domaframework.doma.compile to v3.0.0 (#1194) @nakamura-to
- Update org.junit.jupiter to v5.11.1 (#1188) @renovate
- Update dependency gradle to v8.10.2 (#1187) @renovate
- Update plugin com.diffplug.eclipse.apt to v4.1.0 (#1184) @renovate
- Update gradle/actions action to v4.1.0 (#1183) @renovate
- Update dependency gradle to v8.10.1 (#1182) @renovate
- Update dependency ch.qos.logback:logback-classic to v1.5.8 (#1181) @renovate
Full Changelog: 3.0.0...3.0.1
3.0.0
What's Changed
π’ This version includes BREAKING CHANGES.
Please refer to the Doma-3.x-Migration-Guide for details.
New Features
- Require Java 17 as a mandatory prerequisite (#1159) @nakamura-to
Bug Fixes
- Fix an issue with INSERT IGNORE on auto-increment primary key tables (#1166) @nakamura-to
Maintenance
- Polish the build.gradle.kts file (#1178) @nakamura-to
- Fix issue with duplicate log output in the integration test projects (#1167) @nakamura-to
- Fix CodeQL build failure (#1163)(#1164)(#1165) @nakamura-to
- Remove deprecated code (#1162) @nakamura-to
Documentation
- Polish README.md (#1179) @nakamura-to
- Update README.md and RELEASE_OPERATIONS.md (#1177) @nakamura-to
Dependency Upgrades
- Update PostgreSQL Docker image to 12.20 (#1176) @nakamura-to
- Update SQL Server JDBC driver to 12.8.1.jre11 (#1175) @nakamura-to
- Update Oracle JDBC driver and Docker image (#1174) @nakamura-to
- Update H2 Database Engine to v2.3.232 (#1173) @nakamura-to
- Update google-java-format to v1.23.0 (#1172) @nakamura-to
Full Changelog: 2.62.1...3.0.0
2.62.1
What's Changed
Bug Fixes
- Fix KJoinDeclaration (#1153) @momosetkn
Dependency Upgrades
- Update gradle/actions action to v4.0.1 (#1160) @renovate
- Update dependency org.postgresql:postgresql to v42.7.4 (#1158) @renovate
- Update org.jetbrains.kotlin to v2.0.20 (#1157) @renovate
- Update dependency gradle to v8.10 (#1155) @renovate
- Update org.junit.jupiter to v5.11.0 (#1154) @renovate
Full Changelog: 2.62.0...2.62.1
2.62.0
What's Changed
New Features
- Add
duplicateKeyType
property toMultiInsert
annotation (#1144) @orekyuu - Support multi-row Insert for H2, SQL Server, and Oracle Database (#1149) @nakamura-to
- Add
duplicateKeys
property toInsert
,BatchInsert
, andMultiInsert
annotations (#1150) @nakamura-to - Improve doma-kotlin. (#1141)(#1145)(#1142)(#1143)(#1147)(#1146) @momosetkn
Dependency Upgrades
- Update gradle/actions action to v4 (#1152) @renovate
- Update org.jetbrains.kotlin to v2.0.10 (#1151) @renovate
- Update dependency org.testcontainers:testcontainers-bom to v1.20.1 (#1148) @renovate
Full Changelog: 2.61.0...2.62.0
2.61.0
What's Changed
New Features
- Reimplement "Enable removal of comments from SQL templates" (#1140) @nakamura-to
- Enable removal of blank lines from SQL templates (#1135) @nakamura-to
- Support multi-row insert (#1132) @nakamura-to
- Return a Connection instead of throwing an exception when no transaction exists (#1126) @nakamura-to
Bug Fixes
- Minimize the calls to Connection#setTransactionIsolation(level) in LocalTransaction (#1124) @nakamura-to
Maintenance
- Reverse the supportsAutoGeneratedKeys flag in PostgresDialect (#1133) @nakamura-to
- Suppress warnings related to annotation processor (#1128) @nakamura-to
Dependency Upgrades
- Update dependency org.testcontainers:testcontainers-bom to v1.20.0 (#1138) @renovate
- Update gradle/gradle-build-action action to v3.5.0 (#1137) @renovate
- Update gradle/actions action to v3.5.0 (#1136) @renovate
- Update dependency gradle to v8.9 (#1131) @renovate
- Update plugin com.diffplug.eclipse.apt to v4 (#1130) @renovate
- Update org.junit.jupiter to v5.10.3 (#1127) @renovate
Full Changelog: 2.60.1...2.61.0
2.60.1
What's Changed
Bug Fixes
- Reduced unnecessary calls to Connection#setTransactionIsolation(level) in LocalTransaction (#1121) @nakamura-to
- Fix a potential memory leak in LocalTransaction (#1120, #1122) @nakamura-to
Maintenance
- Resolve warnings in GitHub Action workflows (#1123) @nakamura-to
Dependency Upgrades
- Update gradle/wrapper-validation-action action to v3.4.2 (#1119) @renovate
- Update gradle/gradle-build-action action to v3.4.2 (#1118) @renovate
- Update gradle/wrapper-validation-action action to v3.4.1 (#1117) @renovate
- Update gradle/gradle-build-action action to v3.4.1 (#1116) @renovate
- Update gradle/wrapper-validation-action action to v3.4.0 (#1115) @renovate
- Update gradle/gradle-build-action action to v3.4.0 (#1114) @renovate
Full Changelog: 2.60.0...2.60.1
2.60.0
What's Changed
New Features
- Add the openStream method to the Criteria API to return a Stream (#1111) @nakamura-to
- Improving KJoinDeclaration (#1110) @momosetkn
- Create UserDefinedExpression feature (#1102, #1112) @momosetkn
Dependency Upgrades
- Update dependency gradle to v8.8 (#1113) @renovate
- Update org.jetbrains.kotlin to v2 (major) (#1109) @renovate
Full Changelog: 2.59.0...2.60.0
2.59.0
What's Changed
Breaking Changes
Modified the implementation for generating upsert queries. If you have customized the upsert query processing, this may affect you.
Bug Fixes
- Change to not specify conflict_target by default for ON CONFLICT DO NOTHING (#1106) @nakamura-to
Maintenance
- Cache all TypeElement instances in Annotation Processing (#1107) @nakamura-to
- Removed duplicate Dbms.MYSQL8 entry in ArrayTest (#1101) @okurashoichi
- Support Java 22 (#1087) @nakamura-to
Documentation
- Specify required settings for Maven project in Eclipse (#1105) @nakamura-to
Dependency Upgrades
- Update dependency org.testcontainers:testcontainers-bom to v1.19.8 (#1104) @renovate
- Update org.jetbrains.kotlin to v1.9.24 (#1103) @renovate
- Update gradle/wrapper-validation-action action to v3.3.2 (#1100) @renovate
- Update gradle/gradle-build-action action to v3.3.2 (#1099) @renovate
- Update gradle/wrapper-validation-action action to v3.3.1 (#1098) @renovate
- Update gradle/gradle-build-action action to v3.3.1 (#1097) @renovate
- Update gradle/gradle-build-action action to v3.3.0 (#1094) @renovate
- Update gradle/wrapper-validation-action action to v3 (#1095) @renovate
- Update gradle/wrapper-validation-action action to v2.1.3 (#1092) @renovate
- Update gradle/gradle-build-action action to v3.2.1 (#1090) @renovate
- Update plugin io.github.gradle-nexus.publish-plugin to v2 (#1089) @renovate
- Update gradle/gradle-build-action action to v3.2.0 (#1088) @renovate
Full Changelog: 2.58.0...2.59.0