Skip to content

2.0.0 Alpha 1

Pre-release
Pre-release

Choose a tag to compare

@alcaeus alcaeus released this 28 Sep 14:18
2.0.0-alpha1
f3ed76b

Doctrine MongoDB 2.0.0 Alpha Release

We are happy to announce the first Alpha Release of Doctrine MongoDB ODM 2.0. As this is still a pre-release version, please do not run it in production. Errors and performance issues may occur, and the public API may still change until the beta stage.

What is new in 2.0?

The main difference is that you no longer need an adapter to run on PHP 7. ODM now uses the new MongoDB driver by default. We have also completely rewritten GridFS support, updated our code to use type hints and we now use PHPStan to better inspect our code and prevent bugs.

To see the full list of changes and how to upgrade, please see the UPGRADE document.

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

Next steps

The next release will be Beta 1, at which time the API will be finalised. We will try to not break BC once we've entered the beta stage. Among the breaking changes planned until Beta 1 is a rewrite of the proxy logic to no longer use doctrine/common for proxies.

Installation

You can install this version of MongoDB ODM by using Composer and the following composer.json contents:

{
    "require": {
        "doctrine/mongodb-odm": "^2.0@alpha"
    }
}