Skip to content

Commit

Permalink
DOCSP-39266: v5.1 updates (#160)
Browse files Browse the repository at this point in the history
* DOCSP-39266: v5.1 updates

* fix

* fix

* add server support callout

* add all changes to whats new

* fix
  • Loading branch information
rustagir authored May 8, 2024
1 parent f5c69fc commit f78b102
Show file tree
Hide file tree
Showing 5 changed files with 79 additions and 3 deletions.
2 changes: 1 addition & 1 deletion config/redirects
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
define: prefix docs/drivers/kotlin/coroutine
define: base https://www.mongodb.com/${prefix}
define: versions v4.10 v4.11 v5.0 master
define: versions v4.10 v4.11 v5.0 v5.1 master

raw: ${prefix}/ -> ${base}/current/

Expand Down
2 changes: 1 addition & 1 deletion snooty.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ sharedinclude_root = "https://raw.githubusercontent.com/10gen/docs-shared/main/"
driver = "kotlin"
driver-short = "Kotlin driver"
driver-long = "MongoDB Kotlin Driver"
version = "5.0"
version = "5.1"
full-version = "{+version+}.0"
mdb-server = "MongoDB server"
kotlin-docs = "https://kotlinlang.org"
Expand Down
3 changes: 3 additions & 0 deletions source/includes/language-compatibility-table-kotlin.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
* - Kotlin Driver Version
- Kotlin 1.8

* - 5.1
- ✓

* - 5.0
- ✓

Expand Down
13 changes: 13 additions & 0 deletions source/includes/mongodb-compatibility-table-kotlin.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,19 @@
- MongoDB 3.0
- MongoDB 2.6

* - 5.1
- ✓
- ✓
- ✓
- ✓
- ✓
- ✓
- ✓
-
-
-
-

* - 5.0
- ✓
- ✓
Expand Down
62 changes: 61 additions & 1 deletion source/whats-new.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,74 @@ What's New

Learn what's new in:

* :ref:`Version 5.1 <kotlin-coroutine-version-5.1>`
* :ref:`Version 5.0 <version-5.0>`
* :ref:`Version 4.11 <version-4.11>`
* :ref:`Version 4.10 <version-4.10>`

.. _kotlin-coroutine-version-5.1:

What's New in 5.1
-----------------

.. warning:: Deprecations in this release

To avoid breaking changes in future major releases of the driver,
replace any application code that depends on deprecated program elements.

This section includes the following information:

- :ref:`kotlin-deprecations-5.1`
- :ref:`kotlin-improvements-5.1`
- :ref:`kotlin-new-features-5.1`

.. _kotlin-deprecations-5.1:

Deprecations in 5.1
~~~~~~~~~~~~~~~~~~~

- Support for {+mdb-server+} v3.6 is deprecated and will be removed in the
next driver version release. To learn how to upgrade your {+mdb-server+}
deployment, see :manual:`Release Notes </release-notes>` in the {+mdb-server+}
manual.

.. _kotlin-improvements-5.1:

Improvements in 5.1
~~~~~~~~~~~~~~~~~~~

- Internal testing of GraalVM native image technology. These tests involve building
native applications by using the GraalVM native-image tool.

- Enhanced support for the ``MONGODB-OIDC`` authentication mechanism.

.. TODO add OIDC content and link

- Fixes an issue in which operations used the incorrect codec when using
a polymorphic ``MongoCollection`` instance. This ensures that
discriminator information is not lost when using ``bson-kotlinx``.

- Fixes an issue in which the class discriminator was the first field
when decoding, resulting in field type errors when using a polymorphic
``MongoCollection`` instance.

.. _kotlin-new-features-5.1:

New Features in 5.1
~~~~~~~~~~~~~~~~~~~

- Support for polymorphic serialization.

.. TODO add polymorphic serialization content

- Introduces the ``serverMonitoringMode`` connection URI option.

.. TODO add serverMonitoringMode content and link

.. _version-5.0:

What's New in 5.0
------------------
-----------------

New features of the 5.0 driver release include:

Expand Down

0 comments on commit f78b102

Please sign in to comment.