From af78955f549515d575251f3338901954ea960f04 Mon Sep 17 00:00:00 2001 From: "Andrey.Tarashevskiy" Date: Sun, 8 Aug 2021 21:33:51 +0300 Subject: [PATCH] Exposed 0.33.1 release --- docs/ChangeLog.md | 28 +++++++++++++++++++++++++++ exposed-bom/README.md | 8 ++++---- exposed-spring-boot-starter/README.md | 4 ++-- gradle.properties | 2 +- 4 files changed, 35 insertions(+), 7 deletions(-) diff --git a/docs/ChangeLog.md b/docs/ChangeLog.md index c3038fb7c8..91c4d3fc73 100644 --- a/docs/ChangeLog.md +++ b/docs/ChangeLog.md @@ -1,3 +1,31 @@ +# 0.33.1 +Infrastructure: +* Kotlin 1.5.21 +* Kotlin Coroutines 1.5.1 +* kotlinter replaced with Detekt. Many thanks to [BorzdeG](https://github.com/BorzdeG) for PR + +Broken Changes: +* `EntityCache` internal representation was reworked to lower overhead on cache operations and to create more O(1) +when working with references. `EntityCache.inserts` and `EntityCache.referrers` fields are not publicly available anymore. + +Features: +* Different math and trigonometrical functions were added. Check `org.jetbrains.exposed.sql.functions.math` package +* Bitwise AND, OR and, XOR were added by [Max Rumpf](https://github.com/Maxr1998) +* `PrepareStatement` can be cancelled, thanks [Alex Shubert](https://github.com/lure) for supporting it +* `ForeignKeyConstraint.customFkName` was added by [spand](https://github.com/spand) +* All types of joins now accepts `additionalConstraint` lambda (PR from [spand](https://github.com/spand)) +* `InsertStatement` now stores number of inserted rows in `insertedCount` field ([#851]((https://github.com/JetBrains/Exposed/issues/851) +* `batchInsert` function now can be called on `Sequences`. Feature added by [Philip Wedemann](https://github.com/hfhbd) + +Bug Fixes: +* [MySQL/MariaDB] Restore old 0000-00-00 00:00:00 as null behavior for Mysql and MariaDb (PR from [spand](https://github.com/spand)). +* `datetime` column looses nanos part ([#1028]((https://github.com/JetBrains/Exposed/issues/1028)) +* Setting value for the same column multiple times in UpdateBuilder fails ([#1177]((https://github.com/JetBrains/Exposed/issues/1177)) +* [SQLite] `primaryKey` override ignored ([#1258]((https://github.com/JetBrains/Exposed/issues/1258)) +* Transaction can be unexpectedly initialized when working with coroutines +* [PostgreSQL] `REAL` type will be used instead of `FLOAT8` for `float` column. Thanks [Philip Wedemann](https://github.com/hfhbd) for fix +* [Oracle] `TIME` is not supported on Oracle, mimic it with datetime type + # 0.32.1 Infrastructure: * Kotlin 1.5.10 diff --git a/exposed-bom/README.md b/exposed-bom/README.md index 127de70280..2957781012 100644 --- a/exposed-bom/README.md +++ b/exposed-bom/README.md @@ -3,7 +3,7 @@ Bill of Materials for all Exposed modules # Maven ```xml - + mavenCentral @@ -17,7 +17,7 @@ Bill of Materials for all Exposed modules org.jetbrains.exposed exposed-bom - 0.32.1 + 0.33.1 pom import @@ -46,12 +46,12 @@ Bill of Materials for all Exposed modules # Gradle ```kotlin repositories { - // Versions after 0.32.1 + // Versions after 0.33.1 mavenCentral() } dependencies { - implementation(platform("org.jetbrains.exposed:exposed-bom:0.32.1")) + implementation(platform("org.jetbrains.exposed:exposed-bom:0.33.1")) 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 c4dfa3dcef..34d1cd98dc 100644 --- a/exposed-spring-boot-starter/README.md +++ b/exposed-spring-boot-starter/README.md @@ -18,7 +18,7 @@ This starter will give you the latest version of [Exposed](https://github.com/Je org.jetbrains.exposed exposed-spring-boot-starter - 0.32.1 + 0.33.1 ``` @@ -28,7 +28,7 @@ repositories { mavenCentral() } dependencies { - implementation 'org.jetbrains.exposed:exposed-spring-boot-starter:0.32.1' + implementation 'org.jetbrains.exposed:exposed-spring-boot-starter:0.33.1' } ``` diff --git a/gradle.properties b/gradle.properties index 2f76c4d2d7..60117289ef 100644 --- a/gradle.properties +++ b/gradle.properties @@ -2,5 +2,5 @@ org.gradle.parallel=false org.gradle.jvmargs=-Dfile.encoding=UTF-8 # group=org.jetbrains.exposed -version=0.32.1 +version=0.33.1 dialect=none