MongoFrames v1.3.0 Release Notes
Release Date: 2019-02-06 // about 5 years ago-
๐ Previous to this release projections within
$sub
or$sub.
where simply ignored and the projection was converted to True for the key, for example:lairs = Lair.many( projection={ '\_id': True, 'inventory': { '$sub': Inventory, 'gold': True } )
Previously used the projection:
{ '_id: True, 'inventory': True }
๐ In this release this will now project to:
{ '_id: True, 'inventory.gold': True }
๐ NOTE: This release is a minor release as whilst this should effect existing code if you've previous been setting projections (which simply were ignored before) this could potentially break this code.