Skip to content

Commit 8a2c1c0

Browse files
authored
Prepare 1.5.0 release (Kotlin#2207)
1 parent 88f782c commit 8a2c1c0

File tree

4 files changed

+43
-18
lines changed

4 files changed

+43
-18
lines changed

CHANGELOG.md

+25
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,28 @@
1+
1.5.0 / 2023-02-27
2+
==================
3+
4+
This release contains all features and bugfixes from 1.5.0-RC plus some experimental features and bugfixes on its own (see below).
5+
Kotlin 1.8.10 is used as a default.
6+
7+
### HoconEncoder and HoconDecoder interfaces and HOCON-specific serializers
8+
9+
These interfaces work in a way similar to `JsonEncoder` and `JsonDecoder`: they allow intercepting (de)serialization process,
10+
making writing if custom HOCON-specific serializers easier. New `ConfigMemorySizeSerializer` and `JavaDurationSerializer` already make use of them.
11+
See more details in the [PR](https://github.com/Kotlin/kotlinx.serialization/pull/2094).
12+
Big thanks to [Alexander Mikhailov](https://github.com/alexmihailov) for contributing this!
13+
14+
### Ability to read buffered huge strings in custom Json deserializers
15+
16+
New interface `ChunkedDecoder` allows you to read huge strings that may not fit in memory by chunks.
17+
Currently, this interface is only implemented by Json decoder that works with strings and streams,
18+
but we may expand it later, if there's a demand for it.
19+
See more details in the [PR](https://github.com/Kotlin/kotlinx.serialization/pull/2012) authored by [Alexey Sviridov](https://github.com/fred01).
20+
21+
### Bugfixes
22+
23+
* Improve runtime exceptions messages (#2180)
24+
* Added support for null values for nullable enums in lenient mode (#2176)
25+
* Prevent class loaders from leaking when using ClassValue cache (#2175)
126

227
1.5.0-RC / 2023-01-25
328
==================

README.md

+12-12
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
[![JetBrains official project](https://jb.gg/badges/official.svg)](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub)
55
[![GitHub license](https://img.shields.io/badge/license-Apache%20License%202.0-blue.svg?style=flat)](http://www.apache.org/licenses/LICENSE-2.0)
66
[![TeamCity build](https://img.shields.io/teamcity/http/teamcity.jetbrains.com/s/KotlinTools_KotlinxSerialization_Ko.svg)](https://teamcity.jetbrains.com/viewType.html?buildTypeId=KotlinTools_KotlinxSerialization_Ko&guest=1)
7-
[![Kotlin](https://img.shields.io/badge/kotlin-1.8.0-blue.svg?logo=kotlin)](http://kotlinlang.org)
8-
[![Maven Central](https://img.shields.io/maven-central/v/org.jetbrains.kotlinx/kotlinx-serialization-core/1.5.0-RC)](https://search.maven.org/artifact/org.jetbrains.kotlinx/kotlinx-serialization-core/1.5.0-RC/pom)
7+
[![Kotlin](https://img.shields.io/badge/kotlin-1.8.10-blue.svg?logo=kotlin)](http://kotlinlang.org)
8+
[![Maven Central](https://img.shields.io/maven-central/v/org.jetbrains.kotlinx/kotlinx-serialization-core/1.5.0)](https://search.maven.org/artifact/org.jetbrains.kotlinx/kotlinx-serialization-core/1.5.0/pom)
99
[![KDoc link](https://img.shields.io/badge/API_reference-KDoc-blue)](https://kotlinlang.org/api/kotlinx.serialization/)
1010
[![Slack channel](https://img.shields.io/badge/chat-slack-blue.svg?logo=slack)](https://kotlinlang.slack.com/messages/serialization/)
1111

@@ -92,17 +92,17 @@ Kotlin DSL:
9292

9393
```kotlin
9494
plugins {
95-
kotlin("jvm") version "1.8.0" // or kotlin("multiplatform") or any other kotlin plugin
96-
kotlin("plugin.serialization") version "1.8.0"
95+
kotlin("jvm") version "1.8.10" // or kotlin("multiplatform") or any other kotlin plugin
96+
kotlin("plugin.serialization") version "1.8.10"
9797
}
9898
```
9999

100100
Groovy DSL:
101101

102102
```gradle
103103
plugins {
104-
id 'org.jetbrains.kotlin.multiplatform' version '1.8.0'
105-
id 'org.jetbrains.kotlin.plugin.serialization' version '1.8.0'
104+
id 'org.jetbrains.kotlin.multiplatform' version '1.8.10'
105+
id 'org.jetbrains.kotlin.plugin.serialization' version '1.8.10'
106106
}
107107
```
108108

@@ -119,7 +119,7 @@ buildscript {
119119
repositories { mavenCentral() }
120120

121121
dependencies {
122-
val kotlinVersion = "1.8.0"
122+
val kotlinVersion = "1.8.10"
123123
classpath(kotlin("gradle-plugin", version = kotlinVersion))
124124
classpath(kotlin("serialization", version = kotlinVersion))
125125
}
@@ -130,7 +130,7 @@ Groovy DSL:
130130

131131
```gradle
132132
buildscript {
133-
ext.kotlin_version = '1.8.0'
133+
ext.kotlin_version = '1.8.10'
134134
repositories { mavenCentral() }
135135
136136
dependencies {
@@ -159,7 +159,7 @@ repositories {
159159
}
160160

161161
dependencies {
162-
implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.5.0-RC")
162+
implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.5.0")
163163
}
164164
```
165165

@@ -171,7 +171,7 @@ repositories {
171171
}
172172
173173
dependencies {
174-
implementation "org.jetbrains.kotlinx:kotlinx-serialization-json:1.5.0-RC"
174+
implementation "org.jetbrains.kotlinx:kotlinx-serialization-json:1.5.0"
175175
}
176176
```
177177

@@ -261,8 +261,8 @@ Ensure the proper version of Kotlin and serialization version:
261261

262262
```xml
263263
<properties>
264-
<kotlin.version>1.8.0</kotlin.version>
265-
<serialization.version>1.5.0-RC</serialization.version>
264+
<kotlin.version>1.8.10</kotlin.version>
265+
<serialization.version>1.5.0</serialization.version>
266266
</properties>
267267
```
268268

gradle.properties

+4-4
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
#
44

55
group=org.jetbrains.kotlinx
6-
version=1.5.0-SNAPSHOT
6+
version=1.5.1-SNAPSHOT
77

8-
kotlin.version=1.8.0
8+
kotlin.version=1.8.10
99

10-
# This version take precedence if 'bootstrap' property passed to project
11-
kotlin.version.snapshot=1.8.255-SNAPSHOT
10+
# This version takes precedence if 'bootstrap' property passed to project
11+
kotlin.version.snapshot=1.9.255-SNAPSHOT
1212
# Also set KONAN_LOCAL_DIST environment variable in bootstrap mode to auto-assign konan.home
1313

1414
junit_version=4.12

integration-test/gradle.properties

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
# Copyright 2017-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
33
#
44

5-
mainKotlinVersion=1.8.0
6-
mainLibVersion=1.5.0-SNAPSHOT
5+
mainKotlinVersion=1.8.10
6+
mainLibVersion=1.5.1-SNAPSHOT
77

88
kotlin.code.style=official
99
kotlin.js.compiler=ir

0 commit comments

Comments
 (0)