ApostropheCMS v3.6.0 Release Notes

Release Date: 2021-10-13 // over 2 years ago
  • ➕ Adds

    • 💻 The context-editing apostrophe admin UI bus event can now take a boolean parameter, explicitly indicating whether the user is actively typing or performing a similar active manipulation of controls right now. If a boolean parameter is not passed, the existing 1100-millisecond debounced timeout is used.
    • ➕ Adds 'no-search' modifier to relationship fields as a UI simplification option.
    • Fields can now have their own modifiers array. This is combined with the schema modifiers, allowing for finer grained control of field rendering.
    • ➕ Adds a Slovak localization file. Activate the sk locale to use this. Many thanks to Michael Huna for the contribution.
    • ➕ Adds a Spanish localization file. Activate the es locale to use this. Many thanks to Eugenio Gonzalez for the contribution.
    • ➕ Adds a Brazilian Portuguese localization file. Activate the pt-BR locale to use this. Many thanks to Pietro Rutzen for the contribution.

    🛠 Fixes

    • 🛠 Fixed missing translation for "New Piece" option on the "more" menu of the piece manager, seen when using it as a chooser.
    • 🔧 Piece types with relationships to multiple other piece types may now be configured in any order, relative to the other piece types. This sometimes appeared to be a bug in reverse relationships.
    • Code at the project level now overrides code found in modules that use improve for the same module name. For example, options set by the @apostrophecms/seo-global improvement that ships with @apostrophecms/seo can now be overridden at project level by /modules/@apostrophecms/global/index.js in the way one would expect.
    • Array input component edit button label is now propertly localized.
    • 🐎 A memory leak on each request has been fixed, and performance improved, by avoiding the use of new Nunjucks environments for each request. Thanks to Miro Yovchev for pointing out the leak.
    • Fragments now have access to __t(), getOptions and other features passed to regular templates.
    • 🛠 Fixes field group cascade merging, using the original group label if none is given in the new field group configuration.
    • If a field is conditional (using an if option), is required, but the condition has not been met, it no longer throws a validation error.
    • 💻 Passing busy: true to apos.http.post and related methods no longer produces an error if invoked when logged out, however note that there will likely never be a UI for this when logged out, so indicate busy state in your own way.
    • 🐛 Bugs in document modification detection have been fixed. These bugs caused edge cases where modifications were not detected and the "Update" button did not appear, and could cause false positives as well.

    🔄 Changes

    • ✅ No longer logs a warning about no users if testModule is true on the app.