Apostrophe 2 v3.26.0 Release Notes
Release Date: 2022-08-03 // almost 2 years ago-
โ Adds
- ๐ Tasks can now be registered with the
afterModuleReady
flag, which is more useful thanafterModuleInit
because it waits for the module to be more fully initialized, including all "improvements" loaded via npm. The originalafterModuleInit
flag is still supported in case someone was counting on its behavior. - โ Add
/grid
POST
route in permission module, in addition to the existingGET
one, to improve extensibility. - ๐ป
@apostrophecms/express:list-routes
command line task added, to facilitate debugging.
๐ Changes
- ๐ Since Microsoft has ended support for IE11 and support for ES5 builds is responsible for a significant chunk of Apostrophe's installation time, the
es5: true
option no longer produces an IE11 build. For backwards compatibility, developers will receive a warning, but their build will proceed without IE11 support. IE11 ES5 builds can be brought back by installing the optional @apostrophecms/asset-es5 module.
๐ Fixes
- โ
testModule: true
works in unit tests of external Apostrophe modules again even with modern versions ofmocha
, thanks to Amin Shazrin. getObjectManager
is now implemented forObject
field types, fixing a bug that prevented the use of areas found inobject
schema fields within templates. Thanks to James R T.
- ๐ Tasks can now be registered with the