diff --git a/config/redirects b/config/redirects index 9fa68e38..6c3e3b9c 100644 --- a/config/redirects +++ b/config/redirects @@ -1,6 +1,9 @@ define: prefix docs/drivers/kotlin/coroutine define: base https://www.mongodb.com/${prefix} -define: versions v4.10 v4.11 v5.0 v5.1 v5.2 v5.3 master +define: versions v4.10 v4.11 v5.0 v5.1 v5.2 v5.3 v5.4 master + +symlink: upcoming -> main +symlink: current -> v5.4 raw: ${prefix}/ -> ${base}/current/ diff --git a/examples/build.gradle.kts b/examples/build.gradle.kts index c9ae5260..d99929a5 100644 --- a/examples/build.gradle.kts +++ b/examples/build.gradle.kts @@ -1,4 +1,4 @@ -val kotlin_mongodb_version: String by project +val kotlinMongoDbDriverVersion: String by project plugins { id("org.jetbrains.kotlin.jvm") version "1.9.25" @@ -17,7 +17,11 @@ repositories { } dependencies { - implementation("org.mongodb:mongodb-driver-kotlin-coroutine:$kotlin_mongodb_version") + implementation(platform("org.mongodb:mongodb-driver-bom:$kotlinMongoDbDriverVersion")) + implementation("org.mongodb:mongodb-driver-kotlin-coroutine") + implementation("org.mongodb:bson-kotlinx") + implementation("org.mongodb:mongodb-driver-kotlin-extensions:$kotlinMongoDbDriverVersion") + implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.7.1") testImplementation("org.jetbrains.kotlin:kotlin-test:1.8.10") implementation("org.slf4j:slf4j-api:2.0.5") @@ -29,9 +33,8 @@ dependencies { implementation("com.github.luben:zstd-jni:1.5.5-4") implementation("org.jetbrains.kotlinx:kotlinx-serialization-core:1.6.0") implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.6.0") - implementation("org.mongodb:bson-kotlinx:$kotlin_mongodb_version") implementation("org.jetbrains.kotlinx:kotlinx-datetime:0.6.1") - implementation("org.mongodb:mongodb-driver-kotlin-extensions:$kotlin_mongodb_version") + } tasks.test { diff --git a/examples/gradle.properties b/examples/gradle.properties index 1998c01e..024d8e86 100644 --- a/examples/gradle.properties +++ b/examples/gradle.properties @@ -1,2 +1,2 @@ kotlin.code.style=official -kotlin_mongodb_version=5.3.0 +kotlinMongoDbDriverVersion=5.4.0 diff --git a/snooty.toml b/snooty.toml index 3a03a269..f2a75ebf 100644 --- a/snooty.toml +++ b/snooty.toml @@ -3,7 +3,7 @@ title = "Kotlin Coroutine" intersphinx = [ "https://www.mongodb.com/docs/manual/objects.inv", "https://www.mongodb.com/docs/drivers/objects.inv", - "https://www.mongodb.com/docs/atlas/objects.inv" + "https://www.mongodb.com/docs/atlas/objects.inv", ] toc_landing_pages = [ @@ -20,7 +20,7 @@ sharedinclude_root = "https://raw.githubusercontent.com/10gen/docs-shared/main/" driver = "kotlin" driver-short = "Kotlin driver" driver-long = "MongoDB Kotlin Driver" -version = "5.3" +version = "5.4" full-version = "{+version+}.0" language = "Kotlin" mdb-server = "MongoDB server" diff --git a/source/includes/language-compatibility-table-kotlin.rst b/source/includes/language-compatibility-table-kotlin.rst index 02d3f294..dce75a43 100644 --- a/source/includes/language-compatibility-table-kotlin.rst +++ b/source/includes/language-compatibility-table-kotlin.rst @@ -7,5 +7,5 @@ * - Kotlin Driver Version - Kotlin 1.8 - * - 4.10 to 5.3 + * - 4.10 to 5.4 - ✓ diff --git a/source/includes/mongodb-compatibility-table-kotlin.rst b/source/includes/mongodb-compatibility-table-kotlin.rst index d77a7077..3b493f40 100644 --- a/source/includes/mongodb-compatibility-table-kotlin.rst +++ b/source/includes/mongodb-compatibility-table-kotlin.rst @@ -13,7 +13,7 @@ - MongoDB 4.0 - MongoDB 3.6 - * - 5.2 to 5.3 + * - 5.2 to 5.4 - ✓ - ✓ - ✓ diff --git a/source/whats-new.txt b/source/whats-new.txt index 34cbb4ae..4b5bd206 100644 --- a/source/whats-new.txt +++ b/source/whats-new.txt @@ -44,6 +44,11 @@ and features: the :ref:`MONGODB-OIDC: Kubernetes ` section of the Enterprise Authentication Mechanisms guide + .. replacement:: atlas-query-operators + + the `SearchOperator <{+api+}/apidocs/mongodb-driver-core/com/mongodb/client/model/search/SearchOperator.html>`__ + interface API documentation + .. _kotlin-coroutine-version-5.3: What's New in 5.3 @@ -92,6 +97,12 @@ improvements, and fixes: .. sharedinclude:: dbx/jvm/v5.2-wn-items.rst + .. replacement:: csot-link + + the `MongoClientSettings.Builder.timeout() + <{+api+}/apidocs/mongodb-driver-core/com/mongodb/MongoClientSettings.Builder.html#timeout(long,java.util.concurrent.TimeUnit)>`__ + API documentation + .. replacement:: avs-index-link :ref:`kotlin-search-indexes` in the Indexes guide