@@ -22,6 +22,14 @@ following versions of the {+php-library+}:
22
22
23
23
* :ref:`Version 1.20 <php-lib-version-1.20>`
24
24
25
+ * :ref:`Version 1.18 <php-lib-version-1.18>`
26
+
27
+ * :ref:`Version 1.17 <php-lib-version-1.17>`
28
+
29
+ * :ref:`Version 1.16 <php-lib-version-1.16>`
30
+
31
+ * :ref:`Version 1.15 <php-lib-version-1.15>`
32
+
25
33
.. _php-lib-version-1.20:
26
34
27
35
What's New in 1.20
@@ -34,13 +42,87 @@ What's New in 1.20
34
42
35
43
- Adds support for MongoDB Server v8.0.
36
44
45
+ .. _php-lib-version-1.18:
46
+
37
47
What's New in 1.18
38
48
------------------
39
49
40
50
- Adds a new GridFS API to make it more convenient to work with files using PHP's
41
- existing filesystem functions. The :ref:`MongoDB\GridFS\Bucket::registerGlobalStreamWrapperAlias() <gridfs-bucket-register-global>`
42
- method may be used to register a global alias for a GridFS bucket. After doing so, files within that bucket
43
- can be accessed using only a file URI (e.g. "gridfs://mybucket/hello.txt"). A demonstration of this
44
- API can be found in the `gridfs_stream_wrapper.php <https://github.com/mongodb/mongo-php-library/blob/1.18.0/examples/gridfs_stream_wrapper.php>`_
51
+ existing filesystem functions. The :ref:`MongoDB\GridFS\Bucket::registerGlobalStreamWrapperAlias() <api-gridfs-bucket-register-global>`
52
+ method may be used to register a global alias for a GridFS bucket. After
53
+ doing so, files within that bucket can be accessed using only a file URI
54
+ (e.g. "gridfs://mybucket/hello.txt"). A demonstration of this API can be found
55
+ in the `gridfs_stream_wrapper.php <https://github.com/mongodb/mongo-php-library/blob/1.18.0/examples/gridfs_stream_wrapper.php>`_
45
56
example script.
46
57
58
+ - The ``MongoDB\Client`` class now has :ref:`addSubscriber() <api-client-add-subscriber>`
59
+ and :ref:`removeSubscriber()<api-client-remove-subscriber>` methods to make it
60
+ easier to register monitoring classes on the underlying ``MongoDB\Driver\Manager``
61
+ object.
62
+
63
+ To learn more about this release, see the `v1.18 Release Notes
64
+ <https://github.com/mongodb/mongo-php-library/releases/tag/1.18.0>`__ on GitHub.
65
+
66
+ .. _php-lib-version-1.17:
67
+
68
+ What's New in 1.17
69
+ ------------------
70
+
71
+ - Introduces a new "codec" API for converting BSON to and from PHP objects.
72
+ More information on this feature may be found in the
73
+ :ref:`Codecs tutorial <php-codecs>`.
74
+
75
+ - Adds :ref:`MongoDB\add_logger() <api-add-logger>` and
76
+ :ref:`MongoDB\remove_logger() <api-remove-logger>` functions to the library.
77
+ These functions allow applications to register a `PSR-3 Logger <https://www.php-fig.org/psr/psr-3/>`__
78
+ to receive log messages emitted by the driver. Previously, logs were only
79
+ accessible via the extension's `mongodb.debug <https://www.php.net/manual/en/mongodb.configuration.php#ini.mongodb.debug>`__
80
+ INI setting.
81
+
82
+ - Introduces new :ref:`MongoDB\Collection <api-mongodb-collection-class>` methods
83
+ to create and manage :atlas:`Atlas Search indexes </atlas-search>`. Atlas
84
+ Search indexes can be queried using the :manual:`$search </reference/operator/aggregation/search/>`
85
+ aggregation pipeline stage, which is supported in all versions of the library.
86
+
87
+ - Upgrades the ``mongodb`` extension requirement to 1.17.0. Support for PHP
88
+ 7.2 and 7.3 has been removed and the library now requires PHP 7.4 or newer.
89
+
90
+ To learn more about this release, see the `v1.17 Release Notes
91
+ <https://github.com/mongodb/mongo-php-library/releases/tag/1.17.0>`__ on GitHub.
92
+
93
+ .. _php-lib-version-1.16:
94
+
95
+ What's New in 1.16
96
+ ------------------
97
+
98
+ - Introduces support for :v7.0:`MongoDB 7.0 </release-notes/7.0>`.
99
+
100
+ - Introduces :ref:`MongoDB\Database::createEncryptedCollection() <api-database-create-encrypted>`.
101
+ This method automatically creates data encryption keys when creating a new
102
+ encrypted collection.
103
+
104
+ - This release upgrades the ``mongodb`` extension requirement to 1.16.0.
105
+
106
+ To learn more about this release, see the `v1.16 Release Notes
107
+ <https://github.com/mongodb/mongo-php-library/releases/tag/1.16.0>`__ on GitHub.
108
+
109
+ .. _php-lib-version-1.15:
110
+
111
+ What's New in 1.15
112
+ ------------------
113
+
114
+ - Adds new ``examples/`` and ``tools/`` directories to library repository,
115
+ which contain code snippets and scripts that may prove useful when writing
116
+ or debugging applications, respectively. These directories are intended to
117
+ supplement the library's existing documentation, and will be added to over time.
118
+
119
+ - Various backwards compatible typing improvements have been made throughout the
120
+ library. Downstream impact for these changes are discussed in
121
+ `UPGRADE-1.15.md <https://github.com/mongodb/mongo-php-library/blob/1.15.0/UPGRADE-1.15.md>`__.
122
+
123
+ - Integrates `Psalm <https://psalm.dev/>`__ for static analysis.
124
+
125
+ - This release upgrades the ``mongodb`` extension requirement to 1.15.0.
126
+
127
+ To learn more about this release, see the `v1.15 Release Notes
128
+ <https://github.com/mongodb/mongo-php-library/releases/tag/1.15.0>`__ on GitHub.
0 commit comments