Skip to content

Commit

Permalink
chore: Bump Exposed version from 0.53.0 to 0.54.0
Browse files Browse the repository at this point in the history
  • Loading branch information
joc-a committed Aug 30, 2024
1 parent 886f071 commit 65babec
Show file tree
Hide file tree
Showing 15 changed files with 95 additions and 47 deletions.
47 changes: 47 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,50 @@
# 0.54.0

Infrastructure:
* Kotlin 2.0.0
* Kotlinx Serialization Json 1.7.1
* Spring Framework 6.1.12
* junit-bom 5.11.0
* SQLite driver 3.46.1.0
* Kotlinx Datetime JVM 0.6.1
* Spring Boot 3.3.3
* PostgreSQL driver 42.7.4

Breaking changes:
* feat!: EXPOSED-476 Update Kotlin to 2.0.0 by @bog-walk in https://github.com/JetBrains/Exposed/pull/2188
* refactor!: Move `statementsRequiredForDatabaseMigration` function from `SchemaUtils` to `MigrationUtils` by @joc-a in https://github.com/JetBrains/Exposed/pull/2195
* feat!: EXPOSED-436 Allow using insert values on update with upsert() by @bog-walk in https://github.com/JetBrains/Exposed/pull/2172

Deprecations:
* deprecate: Raise deprecation levels of API elements by @bog-walk in https://github.com/JetBrains/Exposed/pull/2208
* deprecate: Raise deprecation levels of API property setters by @bog-walk in https://github.com/JetBrains/Exposed/pull/2209

Features:
* feat: Add `isNullOrEmpty` function by @joc-a in https://github.com/JetBrains/Exposed/pull/2184
* feat: EXPOSED-487 Add ability to pass custom sequence to auto-increment column by @joc-a in https://github.com/JetBrains/Exposed/pull/2197
* feat: EXPOSED-486 Support REPLACE INTO ... SELECT clause by @bog-walk in https://github.com/JetBrains/Exposed/pull/2199

Bug fixes:
* fix: EXPOSED-439 Outer transaction commits rows from failed inner transaction by @bog-walk in https://github.com/JetBrains/Exposed/pull/2186
* fix: EXPOSED-464 `CurrentTimestampWithTimeZone` expression does not work as a default by @joc-a in https://github.com/JetBrains/Exposed/pull/2180
* fix: EXPOSED-474 Unexpected value of type when using a ColumnTransfor… by @obabichevjb in https://github.com/JetBrains/Exposed/pull/2191
* fix: EXPOSED-472 Alias IdTable fails with isNull and eq ops by @bog-walk in https://github.com/JetBrains/Exposed/pull/2189
* fix: EXPOSED-467 Decimal type precision and scale not checked by SchemaUtils by @bog-walk in https://github.com/JetBrains/Exposed/pull/2192
* EXPOSED-203 Lightweight DAO insert with encryptedVarchar attemtps to … by @obabichevjb in https://github.com/JetBrains/Exposed/pull/2194
* fix: EXPOSED-481 Bug with batch-flushing of CompositeID entities by @bystam in https://github.com/JetBrains/Exposed/pull/2196
* fix: EXPOSED-492 Eq/Neq op with partial CompositeID unwrapped value fails by @bog-walk in https://github.com/JetBrains/Exposed/pull/2205
* fix: EXPOSED-485 ClassCastException when eager loading referrersOn with uuid().references() by @bog-walk in https://github.com/JetBrains/Exposed/pull/2198
* fix: EXPOSED-493 Update with join query throws if WHERE clause present by @bog-walk in https://github.com/JetBrains/Exposed/pull/2207
* fix: EXPOSED-501 Column.transform() ignores custom setParameter() logic by @bog-walk in https://github.com/JetBrains/Exposed/pull/2214

Docs:
* Add links in Learn more section on documentation home page by @Selemba1000 in https://github.com/JetBrains/Exposed/pull/2187
* chore: fix some comments by @riskrose in https://github.com/JetBrains/Exposed/pull/2185
* docs: EXPOSED-489 Replace the header logo with a white version by @vnikolova in https://github.com/JetBrains/Exposed/pull/2202
* docs: Add navigation structure and remove redundant topics by @vnikolova in https://github.com/JetBrains/Exposed/pull/2203
* docs: EXPOSED-499 Add examples of custom data types by @bog-walk in https://github.com/JetBrains/Exposed/pull/2213
* docs: Split up the "Deep dive into DSL" topic into several new topics by @vnikolova in https://github.com/JetBrains/Exposed/pull/2217

# 0.53.0
Infrastructure:
* SQLite driver 3.46.0.1
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.53.0</version>
<version>0.54.0</version>
</dependency>
<dependency>
<groupId>org.jetbrains.exposed</groupId>
<artifactId>exposed-crypt</artifactId>
<version>0.53.0</version>
<version>0.54.0</version>
</dependency>
<dependency>
<groupId>org.jetbrains.exposed</groupId>
<artifactId>exposed-dao</artifactId>
<version>0.53.0</version>
<version>0.54.0</version>
</dependency>
<dependency>
<groupId>org.jetbrains.exposed</groupId>
<artifactId>exposed-java-time</artifactId>
<version>0.53.0</version>
<version>0.54.0</version>
</dependency>
<dependency>
<groupId>org.jetbrains.exposed</groupId>
<artifactId>exposed-jdbc</artifactId>
<version>0.53.0</version>
<version>0.54.0</version>
</dependency>
<dependency>
<groupId>org.jetbrains.exposed</groupId>
<artifactId>exposed-jodatime</artifactId>
<version>0.53.0</version>
<version>0.54.0</version>
</dependency>
<dependency>
<groupId>org.jetbrains.exposed</groupId>
<artifactId>exposed-json</artifactId>
<version>0.53.0</version>
<version>0.54.0</version>
</dependency>
<dependency>
<groupId>org.jetbrains.exposed</groupId>
<artifactId>exposed-kotlin-datetime</artifactId>
<version>0.53.0</version>
<version>0.54.0</version>
</dependency>
<dependency>
<groupId>org.jetbrains.exposed</groupId>
<artifactId>exposed-money</artifactId>
<version>0.53.0</version>
<version>0.54.0</version>
</dependency>
<dependency>
<groupId>org.jetbrains.exposed</groupId>
<artifactId>exposed-spring-boot-starter</artifactId>
<version>0.53.0</version>
<version>0.54.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.53.0'
implementation 'org.jetbrains.exposed:exposed-crypt:0.53.0'
implementation 'org.jetbrains.exposed:exposed-dao:0.53.0'
implementation 'org.jetbrains.exposed:exposed-jdbc:0.53.0'
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-jodatime:0.53.0'
implementation 'org.jetbrains.exposed:exposed-jodatime:0.54.0'
// or
implementation 'org.jetbrains.exposed:exposed-java-time:0.53.0'
implementation 'org.jetbrains.exposed:exposed-java-time:0.54.0'
// or
implementation 'org.jetbrains.exposed:exposed-kotlin-datetime:0.53.0'
implementation 'org.jetbrains.exposed:exposed-kotlin-datetime:0.54.0'
implementation 'org.jetbrains.exposed:exposed-json:0.53.0'
implementation 'org.jetbrains.exposed:exposed-money:0.53.0'
implementation 'org.jetbrains.exposed:exposed-spring-boot-starter:0.53.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'
}
```

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

```
exposedVersion=0.53.0
exposedVersion=0.54.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.53.0
0.54.0
2 changes: 1 addition & 1 deletion documentation-website/Writerside/cfg/buildprofiles.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
</variables>
<build-profile instance="hi">
<variables>
<noindex-content>true</noindex-content>
<header-logo>exposed-logo-white.svg</header-logo>
<noindex-content>true</noindex-content>
</variables>
</build-profile>

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.53.0"
exposed = "0.54.0"

[libraries]
guava = { module = "com.google.guava:guava", version.ref = "guava" }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ TestTable.upsert(
it[count] = 3
}
```
* The function `statementsRequiredForDatabaseMigration` has been moved from `SchemaUtils` to `MigrationUtils` in the `exposed-migration` module.

## 0.51.0

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.53.0"
val exposedVersion: String = "0.54.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.53.0&lt;/version&gt;
&lt;version&gt;0.54.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.53.0&lt;/version&gt;
&lt;version&gt;0.54.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.53.0&lt;/version&gt;
&lt;version&gt;0.54.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.53.0&lt;/version&gt;
&lt;version&gt;0.54.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.53.0&lt;/version&gt;
&lt;version&gt;0.54.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.53.0&lt;/version&gt;
&lt;version&gt;0.54.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.53.0&lt;/version&gt;
&lt;version&gt;0.54.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.53.0&lt;/version&gt;
&lt;version&gt;0.54.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.53.0&lt;/version&gt;
&lt;version&gt;0.54.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.53.0&lt;/version&gt;
&lt;version&gt;0.54.0&lt;/version&gt;
&lt;/dependency&gt;
&lt;/dependencies&gt;
</code-block>
</tab>
<tab title="Groovy Gradle">
<code-block lang="groovy">
def exposedVersion = "0.53.0"
def exposedVersion = "0.54.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.53.0"/>
<var name="exposed_version" value="0.54.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.53.0" web-path="/docs"/>
<instance src="hi.tree" version="0.54.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.53.0</version>
<version>0.54.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.53.0"))
implementation(platform("org.jetbrains.exposed:exposed-bom:0.54.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.53.0</version>
<version>0.54.0</version>
</dependency>
</dependencies>
```
Expand All @@ -20,7 +20,7 @@ repositories {
mavenCentral()
}
dependencies {
implementation 'org.jetbrains.exposed:exposed-spring-boot-starter:0.53.0'
implementation 'org.jetbrains.exposed:exposed-spring-boot-starter:0.54.0'
}
```
### Gradle Kotlin DSL
Expand All @@ -36,7 +36,7 @@ dependencies {
```
In `gradle.properties`
```properties
exposedVersion=0.53.0
exposedVersion=0.54.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.53.0
version=0.54.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.53.0
exposedVersion=0.54.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.53.0
exposedVersion=0.54.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.53.0
exposedVersion=0.54.0
kotlinVersion=2.0.0

0 comments on commit 65babec

Please sign in to comment.