Skip to content

Commit

Permalink
chore: Bump Exposed version from 0.51.1 to 0.52.0
Browse files Browse the repository at this point in the history
  • Loading branch information
obabichevjb committed Jun 26, 2024
1 parent b2e4883 commit e8d32dd
Show file tree
Hide file tree
Showing 11 changed files with 83 additions and 47 deletions.
36 changes: 36 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,39 @@
# 0.52.0

Features:
* feat: EXPOSED-334 Support MERGE statement by @obabichevjb in https://github.com/JetBrains/Exposed/pull/2047
* feat: EXPOSED-368 Ordering on References by @obabichevjb in https://github.com/JetBrains/Exposed/pull/2083
* Feat: EXPOSED-396 Supports fetchBatchedResults with sorting order by @roharon in https://github.com/JetBrains/Exposed/pull/2102
* feat: Add OffsetDateTime extension functions by @joc-a in https://github.com/JetBrains/Exposed/pull/2118
* feat: EXPOSED-295 Support subqueries with preceding LATERAL by @obabichevjb in https://github.com/JetBrains/Exposed/pull/2095
* feat: EXPOSED-336 Support Where clause with batchUpsert by @bog-walk in https://github.com/JetBrains/Exposed/pull/2120
* feat: EXPOSED-416 Support adding special database-specific column definitions by @bog-walk in https://github.com/JetBrains/Exposed/pull/2125

Bug fixes:
* fix: EXPOSED-389 Coalesce operator returning nullable value by @joc-a in https://github.com/JetBrains/Exposed/pull/2107
* fix: EXPOSED-390 ASC_NULLS_LAST and DESC_NULLS_FIRST for MySQL string columns by @zly2006 in https://github.com/JetBrains/Exposed/pull/2091
* fix: EXPOSED-402 ClassCastException when eager loading with uuid().references() by @bog-walk in https://github.com/JetBrains/Exposed/pull/2112
* fix(DoubleColumnType): correctly handle precision when casting Float to DoubleColumnType for a `real` column by @jackgisel-RL in https://github.com/JetBrains/Exposed/pull/2115
* fix: EXPOSED-277 statementsRequiredToActualizeScheme does not check s… by @obabichevjb in https://github.com/JetBrains/Exposed/pull/2096
* fix: EXPOSED-411 ClassCastException when `uuid().references()` is used with `referrersOn` by @joc-a in https://github.com/JetBrains/Exposed/pull/2127
* fix: EXPOSED-412 Remove all the usage of isOldMySql function in tests by @obabichevjb in https://github.com/JetBrains/Exposed/pull/2126
* fix: EXPOSED-405 SQLite bugs: Table with custom ID behaves weirdly in DAO and batchInsert by @obabichevjb in https://github.com/JetBrains/Exposed/pull/2119
* fix: EXPOSED-393 H2 upsert with JSON column creates invalid data by @obabichevjb in https://github.com/JetBrains/Exposed/pull/2104
* fix: EXPOSED-400 ClassCastException when using `fetchBatchedResults` by @joc-a in https://github.com/JetBrains/Exposed/pull/2113
* EXPOSED-398 Gradle task testH2_v1 runs tests on version 2.2.224 by @obabichevjb in https://github.com/JetBrains/Exposed/pull/2110
* test: EXPOSED-191 Flaky Oracle test on TC build by @obabichevjb in https://github.com/JetBrains/Exposed/pull/2098

Infrastructure:
* Spring Boot 3.3.1
* io.github.hakky54:logcaptor 2.9.3
* Spring Framework 6.1.10
* org.junit:junit-bom 5.10.2
* chore: Fix TC Docker `version` is obsolete by @bog-walk in https://github.com/JetBrains/Exposed/pull/2111
* test: EXPOSED-249 Add MySQL8 to tests for AllAnyFromBaseOp feature by @bog-walk in https://github.com/JetBrains/Exposed/pull/2123
* chore: Add migration module and move `generateMigrationScript` function to it by @joc-a in https://github.com/JetBrains/Exposed/pull/2128
* Add workflow to build documentation website by @e5l in https://github.com/JetBrains/Exposed/pull/2134


# 0.51.1
Bug fixes:
* fix: EXPOSED-389 Coalesce operator returning nullable value by @joc-a in https://github.com/JetBrains/Exposed/pull/2107
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.51.1</version>
<version>0.52.0</version>
</dependency>
<dependency>
<groupId>org.jetbrains.exposed</groupId>
<artifactId>exposed-crypt</artifactId>
<version>0.51.1</version>
<version>0.52.0</version>
</dependency>
<dependency>
<groupId>org.jetbrains.exposed</groupId>
<artifactId>exposed-dao</artifactId>
<version>0.51.1</version>
<version>0.52.0</version>
</dependency>
<dependency>
<groupId>org.jetbrains.exposed</groupId>
<artifactId>exposed-java-time</artifactId>
<version>0.51.1</version>
<version>0.52.0</version>
</dependency>
<dependency>
<groupId>org.jetbrains.exposed</groupId>
<artifactId>exposed-jdbc</artifactId>
<version>0.51.1</version>
<version>0.52.0</version>
</dependency>
<dependency>
<groupId>org.jetbrains.exposed</groupId>
<artifactId>exposed-jodatime</artifactId>
<version>0.51.1</version>
<version>0.52.0</version>
</dependency>
<dependency>
<groupId>org.jetbrains.exposed</groupId>
<artifactId>exposed-json</artifactId>
<version>0.51.1</version>
<version>0.52.0</version>
</dependency>
<dependency>
<groupId>org.jetbrains.exposed</groupId>
<artifactId>exposed-kotlin-datetime</artifactId>
<version>0.51.1</version>
<version>0.52.0</version>
</dependency>
<dependency>
<groupId>org.jetbrains.exposed</groupId>
<artifactId>exposed-money</artifactId>
<version>0.51.1</version>
<version>0.52.0</version>
</dependency>
<dependency>
<groupId>org.jetbrains.exposed</groupId>
<artifactId>exposed-spring-boot-starter</artifactId>
<version>0.51.1</version>
<version>0.52.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.51.1'
implementation 'org.jetbrains.exposed:exposed-crypt:0.51.1'
implementation 'org.jetbrains.exposed:exposed-dao:0.51.1'
implementation 'org.jetbrains.exposed:exposed-jdbc:0.51.1'
implementation 'org.jetbrains.exposed:exposed-core:0.52.0'
implementation 'org.jetbrains.exposed:exposed-crypt:0.52.0'
implementation 'org.jetbrains.exposed:exposed-dao:0.52.0'
implementation 'org.jetbrains.exposed:exposed-jdbc:0.52.0'
implementation 'org.jetbrains.exposed:exposed-jodatime:0.51.1'
implementation 'org.jetbrains.exposed:exposed-jodatime:0.52.0'
// or
implementation 'org.jetbrains.exposed:exposed-java-time:0.51.1'
implementation 'org.jetbrains.exposed:exposed-java-time:0.52.0'
// or
implementation 'org.jetbrains.exposed:exposed-kotlin-datetime:0.51.1'
implementation 'org.jetbrains.exposed:exposed-kotlin-datetime:0.52.0'
implementation 'org.jetbrains.exposed:exposed-json:0.51.1'
implementation 'org.jetbrains.exposed:exposed-money:0.51.1'
implementation 'org.jetbrains.exposed:exposed-spring-boot-starter:0.51.1'
implementation 'org.jetbrains.exposed:exposed-json:0.52.0'
implementation 'org.jetbrains.exposed:exposed-money:0.52.0'
implementation 'org.jetbrains.exposed:exposed-spring-boot-starter:0.52.0'
}
```

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

```
exposedVersion=0.51.1
exposedVersion=0.52.0
```

## Samples
Expand Down
2 changes: 1 addition & 1 deletion docs/current.help.version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.51.1
0.52.0
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 @@ -53,7 +53,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.51.1"
val exposedVersion: String = "0.52.0"
dependencies {
implementation("org.jetbrains.exposed:exposed-core:$exposedVersion")
implementation("org.jetbrains.exposed:exposed-crypt:$exposedVersion")
Expand All @@ -80,59 +80,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.51.1&lt;/version&gt;
&lt;version&gt;0.52.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.51.1&lt;/version&gt;
&lt;version&gt;0.52.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.51.1&lt;/version&gt;
&lt;version&gt;0.52.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.51.1&lt;/version&gt;
&lt;version&gt;0.52.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.51.1&lt;/version&gt;
&lt;version&gt;0.52.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.51.1&lt;/version&gt;
&lt;version&gt;0.52.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.51.1&lt;/version&gt;
&lt;version&gt;0.52.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.51.1&lt;/version&gt;
&lt;version&gt;0.52.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.51.1&lt;/version&gt;
&lt;version&gt;0.52.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.51.1&lt;/version&gt;
&lt;version&gt;0.52.0&lt;/version&gt;
&lt;/dependency&gt;
&lt;/dependencies&gt;
</code-block>
</tab>
<tab title="Groovy Gradle">
<code-block lang="groovy">
def exposedVersion = "0.51.1"
def exposedVersion = "0.52.0"
dependencies {
implementation "org.jetbrains.exposed:exposed-core:$exposedVersion"
implementation "org.jetbrains.exposed:exposed-crypt:$exposedVersion"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Before starting using Exposed, you need to add the dependencies to your project.
<tabs>
<tab title="Gradle">
<code-block lang="kotlin">
val exposed_version = "0.51.1"
val exposed_version = "0.52.0"
dependencies {
implementation("org.jetbrains.exposed", "exposed-core", exposed_version)
implementation("org.jetbrains.exposed", "exposed-dao", exposed_version)
Expand All @@ -22,17 +22,17 @@ dependencies {
<dependency>
<groupId>org.jetbrains.exposed</groupId>
<artifactId>exposed-core</artifactId>
<version>0.51.1</version>
<version>0.52.0</version>
</dependency>
<dependency>
<groupId>org.jetbrains.exposed</groupId>
<artifactId>exposed-dao</artifactId>
<version>0.51.1</version>
<version>0.52.0</version>
</dependency>
<dependency>
<groupId>org.jetbrains.exposed</groupId>
<artifactId>exposed-jdbc</artifactId>
<version>0.51.1</version>
<version>0.52.0</version>
</dependency>
</dependencies>
]]>
Expand Down
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"/>
<images dir="images"/>
<images dir="images" web-path="images/"/>
<instance src="hi.tree" version="0.51.1" web-path="/docs"/>
<instance src="hi.tree" version="0.52.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.51.1</version>
<version>0.52.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.51.1"))
implementation(platform("org.jetbrains.exposed:exposed-bom:0.52.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.51.1</version>
<version>0.52.0</version>
</dependency>
</dependencies>
```
Expand All @@ -20,7 +20,7 @@ repositories {
mavenCentral()
}
dependencies {
implementation 'org.jetbrains.exposed:exposed-spring-boot-starter:0.51.1'
implementation 'org.jetbrains.exposed:exposed-spring-boot-starter:0.52.0'
}
```
### Gradle Kotlin DSL
Expand All @@ -36,7 +36,7 @@ dependencies {
```
In `gradle.properties`
```properties
exposedVersion=0.51.1
exposedVersion=0.52.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.51.1
version=0.52.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.4
kotlinVersion=1.8.10
logbackVersion=1.2.11
kotlin.code.style=official
exposedVersion=0.51.1
exposedVersion=0.52.0
h2Version=2.1.214
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.51.1
exposedVersion=0.52.0
kotlinVersion=1.8.21

0 comments on commit e8d32dd

Please sign in to comment.