@@ -20,6 +20,8 @@ What's New
20
20
Learn about new features, improvements, and fixes introduced in the
21
21
following versions of the {+php-library+}:
22
22
23
+ * :ref:`Version 2.0 <php-lib-version-2.0>`
24
+
23
25
* :ref:`Version 1.20 <php-lib-version-1.20>`
24
26
25
27
* :ref:`Version 1.19 <php-lib-version-1.19>`
@@ -32,6 +34,26 @@ following versions of the {+php-library+}:
32
34
33
35
* :ref:`Version 1.15 <php-lib-version-1.15>`
34
36
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
+
35
57
.. _php-lib-version-1.20:
36
58
37
59
What's New in 1.20
@@ -42,6 +64,9 @@ What's New in 1.20
42
64
Support for {+mdb-server+} v3.6 is removed in this release of the
43
65
library.
44
66
67
+ The {+library-short+} v1.20 release includes the following features,
68
+ improvements, and fixes:
69
+
45
70
- Adds support for {+mdb-server+} v8.0.
46
71
47
72
- 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+}.
75
100
What's New in 1.18
76
101
------------------
77
102
103
+ The {+library-short+} v1.18 release includes the following features,
104
+ improvements, and fixes:
105
+
78
106
- Adds a new GridFS API to make it more convenient to work with files using PHP's
79
107
existing filesystem functions. The :phpmethod:`MongoDB\GridFS\Bucket::registerGlobalStreamWrapperAlias()`
80
108
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
96
124
What's New in 1.17
97
125
------------------
98
126
127
+ The {+library-short+} v1.17 release includes the following features,
128
+ improvements, and fixes:
129
+
99
130
- Introduces a new "codec" API for converting BSON to and from PHP objects.
100
131
More information on this feature may be found in the
101
132
:ref:`Codecs tutorial <php-codecs>`.
@@ -125,6 +156,9 @@ To learn more about this release, see the `v1.17 Release Notes
125
156
What's New in 1.16
126
157
------------------
127
158
159
+ The {+library-short+} v1.16 release includes the following features,
160
+ improvements, and fixes:
161
+
128
162
- Introduces support for :v7.0:`MongoDB 7.0 </release-notes/7.0>`.
129
163
130
164
- Introduces :phpmethod:`MongoDB\Database::createEncryptedCollection()`.
@@ -141,6 +175,9 @@ To learn more about this release, see the `v1.16 Release Notes
141
175
What's New in 1.15
142
176
------------------
143
177
178
+ The {+library-short+} v1.15 release includes the following features,
179
+ improvements, and fixes:
180
+
144
181
- Adds new ``examples/`` and ``tools/`` directories to the library repository,
145
182
which contain code snippets and scripts that may prove useful when writing
146
183
or debugging applications. These directories are intended to
0 commit comments