@@ -20,6 +20,8 @@ What's New
2020Learn about new features, improvements, and fixes introduced in the
2121following versions of the {+php-library+}:
2222
23+ * :ref:`Version 2.0 <php-lib-version-2.0>`
24+
2325* :ref:`Version 1.20 <php-lib-version-1.20>`
2426
2527* :ref:`Version 1.19 <php-lib-version-1.19>`
@@ -32,6 +34,26 @@ following versions of the {+php-library+}:
3234
3335* :ref:`Version 1.15 <php-lib-version-1.15>`
3436
37+ .. _php-lib-version-2.0:
38+
39+ What's New in 2.0
40+ -----------------
41+
42+ The {+library-short+} v2.0 release includes the following features,
43+ improvements, and fixes:
44+
45+ - Removal of deprecated fields in GridFS types.
46+
47+ - The library does not calculate the ``md5`` field when a file is
48+ uploaded to GridFS. If your application requires a file digest, you
49+ must implement this process outside GridFS and store the values in
50+ metadata.
51+
52+ - The fields ``contentType`` and ``aliases`` are no longer stored in
53+ the ``files`` GridFS collection. If your application requires this
54+ information, you must store it in metadata. To learn mor about
55+ GridFS, see the :ref:`php-gridfs` guide.
56+
3557.. _php-lib-version-1.20:
3658
3759What's New in 1.20
@@ -42,6 +64,9 @@ What's New in 1.20
4264 Support for {+mdb-server+} v3.6 is removed in this release of the
4365 library.
4466
67+ The {+library-short+} v1.20 release includes the following features,
68+ improvements, and fixes:
69+
4570- Adds support for {+mdb-server+} v8.0.
4671
4772- Adds support for Queryable Encryption (QE) range queries. To use this
@@ -75,6 +100,9 @@ and was added to keep version parity with the {+extension-short+}.
75100What's New in 1.18
76101------------------
77102
103+ The {+library-short+} v1.18 release includes the following features,
104+ improvements, and fixes:
105+
78106- Adds a new GridFS API to make it more convenient to work with files using PHP's
79107 existing filesystem functions. The :phpmethod:`MongoDB\GridFS\Bucket::registerGlobalStreamWrapperAlias()`
80108 method may be used to register a global alias for a GridFS bucket. After
@@ -96,6 +124,9 @@ To learn more about this release, see the `v1.18 Release Notes
96124What's New in 1.17
97125------------------
98126
127+ The {+library-short+} v1.17 release includes the following features,
128+ improvements, and fixes:
129+
99130- Introduces a new "codec" API for converting BSON to and from PHP objects.
100131 More information on this feature may be found in the
101132 :ref:`Codecs tutorial <php-codecs>`.
@@ -125,6 +156,9 @@ To learn more about this release, see the `v1.17 Release Notes
125156What's New in 1.16
126157------------------
127158
159+ The {+library-short+} v1.16 release includes the following features,
160+ improvements, and fixes:
161+
128162- Introduces support for :v7.0:`MongoDB 7.0 </release-notes/7.0>`.
129163
130164- Introduces :phpmethod:`MongoDB\Database::createEncryptedCollection()`.
@@ -141,6 +175,9 @@ To learn more about this release, see the `v1.16 Release Notes
141175What's New in 1.15
142176------------------
143177
178+ The {+library-short+} v1.15 release includes the following features,
179+ improvements, and fixes:
180+
144181- Adds new ``examples/`` and ``tools/`` directories to the library repository,
145182 which contain code snippets and scripts that may prove useful when writing
146183 or debugging applications. These directories are intended to
0 commit comments