Skip to content

Commit

Permalink
0.55.0
Browse files Browse the repository at this point in the history
  • Loading branch information
obabichevjb committed Sep 25, 2024
1 parent a3cb0c5 commit d343bfd
Show file tree
Hide file tree
Showing 12 changed files with 86 additions and 45 deletions.
41 changes: 41 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,44 @@
# 0.55.0

Infrastructure:
* Spring Framework 6.1.13
* Spring Boot 3.3.4
* log4j2 2.24.0
* detekt 1.23.7
* joda-time:joda-time 2.13.0
* kotlinCoroutines 1.9.0

Breaking changes:
* feat!: EXPOSED-514 Support DELETE from tables in join by @bog-walk in https://github.com/JetBrains/Exposed/pull/2223
* feat!: EXPOSED-497 Allow OFFSET without LIMIT in query by @bog-walk in https://github.com/JetBrains/Exposed/pull/2226
* fix!: EXPOSED-545 Byte column allows out-of-range values by @joc-a in https://github.com/JetBrains/Exposed/pull/2239
* fix!: EXPOSED-536 Short column allows out-of-range values by @joc-a in https://github.com/JetBrains/Exposed/pull/2231
* fix!: EXPOSED-482 Cannot use `Column.transform()` to return null by @obabichevjb in https://github.com/JetBrains/Exposed/pull/2235
* fix!: EXPOSED-546 [H2] Column with Json default value can not be used as databaseGenerated by @obabichevjb in https://github.com/JetBrains/Exposed/pull/2241

Deprecations:
* deprecate!: EXPOSED-550 DeleteStatement holds unused offset property by @bog-walk in https://github.com/JetBrains/Exposed/pull/2243

Features:
* feat: EXPOSED-498 Handle auto-increment status change on a column by @joc-a in https://github.com/JetBrains/Exposed/pull/2216
* feat: EXPOSED-552 Include DROP statements for unmapped columns for migration by @joc-a in https://github.com/JetBrains/Exposed/pull/2249

Bug fixes:
* fix: EXPOSED-513 DROP SEQUENCE fails when there is a dot in the sequence name by @joc-a in https://github.com/JetBrains/Exposed/pull/2220
* fix: EXPOSED-496 reference() idColumn equality check with referree's id is insufficient by @bog-walk in https://github.com/JetBrains/Exposed/pull/2222
* fix: EXPOSED-528 Escape parameter placeholder '?' by double question mark '??' by @JajaComp in https://github.com/JetBrains/Exposed/pull/2227
* fix: EXPOSED-509 Upsert with escaped multiline string fails in prepared statement by @bog-walk in https://github.com/JetBrains/Exposed/pull/2224
* fix: EXPOSED-495 Unable to create new Entity when server-side default valu… by @obabichevjb in https://github.com/JetBrains/Exposed/pull/2240
* fix: EXPOSED-547 idParam() registers composite id value with a single placeholder by @bog-walk in https://github.com/JetBrains/Exposed/pull/2242
* fix: EXPOSED-527 BUG: mergeFrom(...) using a query with const-condition do… by @obabichevjb in https://github.com/JetBrains/Exposed/pull/2236
* fix: EXPOSED-551 [SQL Server] Update from join with limit throws syntax exception by @bog-walk in https://github.com/JetBrains/Exposed/pull/2244
* fix: EXPOSED-558 Entity cache for upsertReturning statements results in stale return values by @rasharab in https://github.com/JetBrains/Exposed/pull/2248
* fix: EXPOSED-373 Close ResultSet before closing Statement to suppress Agroal leak warning by @ivan-gomes in https://github.com/JetBrains/Exposed/pull/2247
* fix: EXPOSED-562 Any caught exception from inner transaction triggers full rollback by @bog-walk in https://github.com/JetBrains/Exposed/pull/2251

Docs:
* docs: EXPOSED-515 How to identify composite key columns that use reference() by @bog-walk in https://github.com/JetBrains/Exposed/pull/2225

# 0.54.0

Infrastructure:
Expand Down
42 changes: 21 additions & 21 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,52 +81,52 @@ The Maven Central repository is enabled by default for Maven users.
<dependency>
<groupId>org.jetbrains.exposed</groupId>
<artifactId>exposed-core</artifactId>
<version>0.54.0</version>
<version>0.55.0</version>
</dependency>
<dependency>
<groupId>org.jetbrains.exposed</groupId>
<artifactId>exposed-crypt</artifactId>
<version>0.54.0</version>
<version>0.55.0</version>
</dependency>
<dependency>
<groupId>org.jetbrains.exposed</groupId>
<artifactId>exposed-dao</artifactId>
<version>0.54.0</version>
<version>0.55.0</version>
</dependency>
<dependency>
<groupId>org.jetbrains.exposed</groupId>
<artifactId>exposed-java-time</artifactId>
<version>0.54.0</version>
<version>0.55.0</version>
</dependency>
<dependency>
<groupId>org.jetbrains.exposed</groupId>
<artifactId>exposed-jdbc</artifactId>
<version>0.54.0</version>
<version>0.55.0</version>
</dependency>
<dependency>
<groupId>org.jetbrains.exposed</groupId>
<artifactId>exposed-jodatime</artifactId>
<version>0.54.0</version>
<version>0.55.0</version>
</dependency>
<dependency>
<groupId>org.jetbrains.exposed</groupId>
<artifactId>exposed-json</artifactId>
<version>0.54.0</version>
<version>0.55.0</version>
</dependency>
<dependency>
<groupId>org.jetbrains.exposed</groupId>
<artifactId>exposed-kotlin-datetime</artifactId>
<version>0.54.0</version>
<version>0.55.0</version>
</dependency>
<dependency>
<groupId>org.jetbrains.exposed</groupId>
<artifactId>exposed-money</artifactId>
<version>0.54.0</version>
<version>0.55.0</version>
</dependency>
<dependency>
<groupId>org.jetbrains.exposed</groupId>
<artifactId>exposed-spring-boot-starter</artifactId>
<version>0.54.0</version>
<version>0.55.0</version>
</dependency>
</dependencies>

Expand All @@ -136,20 +136,20 @@ The Maven Central repository is enabled by default for Maven users.

```groovy
dependencies {
implementation 'org.jetbrains.exposed:exposed-core:0.54.0'
implementation 'org.jetbrains.exposed:exposed-crypt:0.54.0'
implementation 'org.jetbrains.exposed:exposed-dao:0.54.0'
implementation 'org.jetbrains.exposed:exposed-jdbc:0.54.0'
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-jodatime:0.54.0'
implementation 'org.jetbrains.exposed:exposed-jodatime:0.55.0'
// or
implementation 'org.jetbrains.exposed:exposed-java-time:0.54.0'
implementation 'org.jetbrains.exposed:exposed-java-time:0.55.0'
// or
implementation 'org.jetbrains.exposed:exposed-kotlin-datetime:0.54.0'
implementation 'org.jetbrains.exposed:exposed-kotlin-datetime:0.55.0'
implementation 'org.jetbrains.exposed:exposed-json:0.54.0'
implementation 'org.jetbrains.exposed:exposed-money:0.54.0'
implementation 'org.jetbrains.exposed:exposed-spring-boot-starter:0.54.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'
}
```

Expand Down Expand Up @@ -180,7 +180,7 @@ dependencies {
and in `gradle.properties`

```
exposedVersion=0.54.0
exposedVersion=0.55.0
```

## Samples
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
[versions]
guava = "33.0.0-jre"
junit-jupiter-engine = "5.10.2"
exposed = "0.54.0"
exposed = "0.55.0"

[libraries]
guava = { module = "com.google.guava:guava", version.ref = "guava" }
Expand Down
24 changes: 12 additions & 12 deletions documentation-website/Writerside/topics/Exposed-Modules.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ Dependencies mapping listed below is similar (by functionality) to the previous
<tabs>
<tab title="Kotlin Gradle">
<code-block lang="kotlin">
val exposedVersion: String = "0.54.0"
val exposedVersion: String = "0.55.0"
dependencies {
implementation("org.jetbrains.exposed:exposed-core:$exposedVersion")
implementation("org.jetbrains.exposed:exposed-crypt:$exposedVersion")
Expand All @@ -82,59 +82,59 @@ Dependencies mapping listed below is similar (by functionality) to the previous
&lt;dependency&gt;
&lt;groupId&gt;org.jetbrains.exposed&lt;/groupId&gt;
&lt;artifactId&gt;exposed-core&lt;/artifactId&gt;
&lt;version&gt;0.54.0&lt;/version&gt;
&lt;version&gt;0.55.0&lt;/version&gt;
&lt;/dependency&gt;
&lt;dependency&gt;
&lt;groupId&gt;org.jetbrains.exposed&lt;/groupId&gt;
&lt;artifactId&gt;exposed-crypt&lt;/artifactId&gt;
&lt;version&gt;0.54.0&lt;/version&gt;
&lt;version&gt;0.55.0&lt;/version&gt;
&lt;/dependency&gt;
&lt;dependency&gt;
&lt;groupId&gt;org.jetbrains.exposed&lt;/groupId&gt;
&lt;artifactId&gt;exposed-dao&lt;/artifactId&gt;
&lt;version&gt;0.54.0&lt;/version&gt;
&lt;version&gt;0.55.0&lt;/version&gt;
&lt;/dependency&gt;
&lt;dependency&gt;
&lt;groupId&gt;org.jetbrains.exposed&lt;/groupId&gt;
&lt;artifactId&gt;exposed-java-time&lt;/artifactId&gt;
&lt;version&gt;0.54.0&lt;/version&gt;
&lt;version&gt;0.55.0&lt;/version&gt;
&lt;/dependency&gt;
&lt;dependency&gt;
&lt;groupId&gt;org.jetbrains.exposed&lt;/groupId&gt;
&lt;artifactId&gt;exposed-jdbc&lt;/artifactId&gt;
&lt;version&gt;0.54.0&lt;/version&gt;
&lt;version&gt;0.55.0&lt;/version&gt;
&lt;/dependency&gt;
&lt;dependency&gt;
&lt;groupId&gt;org.jetbrains.exposed&lt;/groupId&gt;
&lt;artifactId&gt;exposed-jodatime&lt;/artifactId&gt;
&lt;version&gt;0.54.0&lt;/version&gt;
&lt;version&gt;0.55.0&lt;/version&gt;
&lt;/dependency&gt;
&lt;dependency&gt;
&lt;groupId&gt;org.jetbrains.exposed&lt;/groupId&gt;
&lt;artifactId&gt;exposed-json&lt;/artifactId&gt;
&lt;version&gt;0.54.0&lt;/version&gt;
&lt;version&gt;0.55.0&lt;/version&gt;
&lt;/dependency&gt;
&lt;dependency&gt;
&lt;groupId&gt;org.jetbrains.exposed&lt;/groupId&gt;
&lt;artifactId&gt;exposed-kotlin-datetime&lt;/artifactId&gt;
&lt;version&gt;0.54.0&lt;/version&gt;
&lt;version&gt;0.55.0&lt;/version&gt;
&lt;/dependency&gt;
&lt;dependency&gt;
&lt;groupId&gt;org.jetbrains.exposed&lt;/groupId&gt;
&lt;artifactId&gt;exposed-money&lt;/artifactId&gt;
&lt;version&gt;0.54.0&lt;/version&gt;
&lt;version&gt;0.55.0&lt;/version&gt;
&lt;/dependency&gt;
&lt;dependency&gt;
&lt;groupId&gt;org.jetbrains.exposed&lt;/groupId&gt;
&lt;artifactId&gt;exposed-spring-boot-starter&lt;/artifactId&gt;
&lt;version&gt;0.54.0&lt;/version&gt;
&lt;version&gt;0.55.0&lt;/version&gt;
&lt;/dependency&gt;
&lt;/dependencies&gt;
</code-block>
</tab>
<tab title="Groovy Gradle">
<code-block lang="groovy">
def exposedVersion = "0.54.0"
def exposedVersion = "0.55.0"
dependencies {
implementation "org.jetbrains.exposed:exposed-core:$exposedVersion"
implementation "org.jetbrains.exposed:exposed-crypt:$exposedVersion"
Expand Down
2 changes: 1 addition & 1 deletion documentation-website/Writerside/v.list
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
<!DOCTYPE vars SYSTEM "https://helpserver.labs.jb.gg/help/schemas/mvp/vars.dtd">
<vars>
<var name="product" value="Writerside"/>
<var name="exposed_version" value="0.54.0"/>
<var name="exposed_version" value="0.55.0"/>
<var name="h2_db_version" value="2.2.224"/>
</vars>
2 changes: 1 addition & 1 deletion documentation-website/Writerside/writerside.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@
<topics dir="topics"/>
<snippets src="snippets"/>
<images dir="images" web-path="images/"/>
<instance src="hi.tree" version="0.54.0" web-path="/docs"/>
<instance src="hi.tree" version="0.55.0" web-path="/docs"/>
</ihp>
4 changes: 2 additions & 2 deletions exposed-bom/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Bill of Materials for all Exposed modules
<dependency>
<groupId>org.jetbrains.exposed</groupId>
<artifactId>exposed-bom</artifactId>
<version>0.54.0</version>
<version>0.55.0</version>
<type>pom</type>
<scope>import</scope>
</dependency>
Expand Down Expand Up @@ -39,7 +39,7 @@ repositories {
}

dependencies {
implementation(platform("org.jetbrains.exposed:exposed-bom:0.54.0"))
implementation(platform("org.jetbrains.exposed:exposed-bom:0.55.0"))
implementation("org.jetbrains.exposed", "exposed-core")
implementation("org.jetbrains.exposed", "exposed-dao")
implementation("org.jetbrains.exposed", "exposed-jdbc")
Expand Down
6 changes: 3 additions & 3 deletions exposed-spring-boot-starter/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,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.54.0</version>
<version>0.55.0</version>
</dependency>
</dependencies>
```
Expand All @@ -20,7 +20,7 @@ repositories {
mavenCentral()
}
dependencies {
implementation 'org.jetbrains.exposed:exposed-spring-boot-starter:0.54.0'
implementation 'org.jetbrains.exposed:exposed-spring-boot-starter:0.55.0'
}
```
### Gradle Kotlin DSL
Expand All @@ -36,7 +36,7 @@ dependencies {
```
In `gradle.properties`
```properties
exposedVersion=0.54.0
exposedVersion=0.55.0
```

## Setting up a database connection
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ org.gradle.configuration.cache=true
org.gradle.caching=true

group=org.jetbrains.exposed
version=0.54.0
version=0.55.0
2 changes: 1 addition & 1 deletion samples/exposed-ktor/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ ktorVersion=2.3.12
kotlinVersion=2.0.0
logbackVersion=1.4.12
kotlin.code.style=official
exposedVersion=0.54.0
exposedVersion=0.55.0
h2Version=2.1.214
2 changes: 1 addition & 1 deletion samples/exposed-migration/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
exposedVersion=0.54.0
exposedVersion=0.55.0
h2Version=2.1.214
flywayVersion=10.15.0
2 changes: 1 addition & 1 deletion samples/exposed-spring/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
exposedVersion=0.54.0
exposedVersion=0.55.0
kotlinVersion=2.0.0

0 comments on commit d343bfd

Please sign in to comment.