3 ms·
The changelog for 7.1 (https://github.com/mongodb/mongoid/blob/master/docs/release-notes/mongoid-7.1.txt https://github.com/mongodb/mongoid/blob/master/docs/rel
by stefan_ 5y ago
The changelog for 7.1 (https://github.com/mongodb/mongoid/blob/master/docs/release-notes/mongoid-7.1.txt https://github.com/mongodb/mongoid/blob/master/docs/release-...) even explicitly call this out as a breaking change:
Breaking change: In Mongoid 7.1, when condition methods are invoked on a
Criteria object, they always add new conditions to the existing conditions in
the Criteria object. Previously new conditions could have replaced existing
conditions in some circumstances.
Ironically they also have a breaking change in 7.1.1, so they just don't give a fuck at all.
- mattigames 5y agoI mean, they care enough to mention it in the changelog, if they cared even less they wouldn't mention it there (not condoning any of their behavior, just pointing that out)