Skip to content

Releases: alcaeus/mongo-php-adapter

1.0.1

01 Apr 04:58
Compare
Choose a tag to compare

I'm happy to announce that version 1.0.1 of mongo-php-adapter is now available.

Release highlights

This release adds the legacy parameters limit and skip to the MongoCollection::count methods and fixes a bug related to BSON type conversion in MongoCollection::distinct.

All issues and pull requests under this release may be found under the 1.0.1 milestone.

Feedback

Please use the issue tracker to report any issues that you may encounter.

Installation

The preferred method of installing this library is with Composer by running the following from your project root:

$ composer require "alcaeus/mongo-php-adapter=^1.0.0"

This package declares that it provides ext-mongo; Composer only allows this replacement to apply if composer.json or a dependency contain a requirement, see composer/composer#2690.

Therefore, you either need to have a dependency on a package which requires ext-mongo, such as doctrine/mongodb, in your project:

"require": {
    "php": "^7.0",
    "alcaeus/mongo-php-adapter": "^1.0.0",
    "doctrine/mongodb": "dev-master"
}

or you need to explicitly require ext-mongo yourself in composer.json:

"require": {
    "php": "^7.0",
    "alcaeus/mongo-php-adapter": "^1.0.0",
    "ext-mongo": "*"
}

1.0.0

18 Mar 18:29
Compare
Choose a tag to compare

I'm happy to announce the availability of the first stable release of mongo-php-adapter!

Release highlights

This release adds support for MongoCursor::hasNext and fixes bugs with aggregation, findAndModify operations and the Timestamp BSON type.

All issues and pull requests under this release may be found under the 1.0.0 milestone.

Feedback

Please use the issue tracker to report any issues that you may encounter.

Installation

The preferred method of installing this library is with Composer by running the following from your project root:

$ composer require "alcaeus/mongo-php-adapter=^1.0.0"

This package declares that it provides ext-mongo; Composer only allows this replacement to apply if composer.json or a dependency contain a requirement, see composer/composer#2690.

Therefore, you either need to have a dependency on a package which requires ext-mongo, such as doctrine/mongodb, in your project:

"require": {
    "php": "^7.0",
    "alcaeus/mongo-php-adapter": "^1.0.0",
    "doctrine/mongodb": "dev-master"
}

or you need to explicitly require ext-mongo yourself in composer.json:

"require": {
    "php": "^7.0",
    "alcaeus/mongo-php-adapter": "^1.0.0",
    "ext-mongo": "*"
}
Thanks

Thanks to all contributors to this release:

Beta 1

17 Feb 17:52
Compare
Choose a tag to compare
Beta 1 Pre-release
Pre-release

I'm happy to announce the availability of the first beta release of mongo-php-adapter!

Release highlights

This release fixes index handling and several differences from the legacy driver.

All issues and pull requests under this release may be found under the
1.0.0-BETA1
milestone.

Feedback

Please use the issue tracker to report any issues that you may encounter.

Installation

It is recommended to install this package at the root level of your project, not within a library. First, add the following directive to the require section in your composer.json:

"alcaeus/mongo-php-adapter": "^1.0.0@beta"

Due to a limitation in the handling of extensions in composer you must specify the following provide directive in composer.json for your root project:

"provide": {
    "ext-mongo": "1.6.12"
}

Initial release

06 Feb 20:23
Compare
Choose a tag to compare
Initial release Pre-release
Pre-release
Merge pull request #28 from alcaeus/run-ext-mongo-tests

Run testsuite against ext-mongo