Skip to content

Commit 265476f

Browse files
committed
DOCSP-41991 What's New
1 parent 9ad7615 commit 265476f

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

source/whats-new.txt

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,15 @@ What's New in 1.20
3232
Support for MongoDB Server v3.6 is removed in this release of the
3333
library.
3434

35-
- Adds support for MongoDB Server v8.0.
35+
- Adds support for MongoDB Server v8.0.
36+
37+
What's New in 1.18
38+
------------------
39+
40+
- 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>`_
45+
example script.
46+

0 commit comments

Comments
 (0)