ApostropheCMS v3.12.0 Release Notes
Release Date: 2022-01-21 // over 2 years ago-
โ Adds
- โ Adds latest Slovak translation strings to SK.json in
i18n/
folder - ๐ It is now best practice to deliver namespaced i18n strings as JSON files in module-level subdirectories of
i18n/
named to match the namespace, e.g.i18n/ourTeam
if the namespace isourTeam
. This allows base class modules to deliver phrases to any namespace without conflicting with those introduced at project level. Thei18n
option is now deprecated in favor of the newi18n
module format section, which is only needed ifbrowser: true
must be specified for a namespace. - ๐ง Brought back the
nestedModuleSubdirs
feature from A2, which allows modules to be nested in subdirectories ifnestedModuleSubdirs: true
is set inapp.js
. As in A2, module configuration (including activation) can also be grouped in amodules.js
file in such subdirectories.
๐ Fixes
- ๐ Fixes minor inline documentation comments.
- ๐ป UI strings that are not registered localization keys will now display properly when they contain a colon (
:
). These were previously interpreted as i18next namespace/key pairs and the "namespace" portion was left out. - ๐ Fixes a bug where changing the page type immediately after clicking "New Page" would produce a console error. In general, areas and checkboxes now correctly handle their value being changed to
null
by the parent schema after initial startup of theAposInputArea
orAposInputCheckboxes
component. - ๐ It is now best practice to deliver namespaced i18n strings as JSON files in module-level subdirectories of
i18n/
named to match the namespace, e.g.i18n/ourTeam
if the namespace isourTeam
. This allows base class modules to deliver phrases to any namespace without conflicting with those introduced at project level. Thei18n
option is now deprecated in favor of the newi18n
module format section, which is only needed ifbrowser: true
must be specified for a namespace. - โ Removes the
@apostrophecms/util
module template helperindexBy
, which was using a lodash method not included in lodash v4. - Removes an unimplemented
csrfExceptions
module section cascade. Use thecsrfExceptions
option of any module to set an array of URLs excluded from CSRF protection. More information is forthcoming in the documentation. - ๐ Fix
[Object Object]
in the console when warningA permission.can() call was made with a type that has no manager
is printed.
๐ Changes
- ๐ Temporarily removes
npm audit
from our automated tests because of a sub-dependency of vue-loader that doesn't actually cause a security vulnerability for apostrophe.
- โ Adds latest Slovak translation strings to SK.json in