Apostrophe2 v2.40.0 Release Notes

Release Date: 2017-11-10 // over 6 years ago
  • โœ… Unit tests passing.

    โœ… Regression tests passing.

    • ๐Ÿ‘Œ Support for "select everything" when managing pieces. Once you check the box to select everything on the current page, you are given a secondary option to select everything that matches your current criteria. This works both when choosing pieces for widgets and when working with batch operations like "trash" or "rescue."
    • ๐Ÿ›  Fixed various bugs affecting combinations of "select all on page", the chooser and working with images.
    • ๐Ÿ‘Œ Improvements to batch operations on pieces. The requiredField property is checked correctly, and the new onlyIf property allows for passing a function that accepts the doc type name and decides whether the button should appear. Multiword action names are properly camelcased. New "success" and "dataSource" options to batchSimple allow for carrying out additional operations afterward as well as gathering input independently at the start. And batch operations are composed late so that other modules can add them.
    • ๐Ÿ‘ The self.api and self.html methods of apostrophe-context and apostrophe-modal now support a syntax for making cross-module API calls, just like templates.
    • โž• Addressed moog versioning issue with latest npm that caused errors about "synth.instanceOf" not being found depending on the state of your npm cache.