Install
Works with Drupal: ^11.4 || ^12Using Composer to manage Drupal site dependencies
Alternative installation files
Download tar.gz
162.61 KB
MD5: 649a0fdfe66219355203685eb4c2e0c3
SHA-1: 1fb55a3c2a8c56507379100456c39336d65ee7d8
SHA-256: 1c3a9fe1ec978fa68634ff66ad04011267611f97bf17b0532b750a71f3098fe2
Download zip
204.37 KB
MD5: bccae20cb4ee3bc654454c4dfb8f8d1b
SHA-1: e8d8cfe73f617815f2da4f0f24d7cc95bda0f066
SHA-256: 4e25eee5106da3ed85af6fe6cbb46d5e423f1ba65e36184d867bec3038ef11b0
Release notes
Major release after running parallel reviews by DeepSeek V4 Flash Vision and Claude Opus identifying these issues, and fixed by Claude Sonnet 5, DeepSeek Flash V4, GPT-5.6-luna, orchestrated by GLM-5.2.
Performance
- #3622839: On-demand fragment endpoints rebuild the full comment index On-demand fragment endpoints now load only the requested comments plus their ancestor chains and direct children, instead of rebuilding the full comment index on every fragment, branch, and delivery request.
- #3622843: Comment index built twice per node render The comment index is built once per node render and shared between the thread build and the reading-history lazy builder, halving the query and access-check work on every comment-enabled page.
- #3622844: Fix caching issues Per-comment render caching is restored (warm fragment renders drop from ~365 ms to ~10 ms), the thread build carries proper cache keys, and forced
max-age: 0was removed in favor of bubbled cacheability. - #3623179: Context fragment returns most of the thread at depth The context fragment now returns a bounded window around a deep comment instead of most of the thread.
- #3622840: Expand All does not scale on large threads Expand All reveals large threads in bounded parallel batches (at most 50 ids per delivery request) with a busy indicator and per-batch failure isolation, instead of a serial request chain.
- #3622841: Selecting a comment prefetches every sibling Selecting a comment now prefetches at most a few adjacent siblings rather than every sibling on the thread.
- #3622842: Ship fewer per-comment URLs in drupalSettings drupalSettings no longer ships three fully-qualified signed URLs per comment; one shared signature plus URL templates replaces roughly 190 KB of redundant payload on large threads.
- #3623180: Refresh should return 304 / not reship the whole poll payload The polling refresh endpoint returns
304 Not Modifiedwith ETag support, so unchanged polls cost a round-trip instead of ~170 KB and ~1.8 s. - #3623175: Scroll performance via content-visibility Comment rows use
content-visibility: auto, roughly quadrupling scroll frame rates on fully expanded 200+ comment threads. - #3623170: No reachable path to comments 11..N Threads truncated by progressive loading now expose a real "show all" link and per-group "N more" controls, so every comment is reachable; the show-all key is derivable from the page's own thread id.
- #3623182: Reader preferences apply only after first paint Saved reader preferences (density/depth) now apply at first paint via a bounded cookie mirror, eliminating the visible re-layout, and a "Reset to site defaults" control restores site configuration.
Security & hardening
- #3623174: Security hardening of token and HMAC signing All signed capabilities now derive from the private key with the hash salt, reply scopes carry a short expiry, and the versions map no longer hashes admin-only fields.
- #3623173: Harden and bound the on-demand fragment endpoints The on-demand endpoints gain per-client flood control (429 with Retry-After), an
access commentspermission gate, bounded inputs, normalized cache contexts, GET-only read routes, and a simplified filter query with a minimum search length. - #3623181: ajax_page_state in GET query strings leaks a CSRF token into logs The
ajax_page_stateCSRF token no longer appears in GET query strings, keeping it out of web-server and proxy access logs.
Accessibility
- #3623172: Accessibility of the comment tree The comment tree is a properly named ARIA tree: treeitems expose set size and position within their full sibling set, comments are real headings, a skip link precedes the thread, the status bar is a named group, and script-focused targets show a visible focus ring.
- #3623172: Accessibility of the comment tree Screen-reader announcements were consolidated to a single pre-existing live region per message class — no more double-speaking, and errors are announced assertively.
UX & robustness
- #3623177: UX robustness: submit feedback, focus, and no-JS fallback Submitting a comment shows a visible busy state with an adjacent cue, submission start is announced, focus is restored after validation errors, branch expansion has busy/error feedback, and no-JS readers see usable content with JS-only controls hidden.
- #3623183: Live-refresh arrivals: no announcement and no scroll compensation Comments arriving during live polling are announced and no longer shift the reader's scroll position.
- #3623186: "No comments yet." stays on screen after the first comment posts The "No comments yet." message now disappears when the first comment posts.
Presentation & theming
- #3623176: UI correctness fixes Corrected the escaping bubble tail, filter-results padding, dark color-scheme readability, badge alignment, RTL spacing, unified focus rings, and guarded arrival transitions; the comment card component is now self-scoped and renders styled standalone.
- #3623178: Polish and asset delivery Comment bodies get a readable measure cap, nested levels get a visible thread rail, the relation line is simplified to a single muted line, and the front-end ships as a minified, preprocessed bundle (~31 KB gzipped in one request instead of four unminified ESM files).
Browser support & testing
- #3623184: Cross-browser verification of reply-form moves and scroll anchoring The browser suite now runs in Chromium, Firefox, and WebKit; the reply-form move fallback preserves caret and editor state, and scroll compensation is engine-agnostic (also covering Chromium, where
content-visibilitysuppresses native anchoring).
Documentation
- #3623185: Documentation gaps that block theming The theming guide documents all custom properties (including the previously omitted indentation tokens and their fallback reality), the SDC
replaces:contract, and the byline duplication caveat.