Skip to content

Commit

Permalink
Exposed 0.33.1 release
Browse files Browse the repository at this point in the history
  • Loading branch information
Tapac committed Aug 8, 2021
1 parent 3bcd651 commit af78955
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 7 deletions.
28 changes: 28 additions & 0 deletions docs/ChangeLog.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
8 changes: 4 additions & 4 deletions exposed-bom/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Bill of Materials for all Exposed modules

# Maven
```xml
<!-- Versions after 0.32.1 -->
<!-- Versions after 0.33.1 -->
<repositories>
<repository>
<id>mavenCentral</id>
Expand All @@ -17,7 +17,7 @@ Bill of Materials for all Exposed modules
<dependency>
<groupId>org.jetbrains.exposed</groupId>
<artifactId>exposed-bom</artifactId>
<version>0.32.1</version>
<version>0.33.1</version>
<type>pom</type>
<scope>import</scope>
</dependency>
Expand Down Expand Up @@ -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")
Expand Down
4 changes: 2 additions & 2 deletions exposed-spring-boot-starter/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ This starter will give you the latest version of [Exposed](https://github.com/Je
<dependency>
<groupId>org.jetbrains.exposed</groupId>
<artifactId>exposed-spring-boot-starter</artifactId>
<version>0.32.1</version>
<version>0.33.1</version>
</dependency>
</dependencies>
```
Expand All @@ -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'
}
```

Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit af78955

Please sign in to comment.