ApostropheCMS v2.53.0 Release Notes
Release Date: 2018-04-11 // about 6 years ago-
โ Unit tests passing.
โ Regression tests passing.
- ๐ Do not send X-XSRF-TOKEN headers in an OPTIONS request. This change was mistakenly left out of the 2.52.0 release.
- The named anchor
main
can now be overridden via themainAnchor
nunjucks block. - ๐ The
npmRootDir
option can be used to cause Apostrophe's module loading mechanism to seek npm modules in a location other than that specified byrootDir
(or the project root). The newlocalesDir
option ofapostrophe-i18n
does the same for localization. This makes it possible to userootDir
to specify an alternate location for everything else, i.e. the parent ofpublic
,data
,lib/modules
, etc. A necessary accommodation for the evolvingapostrophe-multisite
module. - Raw HTML widgets now offer help text out of the box.
- The
express.static
middleware now runs before theapostrophe-global
middleware and other "standard" Apostrophe middleware. - ๐ Your own module-level
expressMiddleware
object can specify{ when: 'beforeRequired', middleware: function(req, res, next) { ... })
to run before the required middleware as well. Note that this means no sessions, no users and no body parser. Most of the time you'll want those things. - CSS adjustment to tabs in modals so they don't scroll in Firefox.
- โฌ๏ธ Dropzones for empty areas are easier to drop onto.