All Versions
Latest Version
Avg Release Cycle
14 days
Latest Release
34 days ago

Changelog History
Page 24

  • v2.15.1 Changes

    January 23, 2017

    Due to a miscommunication the version number 2.15.0 had been previously used. The description below was originally intended for 2.15.0 and has been published as 2.15.1 purely to address the version numbering conflict.

    โœ… All tests passing.

    • apos.permissions.addPublic accepts multiple arguments and array arguments, โž• adding all of the permission names given including any listed in the arrays.
    • Permissions checks for pieces admin routes longer check for req.user, checking for the appropriate edit- permission is sufficient and makes addPublic more useful.
    • โšก๏ธ Updated the i18n module to address a problem where labels that happened to be numbers rather than strings would crash the template if passed to __().
    • ๐Ÿ“š Documentation improvements.
  • v2.14.3 Changes

    โœ… All tests passing.

    The mechanism that preserves text fields when performing AJAX refreshes was preserving other types of input elements. Checkboxes, radio buttons and type="submit" are now properly excluded from this mechanism.

  • v2.14.2 Changes

    January 18, 2017

    ๐Ÿ›  Fixed #385: if a page is moved to the trash, its slug must always change, even if it has been edited so that it no longer has its parent's slug as a prefix. In addition, if the resulting slug of a descendant of the page moving to the trash conflicts with an existing page in the trash, steps are taken to ensure uniqueness.

  • v2.14.1 Changes

    January 11, 2017

    โœ… All tests passing.

    • ๐Ÿ‘ฏ The apos.utils.clonePermanent method no longer turns objects into long arrays of nulls if they happen to have a length property. lodash uses the length property as an indicator that the object should be treated as an array, but this would be an unrealistic restriction on Apostrophe schema field names. Instead, clonePermanent now uses Array.isArray to distinguish true arrays. This fixes a nasty bug when importing content from A1.5 and subsequently editing it.

    • ๐Ÿ’ป When a user is logged in there is an apos.user object on the browser side. Due to a bug this was an empty object. It now contains title, _id and username properties as intended.

  • v2.14.0 Changes

    January 06, 2017

    โœ… All tests passing.

    • ๐Ÿš‘ A version rollback dialog box for the global doc is now opened if an element with the data-apos-versions-global attribute is clicked. There is currently no such element in the standard UI but you may introduce one in your own layout if you have mission-critical content in the global doc that is awkward to recreate after an accidental deletion, such as a custom sitewide nav.
    • An error message is correctly displayed when login fails.
    • ๐Ÿ’ป Many UI messages are now passed through the __() internationalization helper correctly. Thanks to timaebi.
  • v2.13.2 Changes

    December 22, 2016

    โœ… All tests passing.

    The data-apos-ajax-context feature had a bug which prevented ordinary anchor links from performing AJAX refreshes correctly.

  • v2.13.1 Changes

    December 22, 2016

    โœ… All tests passing.

    ๐Ÿ’ป The apostrophe-attachments module now calls apos.ui.busy correctly on the fieldset so that the busy and completed indicators are correctly shown and hidden. Previously the string 0 was passed, which is not falsy.

  • v2.12.0 Changes

    December 15, 2016

    โœ… All tests passing.

    • ๐Ÿ”ง Developers are no longer required to set instantiate: false in app.js when configuring an npm module that uses the improve property to implicitly subclass and enhance a different module. In addition, bugs were fixed in the underlying moog-require module to ensure that assets can be loaded from the public and views folders of modules that use improve.
    • string has replaced csv as the property name of the schema field converters that handle plaintext. Backwards compatibility has been implemented so that existing csv converters will work transparently and calls to convert with csv as the from argument still work as well. In all new custom field types you should say string rather than csv. There is no change in the functionality or implementation other than the name.
  • v2.11.0 Changes

    December 09, 2016

    โœ… All tests passing.

    ๐Ÿ“œ You can now add middleware to your Apostrophe site via any module in your project. Just add an self.expressMiddleware method to your module, which takes the usual req, res, next arguments. Or, if it's more convenient, set self.expressMiddleware to an array of such functions. "Module middleware" is added immediately after the minimum required Apostrophe middleware (bodyParser,, etc), and before any routes.

  • v2.10.3 Changes

    December 08, 2016

    โœ… All tests passing.

    ๐Ÿ›  Fixed bug in autoPreserveText feature of our data-apos-ajax-context mechanism; also, restricted it to text inputs and textareas that actually have the focus so that you can replace their values normally at other times