Skip to content

Commit 7c88023

Browse files
committed
chore: Bump Exposed version from 0.47.0 to 0.48.0
1 parent 3215927 commit 7c88023

File tree

10 files changed

+101
-46
lines changed

10 files changed

+101
-46
lines changed

README.md

+21-21
Original file line numberDiff line numberDiff line change
@@ -81,52 +81,52 @@ repositories {
8181
<dependency>
8282
<groupId>org.jetbrains.exposed</groupId>
8383
<artifactId>exposed-core</artifactId>
84-
<version>0.47.0</version>
84+
<version>0.48.0</version>
8585
</dependency>
8686
<dependency>
8787
<groupId>org.jetbrains.exposed</groupId>
8888
<artifactId>exposed-crypt</artifactId>
89-
<version>0.47.0</version>
89+
<version>0.48.0</version>
9090
</dependency>
9191
<dependency>
9292
<groupId>org.jetbrains.exposed</groupId>
9393
<artifactId>exposed-dao</artifactId>
94-
<version>0.47.0</version>
94+
<version>0.48.0</version>
9595
</dependency>
9696
<dependency>
9797
<groupId>org.jetbrains.exposed</groupId>
9898
<artifactId>exposed-java-time</artifactId>
99-
<version>0.47.0</version>
99+
<version>0.48.0</version>
100100
</dependency>
101101
<dependency>
102102
<groupId>org.jetbrains.exposed</groupId>
103103
<artifactId>exposed-jdbc</artifactId>
104-
<version>0.47.0</version>
104+
<version>0.48.0</version>
105105
</dependency>
106106
<dependency>
107107
<groupId>org.jetbrains.exposed</groupId>
108108
<artifactId>exposed-jodatime</artifactId>
109-
<version>0.47.0</version>
109+
<version>0.48.0</version>
110110
</dependency>
111111
<dependency>
112112
<groupId>org.jetbrains.exposed</groupId>
113113
<artifactId>exposed-json</artifactId>
114-
<version>0.47.0</version>
114+
<version>0.48.0</version>
115115
</dependency>
116116
<dependency>
117117
<groupId>org.jetbrains.exposed</groupId>
118118
<artifactId>exposed-kotlin-datetime</artifactId>
119-
<version>0.47.0</version>
119+
<version>0.48.0</version>
120120
</dependency>
121121
<dependency>
122122
<groupId>org.jetbrains.exposed</groupId>
123123
<artifactId>exposed-money</artifactId>
124-
<version>0.47.0</version>
124+
<version>0.48.0</version>
125125
</dependency>
126126
<dependency>
127127
<groupId>org.jetbrains.exposed</groupId>
128128
<artifactId>exposed-spring-boot-starter</artifactId>
129-
<version>0.47.0</version>
129+
<version>0.48.0</version>
130130
</dependency>
131131
</dependencies>
132132

@@ -136,20 +136,20 @@ repositories {
136136

137137
```groovy
138138
dependencies {
139-
implementation 'org.jetbrains.exposed:exposed-core:0.47.0'
140-
implementation 'org.jetbrains.exposed:exposed-crypt:0.47.0'
141-
implementation 'org.jetbrains.exposed:exposed-dao:0.47.0'
142-
implementation 'org.jetbrains.exposed:exposed-jdbc:0.47.0'
139+
implementation 'org.jetbrains.exposed:exposed-core:0.48.0'
140+
implementation 'org.jetbrains.exposed:exposed-crypt:0.48.0'
141+
implementation 'org.jetbrains.exposed:exposed-dao:0.48.0'
142+
implementation 'org.jetbrains.exposed:exposed-jdbc:0.48.0'
143143
144-
implementation 'org.jetbrains.exposed:exposed-jodatime:0.47.0'
144+
implementation 'org.jetbrains.exposed:exposed-jodatime:0.48.0'
145145
// or
146-
implementation 'org.jetbrains.exposed:exposed-java-time:0.47.0'
146+
implementation 'org.jetbrains.exposed:exposed-java-time:0.48.0'
147147
// or
148-
implementation 'org.jetbrains.exposed:exposed-kotlin-datetime:0.47.0'
148+
implementation 'org.jetbrains.exposed:exposed-kotlin-datetime:0.48.0'
149149
150-
implementation 'org.jetbrains.exposed:exposed-json:0.47.0'
151-
implementation 'org.jetbrains.exposed:exposed-money:0.47.0'
152-
implementation 'org.jetbrains.exposed:exposed-spring-boot-starter:0.47.0'
150+
implementation 'org.jetbrains.exposed:exposed-json:0.48.0'
151+
implementation 'org.jetbrains.exposed:exposed-money:0.48.0'
152+
implementation 'org.jetbrains.exposed:exposed-spring-boot-starter:0.48.0'
153153
}
154154
```
155155

@@ -180,7 +180,7 @@ dependencies {
180180
and in `gradle.properties`
181181

182182
```
183-
exposedVersion=0.47.0
183+
exposedVersion=0.48.0
184184
```
185185

186186
## Samples

docs/BREAKING_CHANGES.md

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Breaking Changes
22

3-
# 0.48.0
3+
## 0.48.0
44

55
* In `nonNullValueToString` for `KotlinInstantColumnType` and `JavaDateColumnType`, the formatted String for MySQL did not match the format received from the metadata
66
when `isFractionDateTimeSupported` is true, so a new formatter specific to that is now used.
@@ -11,6 +11,11 @@
1111
seconds.
1212
* In `nonNullValueToString` for `DateColumnType` and `DateTimeWithTimeZoneColumnType`, the formatters used are changed to reflect the fact that Joda-Time stores
1313
date/time values only down to the millisecond (up to SSS and not SSSSSS).
14+
* Functions `anyFrom(array)` and `allFrom(array)` now use `ArrayColumnType` to process the provided array argument when query building.
15+
`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.
16+
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
17+
a column type not defined in the `exposed-core` module.
18+
* `exposed-crypt` module now uses Spring Security Crypto 6.+, which requires Java 17 as a minimum version.
1419

1520
## 0.47.0
1621

docs/ChangeLog.md

+50
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,53 @@
1+
# 0.48.0
2+
Infrastructure:
3+
* PostgreSQL driver 42.7.2
4+
* Joda Time 2.12.7
5+
* Kotlin Coroutines 1.8.0
6+
* log4j2 2.23.0
7+
* Kotlinx Serialization Json 1.6.3
8+
* Spring Framework 6.1.4
9+
* Spring Security Crypto 6.2.1
10+
11+
Breaking changes:
12+
* `nonNullValueToString()` in some date/time column types now uses more appropriate string formatters.
13+
* `anyFrom(array)` and `allFrom(array)` may require an additional argument if a matching column type cannot be resolved for the array contents.
14+
* `exposed-crypt` module now uses Spring Security Crypto 6.+, which requires Java 17 as a minimum version.
15+
* More details at [Breaking changes](BREAKING_CHANGES.md#0480)
16+
17+
Features:
18+
* feat: EXPOSED-248 Support array column type by @bog-walk in https://github.com/JetBrains/Exposed/pull/1986
19+
* feat: EXPOSED-290 Support ANY and ALL operators using array column expressions by @bog-walk in https://github.com/JetBrains/Exposed/pull/1988
20+
* EXPOSED-121, allowing option for "real" blobs in postgres by @elektro-wolle in https://github.com/JetBrains/Exposed/pull/1822
21+
* feat: EXPOSED-258 Enhance upsert to allow exclusion of columns set on conflict by @bog-walk in https://github.com/JetBrains/Exposed/pull/2006
22+
23+
Bug fixes:
24+
* fix: EXPOSED-272 [MySQL, Oracle] Unsupported type BIGINT UNSIGNED for auto-increment by @bog-walk in https://github.com/JetBrains/Exposed/pull/1982
25+
* fix: EXPOSED-266 Between() accepts arguments of different type than column type by @bog-walk in https://github.com/JetBrains/Exposed/pull/1983
26+
* fix: EXPOSED-280 Comparison operators show incorrect compiler warning with datetime columns by @bog-walk in https://github.com/JetBrains/Exposed/pull/1984
27+
* fix: EXPOSED-287 Wrong parenthesis with advanced use of isDistinctFrom by @bog-walk in https://github.com/JetBrains/Exposed/pull/1990
28+
* fix: EXPOSED-282 Timestamp with timezone column default falsely triggers ALTER statement by @joc-a in https://github.com/JetBrains/Exposed/pull/1981
29+
* fix!: EXPOSED-282 Timestamp column default falsely triggers ALTER statement by @joc-a in https://github.com/JetBrains/Exposed/pull/1981
30+
* fix!: EXPOSED-284 Datetime column default falsely triggers ALTER statement by @joc-a in https://github.com/JetBrains/Exposed/pull/1981
31+
* fix: EXPOSED-285 Time column defaults falsely trigger ALTER statements by @joc-a in https://github.com/JetBrains/Exposed/pull/1981
32+
* fix: EXPOSED-256 Date column defaults falsely trigger ALTER statements by @joc-a in https://github.com/JetBrains/Exposed/pull/1981
33+
* fix: EXPOSED-292 Explicit nulls in insert with databaseGenerated() by @bog-walk in https://github.com/JetBrains/Exposed/pull/1993
34+
* 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
35+
* 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
36+
* fix!: EXPOSED-288 Extend ANY and ALL operators to use ArrayColumnType by @bog-walk in https://github.com/JetBrains/Exposed/pull/1992
37+
* fix: Add ArrayColumnType default override for datetime module types by @bog-walk in https://github.com/JetBrains/Exposed/pull/1995
38+
* fix: EXPOSED-299 [H2 modes] SchemaUtils drops and adds identical composite foreign key by @bog-walk in https://github.com/JetBrains/Exposed/pull/2005
39+
* fix: EXPOSED-301 Update with join throws if additionalConstraint provided by @bog-walk in https://github.com/JetBrains/Exposed/pull/2007
40+
* fix: EXPOSED-302 Count with alias fails if table name includes schema by @bog-walk in https://github.com/JetBrains/Exposed/pull/2008
41+
* fix: EXPOSED-293 Logger prints plaintext value of encryptedVarchar by @bog-walk in https://github.com/JetBrains/Exposed/pull/2009
42+
43+
* Build:
44+
* 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
45+
46+
Docs:
47+
* docs: Add missing KDocs for EntityID and Entity subclasses API by @bog-walk in https://github.com/JetBrains/Exposed/pull/1991
48+
* docs: Add details about ArrayColumnType and ANY/ALL operators by @bog-walk in https://github.com/JetBrains/Exposed/pull/2000
49+
* docs: Fix foreign key KDocs that swap parent and child references by @bog-walk in https://github.com/JetBrains/Exposed/pull/2004
50+
151
# 0.47.0
252
Infrastructure:
353
* Joda Time 2.12.6

documentation-website/Writerside/topics/Getting-Started.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -18,17 +18,17 @@
1818
<dependency>
1919
<groupId>org.jetbrains.exposed</groupId>
2020
<artifactId>exposed-core</artifactId>
21-
<version>0.47.0</version>
21+
<version>0.48.0</version>
2222
</dependency>
2323
<dependency>
2424
<groupId>org.jetbrains.exposed</groupId>
2525
<artifactId>exposed-dao</artifactId>
26-
<version>0.47.0</version>
26+
<version>0.48.0</version>
2727
</dependency>
2828
<dependency>
2929
<groupId>org.jetbrains.exposed</groupId>
3030
<artifactId>exposed-jdbc</artifactId>
31-
<version>0.47.0</version>
31+
<version>0.48.0</version>
3232
</dependency>
3333
</dependencies>
3434
]]>
@@ -37,7 +37,7 @@
3737
<tab title="Gradle Kotlin Script">
3838
<code-block lang="kotlin">
3939
<![CDATA[
40-
val exposedVersion: String = "0.47.0"
40+
val exposedVersion: String = "0.48.0"
4141
4242
dependencies {
4343
implementation("org.jetbrains.exposed:exposed-core", exposedVersion)

documentation-website/Writerside/topics/Modules-Documentation.md

+12-12
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ Dependencies mapping listed below is similar (by functionality) to the previous
6161
<tabs>
6262
<tab title="Kotlin Gradle">
6363
<code-block lang="kotlin">
64-
val exposedVersion: String = "0.47.0"
64+
val exposedVersion: String = "0.48.0"
6565
dependencies {
6666
implementation("org.jetbrains.exposed:exposed-core:$exposedVersion")
6767
implementation("org.jetbrains.exposed:exposed-crypt:$exposedVersion")
@@ -88,59 +88,59 @@ Dependencies mapping listed below is similar (by functionality) to the previous
8888
&lt;dependency&gt;
8989
&lt;groupId&gt;org.jetbrains.exposed&lt;/groupId&gt;
9090
&lt;artifactId&gt;exposed-core&lt;/artifactId&gt;
91-
&lt;version&gt;0.47.0&lt;/version&gt;
91+
&lt;version&gt;0.48.0&lt;/version&gt;
9292
&lt;/dependency&gt;
9393
&lt;dependency&gt;
9494
&lt;groupId&gt;org.jetbrains.exposed&lt;/groupId&gt;
9595
&lt;artifactId&gt;exposed-crypt&lt;/artifactId&gt;
96-
&lt;version&gt;0.47.0&lt;/version&gt;
96+
&lt;version&gt;0.48.0&lt;/version&gt;
9797
&lt;/dependency&gt;
9898
&lt;dependency&gt;
9999
&lt;groupId&gt;org.jetbrains.exposed&lt;/groupId&gt;
100100
&lt;artifactId&gt;exposed-dao&lt;/artifactId&gt;
101-
&lt;version&gt;0.47.0&lt;/version&gt;
101+
&lt;version&gt;0.48.0&lt;/version&gt;
102102
&lt;/dependency&gt;
103103
&lt;dependency&gt;
104104
&lt;groupId&gt;org.jetbrains.exposed&lt;/groupId&gt;
105105
&lt;artifactId&gt;exposed-java-time&lt;/artifactId&gt;
106-
&lt;version&gt;0.47.0&lt;/version&gt;
106+
&lt;version&gt;0.48.0&lt;/version&gt;
107107
&lt;/dependency&gt;
108108
&lt;dependency&gt;
109109
&lt;groupId&gt;org.jetbrains.exposed&lt;/groupId&gt;
110110
&lt;artifactId&gt;exposed-jdbc&lt;/artifactId&gt;
111-
&lt;version&gt;0.47.0&lt;/version&gt;
111+
&lt;version&gt;0.48.0&lt;/version&gt;
112112
&lt;/dependency&gt;
113113
&lt;dependency&gt;
114114
&lt;groupId&gt;org.jetbrains.exposed&lt;/groupId&gt;
115115
&lt;artifactId&gt;exposed-jodatime&lt;/artifactId&gt;
116-
&lt;version&gt;0.47.0&lt;/version&gt;
116+
&lt;version&gt;0.48.0&lt;/version&gt;
117117
&lt;/dependency&gt;
118118
&lt;dependency&gt;
119119
&lt;groupId&gt;org.jetbrains.exposed&lt;/groupId&gt;
120120
&lt;artifactId&gt;exposed-json&lt;/artifactId&gt;
121-
&lt;version&gt;0.47.0&lt;/version&gt;
121+
&lt;version&gt;0.48.0&lt;/version&gt;
122122
&lt;/dependency&gt;
123123
&lt;dependency&gt;
124124
&lt;groupId&gt;org.jetbrains.exposed&lt;/groupId&gt;
125125
&lt;artifactId&gt;exposed-kotlin-datetime&lt;/artifactId&gt;
126-
&lt;version&gt;0.47.0&lt;/version&gt;
126+
&lt;version&gt;0.48.0&lt;/version&gt;
127127
&lt;/dependency&gt;
128128
&lt;dependency&gt;
129129
&lt;groupId&gt;org.jetbrains.exposed&lt;/groupId&gt;
130130
&lt;artifactId&gt;exposed-money&lt;/artifactId&gt;
131-
&lt;version&gt;0.47.0&lt;/version&gt;
131+
&lt;version&gt;0.48.0&lt;/version&gt;
132132
&lt;/dependency&gt;
133133
&lt;dependency&gt;
134134
&lt;groupId&gt;org.jetbrains.exposed&lt;/groupId&gt;
135135
&lt;artifactId&gt;exposed-spring-boot-starter&lt;/artifactId&gt;
136-
&lt;version&gt;0.47.0&lt;/version&gt;
136+
&lt;version&gt;0.48.0&lt;/version&gt;
137137
&lt;/dependency&gt;
138138
&lt;/dependencies&gt;
139139
</code-block>
140140
</tab>
141141
<tab title="Groovy Gradle">
142142
<code-block lang="groovy">
143-
def exposedVersion = "0.47.0"
143+
def exposedVersion = "0.48.0"
144144
dependencies {
145145
implementation "org.jetbrains.exposed:exposed-core:$exposedVersion"
146146
implementation "org.jetbrains.exposed:exposed-crypt:$exposedVersion"

exposed-bom/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Bill of Materials for all Exposed modules
1717
<dependency>
1818
<groupId>org.jetbrains.exposed</groupId>
1919
<artifactId>exposed-bom</artifactId>
20-
<version>0.47.0</version>
20+
<version>0.48.0</version>
2121
<type>pom</type>
2222
<scope>import</scope>
2323
</dependency>
@@ -51,7 +51,7 @@ repositories {
5151
}
5252

5353
dependencies {
54-
implementation(platform("org.jetbrains.exposed:exposed-bom:0.47.0"))
54+
implementation(platform("org.jetbrains.exposed:exposed-bom:0.48.0"))
5555
implementation("org.jetbrains.exposed", "exposed-core")
5656
implementation("org.jetbrains.exposed", "exposed-dao")
5757
implementation("org.jetbrains.exposed", "exposed-jdbc")

exposed-spring-boot-starter/README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ This starter will give you the latest version of [Exposed](https://github.com/Je
1818
<dependency>
1919
<groupId>org.jetbrains.exposed</groupId>
2020
<artifactId>exposed-spring-boot-starter</artifactId>
21-
<version>0.47.0</version>
21+
<version>0.48.0</version>
2222
</dependency>
2323
</dependencies>
2424
```
@@ -28,7 +28,7 @@ repositories {
2828
mavenCentral()
2929
}
3030
dependencies {
31-
implementation 'org.jetbrains.exposed:exposed-spring-boot-starter:0.47.0'
31+
implementation 'org.jetbrains.exposed:exposed-spring-boot-starter:0.48.0'
3232
}
3333
```
3434
### Gradle Kotlin DSL
@@ -44,7 +44,7 @@ dependencies {
4444
```
4545
In `gradle.properties`
4646
```properties
47-
exposedVersion=0.47.0
47+
exposedVersion=0.48.0
4848
```
4949

5050
## Setting up a database connection

gradle.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ org.gradle.configuration.cache=true
44
org.gradle.caching=true
55

66
group=org.jetbrains.exposed
7-
version=0.47.0
7+
version=0.48.0

samples/exposed-ktor/gradle.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ ktorVersion=2.3.4
22
kotlinVersion=1.8.10
33
logbackVersion=1.2.11
44
kotlin.code.style=official
5-
exposedVersion=0.47.0
5+
exposedVersion=0.48.0
66
h2Version=2.1.214
+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
exposedVersion=0.47.0
1+
exposedVersion=0.48.0
22
kotlinVersion=1.8.21

0 commit comments

Comments
 (0)