File tree Expand file tree Collapse file tree 3 files changed +18
-4
lines changed
fundamentals/data-formats Expand file tree Collapse file tree 3 files changed +18
-4
lines changed Original file line number Diff line number Diff line change @@ -17,9 +17,10 @@ sharedinclude_root = "https://raw.githubusercontent.com/10gen/docs-shared/main/"
1717
1818[constants ]
1919driver = " kotlin"
20+ driver-short = " Kotlin driver"
2021driver-long = " MongoDB Kotlin Driver"
2122version = " 4.10"
22- full-version = " 4.10.0 "
23+ full-version = " 4.10.1 "
2324mdb-server = " MongoDB server"
2425kotlin-docs = " https://kotlinlang.org/docs"
2526
@@ -33,3 +34,4 @@ zstdVersion = "com.github.luben:zstd-jni:1.5.5-2"
3334logbackVersion = " 1.2.11"
3435log4j2Version = " 2.17.1"
3536serializationVersion = " 1.5.1"
37+ bsonVersion = " 4.10.1"
Original file line number Diff line number Diff line change @@ -67,6 +67,7 @@ to your project:
6767 :caption: build.gradle.kts
6868
6969 implementation("org.jetbrains.kotlinx:kotlinx-serialization-core:{+serializationVersion+}")
70+ implementation("org.mongodb:bson-kotlinx:{+bsonVersion+}")
7071
7172 .. tab::
7273 :tabid: Maven
@@ -82,6 +83,11 @@ to your project:
8283 <artifactId>kotlinx-serialization-core</artifactId>
8384 <version>{+serializationVersion+}</version>
8485 </dependency>
86+ <dependency>
87+ <groupId>org.mongodb</groupId>
88+ <artifactId>bson-kotlinx</artifactId>
89+ <version>{+bsonVersion+}</version>
90+ </dependency>
8591
8692Annotate Data Classes
8793---------------------
Original file line number Diff line number Diff line change 1+ .. _kotlin-whats-new:
2+
13==========
24What's New
35==========
46
5- .. default-domain:: mongodb
6-
77.. contents:: On this page
88 :local:
99 :backlinks: none
@@ -26,6 +26,12 @@ Upcoming Breaking Changes
2626What's New in 4.10
2727------------------
2828
29+ .. important::
30+
31+ Starting in version 4.10.1 of the {+driver-short+}, you must add
32+ the ``bson-kotlinx`` library as an explicit dependency to use the
33+ ``kotlinx-serialization`` library.
34+
2935- Support for Kotlin server-side usage, both for coroutines and for synchronous applications.
3036- Codec support for Kotlin data classes.
31- - Support for Kotlinx .serialization.
37+ - Support for the ``kotlinx .serialization`` library
You can’t perform that action at this time.
0 commit comments