From 58a252c9f2dcfedfa0fe8338bfe6ff3b3cff3ae1 Mon Sep 17 00:00:00 2001 From: Oleg Babichev Date: Wed, 25 Sep 2024 15:43:28 +0200 Subject: [PATCH] 0.55.0 --- CHANGELOG.md | 51 +++++++++++++++++++ README.md | 42 +++++++-------- .../gradle/libs.versions.toml | 2 +- .../Writerside/topics/Exposed-Modules.md | 24 ++++----- documentation-website/Writerside/v.list | 2 +- .../Writerside/writerside.cfg | 2 +- exposed-bom/README.md | 4 +- exposed-spring-boot-starter/README.md | 6 +-- gradle.properties | 2 +- samples/exposed-ktor/gradle.properties | 2 +- samples/exposed-migration/gradle.properties | 2 +- samples/exposed-spring/gradle.properties | 2 +- 12 files changed, 96 insertions(+), 45 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 19243d1ff9..823c6b04ec 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,54 @@ +# 0.55.0 + +Infrastructure: +* Spring Framework 6.1.13 +* Spring Boot 3.3.4 +* log4j2 2.24.0 +* detekt 1.23.7 +* joda-time:joda-time 2.13.0 +* kotlinCoroutines 1.9.0 + +Breaking changes: +* feat!: EXPOSED-514 Support DELETE from tables in join by @bog-walk in https://github.com/JetBrains/Exposed/pull/2223 +* feat!: EXPOSED-497 Allow OFFSET without LIMIT in query by @bog-walk in https://github.com/JetBrains/Exposed/pull/2226 +* fix!: EXPOSED-545 Byte column allows out-of-range values by @joc-a in https://github.com/JetBrains/Exposed/pull/2239 +* fix!: EXPOSED-536 Short column allows out-of-range values by @joc-a in https://github.com/JetBrains/Exposed/pull/2231 +* fix!: EXPOSED-482 Cannot use `Column.transform()` to return null by @obabichevjb in https://github.com/JetBrains/Exposed/pull/2235 +* fix!: EXPOSED-546 [H2] Column with Json default value can not be used as databaseGenerated by @obabichevjb in https://github.com/JetBrains/Exposed/pull/2241 + +Deprecations: +* deprecate!: EXPOSED-550 DeleteStatement holds unused offset property by @bog-walk in https://github.com/JetBrains/Exposed/pull/2243 + +Features: +* feat: EXPOSED-498 Handle auto-increment status change on a column by @joc-a in https://github.com/JetBrains/Exposed/pull/2216 +* feat: EXPOSED-552 Include DROP statements for unmapped columns for migration by @joc-a in https://github.com/JetBrains/Exposed/pull/2249 + +Bug fixes: +* fix: EXPOSED-513 DROP SEQUENCE fails when there is a dot in the sequence name by @joc-a in https://github.com/JetBrains/Exposed/pull/2220 +* fix: EXPOSED-496 reference() idColumn equality check with referree's id is insufficient by @bog-walk in https://github.com/JetBrains/Exposed/pull/2222 +* fix: EXPOSED-528 Escape parameter placeholder '?' by double question mark '??' by @JajaComp in https://github.com/JetBrains/Exposed/pull/2227 +* fix: EXPOSED-509 Upsert with escaped multiline string fails in prepared statement by @bog-walk in https://github.com/JetBrains/Exposed/pull/2224 +* fix: EXPOSED-495 Unable to create new Entity when server-side default valu… by @obabichevjb in https://github.com/JetBrains/Exposed/pull/2240 +* fix: EXPOSED-547 idParam() registers composite id value with a single placeholder by @bog-walk in https://github.com/JetBrains/Exposed/pull/2242 +* fix: EXPOSED-527 BUG: mergeFrom(...) using a query with const-condition do… by @obabichevjb in https://github.com/JetBrains/Exposed/pull/2236 +* fix: EXPOSED-551 [SQL Server] Update from join with limit throws syntax exception by @bog-walk in https://github.com/JetBrains/Exposed/pull/2244 +* fix: EXPOSED-558 Entity cache for upsertReturning statements results in stale return values by @rasharab in https://github.com/JetBrains/Exposed/pull/2248 +* fix: EXPOSED-373 Close ResultSet before closing Statement to suppress Agroal leak warning by @ivan-gomes in https://github.com/JetBrains/Exposed/pull/2247 +* fix: EXPOSED-562 Any caught exception from inner transaction triggers full rollback by @bog-walk in https://github.com/JetBrains/Exposed/pull/2251 + +Docs: +* docs: Update documentation website by @github-actions in https://github.com/JetBrains/Exposed/pull/2221 +* docs: EXPOSED-515 How to identify composite key columns that use reference() by @bog-walk in https://github.com/JetBrains/Exposed/pull/2225 + +Chore: +* chore: Remove docker yml files warning -> the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion by @joc-a in https://github.com/JetBrains/Exposed/pull/2232 + +## New Contributors +* @JajaComp made their first contribution in https://github.com/JetBrains/Exposed/pull/2227 +* @ivan-gomes made their first contribution in https://github.com/JetBrains/Exposed/pull/2247 + +**Full Changelog**: https://github.com/JetBrains/Exposed/compare/0.54.0...0.55.0 + # 0.54.0 Infrastructure: diff --git a/README.md b/README.md index 636ab90a4b..477d38720f 100644 --- a/README.md +++ b/README.md @@ -81,52 +81,52 @@ The Maven Central repository is enabled by default for Maven users. org.jetbrains.exposed exposed-core - 0.54.0 + 0.55.0 org.jetbrains.exposed exposed-crypt - 0.54.0 + 0.55.0 org.jetbrains.exposed exposed-dao - 0.54.0 + 0.55.0 org.jetbrains.exposed exposed-java-time - 0.54.0 + 0.55.0 org.jetbrains.exposed exposed-jdbc - 0.54.0 + 0.55.0 org.jetbrains.exposed exposed-jodatime - 0.54.0 + 0.55.0 org.jetbrains.exposed exposed-json - 0.54.0 + 0.55.0 org.jetbrains.exposed exposed-kotlin-datetime - 0.54.0 + 0.55.0 org.jetbrains.exposed exposed-money - 0.54.0 + 0.55.0 org.jetbrains.exposed exposed-spring-boot-starter - 0.54.0 + 0.55.0 @@ -136,20 +136,20 @@ The Maven Central repository is enabled by default for Maven users. ```groovy dependencies { - implementation 'org.jetbrains.exposed:exposed-core:0.54.0' - implementation 'org.jetbrains.exposed:exposed-crypt:0.54.0' - implementation 'org.jetbrains.exposed:exposed-dao:0.54.0' - implementation 'org.jetbrains.exposed:exposed-jdbc:0.54.0' + implementation 'org.jetbrains.exposed:exposed-core:0.55.0' + implementation 'org.jetbrains.exposed:exposed-crypt:0.55.0' + implementation 'org.jetbrains.exposed:exposed-dao:0.55.0' + implementation 'org.jetbrains.exposed:exposed-jdbc:0.55.0' - implementation 'org.jetbrains.exposed:exposed-jodatime:0.54.0' + implementation 'org.jetbrains.exposed:exposed-jodatime:0.55.0' // or - implementation 'org.jetbrains.exposed:exposed-java-time:0.54.0' + implementation 'org.jetbrains.exposed:exposed-java-time:0.55.0' // or - implementation 'org.jetbrains.exposed:exposed-kotlin-datetime:0.54.0' + implementation 'org.jetbrains.exposed:exposed-kotlin-datetime:0.55.0' - implementation 'org.jetbrains.exposed:exposed-json:0.54.0' - implementation 'org.jetbrains.exposed:exposed-money:0.54.0' - implementation 'org.jetbrains.exposed:exposed-spring-boot-starter:0.54.0' + implementation 'org.jetbrains.exposed:exposed-json:0.55.0' + implementation 'org.jetbrains.exposed:exposed-money:0.55.0' + implementation 'org.jetbrains.exposed:exposed-spring-boot-starter:0.55.0' } ``` @@ -180,7 +180,7 @@ dependencies { and in `gradle.properties` ``` -exposedVersion=0.54.0 +exposedVersion=0.55.0 ``` ## Samples diff --git a/documentation-website/Writerside/snippets/get-started-with-exposed/gradle/libs.versions.toml b/documentation-website/Writerside/snippets/get-started-with-exposed/gradle/libs.versions.toml index f1cdb55a87..9715356cff 100644 --- a/documentation-website/Writerside/snippets/get-started-with-exposed/gradle/libs.versions.toml +++ b/documentation-website/Writerside/snippets/get-started-with-exposed/gradle/libs.versions.toml @@ -4,7 +4,7 @@ [versions] guava = "33.0.0-jre" junit-jupiter-engine = "5.10.2" -exposed = "0.54.0" +exposed = "0.55.0" [libraries] guava = { module = "com.google.guava:guava", version.ref = "guava" } diff --git a/documentation-website/Writerside/topics/Exposed-Modules.md b/documentation-website/Writerside/topics/Exposed-Modules.md index 38e717d5ca..a9cee325b3 100644 --- a/documentation-website/Writerside/topics/Exposed-Modules.md +++ b/documentation-website/Writerside/topics/Exposed-Modules.md @@ -55,7 +55,7 @@ Dependencies mapping listed below is similar (by functionality) to the previous - val exposedVersion: String = "0.54.0" + val exposedVersion: String = "0.55.0" dependencies { implementation("org.jetbrains.exposed:exposed-core:$exposedVersion") implementation("org.jetbrains.exposed:exposed-crypt:$exposedVersion") @@ -82,59 +82,59 @@ Dependencies mapping listed below is similar (by functionality) to the previous <dependency> <groupId>org.jetbrains.exposed</groupId> <artifactId>exposed-core</artifactId> - <version>0.54.0</version> + <version>0.55.0</version> </dependency> <dependency> <groupId>org.jetbrains.exposed</groupId> <artifactId>exposed-crypt</artifactId> - <version>0.54.0</version> + <version>0.55.0</version> </dependency> <dependency> <groupId>org.jetbrains.exposed</groupId> <artifactId>exposed-dao</artifactId> - <version>0.54.0</version> + <version>0.55.0</version> </dependency> <dependency> <groupId>org.jetbrains.exposed</groupId> <artifactId>exposed-java-time</artifactId> - <version>0.54.0</version> + <version>0.55.0</version> </dependency> <dependency> <groupId>org.jetbrains.exposed</groupId> <artifactId>exposed-jdbc</artifactId> - <version>0.54.0</version> + <version>0.55.0</version> </dependency> <dependency> <groupId>org.jetbrains.exposed</groupId> <artifactId>exposed-jodatime</artifactId> - <version>0.54.0</version> + <version>0.55.0</version> </dependency> <dependency> <groupId>org.jetbrains.exposed</groupId> <artifactId>exposed-json</artifactId> - <version>0.54.0</version> + <version>0.55.0</version> </dependency> <dependency> <groupId>org.jetbrains.exposed</groupId> <artifactId>exposed-kotlin-datetime</artifactId> - <version>0.54.0</version> + <version>0.55.0</version> </dependency> <dependency> <groupId>org.jetbrains.exposed</groupId> <artifactId>exposed-money</artifactId> - <version>0.54.0</version> + <version>0.55.0</version> </dependency> <dependency> <groupId>org.jetbrains.exposed</groupId> <artifactId>exposed-spring-boot-starter</artifactId> - <version>0.54.0</version> + <version>0.55.0</version> </dependency> </dependencies> - def exposedVersion = "0.54.0" + def exposedVersion = "0.55.0" dependencies { implementation "org.jetbrains.exposed:exposed-core:$exposedVersion" implementation "org.jetbrains.exposed:exposed-crypt:$exposedVersion" diff --git a/documentation-website/Writerside/v.list b/documentation-website/Writerside/v.list index 04601645c8..4a58f1bc53 100644 --- a/documentation-website/Writerside/v.list +++ b/documentation-website/Writerside/v.list @@ -2,6 +2,6 @@ - + diff --git a/documentation-website/Writerside/writerside.cfg b/documentation-website/Writerside/writerside.cfg index 19804c1735..44aa2670ec 100644 --- a/documentation-website/Writerside/writerside.cfg +++ b/documentation-website/Writerside/writerside.cfg @@ -5,5 +5,5 @@ - + diff --git a/exposed-bom/README.md b/exposed-bom/README.md index 1c6c77a797..1d37bec084 100644 --- a/exposed-bom/README.md +++ b/exposed-bom/README.md @@ -8,7 +8,7 @@ Bill of Materials for all Exposed modules org.jetbrains.exposed exposed-bom - 0.54.0 + 0.55.0 pom import @@ -39,7 +39,7 @@ repositories { } dependencies { - implementation(platform("org.jetbrains.exposed:exposed-bom:0.54.0")) + implementation(platform("org.jetbrains.exposed:exposed-bom:0.55.0")) implementation("org.jetbrains.exposed", "exposed-core") implementation("org.jetbrains.exposed", "exposed-dao") implementation("org.jetbrains.exposed", "exposed-jdbc") diff --git a/exposed-spring-boot-starter/README.md b/exposed-spring-boot-starter/README.md index 80d62180d0..0f34e5acdd 100644 --- a/exposed-spring-boot-starter/README.md +++ b/exposed-spring-boot-starter/README.md @@ -10,7 +10,7 @@ This starter will give you the latest version of [Exposed](https://github.com/Je org.jetbrains.exposed exposed-spring-boot-starter - 0.54.0 + 0.55.0 ``` @@ -20,7 +20,7 @@ repositories { mavenCentral() } dependencies { - implementation 'org.jetbrains.exposed:exposed-spring-boot-starter:0.54.0' + implementation 'org.jetbrains.exposed:exposed-spring-boot-starter:0.55.0' } ``` ### Gradle Kotlin DSL @@ -36,7 +36,7 @@ dependencies { ``` In `gradle.properties` ```properties -exposedVersion=0.54.0 +exposedVersion=0.55.0 ``` ## Setting up a database connection diff --git a/gradle.properties b/gradle.properties index 7481a2e3cd..caf9a90d9b 100644 --- a/gradle.properties +++ b/gradle.properties @@ -4,4 +4,4 @@ org.gradle.configuration.cache=true org.gradle.caching=true group=org.jetbrains.exposed -version=0.54.0 +version=0.55.0 diff --git a/samples/exposed-ktor/gradle.properties b/samples/exposed-ktor/gradle.properties index 2ca2115704..29db9f0529 100644 --- a/samples/exposed-ktor/gradle.properties +++ b/samples/exposed-ktor/gradle.properties @@ -2,5 +2,5 @@ ktorVersion=2.3.12 kotlinVersion=2.0.0 logbackVersion=1.4.12 kotlin.code.style=official -exposedVersion=0.54.0 +exposedVersion=0.55.0 h2Version=2.1.214 diff --git a/samples/exposed-migration/gradle.properties b/samples/exposed-migration/gradle.properties index d4016d7182..7a32b7742c 100644 --- a/samples/exposed-migration/gradle.properties +++ b/samples/exposed-migration/gradle.properties @@ -1,3 +1,3 @@ -exposedVersion=0.54.0 +exposedVersion=0.55.0 h2Version=2.1.214 flywayVersion=10.15.0 diff --git a/samples/exposed-spring/gradle.properties b/samples/exposed-spring/gradle.properties index 7bfa8feb06..7197a76d4c 100644 --- a/samples/exposed-spring/gradle.properties +++ b/samples/exposed-spring/gradle.properties @@ -1,2 +1,2 @@ -exposedVersion=0.54.0 +exposedVersion=0.55.0 kotlinVersion=2.0.0