mongodb / specifications

Specifications related to MongoDB
http://specifications.readthedocs.io/en/latest
Other
389 stars 242 forks source link

DRIVERS-2612: Require 7.0+ for explain apiVersion bug fix #1435

Closed jmikola closed 1 year ago

jmikola commented 1 year ago

In previous server versions, apiVersion is not properly appended to the root of an explain command document.

When testing with requireApiVersion=1, that can cause test failures if the driver does not have additional logic to always append the field to a crypt_shared/mongocryptd respnse.

Please complete the following before merging:

POC: https://github.com/mongodb/mongo-php-library/pull/1111

As noted in DRIVERS-2612, this is blocked on the release of 7.0.0-rc4 for BACKPORT-16190.

jmikola commented 1 year ago

Planning to come back to this Thursday, as the PHPLIB PR is currently blocked on an unrelated issue.