-
Developers are no longer required to set
instantiate: false
inapp.js
when configuring an npm module that uses theimprove
property to implicitly subclass and enhance a different module. In addition, bugs were fixed in the underlyingmoog-require
module to ensure that assets can be loaded from thepublic
andviews
folders of modules that useimprove
. -
string
has replacedcsv
as the property name of the schema field converters that handle plaintext. Backwards compatibility has been implemented so that existingcsv
converters will work transparently and calls toconvert
withcsv
as thefrom
argument still work as well. In all new custom field types you should saystring
rather thancsv
. There is no change in the functionality or implementation other than the name.
On a related subject, the apostrophe-pieces-import module has just had its first release. This module makes CSV/TSV import capabilities easily available in any module that extends apostrophe-pieces
. It relies on the improve
feature which allows new functionality to be added to existing core modules by npm modules. As far as the rest of your project is concerned, it is as if import functionality had always existed for pieces.
A group of modules like this in a moog-bundle (the way apostrophe-blog is packaged) could constitute a “theme” in which functionality is added to many modules to enhance Apostrophe across the board toward a specific goal.