Skip to content

Core Components 2.0.0

Compare
Choose a tag to compare

General

Following items apply to all existing and new components, but in order guarantee the compatibility, a v2 of the existing components was created for these new capabilities.

New

Enhanced

  • Standardized markup to use BEM-style notations for CSS classes.
  • Standardized JavaScript markup data API.
  • Standardized JSON output.
  • Removed cq:htmlTag node in components.
  • Unified handling for navigation and list items.
  • Removed sling-scripting service user mapping.
  • Removed useless default CSS.
  • Cleaned up POM files.

Components

New

Enhanced

A v2 of the existing components was released, so that the new capabilities could be added without breaking the compatibility.

In addition to the general capabilities listed above, following component-specific enhancements were applied to the v2:

  • Page component
    • Removed useless default favicon client library, and created instead a "Web Resources Client Library" that can be configured on the Page Policy.
  • Image component
    • Dialog can reuse image title and description from Assets.
    • Last modification date cache killer also included on publish.
    • Refactored Sling Model API and HTML output.
    • Made AdaptiveImageServlet backward compatible.
  • Text component
    • Added an edit dialog.
  • List component
    • Abstracted returned items to ListItem, rather than Page.
  • Breadcrumb component
    • Improved markup semantic with a <NAV> element.
    • Used the NavigationItem introduced as well for other components.

For a list of the fixed issues that were tracked over GitHub, see the 2.0.0 milestone.