Apostrophe 2 v2.72.0 Release Notes
Release Date: 2018-10-30 // over 5 years ago-
โ Unit tests passing.
โ Regression tests passing.
- Support for subdirectories of
lib/modules
. You must set thenestedModuleSubdirs
option totrue
inapp.js
. You can then place your modules in nested subdirectories oflib/modules
. The names of the parent folders do not matter, and the name of the actual module folder must still match the name of the module.
๐ง In addition, when using this feature you may optionally move part of your
modules
configuration into amodules.js
file in each directory. Here is an example:module.exports = { 'module-name': {}, 'other-module-name': {} };
๐ง By following through with this approach you can make
app.js
much shorter. Configuration of Apostrophe modules installed vianpm
must still be done inapp.js
.The
apostrophe-html-widgets
module now properly concatenates fields to the standard HTML field whenaddFields
is used with it.๐ Fixed a crashing bug when an API was used in an atypical way. Thanks to Max Schlueter.
- Support for subdirectories of