Install
Works with Drupal: ^11.4Using Composer to manage Drupal site dependencies
Alternative installation files
Download tar.gz
330.51 KB
MD5: 7fc85e64946e3de5a47a066afcee70a1
SHA-1: f802bea2a140af183c986db2d3ed4e3c6e45ac13
SHA-256: 9520535902c9c3137916151d86c9f356f872e0b494b92f2666ccd42052b280b5
Download zip
445.07 KB
MD5: 9c6fee26f31a5d7ddf03e255078a23f1
SHA-1: ab417d1c61c1d3e547e3e9cd313bfb523b628a3d
SHA-256: b1faff772ccafa098074274bed1e91edf3f01451500607eae310712757c7d10e
Release notes
Core refresh reliability and snapshot safety improvements, with optional
alpha Background, Push and Messenger integrations for evaluation.
Upgrade notes
- Run database updates and rebuild caches after updating. The new `initialize_snapshot_storage` post-update prepares SQL-backed snapshot storage before comment transactions need it. This prevents lazy table creation from implicitly committing comment writes on MySQL/MariaDB. Fresh installs prepare the storage during installation; non-SQL cache backends remain supported.
- Core ACT remains demand-built. No worker, hub or new production dependency is required for ordinary commenting. The new submodules are not enabled automatically; their interfaces and configuration are experimental.
- Review the new core extension contracts (docs/api.md) and optional submodule guide(docs/optional-submodules.md) before integrating.
Core reliability
- #3628206: Recover direct push updates after missed events or reconnects Retain change notifications while a page is hidden, submitting, applying preferences or already refreshing. An older response cannot acknowledge a newer notification. Deliverable changes drain in bounded passes even with periodic polling disabled; failures back off and respect `Retry-After`, without looping on collapsed branches or active filters.
- #3628202: Keep core ACT independent of optional processing infrastructure #3626386: Optional background snapshot preparation and snapshot-ready events Protect snapshots against concurrent writes with transactional host generations. Use current build time for expiration and refresh local authorization state during worker preparation. Explicit anonymous preparation restores the caller's account and emits readiness only after a current snapshot has been successfully cached.
- #3628202: Keep core ACT independent of optional processing infrastructure Expose documented write, preparation and recipient-access contracts for optional integrations. Core schedules no background work itself.
Optional alpha integrations
- #3628203: Process ACT background work through configurable backends #3626386: Optional background snapshot preparation and snapshot-ready events Background: transactional outbox, pluggable execution backends, selected anonymous snapshot warming and bounded retries. Uses Drupal's configured queue backend by default. The core CLI command `vendor/bin/dr act-background:drain` supports bounded or continuous execution and graceful shutdown. Publication is immediately eligible, independently of lazy warming; pending writes coalesce and overlapping writes remain queued.
- #3628204: Add a Symfony Messenger backend for ACT background work Messenger: optional Symfony Messenger backend with explicit asynchronous routing and retry handling. Install the `sm` integration separately. Messenger is also a development-only dependency for analysis and tests, not a requirement for core ACT installations.
- #3628205: Apply pushed comment updates without refreshing the whole thread #3628206: Recover direct push updates after missed events or reconnects Push: publisher/presence plugins and a Mercure adapter, with authorized metadata, session-scoped private subscriptions and HTTP reconciliation. Repair on initial connection and reconnect; a configurable 120-second safety check covers missed notices. Prompt notices expedite slower pending repairs. Credentials are excluded from serialized plugin state.
- Full direct comment application, direct-update continuity/replay, subscriber-aware job priorities, live Mercure verification and load measurements remain outstanding. This release does not certify production push delivery or large-scale capacity. See draft ADRs [0010](docs/adr/0010-optional-background-execution.md) and [0011](docs/adr/0011-best-effort-push-and-reconciliation.md).
Testing and compatibility
- Added MySQL/MariaDB first-write and rollback regressions, including nested savepoints, and plugin serialization round trips on PHP 8.3. Corrected injected plugin properties for Drupal's dependency serialization trait.
- Expanded refresh/reconciliation tests and resolved CSpell, ESLint, PHPCS and PHPStan findings. Drupal 12 compatibility remains unverified and undeclared.