Skip to content

Commit

Permalink
Exposed 0.41.1 release
Browse files Browse the repository at this point in the history
  • Loading branch information
Tapac committed Nov 14, 2022
1 parent d5d817f commit c6cf379
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 7 deletions.
31 changes: 29 additions & 2 deletions docs/ChangeLog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,31 @@
# 0.41.1
Infrastructure:
* Kotlin 1.7.21
* spring-security-crypto 5.7.3
* Few improvements in text infrastructure with help of [valery1707](https://github.com/valery1707)

Deprecations:
* `StatementInterceprot.afterCommit` and `StatementInterceptor.afterRollback` without `transaction` parameter have ERROR deprecation level
* `Column<*>.autoIncSeqName` has HIDDEN deprecation level
* `Database.connect` with `datasource: ConnectionPoolDataSource` parameter has HIDDEN deprecation level
* `SchemaUtils.createFKey` with `reference: Column<*>` parameter has ERROR deprecation level
* `Sequence.nextVal` has ERROR deprecation level
* `SqlExpressionBuilderClass` has ERROR deprecation level
* `CurrentDateTime()` has ERROR deprecation level

Feature:
* [PostgreSQL] `NOWAIT/SKIP LOCKED` modes supported in all kinds of `FOR UPDATE`. Also, it's now possible to provide tables to be locked ([#1623](https://github.com/JetBrains/Exposed/issues/1623))
*`ExposedBlob` now wraps `InputStream` instead of `ByteArray` that can lead to significant memory improvements ([#1617](https://github.com/JetBrains/Exposed/issues/1617))
* [H2] All [compatibility modes](http://www.h2database.com/html/features.html#compatibility) are fully supported for known dialects ([#1615](https://github.com/JetBrains/Exposed/issues/1615))
* `mod`/`rem` operations with `EntityID` expressions supported with help of [Alexey Soshin](https://github.com/AlexeySoshin) ([#1597](https://github.com/JetBrains/Exposed/issues/1597))

Bug Fixes:
* Don't alert entity hook subscribers while inserting new entities as it can lead to entity cache misses
* `clientDefault` should allow nullable values ([#1617](https://github.com/JetBrains/Exposed/issues/1617)). Reported and fixed by [terminalnode](https://github.com/terminalnode)
* [Oracle] Use VARCHAR2 column for VarCharColumnType ([#1628](https://github.com/JetBrains/Exposed/issues/1628)). Reported and fixed by [dakriy](https://github.com/dakriy)
* [PostgreSQL] Correct comparison of defaults for String type columns ([#1587](https://github.com/JetBrains/Exposed/issues/1587)). Resolved by [Alexey Soshin](https://github.com/AlexeySoshin)
* Transaction was initialized with a wrong isolation level ([#1575](https://github.com/JetBrains/Exposed/issues/1575))

# 0.40.1
Infrastructure:
* Kotlin 1.7.20
Expand All @@ -9,12 +37,11 @@ Feature:
* `ForUpdateOption` (like `ForUpdateOption.PostgreSQL.ForKeyShare`) added for more flexible management of locks in your `SELECT` queries. You can set it as a parameter via `Query.forUpdate` function. Another kudos goes to [Alex Shubert](https://github.com/lure)
* Preserve a colection type for `Iterable.with()` function
* `LazySizedCollection` can be checked for loaded data with `LazySizedCollection.isLoaded()`. Added by [unbearables](https://github.com/unbearables)
*

Bug Fixes:
* [Regression] `NoSuchMethod` error: `long kotlin.time.TimeSource$Monotonic.markNow` ([#1556](https://github.com/JetBrains/Exposed/issues/1540))
* `insertIgnoreAndGet` must explicitly mark failed insert on conflicts. Fixed by [Alex Shubert](https://github.com/lure) in PR ([#1584](https://github.com/JetBrains/Exposed/issues/1584))
* Comma is missing in `UPDATE` with multiple tables ([#1595](https://github.com/JetBrains/Exposed/issues/1595))
* Comma is missing in `UPDATE` with multiple tables ([#1595](https://github.com/JetBrains/Exposed/issues/1595))
* `suspendedTransaction` should accept `CoroutineContext` instead of `CourutineDispatcher` was fixed by [rasharab](https://github.com/rasharab) in PR ([#1515](https://github.com/JetBrains/Exposed/issues/1515))
* [MySQL/MariaDB] `REPLACE` fails when `Expression` used as a replacement parameter. Thank you [Tiscs](https://github.com/Tiscs) for the fix.
* `EntityClass#wramUpReferences` should cache reference of referrer. Located and fixed by [Joddev](https://github.com/Joddev).
Expand Down
4 changes: 2 additions & 2 deletions exposed-bom/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Bill of Materials for all Exposed modules
<dependency>
<groupId>org.jetbrains.exposed</groupId>
<artifactId>exposed-bom</artifactId>
<version>0.40.1</version>
<version>0.41.1</version>
<type>pom</type>
<scope>import</scope>
</dependency>
Expand Down Expand Up @@ -51,7 +51,7 @@ repositories {
}

dependencies {
implementation(platform("org.jetbrains.exposed:exposed-bom:0.40.1"))
implementation(platform("org.jetbrains.exposed:exposed-bom:0.41.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.40.1</version>
<version>0.41.1</version>
</dependency>
</dependencies>
```
Expand All @@ -28,7 +28,7 @@ repositories {
mavenCentral()
}
dependencies {
implementation 'org.jetbrains.exposed:exposed-spring-boot-starter:0.40.1'
implementation 'org.jetbrains.exposed:exposed-spring-boot-starter:0.41.1'
}
```

Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ org.gradle.parallel=false
org.gradle.jvmargs=-Dfile.encoding=UTF-8
#
group=org.jetbrains.exposed
version=0.40.1
version=0.41.1

0 comments on commit c6cf379

Please sign in to comment.