On 4/12/25 2:21 AM, David C Rankin wrote:
New bug or is there some known break with backwards compatibility?
The changelog on Serializable::bsonSerialize makes no mention of a break:
https://www.php.net/manual/en/mongodb-bson-serializable.bsonserialize.php
This appears to be an upstream bug. There is no changes mentioned or
suggested https://www.mongodb.com/docs/drivers/php-drivers/ and all
package versions are 100% supported. I've opened a forum request upstream.
There is an issue in php-legacy-mongodb-2.0.0 that does not play nicely
with the driver. I ensured that the driver (and composer) were updated.
The actual driver files installed by composer have not changed since
9/24/24.
--
David C. Rankin, J.D.,P.E.