Apostrophe2 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 than afterModuleInit because it waits for the module to be more fully initialized, including all "improvements" loaded via npm. The original afterModuleInit flag is still supported in case someone was counting on its behavior.
    • โž• Add /grid POST route in permission module, in addition to the existing GET 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 of mocha, thanks to Amin Shazrin.
    • getObjectManager is now implemented for Object field types, fixing a bug that prevented the use of areas found in object schema fields within templates. Thanks to James R T.