diff --git a/source/builders/builders-data-classes.txt b/source/builders/builders-data-classes.txt index 120bbc2..b5fbab3 100644 --- a/source/builders/builders-data-classes.txt +++ b/source/builders/builders-data-classes.txt @@ -49,6 +49,12 @@ To implement this functionality, you must add the ``mongodb-driver-kotlin-extensions`` dependency to your dependencies list. +.. sharedinclude:: dbx/jvm/BOM-installation-tip.rst + + .. replacement:: installation-guide + + :ref:`Add the Driver Bill of Materials ` step of the Get Started guide. + Select from the following tabs to see how to add the extension dependency to your project by using the :guilabel:`Gradle` and :guilabel:`Maven` package managers: @@ -64,7 +70,7 @@ dependency to your project by using the :guilabel:`Gradle` and .. code-block:: kotlin :caption: build.gradle.kts - implementation("org.mongodb:mongodb-driver-kotlin-extensions:{+full-version+}") + implementation("org.mongodb:mongodb-driver-kotlin-extensions") .. tab:: :tabid: Maven @@ -78,7 +84,6 @@ dependency to your project by using the :guilabel:`Gradle` and org.mongodb mongodb-driver-kotlin-extensions - {+full-version+} After you install the extensions dependency, you can use the extension diff --git a/source/data-formats/bson.txt b/source/data-formats/bson.txt index e6045af..86f882b 100644 --- a/source/data-formats/bson.txt +++ b/source/data-formats/bson.txt @@ -60,6 +60,12 @@ For instructions on how to add the {+driver-long+} as a dependency to your proje :ref:`driver installation ` section of our Get Started guide. +.. sharedinclude:: dbx/jvm/BOM-installation-tip.rst + + .. replacement:: installation-guide + + :ref:`Add the Driver Bill of Materials ` step of the Get Started guide. + We recommend that you use the `Maven `__ or `Gradle `__ build automation tool to manage your {+language+} project's dependencies. The following instructions detail the dependency declarations for diff --git a/source/data-formats/serialization.txt b/source/data-formats/serialization.txt index db749d5..fd211fe 100644 --- a/source/data-formats/serialization.txt +++ b/source/data-formats/serialization.txt @@ -65,6 +65,13 @@ application. To learn more about this library, see the `kotlinx.serialization GitHub repository `__. +.. sharedinclude:: dbx/jvm/BOM-installation-tip.rst + + .. replacement:: installation-guide + + :ref:`Add the Driver Bill of Materials ` step of the Get Started guide. + + Select from the following tabs to see how to add the serialization dependencies to your project by using either :guilabel:`Gradle` or :guilabel:`Maven`: diff --git a/source/includes/data-formats/bson-gradle-versioned.rst b/source/includes/data-formats/bson-gradle-versioned.rst index d565e2e..7414f07 100644 --- a/source/includes/data-formats/bson-gradle-versioned.rst +++ b/source/includes/data-formats/bson-gradle-versioned.rst @@ -1,5 +1,5 @@ .. code-block:: kotlin dependencies { - implementation("org.mongodb:bson:{+full-version+}") + implementation("org.mongodb:bson") } diff --git a/source/includes/data-formats/bson-maven-versioned.rst b/source/includes/data-formats/bson-maven-versioned.rst index 581ba0e..b337b9d 100644 --- a/source/includes/data-formats/bson-maven-versioned.rst +++ b/source/includes/data-formats/bson-maven-versioned.rst @@ -4,6 +4,5 @@ org.mongodb bson - {+full-version+} diff --git a/source/includes/data-formats/serialization-gradle-versioned.rst b/source/includes/data-formats/serialization-gradle-versioned.rst index 92017c4..586bd71 100644 --- a/source/includes/data-formats/serialization-gradle-versioned.rst +++ b/source/includes/data-formats/serialization-gradle-versioned.rst @@ -2,4 +2,4 @@ :caption: build.gradle.kts implementation("org.jetbrains.kotlinx:kotlinx-serialization-core:{+serialization-version+}") - implementation("org.mongodb:bson-kotlinx:{+full-version+}") \ No newline at end of file + implementation("org.mongodb:bson-kotlinx") \ No newline at end of file diff --git a/source/includes/data-formats/serialization-maven-versioned.rst b/source/includes/data-formats/serialization-maven-versioned.rst index 04391ad..c1e85dd 100644 --- a/source/includes/data-formats/serialization-maven-versioned.rst +++ b/source/includes/data-formats/serialization-maven-versioned.rst @@ -9,5 +9,4 @@ org.mongodb bson-kotlinx - {+full-version+} \ No newline at end of file diff --git a/source/includes/security/crypt-gradle-versioned.rst b/source/includes/security/crypt-gradle-versioned.rst index af6427b..f5284de 100644 --- a/source/includes/security/crypt-gradle-versioned.rst +++ b/source/includes/security/crypt-gradle-versioned.rst @@ -1,5 +1,5 @@ .. code-block:: groovy dependencies { - implementation("org.mongodb:mongodb-crypt:{+mongocrypt-version+}") + implementation("org.mongodb:mongodb-crypt") } \ No newline at end of file diff --git a/source/includes/security/crypt-maven-versioned.rst b/source/includes/security/crypt-maven-versioned.rst index 1a87d8a..e193e02 100644 --- a/source/includes/security/crypt-maven-versioned.rst +++ b/source/includes/security/crypt-maven-versioned.rst @@ -4,6 +4,5 @@ org.mongodb mongodb-crypt - {+mongocrypt-version+} \ No newline at end of file diff --git a/source/index.txt b/source/index.txt index 5ef09f9..e76b60c 100644 --- a/source/index.txt +++ b/source/index.txt @@ -25,7 +25,6 @@ Run a Command Monitoring Security - In-Use Encryption Compatibility Validate Driver Signatures What's New @@ -95,12 +94,6 @@ Use Builders API Learn how to work with the builder operation helpers in the :ref:`kotlin-sync-builders` section. -In-Use Encryption ------------------ - -Learn how to use in-use encryption to encrypt your MongoDB data in the -:ref:`In-Use Encryption ` section. - Compatibility ------------- diff --git a/source/security/authentication.txt b/source/security/authentication.txt index 6e80a14..1f8ae90 100644 --- a/source/security/authentication.txt +++ b/source/security/authentication.txt @@ -87,7 +87,7 @@ mechanism: :end-before: end-default-mongo-cred :dedent: -You can also explicitly specify the `SCRAM-SHA-256`` authentication mechanism, +You can also explicitly specify the ``SCRAM-SHA-256`` authentication mechanism, as shown in the following code snippets. Select the :guilabel:`Connection String` or the :guilabel:`MongoCredential` diff --git a/source/security/encrypt-fields.txt b/source/security/encrypt-fields.txt index 9691d58..b1d4391 100644 --- a/source/security/encrypt-fields.txt +++ b/source/security/encrypt-fields.txt @@ -4,25 +4,32 @@ .. replacement:: driver-specific-content - .. important:: Compatible Encryption Library Version - - The {+driver-short+} uses the `mongodb-crypt - `__ - encryption library for in-use encryption. This driver version - is compatible with ``mongodb-crypt`` v{+mongocrypt-version+}. - - Select from the following :guilabel:`Maven` and - :guilabel:`Gradle` tabs to see how to add the ``mongodb-crypt`` - dependency to your project by using the specified manager: - - .. tabs:: - - .. tab:: Maven - :tabid: maven-dependency - - .. include:: /includes/security/crypt-maven-versioned.rst - - .. tab:: Gradle - :tabid: gradle-dependency - - .. include:: /includes/security/crypt-gradle-versioned.rst + Compatible Encryption Library Version + ------------------------------------- + + The {+driver-short+} uses the `mongodb-crypt + `__ + encryption library for in-use encryption. This driver version + is compatible with ``mongodb-crypt`` v{+mongocrypt-version+}. + + .. sharedinclude:: dbx/jvm/BOM-installation-tip.rst + + .. replacement:: installation-guide + + :ref:`Add the Driver Bill of Materials ` step of the Get Started guide. + + Select from the following :guilabel:`Maven` and + :guilabel:`Gradle` tabs to see how to add the ``mongodb-crypt`` + dependency to your project by using the specified manager: + + .. tabs:: + + .. tab:: Maven + :tabid: maven-dependency + + .. include:: /includes/security/crypt-maven-versioned.rst + + .. tab:: Gradle + :tabid: gradle-dependency + + .. include:: /includes/security/crypt-gradle-versioned.rst