Skip to content

Commit

Permalink
chore: Bump Exposed version from 0.55.0 to 0.56.0 (#2289)
Browse files Browse the repository at this point in the history
* chore: Bump Exposed version from 0.55.0 to 0.56.0
  • Loading branch information
bog-walk authored Oct 30, 2024
1 parent a2f4fba commit d3718cc
Show file tree
Hide file tree
Showing 14 changed files with 84 additions and 47 deletions.
37 changes: 37 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,40 @@
# 0.56.0
Infrastructure:
* junit-bom 5.11.3
* SQLite driver 3.47.0.0
* log4j2 2.24.1
* Oracle driver 19.24.0.0
* Spring Framework 6.1.14
* Spring Boot 3.3.5

Breaking changes:
* fix!: EXPOSED-569 groupConcat uses wrong SQLite syntax & ignores DISTINCT in Oracle & SQL Server by @bog-walk in https://github.com/JetBrains/Exposed/pull/2257
* chore!: Change Oracle and H2 Oracle uintegerType and uintegerAutoincType from NUMBER(13) to NUMBER(10) by @joc-a in https://github.com/JetBrains/Exposed/pull/2268
* chore!: Change Oracle and H2 Oracle ushortType from NUMBER(6) to NUMBER(5) by @joc-a in https://github.com/JetBrains/Exposed/pull/2268
* chore!: Change Oracle and H2 Oracle ubyteType from NUMBER(4) to NUMBER(3) by @joc-a in https://github.com/JetBrains/Exposed/pull/2268
* chore!: Change Oracle and H2 Oracle integerType and integerAutoincType from NUMBER(12) to NUMBER(10) and INTEGER respectively and add CHECK constraint in SQLite by @joc-a in https://github.com/JetBrains/Exposed/pull/2270
* feat!: EXPOSED-359 Add support for multidimensional arrays by @obabichevjb in https://github.com/JetBrains/Exposed/pull/2250
* feat!: EXPOSED-577 Allow Entity and EntityID parameters to not be Comparable by @bog-walk in https://github.com/JetBrains/Exposed/pull/2277
* More details at [Breaking changes](https://jetbrains.github.io/Exposed/breaking-changes.html#0-56-0)

Features:
* feat: Support partially filled composite IDs by @sickfar in https://github.com/JetBrains/Exposed/pull/2282
* feat: EXPOSED-494 Inline DSL statement and query functions by @bog-walk in https://github.com/JetBrains/Exposed/pull/2272
* feat: EXPOSED-560 Support DISTINCT ON from Postgres by @obabichevjb in https://github.com/JetBrains/Exposed/pull/2275

Bug fixes:
* fix: EXPOSED-565 Subquery alias with id fails to use correct alias with eq by @bog-walk in https://github.com/JetBrains/Exposed/pull/2258
* fix: EXPOSED-278 Invalid Oracle statement when adding a new column that is used in a primary key by @joc-a in https://github.com/JetBrains/Exposed/pull/2259
* fix: EXPOSED-576 DAO Entity.new() fails if there is column with default value and transformation by @obabichevjb in https://github.com/JetBrains/Exposed/pull/2263
* fix: EXPOSED-580 MigrationsUtils.statementsRequiredForDatabaseMigration throws an error when a table is passed that does not already exist in the database by @joc-a in https://github.com/JetBrains/Exposed/pull/2271
* fix: EXPOSED-588 Foreign key error when table has dot in its name by @joc-a in https://github.com/JetBrains/Exposed/pull/2276
* fix: EXPOSED-602 Column name that includes table name is aliased with upserts by @bog-walk in https://github.com/JetBrains/Exposed/pull/2287

Docs:
* docs: EXPOSED-532 Split the DAO topic into subtopics by @vnikolova in https://github.com/JetBrains/Exposed/pull/2254
* docs: Extend entities definition docs and reference code from snippets by @vnikolova in https://github.com/JetBrains/Exposed/pull/2264
* docs: EXPOSED-572 Add code sample for 'auto-fill columns on entity change' by @bog-walk in https://github.com/JetBrains/Exposed/pull/2278

# 0.55.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.55.0</version>
<version>0.56.0</version>
</dependency>
<dependency>
<groupId>org.jetbrains.exposed</groupId>
<artifactId>exposed-crypt</artifactId>
<version>0.55.0</version>
<version>0.56.0</version>
</dependency>
<dependency>
<groupId>org.jetbrains.exposed</groupId>
<artifactId>exposed-dao</artifactId>
<version>0.55.0</version>
<version>0.56.0</version>
</dependency>
<dependency>
<groupId>org.jetbrains.exposed</groupId>
<artifactId>exposed-java-time</artifactId>
<version>0.55.0</version>
<version>0.56.0</version>
</dependency>
<dependency>
<groupId>org.jetbrains.exposed</groupId>
<artifactId>exposed-jdbc</artifactId>
<version>0.55.0</version>
<version>0.56.0</version>
</dependency>
<dependency>
<groupId>org.jetbrains.exposed</groupId>
<artifactId>exposed-jodatime</artifactId>
<version>0.55.0</version>
<version>0.56.0</version>
</dependency>
<dependency>
<groupId>org.jetbrains.exposed</groupId>
<artifactId>exposed-json</artifactId>
<version>0.55.0</version>
<version>0.56.0</version>
</dependency>
<dependency>
<groupId>org.jetbrains.exposed</groupId>
<artifactId>exposed-kotlin-datetime</artifactId>
<version>0.55.0</version>
<version>0.56.0</version>
</dependency>
<dependency>
<groupId>org.jetbrains.exposed</groupId>
<artifactId>exposed-money</artifactId>
<version>0.55.0</version>
<version>0.56.0</version>
</dependency>
<dependency>
<groupId>org.jetbrains.exposed</groupId>
<artifactId>exposed-spring-boot-starter</artifactId>
<version>0.55.0</version>
<version>0.56.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.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-core:0.56.0'
implementation 'org.jetbrains.exposed:exposed-crypt:0.56.0'
implementation 'org.jetbrains.exposed:exposed-dao:0.56.0'
implementation 'org.jetbrains.exposed:exposed-jdbc:0.56.0'
implementation 'org.jetbrains.exposed:exposed-jodatime:0.55.0'
implementation 'org.jetbrains.exposed:exposed-jodatime:0.56.0'
// or
implementation 'org.jetbrains.exposed:exposed-java-time:0.55.0'
implementation 'org.jetbrains.exposed:exposed-java-time:0.56.0'
// or
implementation 'org.jetbrains.exposed:exposed-kotlin-datetime:0.55.0'
implementation 'org.jetbrains.exposed:exposed-kotlin-datetime:0.56.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'
implementation 'org.jetbrains.exposed:exposed-json:0.56.0'
implementation 'org.jetbrains.exposed:exposed-money:0.56.0'
implementation 'org.jetbrains.exposed:exposed-spring-boot-starter:0.56.0'
}
```

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

```
exposedVersion=0.55.0
exposedVersion=0.56.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.55.0
0.56.0
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.55.0"
exposed = "0.56.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 @@ -4,7 +4,7 @@
[versions]
guava = "33.0.0-jre"
junit-jupiter-engine = "5.10.2"
exposed = "0.55.0"
exposed = "0.56.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.55.0"
val exposedVersion: String = "0.56.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.55.0&lt;/version&gt;
&lt;version&gt;0.56.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.55.0&lt;/version&gt;
&lt;version&gt;0.56.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.55.0&lt;/version&gt;
&lt;version&gt;0.56.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.55.0&lt;/version&gt;
&lt;version&gt;0.56.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.55.0&lt;/version&gt;
&lt;version&gt;0.56.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.55.0&lt;/version&gt;
&lt;version&gt;0.56.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.55.0&lt;/version&gt;
&lt;version&gt;0.56.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.55.0&lt;/version&gt;
&lt;version&gt;0.56.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.55.0&lt;/version&gt;
&lt;version&gt;0.56.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.55.0&lt;/version&gt;
&lt;version&gt;0.56.0&lt;/version&gt;
&lt;/dependency&gt;
&lt;/dependencies&gt;
</code-block>
</tab>
<tab title="Groovy Gradle">
<code-block lang="groovy">
def exposedVersion = "0.55.0"
def exposedVersion = "0.56.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.55.0"/>
<var name="exposed_version" value="0.56.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.55.0" web-path="/docs"/>
<instance src="hi.tree" version="0.56.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.55.0</version>
<version>0.56.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.55.0"))
implementation(platform("org.jetbrains.exposed:exposed-bom:0.56.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.55.0</version>
<version>0.56.0</version>
</dependency>
</dependencies>
```
Expand All @@ -20,7 +20,7 @@ repositories {
mavenCentral()
}
dependencies {
implementation 'org.jetbrains.exposed:exposed-spring-boot-starter:0.55.0'
implementation 'org.jetbrains.exposed:exposed-spring-boot-starter:0.56.0'
}
```
### Gradle Kotlin DSL
Expand All @@ -36,7 +36,7 @@ dependencies {
```
In `gradle.properties`
```properties
exposedVersion=0.55.0
exposedVersion=0.56.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.55.0
version=0.56.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.55.0
exposedVersion=0.56.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.55.0
exposedVersion=0.56.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.55.0
exposedVersion=0.56.0
kotlinVersion=2.0.0

0 comments on commit d3718cc

Please sign in to comment.