# Apostrophe 4.23.0: Layout Widget (Beta), Enhanced Widget Operations, and Improved Astro Integration #5133
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.
-
Hello Apostrophe Community!
Apostrophe 4.23.0 introduces a new user-friendly UI for layout (currently in beta) expands widget customization capabilities, and enhances support for Astro as an external frontend.
Apostrophe.4.23.0_.Layout.Widget.Beta.Enhanced.Widget.Operations.and.Improved.Astro.Integration.mp4
Layout Widget: Dynamic Grid Layouts (Beta)
We're excited to introduce the layout widget: a CSS grid-based system that gives editors direct control over responsive column layouts. This beta feature allows content teams to add, remove, resize, and reposition columns directly on the page without leaving their editing context. This is available as an optional core widget that can be added to your project after this update.
Key capabilities:
Now editors can build and manipulate layouts without relying on developers for small changes, which gives them more freedom to create and developers more time to focus on other business-critical work. Apostrophe Pro customers can go even further by combining this core feature with the Section Template Library, allowing your team to save complex multi-column layouts as reusable templates.
This is a beta release. We're actively gathering feedback to refine the API and configuration options before the stable release. The layout widget lays important groundwork for future capabilities, including AI-assisted layout generation.
For complete usage details, see the layout widget documentation. We encourage you to experiment with the layout widget and share your feedback on our roadmap or on Discord.
Enhanced Widget Operations
The
widgetOperationsconfiguration now supportsplacement: 'breadcrumb', allowing developers to add custom operations to a widget's breadcrumb menu. This expansion gives you greater flexibility to create specialized editing workflows tailored to your content team's needs.Combined with features from previous releases, like
addCreateWidgetOperationand a mechanism for the conditional display of context menu operations, this enhancement makes the platform increasingly extensible while maintaining a clean, intuitive editing experience.Improved Astro Integration
We're committed to making Astro a first-class frontend option for ApostropheCMS. This release brings significant improvements to the Astro experience:
Section Template Library preview support: The REST API now supports the
render-areasquery parameter when using Astro as an external frontend, enabling section template library previews to work seamlessly in Astro projects.Layout widget components: The
@apostrophecms/apostrophe-astropackage now includes dedicatedLayoutWidget.astroandLayoutColumnWidget.astrocomponents, along with the newAposRenderAreaForAstrocomponent. These additions ensure that complex widgets like the layout widget render properly with full support for their specialized features.These enhancements demonstrate our ongoing investment in the Astro integration, making it easier to use ApostropheCMS as a headless CMS with Astro on the frontend.
Section Template Library: Now Stable
The Section Template Library, announced in beta last month, is now stable and ready for production use. This Pro extension allows editors to save any widget as a reusable section template, solving the "blank page problem" by giving content teams a library of starting points.
With the new layout widget, this becomes especially powerful: editors can now create sophisticated multi-column layouts and save them as templates—no custom widget development required. Complex designs that previously needed developer intervention can now be built, saved, and reused by the content team.
Section Template Library is available to Pro and Assembly license holders. Learn more about the extension or our Pro license option today.
Additional Improvements
This release includes several refinements that enhance the overall experience:
caseInsensitiveoption, with a migration task to handle existing data.aposStyle,aposClassName,aposParentOptions, andaposAttrsvariables, allowing parent widgets to pass styling and configuration to nested content areasThese improvements are ready for you to explore! Update your projects with
npm updateand let us know what you think on our roadmap.🚀 Happy coding!
Apostrophe 4.23.0
Adds
render-areasquery parameter in the REST API when using Astro as an external frontend, provided the Astro project has the corresponding route. This allows section template library previews to work in Astro projects. For ease of migration, if Astro cannot satisfy the request, ApostropheCMS will also attempt to render the widget natively.self.apos.externalFrontKeyavailable, simplifying API calls back to Astro.widgetOperationssupport forplacement: 'breadcrumb'to add operations to the breadcrumb menu of widgets. Extend the widget operations configuration to support various features when in the breadcrumb menu.aposStyle,aposClassName,aposParentOptionsandaposAttrscontextual named variables (with {}syntax).caseInsensitiveto force login usernames and emails to be case insensitive. New tasklogin-case-insensitiveupdating all login names / email to lowercase, used by a new migration when switching tocaseInsensitive.disableIfPropsanddisableTooltipto widget operations and breadcrumb operations.Changes
/api/v1/@apostrophecms/login/logoutand/api/v1/@apostrophecms/login/whoamiroutes whenlocalLoginisfalse.AposSchema.annotateAreaForExternalFrontlogic and added context so developers understand the reason if it fails due to a widget type with no matching module in the project.actionandnativeActionproperties.modefrom breakpoint preview to it's own store (to be used by layout).Fixes
render-areasquery parameter now works correctly with areas nested in array items.awaitin helper library function for the asset module, ensuring JS assets build reliably.Pro Modules
@apostrophecms-pro/data-set2.0.5This module provides an easy avenue for low-code data presentation. It creates a data-set piece for the import of comma-separated values (CSV) files. A separate widget allows for the dynamic selection of columns, and display of the data as an HTML table, or in other templates provided by the developer. Explore our documentation to learn how this extension can enhance your project. Once you're ready, obtain a license and install it through Apostrophe Workspaces. For further details or inquiries, feel free to contact us or visit our pricing page.
Security
connect-multipartywithmulter.connect-multipartyis no longer maintained, it makes sense to move tomulter.Fixes
@apostrophecms-pro/doc-template-library2.2.7This 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. Explore our documentation to discover how this extension can enhance your project. Then, effortlessly integrate it through our new Apostrophe Workspaces. For further details or inquiries, feel free to contact us or visit our pricing page.
Changes
@apostrophecms-pro/import-export-translation1.0.5The purpose of this module is to create a specialized JSON file containing the text of the site, which can be downloaded and manually edited into a different language before being imported into a new locale. Upon import, pages from the default locale will be localized into the new locale substituting the translated text. Explore our documentation to learn how this extension can enhance your project. Once you're ready, obtain a license and install it through Apostrophe Workspaces. For further details or inquiries, feel free to contact us or visit our pricing page.
Security
connect-multipartywithmulter.connect-multipartyis no longer maintained, it makes sense to move tomulter.@apostrophecms-pro/palette4.10.1A beautiful visual interface for styling your website without writing any code.
@apostrophecms-pro/paletteallows content creators and designers to adjust colors, fonts, spacing, and other design elements directly from the frontend, with changes appearing instantly. Developers configure which CSS properties can be modified, and the module automatically injects the updated styles into every page. Explore our documentation to learn how this extension can enhance your project. Once you're ready, obtain a license and install it through Apostrophe Workspaces. For further details or inquiries, feel free to contact us or visit our pricing page.Changes
@apostrophecms-pro/section-template-library1.0.0Accelerate content creation and maintain design consistency by turning your best widgets into reusable section templates. Content teams can instantly insert components without recreating layouts from scratch. Explore our documentation to discover how this extension can enhance your project. Then, effortlessly integrate it through our new Apostrophe Workspaces. For further details or inquiries, feel free to contact us or visit our pricing page.
Fixes
@apostrophecms-pro/section-template-library1.0.0Accelerate content creation and maintain design consistency by turning your best widgets into reusable section templates. Content teams can instantly insert components without recreating layouts from scratch. This module is now stable and ready for production use. Explore our documentation to discover how this extension can enhance your project. Then, effortlessly integrate it through our new Apostrophe Workspaces. For further details or inquiries, feel free to contact us or visit our pricing page.
Changes
@apostrophecms-pro/signup2.1.0A seamless solution that empowers users to easily create accounts on your website. Users can sign up in a few simple steps, complete with email verification and pre-determined user role and access level. Explore our documentation to discover how this extension can enhance your project. Then, effortlessly integrate it through our new Apostrophe Workspaces. For further details or inquiries, feel free to contact us or visit our pricing page.
Adds
normalizeLoginNamemethod to lowercase username and email in case project login optioncaseInsensitiveis set to true.Free modules
@apostrophecms/form1.5.2Allow ApostropheCMS editors to build their own forms. They can then place any form in one or more content areas across the website.
Changes
Security
connect-multipartywithmulter.connect-multipartyis no longer maintained, it makes sense to move tomulter.@apostrophecms/import-export3.3.1This module enables import and export of pages and pieces, with or without related documents such as files, images and other related types.
Changes
@apostrophecms/passport-bridge1.6.0apostrophe-passportworks together withpassport-google-oauth20,passport-gitlab2and similar passport strategy modules to let users log in to Apostrophe CMS sites via Google, Gitlab and other identity providers. This feature is often called federation or single sign-on.Adds
normalizeLoginNamemethod to lowercase username and email in case project login optioncaseInsensitiveis set to true.Utilities
@apostrophecms/apostrophe-astro1.7.0This module integrates ApostropheCMS into your Astro application.
Adds
AposAreato accept custom style, class, and attributes, but also awidgetComponentprop. The latter allows for custom widget rendering components to be used. This is particularly useful for complex widgets like the Layout widget that need to render the output in particular order/way.LayoutWidget.astroandLayoutColumnWidget.astrocomponents to be used in the project level widget mapping.AposRenderAreaForAstrocomponent, specifically designed to be used to implement the new/api/apos-external-frontend/render-arearoute. This allows section template library previews to work in Astro projects and also enables calling the ApostropheCMS REST APIs with?render-areawhen using Astro on the front end. See the documentation for more information on adding this route to existing projects.@apostrophecms-pro/cypress-tools1.0.0-beta.24Automated 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 the ApostropheCMS admin UI within Cypress. Explore our documentation to learn how this extension can enhance your project. Once you're ready, obtain a license and install it through Apostrophe Workspaces. For further details or inquiries, feel free to contact us or visit our pricing page.
Adds
uploadfs1.26.0uploadfscopies 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.Changes
Beta Was this translation helpful? Give feedback.
All reactions