Skip to content

Releases: mongodb/mongo-php-driver

2.2.1

13 Feb 13:25
Immutable release. Only release title and notes can be modified.

Choose a tag to compare

The PHP team is happy to announce that version 2.2.1 of the MongoDB PHP extension is now available.

Release Highlights

Fixes the wrong exception type when calling Binary::toArray() on non-vector Binary objects.

A complete list of resolved issues in this release may be found in JIRA.

Documentation

Documentation is available on PHP.net.

Installation

You can either download and install the source manually, or you can install the extension with:

pie install mongodb/mongodb-extension:2.2.1

Sources and Windows binaries are attached to the GitHub release notes.

2.2.0

11 Feb 09:06
Immutable release. Only release title and notes can be modified.

Choose a tag to compare

The PHP team is happy to announce that version 2.2.0 of the MongoDB PHP extension is now available.

Release Highlights

This release brings support for new vector subtypes for the MongoDB\BSON\Binary class, intended to efficiently store data for Vector Search in MongoDB.

The bundled libmongoc and libmongocrypt versions have been updated to 2.2.2 and 1.17.2, respectively. These versions are also required for building with system library. Support for Cyrus SASL on Windows, as well as LibreSSL has been removed from libmongoc and is no longer supported.

As of this release, we will no longer be providing pre-packaged builds for 32-bit Windows. The driver itself is still compatible with 32-bit systems.

A complete list of resolved issues in this release may be found in JIRA.

Documentation

Documentation is available on PHP.net.

Installation

You can either download and install the source manually, or you can install the extension with:

pie install mongodb/mongodb-extension:2.2.0

Sources and Windows binaries are attached to the GitHub release notes.

2.1.8

04 Feb 18:21
Immutable release. Only release title and notes can be modified.

Choose a tag to compare

The PHP team is happy to announce that version 2.1.8 of the mongodb PHP extension is now available on PECL.

Release Highlights

This version upgrades the bundled libmongoc library to 1.30.7 and adds logic to enforce a nesting limit during BSON encoding, which is consistent with libbson and the server.

A complete list of resolved issues in this release may be found in JIRA.

Documentation

Documentation is available on PHP.net.

Installation

You can either download and install the source manually, or you can install the extension with:

pecl install mongodb-2.1.8

or update with:

pecl upgrade mongodb-2.1.8

Windows binaries are attached to the GitHub release notes.

1.21.5

04 Feb 18:10
Immutable release. Only release title and notes can be modified.

Choose a tag to compare

The PHP team is happy to announce that version 1.21.5 of the mongodb PHP extension is now available on PECL.

Release Highlights

This version upgrades the bundled libmongoc library to 1.30.7 and adds logic to enforce a nesting limit during BSON encoding, which is consistent with libbson and the server.

A complete list of resolved issues in this release may be found in JIRA.

Documentation

Documentation is available on PHP.net.

Installation

You can either download and install the source manually, or you can install the extension with:

pecl install mongodb-1.21.5

or update with:

pecl upgrade mongodb-1.21.5

Windows binaries are attached to the GitHub release notes.

2.1.7

28 Jan 11:54
Immutable release. Only release title and notes can be modified.

Choose a tag to compare

The PHP team is happy to announce that version 2.1.7 of the mongodb PHP extension is now available on PECL. This release does not contain any changes, but served to test a new release workflow. Please note that versions 2.1.5 and 2.1.6 were skipped for technical reasons.

Documentation

Documentation is available on PHP.net.

Installation

You can either download and install the source manually, or you can install the extension with:

pecl install mongodb-2.1.7

or update with:

pecl upgrade mongodb-2.1.7

Windows binaries are attached to the GitHub release notes.

1.21.4

28 Jan 09:36
Immutable release. Only release title and notes can be modified.

Choose a tag to compare

The PHP team is happy to announce that version 1.21.4 of the mongodb PHP extension is now available on PECL. This release does not contain any changes, but served to test a new release workflow. Please note that version 1.21.3 was skipped for technical reasons.

Documentation

Documentation is available on PHP.net.

Installation

You can either download and install the source manually, or you can install the extension with:

pecl install mongodb-1.21.4

or update with:

pecl upgrade mongodb-1.21.4

Windows binaries are attached to the GitHub release notes.

2.1.4

08 Oct 16:05

Choose a tag to compare

The PHP team is happy to announce that version 2.1.4 of the mongodb PHP extension is now available on PECL.

Release Highlights

This version upgrades the bundled libmongoc library to 1.30.6 and fixes a memory allocation issue when copying command options.

A complete list of resolved issues in this release may be found in JIRA.

Documentation

Documentation is available on PHP.net.

Installation

You can either download and install the source manually, or you can install the extension with:

pecl install mongodb-2.1.4

or update with:

pecl upgrade mongodb-2.1.4

Windows binaries are attached to the GitHub release notes.

2.1.3

07 Oct 16:00

Choose a tag to compare

The PHP team is happy to announce that version 2.1.3 of the mongodb PHP extension is now available on PECL.

Release Highlights

Note: this release was the result of a packaging error and is functionally identical to 2.1.2.

A complete list of resolved issues in this release may be found in JIRA.

Documentation

Documentation is available on PHP.net.

Installation

You can either download and install the source manually, or you can install the extension with:

pecl install mongodb-2.1.3

or update with:

pecl upgrade mongodb-2.1.3

Windows binaries are attached to the GitHub release notes.

1.21.2

07 Oct 15:32

Choose a tag to compare

The PHP team is happy to announce that version 1.21.2 of the mongodb PHP extension is now available on PECL.

Release Highlights

This version upgrades the bundled libmongoc library to 1.30.6 and fixes a memory allocation issue when copying command options.

A complete list of resolved issues in this release may be found in JIRA.

Documentation

Documentation is available on PHP.net.

Installation

You can either download and install the source manually, or you can install the extension with:

pecl install mongodb-1.21.2

or update with:

pecl upgrade mongodb-1.21.2

Windows binaries are attached to the GitHub release notes.

2.1.2

02 Oct 11:59

Choose a tag to compare

The PHP team is happy to announce that version 2.1.2 of the mongodb PHP extension is now available on PECL.

Release Highlights

This release adds support for PHP 8.5.

A complete list of resolved issues in this release may be found in JIRA.

Documentation

Documentation is available on PHP.net.

Installation

You can either download and install the source manually, or you can install the extension with:

pecl install mongodb-2.1.2

or update with:

pecl upgrade mongodb-2.1.2

Windows binaries are attached to the GitHub release notes.