Install
Works with Drupal: ^11.4Using Composer to manage Drupal site dependencies
Alternative installation files
Download tar.gz
242.36 KB
MD5: 15e14c966b0459fbc12b16454cab5def
SHA-1: db22f5025c2373bb785a0ce33de1cb870e1283cf
SHA-256: 97a069353e32c89779221003245164c8a38b23dcdec69c0020e0620990fe6a68
Download zip
302.76 KB
MD5: 28bc5c23ad2831a2419d9ce86cf9bea1
SHA-1: c9e901e9c91c92c6c8777603d365a87ccb20e0f6
SHA-256: e9042f1a21f441e9785880059cf700e7792d66bdb976a4141ed9edef0e07d9d8
Release notes
First beta of Advanced Comment Threads: threaded Drupal discussions with
progressive loading, inline replies, unread navigation, filtering, reader
preferences, and optional live refresh. Available as a comment field formatter
(including Layout Builder) and optional Canvas components.
Requirements
- Drupal `^11.4`, core Comment, and contributed History (`^1.0`).
- Canvas is optional; its integration requires 1.10 or later and has been tested through 1.12.0. It uses Canvas's internal ComponentSource API.
- ECA Content and Matrix API 3.x are optional. Development dependencies now use Matrix API's released beta line rather than its alphas.
- The HTMX bridge supports the HTMX 2/4 differences, but Drupal 12 compatibility is not yet declared. The temporary Twig 3.30.0 exclusion was removed after the Drupal core fix.
Upgrade notes and behavior changes
- New Matrix polling models install disabled. Enable ACT: Matrix before refresh in ECA after configuring Matrix credentials and inbound mappings. Previously the integration enabled polling automatically. Until enabled, ACT refreshes Drupal comments without fetching Matrix messages; cron or a Matrix daemon can still provide inbound updates. Existing models keep their enabled/disabled state and site customizations on upgrade.
- Run database updates and rebuild caches after updating the module. The post-updates remove unused global loading settings and enable the share refresh snapshot cache where its setting does not yet exist. Placement-level formatter and Canvas settings remain authoritative. Export updated configuration through your site's normal deployment workflow.
- Developers and themers should review the [public API](docs/api.md) and [presentation guide](docs/presentation.md). Internal classes, routes, and services are not promised as stable extension points.
Changes since 1.0.0-alpha4
- #3626381: Refresh reads a shared, tag-invalidated thread snapshot: Refresh requests reuse shared, access-aware thread snapshots, with per-host invalidation, rebuild locking, a short stale fallback, and a configurable cache switch. Readers with equivalent permissions can share rendered markup; chunked rebuilds retain the persistent entity cache.
- #3623896: Reduce full-index work on context and unchanged refresh requests Reduced refresh work before the shared snapshot cache was added.
- #3626558: Previous new button doesn't work correctly Fixed the Previous new button's navigation direction.
- Added a Show all text toggle for comment bodies. Summary-only density now uses a single line, prioritizing the subject on narrow screens.
- Allowed concurrent fragment requests from one client.
- Refresh responses now include the visit-token header on HTTP 200 responses.
- #3623702: Provide support for Drupal 12/htmx 4 Added the HTMX 2/4 compatibility bridge.
- #3622836: Clean up linting issues Cleaned up PHPCS, PHPStan, JavaScript, CSS, and spelling checks.
- Consolidated documentation into guides and architecture decisions, documented the public API, and excluded development configuration from release packages.
Improvements delivered during the alpha cycle
- Inline submission feedback, new-comment navigation for moderators, inline approval, and restored edit/delete links.
- Bounded fragment endpoints, smaller context windows and prefetch requests, batched Expand All delivery, and reduced duplicate index work.
- Access-aware caching, cache invalidation after author renames, and conditional refresh that preserves pending deliveries and personalized state.
- Accessibility improvements to the comment tree, announcements, keyboard focus, submission state, and the no-JavaScript fallback.
- Fixes for scroll compensation, live arrivals, first-paint reader preferences, sibling positions, and the empty-thread message after the first submission.
- Token/signature hardening and removal of AJAX page-state data from GET query strings. Added browser regressions and recorded loading journeys.
Known limitations
- Managed files, custom widgets, and custom spam/moderation integrations still need site-specific verification. Broader accessibility and cross-browser/theme acceptance remain outstanding.
- Initial indexes are not cursor-paginated; invalidated refresh snapshots still need rebuilding. Each placement polls independently.
- Matrix polling runs synchronously using server credentials and can poll all joined rooms. Enabling the model permits authorized anonymous readers to trigger it. See the [Matrix guide](docs/matrix-refresh.md).
- Recorded journeys run in CI; the broader Playwright suite is not yet wired into CI. Lint jobs use Drupal CI's non-blocking defaults and are reviewed before releases.
Earlier alpha releases are covered by the tagged Git history; the sections above summarize their cumulative changes rather than repeating every commit.