diff --git a/CHANGELOG.md b/CHANGELOG.md index 67e0e4f39f..6485689b38 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,42 @@ -# 0.52.0 +# 0.53.0 +Infrastructure: +* SQLite driver 3.46.0.1 +* Spring Framework 6.1.11 +* Spring Boot 3.3.2 +* junit-bom 5.10.3 +Features: +* feat: Add time extension function for temporal expressions in Kotlin and Java by @joc-a in https://github.com/JetBrains/Exposed/pull/2121 +* feat: EXPOSED-435 Allow insertReturning() to set isIgnore = true by @bog-walk in https://github.com/JetBrains/Exposed/pull/2148 +* feat: EXPOSED-77 Support entity class for table with composite primary key by @bog-walk in https://github.com/JetBrains/Exposed/pull/1987 +* feat: EXPOSED-446 Support N-column inList equality comparisons by @bog-walk in https://github.com/JetBrains/Exposed/pull/2157 +* feat: EXPOSED-450 Merge command: PostgreSQL improvements by @obabichevjb in https://github.com/JetBrains/Exposed/pull/2161 +* feat: EXPOSED-388 Support for column type converters by @obabichevjb in https://github.com/JetBrains/Exposed/pull/2143 +* Adding comment text for a query SQL by @xJoeWoo in https://github.com/JetBrains/Exposed/pull/2088 +* feat: EXPOSED-459 Open AbstractQuery.copyTo() to allow custom Query class extension by @bog-walk in https://github.com/JetBrains/Exposed/pull/2173 +* feat: EXPOSED-461 Add time column in Joda-Time module by @joc-a in https://github.com/JetBrains/Exposed/pull/2175 + +Bug fixes: +* fix: EXPOSED-424 ClassCastException exception when using `fetchBatchedResults` with `alias` by @joc-a in https://github.com/JetBrains/Exposed/pull/2140 +* fix: EXPOSED-407 compositeMoney() nullability definition issues by @bog-walk in https://github.com/JetBrains/Exposed/pull/2137 +* fix: EXPOSED-415 SchemaUtils incorrectly generates ALTER statements for existing nullable columns by @obabichevjb in https://github.com/JetBrains/Exposed/pull/2136 +* fix: EXPOSED-363 LocalTime and literal(LocalTime) are not the same by @joc-a in https://github.com/JetBrains/Exposed/pull/2152 +* fix: EXPOSED-432 CurrentDate default is generated as null in MariaDB by @joc-a in https://github.com/JetBrains/Exposed/pull/2149 +* fix: Allow column reference in default expressions for MySQL and MariaDB by @joc-a in https://github.com/JetBrains/Exposed/pull/2159 +* fix: EXPOSED-430 Insert and BatchInsert do not return default values by @obabichevjb in https://github.com/JetBrains/Exposed/pull/2158 +* fix: EXPOSED-452 Flaky H2_Oracle test `testTimestampWithTimeZoneDefaults` by @joc-a in https://github.com/JetBrains/Exposed/pull/2169 +* EXPOSED-457 The column default value always compares unequal by @obabichevjb in https://github.com/JetBrains/Exposed/pull/2170 +* EXPOSED-409 Custom primary key. Access to the primary key fails with ClassCastException by @obabichevjb in https://github.com/JetBrains/Exposed/pull/2151 +* fix: EXPOSED-447 Eager loading does not work with composite PK entity by @bog-walk in https://github.com/JetBrains/Exposed/pull/2177 + +Docs: +* chore: Add migration sample by @joc-a in https://github.com/JetBrains/Exposed/pull/2144 +* docs: Change repetitionAttempts to maxAttempts in website docs by @bog-walk in https://github.com/JetBrains/Exposed/pull/2164 +* docs: EXPOSED-445 Add documentation for DSL & DAO composite primary keys by @bog-walk in https://github.com/JetBrains/Exposed/pull/2165 +* docs: EXPOSED-419 Rework the getting started tutorial by @vnikolova in https://github.com/JetBrains/Exposed/pull/2160 +* Configure API documentation for Exposed by @e5l in https://github.com/JetBrains/Exposed/pull/2171 + +# 0.52.0 Breaking changes: * feat: EXPOSED-295 Support subqueries with preceding LATERAL by @obabichevjb in https://github.com/JetBrains/Exposed/pull/2095 diff --git a/README.md b/README.md index 415384f405..5392a05c51 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.52.0 + 0.53.0 org.jetbrains.exposed exposed-crypt - 0.52.0 + 0.53.0 org.jetbrains.exposed exposed-dao - 0.52.0 + 0.53.0 org.jetbrains.exposed exposed-java-time - 0.52.0 + 0.53.0 org.jetbrains.exposed exposed-jdbc - 0.52.0 + 0.53.0 org.jetbrains.exposed exposed-jodatime - 0.52.0 + 0.53.0 org.jetbrains.exposed exposed-json - 0.52.0 + 0.53.0 org.jetbrains.exposed exposed-kotlin-datetime - 0.52.0 + 0.53.0 org.jetbrains.exposed exposed-money - 0.52.0 + 0.53.0 org.jetbrains.exposed exposed-spring-boot-starter - 0.52.0 + 0.53.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.52.0' - implementation 'org.jetbrains.exposed:exposed-crypt:0.52.0' - implementation 'org.jetbrains.exposed:exposed-dao:0.52.0' - implementation 'org.jetbrains.exposed:exposed-jdbc:0.52.0' + implementation 'org.jetbrains.exposed:exposed-core:0.53.0' + implementation 'org.jetbrains.exposed:exposed-crypt:0.53.0' + implementation 'org.jetbrains.exposed:exposed-dao:0.53.0' + implementation 'org.jetbrains.exposed:exposed-jdbc:0.53.0' - implementation 'org.jetbrains.exposed:exposed-jodatime:0.52.0' + implementation 'org.jetbrains.exposed:exposed-jodatime:0.53.0' // or - implementation 'org.jetbrains.exposed:exposed-java-time:0.52.0' + implementation 'org.jetbrains.exposed:exposed-java-time:0.53.0' // or - implementation 'org.jetbrains.exposed:exposed-kotlin-datetime:0.52.0' + implementation 'org.jetbrains.exposed:exposed-kotlin-datetime:0.53.0' - implementation 'org.jetbrains.exposed:exposed-json:0.52.0' - implementation 'org.jetbrains.exposed:exposed-money:0.52.0' - implementation 'org.jetbrains.exposed:exposed-spring-boot-starter:0.52.0' + implementation 'org.jetbrains.exposed:exposed-json:0.53.0' + implementation 'org.jetbrains.exposed:exposed-money:0.53.0' + implementation 'org.jetbrains.exposed:exposed-spring-boot-starter:0.53.0' } ``` @@ -180,7 +180,7 @@ dependencies { and in `gradle.properties` ``` -exposedVersion=0.52.0 +exposedVersion=0.53.0 ``` ## Samples diff --git a/docs/current.help.version b/docs/current.help.version index 655b90034a..7f422a161a 100644 --- a/docs/current.help.version +++ b/docs/current.help.version @@ -1 +1 @@ -0.52.0 \ No newline at end of file +0.53.0 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 d8c0b3a831..6b01cd7cef 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.51.1" +exposed = "0.53.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 7ba881e040..af9073005c 100644 --- a/documentation-website/Writerside/topics/Exposed-Modules.md +++ b/documentation-website/Writerside/topics/Exposed-Modules.md @@ -53,7 +53,7 @@ Dependencies mapping listed below is similar (by functionality) to the previous - val exposedVersion: String = "0.52.0" + val exposedVersion: String = "0.53.0" dependencies { implementation("org.jetbrains.exposed:exposed-core:$exposedVersion") implementation("org.jetbrains.exposed:exposed-crypt:$exposedVersion") @@ -80,59 +80,59 @@ Dependencies mapping listed below is similar (by functionality) to the previous <dependency> <groupId>org.jetbrains.exposed</groupId> <artifactId>exposed-core</artifactId> - <version>0.52.0</version> + <version>0.53.0</version> </dependency> <dependency> <groupId>org.jetbrains.exposed</groupId> <artifactId>exposed-crypt</artifactId> - <version>0.52.0</version> + <version>0.53.0</version> </dependency> <dependency> <groupId>org.jetbrains.exposed</groupId> <artifactId>exposed-dao</artifactId> - <version>0.52.0</version> + <version>0.53.0</version> </dependency> <dependency> <groupId>org.jetbrains.exposed</groupId> <artifactId>exposed-java-time</artifactId> - <version>0.52.0</version> + <version>0.53.0</version> </dependency> <dependency> <groupId>org.jetbrains.exposed</groupId> <artifactId>exposed-jdbc</artifactId> - <version>0.52.0</version> + <version>0.53.0</version> </dependency> <dependency> <groupId>org.jetbrains.exposed</groupId> <artifactId>exposed-jodatime</artifactId> - <version>0.52.0</version> + <version>0.53.0</version> </dependency> <dependency> <groupId>org.jetbrains.exposed</groupId> <artifactId>exposed-json</artifactId> - <version>0.52.0</version> + <version>0.53.0</version> </dependency> <dependency> <groupId>org.jetbrains.exposed</groupId> <artifactId>exposed-kotlin-datetime</artifactId> - <version>0.52.0</version> + <version>0.53.0</version> </dependency> <dependency> <groupId>org.jetbrains.exposed</groupId> <artifactId>exposed-money</artifactId> - <version>0.52.0</version> + <version>0.53.0</version> </dependency> <dependency> <groupId>org.jetbrains.exposed</groupId> <artifactId>exposed-spring-boot-starter</artifactId> - <version>0.52.0</version> + <version>0.53.0</version> </dependency> </dependencies> - def exposedVersion = "0.52.0" + def exposedVersion = "0.53.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 d1bbe8c004..8c859b499e 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 bb587aec06..ede374b6e6 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 29b61bf51b..d5c1877d44 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.52.0 + 0.53.0 pom import @@ -39,7 +39,7 @@ repositories { } dependencies { - implementation(platform("org.jetbrains.exposed:exposed-bom:0.52.0")) + implementation(platform("org.jetbrains.exposed:exposed-bom:0.53.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 a888ed8aac..1946682db9 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.52.0 + 0.53.0 ``` @@ -20,7 +20,7 @@ repositories { mavenCentral() } dependencies { - implementation 'org.jetbrains.exposed:exposed-spring-boot-starter:0.52.0' + implementation 'org.jetbrains.exposed:exposed-spring-boot-starter:0.53.0' } ``` ### Gradle Kotlin DSL @@ -36,7 +36,7 @@ dependencies { ``` In `gradle.properties` ```properties -exposedVersion=0.52.0 +exposedVersion=0.53.0 ``` ## Setting up a database connection diff --git a/gradle.properties b/gradle.properties index 106fa49bf0..08819bcd45 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.52.0 +version=0.53.0 diff --git a/samples/exposed-ktor/gradle.properties b/samples/exposed-ktor/gradle.properties index 166e9df776..0eddbf1afe 100644 --- a/samples/exposed-ktor/gradle.properties +++ b/samples/exposed-ktor/gradle.properties @@ -2,5 +2,5 @@ ktorVersion=2.3.4 kotlinVersion=1.8.10 logbackVersion=1.2.11 kotlin.code.style=official -exposedVersion=0.52.0 +exposedVersion=0.53.0 h2Version=2.1.214 diff --git a/samples/exposed-migration/gradle.properties b/samples/exposed-migration/gradle.properties index 485789a7b3..da5f5dba7c 100644 --- a/samples/exposed-migration/gradle.properties +++ b/samples/exposed-migration/gradle.properties @@ -1,3 +1,3 @@ -exposedVersion=0.52.0 +exposedVersion=0.53.0 h2Version=2.1.214 flywayVersion=10.15.0 diff --git a/samples/exposed-spring/gradle.properties b/samples/exposed-spring/gradle.properties index db3faf4858..c926f74021 100644 --- a/samples/exposed-spring/gradle.properties +++ b/samples/exposed-spring/gradle.properties @@ -1,2 +1,2 @@ -exposedVersion=0.52.0 +exposedVersion=0.53.0 kotlinVersion=1.8.21