Skip to content

Commit fdc519b

Browse files
authored
Merge pull request #684 from k163377/update-kotlin-ver
Update Kotlin Version to 1.6
2 parents 43f01ea + f669a3e commit fdc519b

File tree

6 files changed

+7
-5
lines changed

6 files changed

+7
-5
lines changed

.github/workflows/main.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,7 @@ jobs:
2727
fail-fast: false
2828
matrix:
2929
java_version: ['8', '11', '17']
30-
# Jackson 2.15 drops support for Kotlin 1.4
31-
kotlin_version: ['1.5.32', '1.6.21', '1.7.20', '1.8.10', '1.8.20-RC']
30+
kotlin_version: ['1.6.21', '1.7.20', '1.8.22', '1.9.0']
3231
os: ['ubuntu-20.04']
3332
env:
3433
JAVA_OPTS: "-XX:+TieredCompilation -XX:TieredStopAtLevel=1"

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@ println(arrayNode.toString()) // ["foo",true,1,1.0,"YmFy"]
129129
Different `kotlin-core` versions are supported by different Jackson Kotlin module minor versions.
130130
Here is an incomplete list of supported versions:
131131

132+
* Jackson 2.16.x: Kotlin-core 1.6 - 1.9
132133
* Jackson 2.15.x: Kotlin-core 1.5 - 1.8
133134
* Jackson 2.14.x: Kotlin-core 1.4 - 1.8
134135
* Jackson 2.13.x: Kotlin-core 1.4 - 1.7

pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
<javac.src.version>1.8</javac.src.version>
6363
<javac.target.version>1.8</javac.target.version>
6464

65-
<version.kotlin>1.5.32</version.kotlin>
65+
<version.kotlin>1.6.21</version.kotlin>
6666

6767
<!-- Generate PackageVersion.java into this directory. -->
6868
<packageVersion.dir>com/fasterxml/jackson/module/kotlin</packageVersion.dir>

release-notes/CREDITS-2.x

+1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ Contributors:
1818
# 2.16.0 (not yet released)
1919

2020
WrongWrong (@k163377)
21+
* #684: Update Kotlin Version to 1.6
2122
* #682: Remove MissingKotlinParameterException and replace with MismatchedInputException
2223

2324
# 2.15.2

release-notes/VERSION-2.x

+1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ Co-maintainers:
1818

1919
2.16.0 (not yet released)
2020

21+
#684: Kotlin 1.5 has been deprecated and the minimum supported Kotlin version will be updated to 1.6.
2122
#682: Remove MissingKotlinParameterException and replace with MismatchedInputException
2223
This change removes MissingKotlinParameterException and resolves #617.
2324
This change is a prerequisite for future work to improve performance.

src/test/kotlin/com/fasterxml/jackson/module/kotlin/test/github/Github356.kt

+2-2
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ class TestGithub356 {
4242
}
4343
}
4444

45-
// Deprecated usage kept at 1.5.0 upgrade; delete in the future
46-
inline class InlineClass(val value: String)
45+
@JvmInline
46+
value class InlineClass(val value: String)
4747

4848
@JsonDeserialize(builder = ClassWithInlineMember.JacksonBuilder::class)
4949
data class ClassWithInlineMember(val inlineClassProperty: InlineClass) {

0 commit comments

Comments
 (0)