- Introduced a
findWithProjection()method that is added to all MongoDB collection objects. All Apostrophe core modules are migrating towards using this method rather than
find()when working directly with MongoDB collections. If you are using the standard MongoDB 2.x driver that is included with Apostrophe, this just calls regular
find(). When using the forthcoming
apostrophe-db-mongo-3-drivermodule to replace that with a newer driver that supports the full features of MongoDB 3.6, 4.0 and beyond, this method will provide backwards compatibility by accepting a projection as the second argument like
find()did until the 3.x driver was released. Developers wishing to be compatible with both drivers will want to start using this method. Again, this only concerns you if you are querying MongoDB directly and passing a projection to find() as the second argument. And if you don’t care about using the 3.x driver, you do not have to change anything.
- Various UX improvements and bug fixes to the page versions dialog box. Thanks to Lars Houmark.
- The widget wrapper is updated on the fly with new classes if they change due to edits. Thanks to Fredrik Ekelund.
- When configuring a
datefield, you may pass a
pikadayOptionsproperty. This object is passed on to the
pikadaylibrary. Thanks to Lars Houmark.
counts: trueoption for
piecesFiltersnow works properly with joins.