Skip to content

Commit f305d70

Browse files
authored
Prepare 1.2.2 release
1 parent 8262081 commit f305d70

File tree

4 files changed

+28
-6
lines changed

4 files changed

+28
-6
lines changed

CHANGELOG.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,26 @@
11

2+
1.2.2 / 2021-07-08
3+
==================
4+
5+
This release contains various bugfixes, some useful features and important performance improvements.
6+
It also uses Kotlin 1.5.20 as default.
7+
8+
### Features
9+
10+
* Support for `@JsonNames` and `coerceInputValues` in `Json.decodeFromDynamic` (#1479)
11+
* Add factory function to wrap a serial descriptor with a custom name for custom delegating serializers (#1547) (thanks to [Fadenfire](https://github.com/Fadenfire))
12+
* Allow contextually serialized types to be used as map keys in Json (#1552) (thanks to [pdvrieze](https://github.com/pdvrieze))
13+
14+
### Bugfixes and performance improvements
15+
16+
* Update size in `JsonStringBuilder` slow-path to avoid excessive array-copies for large strings with escape symbols (#1491)
17+
* Optimize integer encoding length in CBOR (#1570) (thanks to [davertay](https://github.com/davertay))
18+
* Throw `JsonDecodingException` instead of `ClassCastException` during unexpected null in `TreeJsonDecoder` (#1550)
19+
* Prohibit 'null' strings in lenient mode in order to get rid of 'null' and "null" ambiguity (#1549)
20+
* Avoid usage of reflective-like `serialDescriptor<KType>` in production sources (#1540)
21+
* Added correct error message when deserializing missing enum member for Properties format (#1539)
22+
* Make `DescriptorSchemaCache` in Json thread-local on Native (#1484)
23+
224
1.2.1 / 2021-05-14
325
==================
426

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
[![GitHub license](https://img.shields.io/badge/license-Apache%20License%202.0-blue.svg?style=flat)](http://www.apache.org/licenses/LICENSE-2.0)
55
[![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)
66
[![Kotlin](https://img.shields.io/badge/kotlin-1.5.20-blue.svg?logo=kotlin)](http://kotlinlang.org)
7-
[![Maven Central](https://img.shields.io/maven-central/v/org.jetbrains.kotlinx/kotlinx-serialization-core/1.2.1)](https://search.maven.org/artifact/org.jetbrains.kotlinx/kotlinx-serialization-core/1.2.1/pom)
7+
[![Maven Central](https://img.shields.io/maven-central/v/org.jetbrains.kotlinx/kotlinx-serialization-core/1.2.2)](https://search.maven.org/artifact/org.jetbrains.kotlinx/kotlinx-serialization-core/1.2.2/pom)
88
[![KDoc link](https://img.shields.io/badge/API_reference-KDoc-blue)](https://kotlin.github.io/kotlinx.serialization/)
99
[![Slack channel](https://img.shields.io/badge/chat-slack-blue.svg?logo=slack)](https://kotlinlang.slack.com/messages/serialization/)
1010

@@ -155,7 +155,7 @@ repositories {
155155
}
156156

157157
dependencies {
158-
implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.2.1")
158+
implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.2.2")
159159
}
160160
```
161161

@@ -167,7 +167,7 @@ repositories {
167167
}
168168
169169
dependencies {
170-
implementation "org.jetbrains.kotlinx:kotlinx-serialization-json:1.2.1"
170+
implementation "org.jetbrains.kotlinx:kotlinx-serialization-json:1.2.2"
171171
}
172172
```
173173

@@ -223,7 +223,7 @@ Ensure the proper version of Kotlin and serialization version:
223223
```xml
224224
<properties>
225225
<kotlin.version>1.5.20</kotlin.version>
226-
<serialization.version>1.2.1</serialization.version>
226+
<serialization.version>1.2.2</serialization.version>
227227
</properties>
228228
```
229229

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#
44

55
group=org.jetbrains.kotlinx
6-
version=1.2.1-SNAPSHOT
6+
version=1.2.2-SNAPSHOT
77

88
kotlin.version=1.5.20
99

integration-test/gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#
44

55
mainKotlinVersion=1.5.20
6-
mainLibVersion=1.2.1-SNAPSHOT
6+
mainLibVersion=1.2.2-SNAPSHOT
77

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

0 commit comments

Comments
 (0)