diff --git a/CHANGELOG.md b/CHANGELOG.md index 297b78bf2a..48819a5f07 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,39 @@ +# 0.56.0 +Infrastructure: +* junit-bom 5.11.3 +* SQLite driver 3.47.0.0 +* log4j2 2.24.1 +* Oracle driver 19.24.0.0 +* Spring Framework 6.1.14 +* Spring Boot 3.3.5 + +Breaking changes: +* fix!: EXPOSED-569 groupConcat uses wrong SQLite syntax & ignores DISTINCT in Oracle & SQL Server by @bog-walk in https://github.com/JetBrains/Exposed/pull/2257 +* chore!: Change Oracle and H2 Oracle uintegerType and uintegerAutoincType from NUMBER(13) to NUMBER(10) by @joc-a in https://github.com/JetBrains/Exposed/pull/2268 +* chore!: Change Oracle and H2 Oracle ushortType from NUMBER(6) to NUMBER(5) by @joc-a in https://github.com/JetBrains/Exposed/pull/2268 +* chore!: Change Oracle and H2 Oracle ubyteType from NUMBER(4) to NUMBER(3) by @joc-a in https://github.com/JetBrains/Exposed/pull/2268 +* chore!: Change Oracle and H2 Oracle integerType and integerAutoincType from NUMBER(12) to NUMBER(10) and INTEGER respectively and add CHECK constraint in SQLite by @joc-a in https://github.com/JetBrains/Exposed/pull/2270 +* feat!: EXPOSED-359 Add support for multidimensional arrays by @obabichevjb in https://github.com/JetBrains/Exposed/pull/2250 +* feat!: EXPOSED-577 Allow Entity and EntityID parameters to not be Comparable by @bog-walk in https://github.com/JetBrains/Exposed/pull/2277 + +Features: +* feat: Support partially filled composite IDs by @sickfar in https://github.com/JetBrains/Exposed/pull/2282 +* feat: EXPOSED-494 Inline DSL statement and query functions by @bog-walk in https://github.com/JetBrains/Exposed/pull/2272 +* feat: EXPOSED-560 Support DISTINCT ON from Postgres by @obabichevjb in https://github.com/JetBrains/Exposed/pull/2275 + +Bug fixes: +* fix: EXPOSED-565 Subquery alias with id fails to use correct alias with eq by @bog-walk in https://github.com/JetBrains/Exposed/pull/2258 +* fix: EXPOSED-278 Invalid Oracle statement when adding a new column that is used in a primary key by @joc-a in https://github.com/JetBrains/Exposed/pull/2259 +* fix: EXPOSED-576 DAO Entity.new() fails if there is column with default value and transformation by @obabichevjb in https://github.com/JetBrains/Exposed/pull/2263 +* fix: EXPOSED-580 MigrationsUtils.statementsRequiredForDatabaseMigration throws an error when a table is passed that does not already exist in the database by @joc-a in https://github.com/JetBrains/Exposed/pull/2271 +* fix: EXPOSED-588 Foreign key error when table has dot in its name by @joc-a in https://github.com/JetBrains/Exposed/pull/2276 +* fix: EXPOSED-602 Column name that includes table name is aliased with upserts by @bog-walk in https://github.com/JetBrains/Exposed/pull/2287 + +Docs: +* docs: EXPOSED-532 Split the DAO topic into subtopics by @vnikolova in https://github.com/JetBrains/Exposed/pull/2254 +* docs: Extend entities definition docs and reference code from snippets by @vnikolova in https://github.com/JetBrains/Exposed/pull/2264 +* docs: EXPOSED-572 Add code sample for 'auto-fill columns on entity change' by @bog-walk in https://github.com/JetBrains/Exposed/pull/2278 + # 0.55.0 Infrastructure: diff --git a/README.md b/README.md index 477d38720f..1e4b64c2ac 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.55.0 + 0.56.0 org.jetbrains.exposed exposed-crypt - 0.55.0 + 0.56.0 org.jetbrains.exposed exposed-dao - 0.55.0 + 0.56.0 org.jetbrains.exposed exposed-java-time - 0.55.0 + 0.56.0 org.jetbrains.exposed exposed-jdbc - 0.55.0 + 0.56.0 org.jetbrains.exposed exposed-jodatime - 0.55.0 + 0.56.0 org.jetbrains.exposed exposed-json - 0.55.0 + 0.56.0 org.jetbrains.exposed exposed-kotlin-datetime - 0.55.0 + 0.56.0 org.jetbrains.exposed exposed-money - 0.55.0 + 0.56.0 org.jetbrains.exposed exposed-spring-boot-starter - 0.55.0 + 0.56.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.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-core:0.56.0' + implementation 'org.jetbrains.exposed:exposed-crypt:0.56.0' + implementation 'org.jetbrains.exposed:exposed-dao:0.56.0' + implementation 'org.jetbrains.exposed:exposed-jdbc:0.56.0' - implementation 'org.jetbrains.exposed:exposed-jodatime:0.55.0' + implementation 'org.jetbrains.exposed:exposed-jodatime:0.56.0' // or - implementation 'org.jetbrains.exposed:exposed-java-time:0.55.0' + implementation 'org.jetbrains.exposed:exposed-java-time:0.56.0' // or - implementation 'org.jetbrains.exposed:exposed-kotlin-datetime:0.55.0' + implementation 'org.jetbrains.exposed:exposed-kotlin-datetime:0.56.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' + implementation 'org.jetbrains.exposed:exposed-json:0.56.0' + implementation 'org.jetbrains.exposed:exposed-money:0.56.0' + implementation 'org.jetbrains.exposed:exposed-spring-boot-starter:0.56.0' } ``` @@ -180,7 +180,7 @@ dependencies { and in `gradle.properties` ``` -exposedVersion=0.55.0 +exposedVersion=0.56.0 ``` ## Samples diff --git a/docs/current.help.version b/docs/current.help.version index 2b045fa893..2f4c74eb2d 100644 --- a/docs/current.help.version +++ b/docs/current.help.version @@ -1 +1 @@ -0.55.0 \ No newline at end of file +0.56.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 9715356cff..d2b3e2a7af 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.55.0" +exposed = "0.56.0" [libraries] guava = { module = "com.google.guava:guava", version.ref = "guava" } diff --git a/documentation-website/Writerside/snippets/gradle/libs.versions.toml b/documentation-website/Writerside/snippets/gradle/libs.versions.toml index e3856c8e3f..34343190d7 100644 --- a/documentation-website/Writerside/snippets/gradle/libs.versions.toml +++ b/documentation-website/Writerside/snippets/gradle/libs.versions.toml @@ -4,7 +4,7 @@ [versions] guava = "33.0.0-jre" junit-jupiter-engine = "5.10.2" -exposed = "0.55.0" +exposed = "0.56.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 a9cee325b3..6461143ba5 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.55.0" + val exposedVersion: String = "0.56.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.55.0</version> + <version>0.56.0</version> </dependency> <dependency> <groupId>org.jetbrains.exposed</groupId> <artifactId>exposed-crypt</artifactId> - <version>0.55.0</version> + <version>0.56.0</version> </dependency> <dependency> <groupId>org.jetbrains.exposed</groupId> <artifactId>exposed-dao</artifactId> - <version>0.55.0</version> + <version>0.56.0</version> </dependency> <dependency> <groupId>org.jetbrains.exposed</groupId> <artifactId>exposed-java-time</artifactId> - <version>0.55.0</version> + <version>0.56.0</version> </dependency> <dependency> <groupId>org.jetbrains.exposed</groupId> <artifactId>exposed-jdbc</artifactId> - <version>0.55.0</version> + <version>0.56.0</version> </dependency> <dependency> <groupId>org.jetbrains.exposed</groupId> <artifactId>exposed-jodatime</artifactId> - <version>0.55.0</version> + <version>0.56.0</version> </dependency> <dependency> <groupId>org.jetbrains.exposed</groupId> <artifactId>exposed-json</artifactId> - <version>0.55.0</version> + <version>0.56.0</version> </dependency> <dependency> <groupId>org.jetbrains.exposed</groupId> <artifactId>exposed-kotlin-datetime</artifactId> - <version>0.55.0</version> + <version>0.56.0</version> </dependency> <dependency> <groupId>org.jetbrains.exposed</groupId> <artifactId>exposed-money</artifactId> - <version>0.55.0</version> + <version>0.56.0</version> </dependency> <dependency> <groupId>org.jetbrains.exposed</groupId> <artifactId>exposed-spring-boot-starter</artifactId> - <version>0.55.0</version> + <version>0.56.0</version> </dependency> </dependencies> - def exposedVersion = "0.55.0" + def exposedVersion = "0.56.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 4a58f1bc53..c5cfcffbf2 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 44aa2670ec..8462ea3c28 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 1d37bec084..9cbbae507d 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.55.0 + 0.56.0 pom import @@ -39,7 +39,7 @@ repositories { } dependencies { - implementation(platform("org.jetbrains.exposed:exposed-bom:0.55.0")) + implementation(platform("org.jetbrains.exposed:exposed-bom:0.56.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 0f34e5acdd..6eefa099b1 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.55.0 + 0.56.0 ``` @@ -20,7 +20,7 @@ repositories { mavenCentral() } dependencies { - implementation 'org.jetbrains.exposed:exposed-spring-boot-starter:0.55.0' + implementation 'org.jetbrains.exposed:exposed-spring-boot-starter:0.56.0' } ``` ### Gradle Kotlin DSL @@ -36,7 +36,7 @@ dependencies { ``` In `gradle.properties` ```properties -exposedVersion=0.55.0 +exposedVersion=0.56.0 ``` ## Setting up a database connection diff --git a/gradle.properties b/gradle.properties index caf9a90d9b..b0bfb74d7c 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.55.0 +version=0.56.0 diff --git a/samples/exposed-ktor/gradle.properties b/samples/exposed-ktor/gradle.properties index 29db9f0529..1cb607fe00 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.55.0 +exposedVersion=0.56.0 h2Version=2.1.214 diff --git a/samples/exposed-migration/gradle.properties b/samples/exposed-migration/gradle.properties index 7a32b7742c..13347cfe65 100644 --- a/samples/exposed-migration/gradle.properties +++ b/samples/exposed-migration/gradle.properties @@ -1,3 +1,3 @@ -exposedVersion=0.55.0 +exposedVersion=0.56.0 h2Version=2.1.214 flywayVersion=10.15.0 diff --git a/samples/exposed-spring/gradle.properties b/samples/exposed-spring/gradle.properties index 7197a76d4c..94287a9427 100644 --- a/samples/exposed-spring/gradle.properties +++ b/samples/exposed-spring/gradle.properties @@ -1,2 +1,2 @@ -exposedVersion=0.55.0 +exposedVersion=0.56.0 kotlinVersion=2.0.0