MongoDB\Driver\Cursor::getId() expects exactly 0 arguments, 1 given

I am trying to update yiisoft/yii2-mongodb to version 3.0.3. I also want to use the latest version of the php mongodb extension 2.1.2 found here PECL :: Package :: mongodb

One of the vendor files that composer generates is “vendor/yiisoft/yii2-mongodb/src/Query.php”

When running the website I get the following error (line 215)

MongoDB\Driver\Cursor::getId() expects exactly 0 arguments, 1 given

It seems that yiisoft/yii2-mongodb 3.0.3 is not compatible with the 2.1.2 php mongodb extension.

Am I missing something? Maybe its a bug. Anyone know the most recent compatible versions ?