Skip to content

Commit c1a4890

Browse files
committed
encrypt fields embeddings
(cherry picked from commit 58c2d6b)
1 parent dbd191c commit c1a4890

File tree

4 files changed

+40
-1
lines changed

4 files changed

+40
-1
lines changed

snooty.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ mdb-server = "MongoDB Server"
2525
package-name-org = "mongodb-org"
2626
api = "https://mongodb.github.io/mongo-java-driver/{+version+}"
2727
stable-api = "Stable API"
28-
mongocrypt-version = "1.7.3"
28+
mongocrypt-version = "1.8.0"
2929
nettyVersion = "io.netty:netty-all:4.1.87.Final"
3030
snappyVersion = "org.xerial.snappy:snappy-java:1.1.10.3"
3131
zstdVersion = "com.github.luben:zstd-jni:1.5.5-3"
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,28 @@
11
.. _java-fle:
22

33
.. sharedinclude:: dbx/encrypt-fields.rst
4+
5+
.. replacement:: driver-specific-content
6+
7+
.. important:: Compatible Encryption Library Version
8+
9+
The {+driver-short+} uses the `mongodb-crypt
10+
<https://mvnrepository.com/artifact/org.mongodb/mongodb-crypt>`__
11+
encryption library for in-use encryption. This driver version
12+
is compatible with ``mongodb-crypt`` v{+mongocrypt-version+}.
13+
14+
Select from the following :guilabel:`Maven` and
15+
:guilabel:`Gradle` tabs to see how to add the ``mongodb-crypt``
16+
dependency to your project by using the specified manager:
17+
18+
.. tabs::
19+
20+
.. tab:: Maven
21+
:tabid: maven-dependency
22+
23+
.. include:: /includes/fundamentals/code-snippets/crypt-maven-versioned.rst
24+
25+
.. tab:: Gradle
26+
:tabid: gradle-dependency
27+
28+
.. include:: /includes/fundamentals/code-snippets/crypt-gradle-versioned.rst
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
.. code-block:: groovy
2+
3+
dependencies {
4+
implementation 'org.mongodb:mongodb-crypt:{+mongocrypt-version+}'
5+
}
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
.. code-block:: xml
2+
3+
<dependencies>
4+
<dependency>
5+
<groupId>org.mongodb</groupId>
6+
<artifactId>mongodb-crypt</artifactId>
7+
<version>{+mongocrypt-version+}</version>
8+
</dependency>
9+
</dependencies>

0 commit comments

Comments
 (0)