@@ -78,25 +78,23 @@ Version 5.0 Breaking Changes
78
78
compatibility, update any source code that uses these methods and rebuild
79
79
your binary.
80
80
81
- - The following record annotations from the
82
- ``org.bson.codecs.record.annotations`` package are replaced with
83
- annotations of the same name from the ``org.bson.codecs.pojo.annotations`` package:
84
-
85
- - ``BsonId``
86
- - ``BsonProperty``
87
- - ``BsonRepresentation``
88
-
89
- - This driver version removes the ``Filters.eqFull()`` method, released
90
- exclusively in ``Beta``, which allowed you
91
- to construct an equality filter when performing a vector search.
92
- You can use the ``Filters.eq()`` method when instantiating a
93
- ``VectorSearchOptions`` type, as shown in the following code:
94
-
95
- .. code-block:: java
81
+ - The following record annotations from the
82
+ ``org.bson.codecs.record.annotations`` package are replaced with
83
+ annotations of the same name from the ``org.bson.codecs.pojo.annotations`` package:
96
84
97
- VectorSearchOptions opts = vectorSearchOptions().filter(eq("x", 8));
85
+ - ``BsonId``
86
+ - ``BsonProperty``
87
+ - ``BsonRepresentation``
98
88
99
- .. _java-breaking-changes-v5.0-observables:
89
+ - This driver version removes the ``Filters.eqFull()`` method, released
90
+ exclusively in ``Beta``, which allowed you
91
+ to construct an equality filter when performing a vector search.
92
+ You can use the ``Filters.eq()`` method when instantiating a
93
+ ``VectorSearchOptions`` type, as shown in the following code:
94
+
95
+ .. code-block:: java
96
+
97
+ VectorSearchOptions opts = vectorSearchOptions().filter(eq("x", 8));
100
98
101
99
- The ``getServerValue()`` method now returns a value of type ``Long`` instead of type
102
100
``Integer``. Similarly, the ``getLocalValue()`` method returns a value of type
@@ -113,20 +111,17 @@ Version 5.0 Breaking Changes
113
111
that shows how to call ``SocketSettings`` methods, see the :ref:`SocketSettings Example
114
112
<java-socketsettings-example>` in the Specify MongoClient Settings
115
113
guide. This change breaks binary compatibility (requires recompiling) but does not
116
- require code changes.
117
-
118
- This change breaks binary compatibility (requires recompiling) but does not
119
- require code changes.
114
+ require code changes.
120
115
121
- - This driver version removes the ``Filters.eqFull()`` method, released
122
- exclusively in ``Beta``, which allowed you
123
- to construct an equality filter when performing a vector search.
124
- You can use the ``Filters.eq()`` method when instantiating a
125
- ``VectorSearchOptions`` type, as shown in the following code:
116
+ - This driver version removes the ``Filters.eqFull()`` method, released
117
+ exclusively in ``Beta``, which allowed you
118
+ to construct an equality filter when performing a vector search.
119
+ You can use the ``Filters.eq()`` method when instantiating a
120
+ ``VectorSearchOptions`` type, as shown in the following code:
126
121
127
- .. code-block:: java
128
-
129
- VectorSearchOptions opts = vectorSearchOptions().filter(eq("x", 8));
122
+ .. code-block:: java
123
+
124
+ VectorSearchOptions opts = vectorSearchOptions().filter(eq("x", 8));
130
125
131
126
.. _java-breaking-changes-v5.0-observables:
132
127
0 commit comments