From 7c88023fafec4e26b7888065fd436e56ad9e5b73 Mon Sep 17 00:00:00 2001
From: Chantal Loncle <82039410+bog-walk@users.noreply.github.com>
Date: Tue, 27 Feb 2024 09:36:43 -0500
Subject: [PATCH] chore: Bump Exposed version from 0.47.0 to 0.48.0
---
README.md | 42 ++++++++--------
docs/BREAKING_CHANGES.md | 7 ++-
docs/ChangeLog.md | 50 +++++++++++++++++++
.../Writerside/topics/Getting-Started.md | 8 +--
.../topics/Modules-Documentation.md | 24 ++++-----
exposed-bom/README.md | 4 +-
exposed-spring-boot-starter/README.md | 6 +--
gradle.properties | 2 +-
samples/exposed-ktor/gradle.properties | 2 +-
samples/exposed-spring/gradle.properties | 2 +-
10 files changed, 101 insertions(+), 46 deletions(-)
diff --git a/README.md b/README.md
index 9ea99e2a57..4bdfc46816 100644
--- a/README.md
+++ b/README.md
@@ -81,52 +81,52 @@ repositories {
org.jetbrains.exposed
exposed-core
- 0.47.0
+ 0.48.0
org.jetbrains.exposed
exposed-crypt
- 0.47.0
+ 0.48.0
org.jetbrains.exposed
exposed-dao
- 0.47.0
+ 0.48.0
org.jetbrains.exposed
exposed-java-time
- 0.47.0
+ 0.48.0
org.jetbrains.exposed
exposed-jdbc
- 0.47.0
+ 0.48.0
org.jetbrains.exposed
exposed-jodatime
- 0.47.0
+ 0.48.0
org.jetbrains.exposed
exposed-json
- 0.47.0
+ 0.48.0
org.jetbrains.exposed
exposed-kotlin-datetime
- 0.47.0
+ 0.48.0
org.jetbrains.exposed
exposed-money
- 0.47.0
+ 0.48.0
org.jetbrains.exposed
exposed-spring-boot-starter
- 0.47.0
+ 0.48.0
@@ -136,20 +136,20 @@ repositories {
```groovy
dependencies {
- implementation 'org.jetbrains.exposed:exposed-core:0.47.0'
- implementation 'org.jetbrains.exposed:exposed-crypt:0.47.0'
- implementation 'org.jetbrains.exposed:exposed-dao:0.47.0'
- implementation 'org.jetbrains.exposed:exposed-jdbc:0.47.0'
+ implementation 'org.jetbrains.exposed:exposed-core:0.48.0'
+ implementation 'org.jetbrains.exposed:exposed-crypt:0.48.0'
+ implementation 'org.jetbrains.exposed:exposed-dao:0.48.0'
+ implementation 'org.jetbrains.exposed:exposed-jdbc:0.48.0'
- implementation 'org.jetbrains.exposed:exposed-jodatime:0.47.0'
+ implementation 'org.jetbrains.exposed:exposed-jodatime:0.48.0'
// or
- implementation 'org.jetbrains.exposed:exposed-java-time:0.47.0'
+ implementation 'org.jetbrains.exposed:exposed-java-time:0.48.0'
// or
- implementation 'org.jetbrains.exposed:exposed-kotlin-datetime:0.47.0'
+ implementation 'org.jetbrains.exposed:exposed-kotlin-datetime:0.48.0'
- implementation 'org.jetbrains.exposed:exposed-json:0.47.0'
- implementation 'org.jetbrains.exposed:exposed-money:0.47.0'
- implementation 'org.jetbrains.exposed:exposed-spring-boot-starter:0.47.0'
+ implementation 'org.jetbrains.exposed:exposed-json:0.48.0'
+ implementation 'org.jetbrains.exposed:exposed-money:0.48.0'
+ implementation 'org.jetbrains.exposed:exposed-spring-boot-starter:0.48.0'
}
```
@@ -180,7 +180,7 @@ dependencies {
and in `gradle.properties`
```
-exposedVersion=0.47.0
+exposedVersion=0.48.0
```
## Samples
diff --git a/docs/BREAKING_CHANGES.md b/docs/BREAKING_CHANGES.md
index f803608193..35ea31001d 100644
--- a/docs/BREAKING_CHANGES.md
+++ b/docs/BREAKING_CHANGES.md
@@ -1,6 +1,6 @@
# Breaking Changes
-# 0.48.0
+## 0.48.0
* In `nonNullValueToString` for `KotlinInstantColumnType` and `JavaDateColumnType`, the formatted String for MySQL did not match the format received from the metadata
when `isFractionDateTimeSupported` is true, so a new formatter specific to that is now used.
@@ -11,6 +11,11 @@
seconds.
* In `nonNullValueToString` for `DateColumnType` and `DateTimeWithTimeZoneColumnType`, the formatters used are changed to reflect the fact that Joda-Time stores
date/time values only down to the millisecond (up to SSS and not SSSSSS).
+* Functions `anyFrom(array)` and `allFrom(array)` now use `ArrayColumnType` to process the provided array argument when query building.
+ `ArrayColumnType` requires a base column type to process contents correctly and Exposed attempts to resolve the best match internally based on the array content type.
+ A specific column type argument should be provided to the function parameter `delegateType` if the content requires either an unsupported or custom column type, or
+ a column type not defined in the `exposed-core` module.
+* `exposed-crypt` module now uses Spring Security Crypto 6.+, which requires Java 17 as a minimum version.
## 0.47.0
diff --git a/docs/ChangeLog.md b/docs/ChangeLog.md
index b329ad57e9..d542efd0c8 100644
--- a/docs/ChangeLog.md
+++ b/docs/ChangeLog.md
@@ -1,3 +1,53 @@
+# 0.48.0
+Infrastructure:
+* PostgreSQL driver 42.7.2
+* Joda Time 2.12.7
+* Kotlin Coroutines 1.8.0
+* log4j2 2.23.0
+* Kotlinx Serialization Json 1.6.3
+* Spring Framework 6.1.4
+* Spring Security Crypto 6.2.1
+
+Breaking changes:
+* `nonNullValueToString()` in some date/time column types now uses more appropriate string formatters.
+* `anyFrom(array)` and `allFrom(array)` may require an additional argument if a matching column type cannot be resolved for the array contents.
+* `exposed-crypt` module now uses Spring Security Crypto 6.+, which requires Java 17 as a minimum version.
+* More details at [Breaking changes](BREAKING_CHANGES.md#0480)
+
+Features:
+* feat: EXPOSED-248 Support array column type by @bog-walk in https://github.com/JetBrains/Exposed/pull/1986
+* feat: EXPOSED-290 Support ANY and ALL operators using array column expressions by @bog-walk in https://github.com/JetBrains/Exposed/pull/1988
+* EXPOSED-121, allowing option for "real" blobs in postgres by @elektro-wolle in https://github.com/JetBrains/Exposed/pull/1822
+* feat: EXPOSED-258 Enhance upsert to allow exclusion of columns set on conflict by @bog-walk in https://github.com/JetBrains/Exposed/pull/2006
+
+Bug fixes:
+* fix: EXPOSED-272 [MySQL, Oracle] Unsupported type BIGINT UNSIGNED for auto-increment by @bog-walk in https://github.com/JetBrains/Exposed/pull/1982
+* fix: EXPOSED-266 Between() accepts arguments of different type than column type by @bog-walk in https://github.com/JetBrains/Exposed/pull/1983
+* fix: EXPOSED-280 Comparison operators show incorrect compiler warning with datetime columns by @bog-walk in https://github.com/JetBrains/Exposed/pull/1984
+* fix: EXPOSED-287 Wrong parenthesis with advanced use of isDistinctFrom by @bog-walk in https://github.com/JetBrains/Exposed/pull/1990
+* fix: EXPOSED-282 Timestamp with timezone column default falsely triggers ALTER statement by @joc-a in https://github.com/JetBrains/Exposed/pull/1981
+* fix!: EXPOSED-282 Timestamp column default falsely triggers ALTER statement by @joc-a in https://github.com/JetBrains/Exposed/pull/1981
+* fix!: EXPOSED-284 Datetime column default falsely triggers ALTER statement by @joc-a in https://github.com/JetBrains/Exposed/pull/1981
+* fix: EXPOSED-285 Time column defaults falsely trigger ALTER statements by @joc-a in https://github.com/JetBrains/Exposed/pull/1981
+* fix: EXPOSED-256 Date column defaults falsely trigger ALTER statements by @joc-a in https://github.com/JetBrains/Exposed/pull/1981
+* fix: EXPOSED-292 Explicit nulls in insert with databaseGenerated() by @bog-walk in https://github.com/JetBrains/Exposed/pull/1993
+* fix!: Use correct formatter for MySQL when the version does not support fractional seconds by @joc-a in https://github.com/JetBrains/Exposed/pull/1997
+* fix!: Change formatters in DateColumnType to reflect the fact that Joda-Time stores date/time values only down to the millisecond by @joc-a in https://github.com/JetBrains/Exposed/pull/1997
+* fix!: EXPOSED-288 Extend ANY and ALL operators to use ArrayColumnType by @bog-walk in https://github.com/JetBrains/Exposed/pull/1992
+* fix: Add ArrayColumnType default override for datetime module types by @bog-walk in https://github.com/JetBrains/Exposed/pull/1995
+* fix: EXPOSED-299 [H2 modes] SchemaUtils drops and adds identical composite foreign key by @bog-walk in https://github.com/JetBrains/Exposed/pull/2005
+* fix: EXPOSED-301 Update with join throws if additionalConstraint provided by @bog-walk in https://github.com/JetBrains/Exposed/pull/2007
+* fix: EXPOSED-302 Count with alias fails if table name includes schema by @bog-walk in https://github.com/JetBrains/Exposed/pull/2008
+* fix: EXPOSED-293 Logger prints plaintext value of encryptedVarchar by @bog-walk in https://github.com/JetBrains/Exposed/pull/2009
+
+* Build:
+* build!: EXPOSED-234 Set exposed-crypt to jdk 17 & bump spring-security-crypto to 6.+ by @bog-walk in https://github.com/JetBrains/Exposed/pull/2001
+
+Docs:
+* docs: Add missing KDocs for EntityID and Entity subclasses API by @bog-walk in https://github.com/JetBrains/Exposed/pull/1991
+* docs: Add details about ArrayColumnType and ANY/ALL operators by @bog-walk in https://github.com/JetBrains/Exposed/pull/2000
+* docs: Fix foreign key KDocs that swap parent and child references by @bog-walk in https://github.com/JetBrains/Exposed/pull/2004
+
# 0.47.0
Infrastructure:
* Joda Time 2.12.6
diff --git a/documentation-website/Writerside/topics/Getting-Started.md b/documentation-website/Writerside/topics/Getting-Started.md
index e4345634f6..8b3c36b2c5 100644
--- a/documentation-website/Writerside/topics/Getting-Started.md
+++ b/documentation-website/Writerside/topics/Getting-Started.md
@@ -18,17 +18,17 @@
org.jetbrains.exposed
exposed-core
- 0.47.0
+ 0.48.0
org.jetbrains.exposed
exposed-dao
- 0.47.0
+ 0.48.0
org.jetbrains.exposed
exposed-jdbc
- 0.47.0
+ 0.48.0
]]>
@@ -37,7 +37,7 @@
- val exposedVersion: String = "0.47.0"
+ val exposedVersion: String = "0.48.0"
dependencies {
implementation("org.jetbrains.exposed:exposed-core:$exposedVersion")
implementation("org.jetbrains.exposed:exposed-crypt:$exposedVersion")
@@ -88,59 +88,59 @@ Dependencies mapping listed below is similar (by functionality) to the previous
<dependency>
<groupId>org.jetbrains.exposed</groupId>
<artifactId>exposed-core</artifactId>
- <version>0.47.0</version>
+ <version>0.48.0</version>
</dependency>
<dependency>
<groupId>org.jetbrains.exposed</groupId>
<artifactId>exposed-crypt</artifactId>
- <version>0.47.0</version>
+ <version>0.48.0</version>
</dependency>
<dependency>
<groupId>org.jetbrains.exposed</groupId>
<artifactId>exposed-dao</artifactId>
- <version>0.47.0</version>
+ <version>0.48.0</version>
</dependency>
<dependency>
<groupId>org.jetbrains.exposed</groupId>
<artifactId>exposed-java-time</artifactId>
- <version>0.47.0</version>
+ <version>0.48.0</version>
</dependency>
<dependency>
<groupId>org.jetbrains.exposed</groupId>
<artifactId>exposed-jdbc</artifactId>
- <version>0.47.0</version>
+ <version>0.48.0</version>
</dependency>
<dependency>
<groupId>org.jetbrains.exposed</groupId>
<artifactId>exposed-jodatime</artifactId>
- <version>0.47.0</version>
+ <version>0.48.0</version>
</dependency>
<dependency>
<groupId>org.jetbrains.exposed</groupId>
<artifactId>exposed-json</artifactId>
- <version>0.47.0</version>
+ <version>0.48.0</version>
</dependency>
<dependency>
<groupId>org.jetbrains.exposed</groupId>
<artifactId>exposed-kotlin-datetime</artifactId>
- <version>0.47.0</version>
+ <version>0.48.0</version>
</dependency>
<dependency>
<groupId>org.jetbrains.exposed</groupId>
<artifactId>exposed-money</artifactId>
- <version>0.47.0</version>
+ <version>0.48.0</version>
</dependency>
<dependency>
<groupId>org.jetbrains.exposed</groupId>
<artifactId>exposed-spring-boot-starter</artifactId>
- <version>0.47.0</version>
+ <version>0.48.0</version>
</dependency>
</dependencies>
- def exposedVersion = "0.47.0"
+ def exposedVersion = "0.48.0"
dependencies {
implementation "org.jetbrains.exposed:exposed-core:$exposedVersion"
implementation "org.jetbrains.exposed:exposed-crypt:$exposedVersion"
diff --git a/exposed-bom/README.md b/exposed-bom/README.md
index 90092b2542..2fc92ff7f0 100644
--- a/exposed-bom/README.md
+++ b/exposed-bom/README.md
@@ -17,7 +17,7 @@ Bill of Materials for all Exposed modules
org.jetbrains.exposed
exposed-bom
- 0.47.0
+ 0.48.0
pom
import
@@ -51,7 +51,7 @@ repositories {
}
dependencies {
- implementation(platform("org.jetbrains.exposed:exposed-bom:0.47.0"))
+ implementation(platform("org.jetbrains.exposed:exposed-bom:0.48.0"))
implementation("org.jetbrains.exposed", "exposed-core")
implementation("org.jetbrains.exposed", "exposed-dao")
implementation("org.jetbrains.exposed", "exposed-jdbc")
diff --git a/exposed-spring-boot-starter/README.md b/exposed-spring-boot-starter/README.md
index ee34606db8..0f21f74206 100644
--- a/exposed-spring-boot-starter/README.md
+++ b/exposed-spring-boot-starter/README.md
@@ -18,7 +18,7 @@ This starter will give you the latest version of [Exposed](https://github.com/Je
org.jetbrains.exposed
exposed-spring-boot-starter
- 0.47.0
+ 0.48.0
```
@@ -28,7 +28,7 @@ repositories {
mavenCentral()
}
dependencies {
- implementation 'org.jetbrains.exposed:exposed-spring-boot-starter:0.47.0'
+ implementation 'org.jetbrains.exposed:exposed-spring-boot-starter:0.48.0'
}
```
### Gradle Kotlin DSL
@@ -44,7 +44,7 @@ dependencies {
```
In `gradle.properties`
```properties
-exposedVersion=0.47.0
+exposedVersion=0.48.0
```
## Setting up a database connection
diff --git a/gradle.properties b/gradle.properties
index cb2fed463c..a48a822151 100644
--- a/gradle.properties
+++ b/gradle.properties
@@ -4,4 +4,4 @@ org.gradle.configuration.cache=true
org.gradle.caching=true
group=org.jetbrains.exposed
-version=0.47.0
+version=0.48.0
diff --git a/samples/exposed-ktor/gradle.properties b/samples/exposed-ktor/gradle.properties
index a0eea4b946..d4246b6cd0 100644
--- a/samples/exposed-ktor/gradle.properties
+++ b/samples/exposed-ktor/gradle.properties
@@ -2,5 +2,5 @@ ktorVersion=2.3.4
kotlinVersion=1.8.10
logbackVersion=1.2.11
kotlin.code.style=official
-exposedVersion=0.47.0
+exposedVersion=0.48.0
h2Version=2.1.214
diff --git a/samples/exposed-spring/gradle.properties b/samples/exposed-spring/gradle.properties
index 67901614a1..3a735376da 100644
--- a/samples/exposed-spring/gradle.properties
+++ b/samples/exposed-spring/gradle.properties
@@ -1,2 +1,2 @@
-exposedVersion=0.47.0
+exposedVersion=0.48.0
kotlinVersion=1.8.21