8000 DOCSP-25999: Added note about new Codec classes. (#316) · nickldp/docs-kotlin@c1d443d · GitHub
[go: up one dir, main page]

Skip to content

Commit c1d443d

Browse files
authored
DOCSP-25999: Added note about new Codec classes. (#316)
* DOCSP-25999: Added note about new Codec classes. * Small grammar update. * JS feedback.
1 parent 42a0241 commit c1d443d

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

source/whats-new.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,13 @@ What's New in 4.8
4141
affect the behavior of your application, see
4242
:ref:`<java-breaking-changes-v4.8>`.
4343

44+
.. important:: Deprecation Notice
45+
46+
The ``IterableCodec`` and ``MapCodec`` classes are deprecated. Instead,
47+
use ``CollectionCodec`` and ``MapCodecV2``.
48+
These support any class that implements ``Collection`` or
49+
``Map``.
50+
4451
Behavioral changes with the 4.8 driver release include:
4552

4653
- Requirement that you add an explicit dependency on the ``org.bson.codecs.record``

0 commit comments

Comments
 (0)
0