Apostrophe 3.53.0 New document template library feature, user settings menu with UI language locking, better accessibility, and fixes #4253
BoDonkey
announced in
Release Notes
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Joyeux noël, Apostrophiles!
I can hear you all asking, "BoDonkey, what kind of breakfast cereal did you eat this morning!?" Well, on this release day, we have published or updated 12 modules! (Get it, 12 days of Christmas?) 🎄
The big feature that we are excited about is the Template Library extension! This Pro module allows for the creation of templates for pages and piece types. These templates can be pre-populated with content, such as a series of specific widgets added to an area, that can then be reused throughout your project. Banish the blank page paralysis!
Another great feature included in this release is the ability to "lock" the Admin UI to a specific language, even if the locale is changed to a different language. This feature also includes the ability to add a highly customizable "Personal Settings" menu that allows a user to change their password, select the Admin language, and make developer-defined changes to their account. Check out the documentation for the new
@apostrophecms/settingsmodule.Speaking of core, this cycle saw a plethora of improvements. This includes improvements to the Admin UI accessibility, a new schema field of
hiddento help with conditional display, and changes to document handling. We also have chased down a number of bugs, including one that was flagged and then eliminated by community member Joshua N. Miller. Thanks!🎉 Check out the changelog below for all of the details.While looking through the changelogs, you may also notice that the
@apostrophecms/cliutility received an update. You might have also gotten a notification to update in your terminal. If you did update and are looking to start a new project, I can't stop you from tryingapos create my-project --starter=ecommerce😉. More announcements about this to come soon!In this next cycle, we will be working on two great new features. First, we are working on a document export/import functionality that will allow you to share documents between projects. Second, we are making significant improvements to Apostrophe logging. As usual, we welcome any community improvements, bug fixes, and suggestions!
Remember
npm updategets you the latest and greatest right in your project.Apostrophe 3.35.0
Adds
Pages/Docs Manager and Doc Editor modal now have better keyboard accessibility.
They keep the focus on elements inside modals and give it back to their parent modal when closed.
This implementation is evolving and will likely switch to use the
dialogHTML element soon.ifproperty inaddContextOperationin order to show or not a context operation based on the current document properties.update-doc-fieldsevent to callAposDocEditor.updateDocFieldsmethodhiddenproperty to always hide a fieldAposDocEditorwhen all fields are hidden due toifconditions_aposEditorModaland_aposAutopublishproperties of a document if present, and otherwise falls back to module
configuration. This is a powerful addition to custom editor components
for piece and page types, allowing "virtual piece types" on the back end that
deal with many content types to give better hints to the UI.
_aposAutopublishproperty of a document if present, otherwisefall back to module configuration.
type, the original type of the document being copied or edited.copyOfId, which impliesthe custom editor should fetch the original itself by its means of choice.
For backwards compatibility
copyOfis still passed, but it may be anincomplete projection and should not be used in new code.
docIdprop, which shouldbe used in preference to
docbecausedocmay be an incompleteprojection.
specify both a
propsobject for additional properties to be passed totheir modal and a
docPropsobject to map properties from the documentto props of their choosing.
@apostrophecms/i18nmodule. The new options allow control over the default admin UI language and configures the list of languages, that any individual logged in user can choose from. See the documentation for more details.adminLocaleUser field to allow users to set their preferred admin UI language, but only when the@apostrophecms/i18nis configured accordingly (see above).@apostrophecms/settingsmodule and a "Personal Settings" feature. See the documentation for more details.$andoperator onaddContextOperationifproperty in order to check multiple fields before showing or hiding a context operation.Fixes
AposDocEditoronSavemethod signature. We now always expect an object when a parameter is passed to the function to checkthe value of
navigateflag.publicori18nsubdirectory no longer generate awarning if they export no code.
Thanks to Joshua N. Miller.
Changes
npm linked tothe project no longer have to be listed in
package.jsonasdependencies. To prevent surprises this is still a requirement for modules
that are not symlinked.
Apostrophe 3.x modules
@apostrophecms/piece-type-importer1.1.1This module adds an optional import feature to all piece type modules in an Apostrophe project. This feature enables importing pieces from CSV files where it is configured.
Fixes
@apostrophecms/import-a2-tags1.0.1While Apostrophe 2 documents have a tags array field, this field doesn't exist in Apostrophe 3. Instead, tags are represented as relationships to a "tag piece type" if and when this is desired in a particular project.
Fixes
aposDocIdrather than_id.tagsFieldswith empty objects to exactly match normal behavior for these relationships.@apostrophecms/ai-helper1.0.0-beta.3This module enhances Apostrophe with AI-driven helpers. Currently this module offers:
See the README for more info.
Fixes
conversion. This now happens only when inserting into the media library.
Pro modules
@apostrophecms-pro/multisite3.12.0This module lets you have many ApostropheCMS websites running on a single codebase in a single Node.js process. Each has its own database, users, media uploads, etc. Sites can be created and managed via a dashboard site. Contact us or visit our new pricing page to learn more.
Adds
sites/index.jsmay now be anasyncfunction and will be awaited.@apostrophecms-pro/doc-template-library1.0.0This module solves the "blank page problem" for developers and product managers, and makes it faster for editors to create content. doc-template-library allows for the configuration of default widgets and pre-populated content on piece or page templates, and to re-use existing layouts. Contact us or visit our new pricing page to learn more.
Adds
@apostrophecms-pro/document-versions1.1.1This module automatically creates versions for your published documents (pages and pieces) and allows manual restore to any previously saved document version. Contact us or visit our new pricing page to learn more.
Fixes
isVisiblein Apostrophe 3.53.0)@apostrophecms-pro/cypress-tools1.0.0-beta.8Automated functional browser tests are an important part of quality assurance for enterprise websites and web applications. Cypress is an industry-standard, open-source library for carrying out automated functional browser tests. This module provides a collection of conveniences for testing ApostropheCMS sites and applications within Cypress. Contact us or visit our new pricing page to learn more.
Adds
Apostrophe 2.x modules
apostrophe-pieces-import2.3.2This module adds an optional import feature to all apostrophe-pieces in an Apostrophe project.
Fixes
Utilities
uploadfs1.22.2uploadfscopies files to a web-accessible location and provides a consistent way to get the URLs that correspond to those files. uploadfs can also resize, crop and autorotate uploaded images. uploadfs includes S3-based, Azure-based, GCS-based and local filesystem-based backends and you may supply others.Changed
npm audit. There was no actual security vulnerability due to the way the module in question was actually used.vartoconstandletin all cases to satisfy eslint and help prevent future bugs. This does not change the behavior of the code.@apostrophecms/eslint-config-apostrophe4.1.0An ESLint configuration for ApostropheCMS core and officials modules.
Changed
@apostrophecms/cli3.2.0The Apostrophe CLI is a cross-platform starting point for creating and configuring ApostropheCMS projects, providing a simple boilerplate generator and wrapping other useful functions into an easy to use command line tool.
Adds
--starterflag to make use of the starter kits easier. Also adds fallbacks for obtaining templates from other repositories.config.jsfile to reflect the new name for the olda3-boilerplatetemplate repo,starter-kit-essentialsBeta Was this translation helpful? Give feedback.
All reactions