What's Changed
⚠️ Breaking Changes
- Requires Jahia 8.2.0+ — Jahia 8.0 and 8.1 are end-of-life
- Requires Java 11+ — compiler target raised from Java 8 to Java 11
- Spring removed — OSGi Declarative Services only; no Spring context, no Blueprint extender
🔒 Security Fixes
- XSS:
page1Titleunescaped in navbar dropdown link (navbar.basenav.jsp) - XSS:
brandTextunescaped in navbar body (navbar.jsp) - Stored XSS:
title/captionunescaped in carousel item body text (carouselItem.jsp) - Stored XSS:
footerproperty unescaped in card (card.jsp)
🐛 Bug Fixes
- Carousel indicators:
activeclass on<button>instead of<li>— visual state broken after first slide - Carousel: wrong guard variable
${empty ride}defaultedwrap(should be${empty wrap}) - Carousel JS: pause/play labels injected via
fn:escapeXmlinto<script>string — replaced with data-attribute pattern - Pagination: disabled prev/next links keyboard-activatable after
tabindex="-1"removal — restored alongsidearia-disabled - Card: dynamic tag name for header sanitized with whitelist instead of
fn:escapeXml - Package jar: was named
*-root.jar— now correctlybootstrap4-package-4.7.0.jar - Package:
bootstrap4-coredependency version was literallyc(typo)
♿ Accessibility (WCAG 2.1 AA)
Full WCAG 2.1 Level AA pass across all components: breadcrumb, carousel, carousel item, tabs, navbar, pagination, button/modal, alert, grid, image. Highlights:
- Carousel: accessible indicators (buttons), prev/next controls, pause/play button (WCAG 2.2.2)
- Navbar: dropdown triggers converted to
<button>,aria-current="page"on active links - All components: proper landmark regions, ARIA roles/labels, keyboard navigation
🏗️ Build
- Maven CI-friendly
${revision}— version defined once in root pom - Package aligned with Bootstrap 5 pattern (
jahia-packages-parent, full manifest entries) - CodeQL + Dependabot enabled
LICENSE.txtandSECURITY.mdadded
📖 Documentation
CHANGELOG.mdintroducedMIGRATION.md— migration guides extracted from README- Bootstrap 4 EOL warning with link to Bootstrap 5
Full changelog: bootstrap4-modules-4.6.8...bootstrap4-modules-4.7.0