Skip to content

Commit 13ff962

Browse files
committed
add rest of versions
1 parent 265476f commit 13ff962

File tree

4 files changed

+92
-4
lines changed

4 files changed

+92
-4
lines changed

source/reference/method/MongoDBClient-addSubscriber.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
.. _api-client-add-subscriber:
2+
13
================================
24
MongoDB\\Client::addSubscriber()
35
================================

source/reference/method/MongoDBClient-removeSubscriber.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
.. _api-client-remove-subscriber:
2+
13
===================================
24
MongoDB\\Client::removeSubscriber()
35
===================================

source/reference/method/MongoDBGridFSBucket-registerGlobalStreamWrapperAlias.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
.. _api-gridfs-bucket-register-global:
2+
13
===========================================================
24
MongoDB\\GridFS\\Bucket::registerGlobalStreamWrapperAlias()
35
===========================================================

source/whats-new.txt

Lines changed: 86 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,14 @@ following versions of the {+php-library+}:
2222

2323
* :ref:`Version 1.20 <php-lib-version-1.20>`
2424

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+
2533
.. _php-lib-version-1.20:
2634

2735
What's New in 1.20
@@ -34,13 +42,87 @@ What's New in 1.20
3442

3543
- Adds support for MongoDB Server v8.0.
3644

45+
.. _php-lib-version-1.18:
46+
3747
What's New in 1.18
3848
------------------
3949

4050
- 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>`_
4556
example script.
4657

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

Comments
 (0)