Tags

Tags give the ability to mark specific points in history as being important
  • 1.3.6

    1.3.6
    
    Guidance polish from two field reports; no change to caching or
    invalidation behaviour.
    
    Point-of-setting warning for page cache max age 0. When LSCache is
    enabled, Drupal's Performance page now notes on the page-cache-maximum-
    age field itself that choosing none (0) disables page caching entirely
    (Drupal marks pages no-cache, so the module emits no public headers and
    LiteSpeed caches nothing). Previously this only surfaced afterwards on
    the status report.
    
    Purge diagnostic reconciling the page-cache-max-age warning (issue
    on a plain Drupal + Purge site that value is the purgeable server cache
    lifetime. With LSCache the server-side caching is LiteSpeed's own
    purge-managed TTL, so that Drupal value is only the browser
    Cache-Control lifetime and is correctly kept short. A new LSCache entry
    in the Purge diagnostics explains this in place, so the low value no
    longer reads as a contradiction. Flags 0 as a real problem.
    
    All seven CI jobs green including the advisory ones. Both changes
    validated live on a cPanel/LiteSpeed environment running Purge 3.6.
  • 1.3.5

    1.3.5
    
    Status report polish; no behaviour change to caching or invalidation.
    
    Browser-vs-server page-cache TTL check. Operators routinely conflate
    system.performance:cache.page.max_age (the browser Cache-Control
    max-age, which browsers honour and nothing can purge) with
    lscache.settings:default_ttl (the LSWS server TTL the purger evicts). A
    new status row warns when the browser TTL is 0 (Drupal marks pages
    no-cache, so LSWS caches nothing despite the module being enabled) or
    longer than a day (returning visitors stay pinned to a stale page the
    purger cannot reach), and stays quiet otherwise. The distinction is
    documented on the Default TTL settings field and in
    docs/htaccess-gotchas.md.
    
    Listing-coverage row de-alarmed (issue #3607997). It used to warn
    whenever a listing was not pinned, counting affinity-only listings (warm
    from traffic, already evicting) as needing action. It now warns only
    when a listing is genuinely uncovered and cannot evict at all, and stays
    silent for affinity-only and pinned listings. The full coverage picture
    remains available via drush lscache:list-tag-coverage.
    
    All seven CI jobs green including the advisory ones. Validated on a real
    LiteSpeed environment.
  • 1.3.4

    1.3.4
    
    Two fixes for the same field failure: edits that return HTTP 200 but
    never evict.
    
    auto strategy is safe by default and self-probing. `auto` now resolves
    to the always-works URL strategy until a probe positively confirms
    tag-PURGE evicts on this LiteSpeed build, then upgrades to the more
    efficient tag strategy. The probe runs automatically on cron, so a
    fresh install evicts correctly out of the box even on builds that
    silently ignore tag-PURGE, with no drush command and no config.
    Resolution is centralised in StrategyResolver so the runtime purger and
    the status report cannot disagree; the invalidation-strategy status row
    is reworked to say plainly which strategy is active and why.
    
    Loopback purge-host fixes (issue #3594469). The Test purge host button
    skips TLS verification for loopback hosts, matching the runtime purger,
    so https on 127.0.0.1 no longer reports a certificate error for a config
    that works in production. Its success message no longer overstates a 200
    as proof of tag eviction and points at drush lscache:diag. The
    scheme-mismatch status row is suppressed for loopback hosts so it stops
    nudging operators toward https on a bare IP. Loopback detection is
    centralised in a new PurgeHost helper.
    
    No schema change. All seven CI jobs green including the advisory ones.
    Validated on a real LiteSpeed environment where the probe correctly
    detected the build ignores tag-PURGE and auto resolved to URL.
  • 1.3.3

    1.3.3
    
    Operator-experience polish: a calmer status report and a steadier
    diag probe. No behaviour change to caching or invalidation.
    
    Status report de-clutter: the LSCache rows stay quiet when healthy.
    The listing-coverage row no longer dumps a drush config:set command
    per uncovered listing inline; it shows the count, the affected tag
    names (capped), and points at drush lscache:list-tag-coverage for the
    per-tag pins. The scheme, invalidation-strategy (once probed),
    tag-affinity-table (below its soft cap), Host-header, and vary-cookie
    rows return nothing when there is nothing to act on, so a correctly
    configured site shows two LSCache rows instead of seven. Problems and
    the one-time run-diag nudge still surface.
    
    drush lscache:diag: the URL-PURGE check retries once, so the false
    INEFFECTIVE that could appear on the first probe right after drush cr
    (a warm-up artifact) resolves, while a genuinely ineffective build
    still reads INEFFECTIVE.
    
    No schema change. All seven CI jobs green including the advisory ones.
    Deferred to 1.4.x: post-purge sentinel verification, the everything
    invalidation type, a static_url_map discovery helper, and kernel
    coverage for the status rows and the diag command.
  • 1.3.2

    1.3.2
    
    Critical fix: restore the Drush command service arguments so drush
    works on consuming sites.
    
    1.3.0 and 1.3.1 dropped the arguments from
    modules/lscache_purger/drush.services.yml, on the wrong theory that
    the static create() factory plus the CLI command attributes were the
    single DI path. The command classes live in src/Commands/, not
    src/Drush/Commands/, so Drush discovers them only via the services
    file, and on Drush 12/13 the LegacyServiceInstantiator builds them
    with newInstanceArgs() and never calls create(). With no arguments,
    new LscacheDiagCommands() ran with 0 args and threw ArgumentCountError
    during command discovery in bootstrapDrupalFull(), breaking every
    drush command (status, cr, updb, cim) and aborting deploys into
    maintenance mode.
    
    Restore the arguments for both command services, with service IDs
    verified against each class's create(). A comment records why the
    arguments are required so the wiring is not removed again.
    
    Validated on Drupal 11.3 / Drush 13 (portal dev): drush boots
    cleanly, the lscache: commands list, updb runs, lscache:diag reports
    URL-PURGE WORKS / tag-PURGE INEFFECTIVE / auto resolves to url, and a
    prime then edit then MISS eviction confirms end to end.
    
    Operators on 1.3.0 or 1.3.1 with lscache_purger enabled should
    upgrade to 1.3.2; drush is unusable on those two releases under
    Drush 12/13.
    
    All seven CI jobs green including the advisory ones.
  • 1.3.1

    1.3.1
    
    Cache-correctness fix for private-cache mode: never full-page-cache
    an authenticated response that embeds per-session client-side state.
    
    With CacheLookup private on, LSWS stored and served a full-page
    private cache for authenticated users. The cached HTML carried a
    drupalSettings / BigPipe payload generated per request
    (ajaxTrustedUrl, ajaxPageState theme token, CSRF and form tokens,
    BigPipe placeholder ids). Replayed to a different request, core JS
    reading those keys threw, breaking every use-ajax link, dialog,
    AJAX-exposed View filter, and contextual link for logged-in users
    sitewide. Found on portal dev 2026-06-04; same family as the beta3
    anonymous-to-admin bug.
    
    The response subscriber now detects the drupalSettings JSON block in
    the body and suppresses private emission for it, emitting
    X-LiteSpeed-Cache-Control: no-cache (the same active suppression the
    BigPipe guard uses). In practice private mode no longer full-page-
    caches authenticated HTML, which is plain Drupal's safe default; it
    still applies to per-user responses with no embedded JS state.
    Operators who enabled CacheLookup private on for 1.1.x private cache
    can keep it on safely once on 1.3.1.
    
    All seven CI jobs green including the advisory ones.
  • 1.3.0

    1.3.0
    
    First stable of the 1.3.x line: private cache, ESI fragments, vary
    cookies, and the URL-purge strategy, validated in production on
    TubeSpanner LIVE (www.tubespanner.com, LSWS Enterprise 6.3.4,
    deploy live-2026-06-06-86cff1b) under heavy traffic.
    
    Headline since 1.3.0-beta6:
    
    - Per-URL PURGE strategy (purge_strategy: auto|tag|url) for LSWS
      builds that silently ignore tag-based PURGE: url resolves each
      cache tag to canonical Drupal paths and sends one PURGE per URL,
      auto self-selects from the diag probe, tag is the legacy path.
    - drush lscache:diag probes URL- versus tag-PURGE effectiveness and
      drives auto plus a status report row.
    - Tag-affinity table and static_url_map resolve aggregate tags
      (node_list, view configs) to the listing URLs that carry them,
      with cron-seeded protected rows for low-traffic listings.
    - Controller-rendered listings whose tags filter to empty still
      come under LSCache management so per-URL PURGE evicts them;
      drush lscache:list-tag-coverage reports gaps.
    - Scheme-mismatch detection, loopback TLS-verify handling, and
      effective-Host logging.
    
    Carries the full beta1 to beta6 cache-correctness fixes (Host
    header keying, BigPipe suppression, session-cookie vary,
    end-of-request queue drain). All seven CI jobs green including the
    advisory ones. See ROADMAP.md and docs/htaccess-gotchas.md.
  • 1.3.0-beta6

    1.3.0-beta6
    
    Third cache-correctness fix cycle from continued portal-master
    field testing on 1.3.0-beta5. Diagnoses and fixes the chronic
    "cache doesn't clear after node edits" reports from editors that
    had been silently degrading the rc2/rc3 soak windows all along.
    
    Root cause was on the purger side: Guzzle defaults the HTTP
    Host header from the request URL. With purge_host set to
    http://localhost/ (the module's own form guidance for single-
    host installs), the outgoing PURGE carried Host: localhost.
    But LSWS keys cache entries by Host, and real traffic populates
    entries under Host: <canonical-site-host>. PURGE was evicting a
    phantom localhost bucket while the real entries stayed live
    until their max-age expired.
    
    Headline fix:
    
      - New lscache_purger.settings:purge_host_header config key.
        When set, the purger overrides the Host header on outgoing
        PURGE requests so LSWS evicts entries cached under the
        canonical site host. Default unset preserves backward
        compatibility for edge-case installs where LSWS genuinely
        keys cache under localhost.
    
    Operator-experience follow-ups:
    
      - Settings form field at /admin/config/development/performance
        /lscache/purger with help text, a details panel explaining
        the Guzzle-derives-Host-from-URL behaviour, and an element
        validator rejecting URL-shaped values. The "Test purge host"
        diagnostic mirrors the runtime PURGE so localhost-only tests
        don't produce false-OK signals.
    
      - New status report row "LSCache purger Host header
        configuration" warns when purge_host targets localhost,
        purge_host_header is unset, and the canonical site host is
        non-localhost. Includes a copy-pasteable drush command with
        the suggested value pre-filled.
    
      - purge_processor_lateruntime added to lscache_purger's
        info.yml dependencies so the queue drains at the end of
        each Drupal request rather than only on cron runs. New
        lscache_purger_update_8102 installs the module on existing
        1.3.x sites. Closes the "purger works, queue grows, nothing
        drains in real time" report class.
    
      - Both WARNING log lines in invalidate() now name the
        effective Host header alongside the URL.
    
    Tests, docs, and ROADMAP:
    
      - Three new test cases in LscachePurgerTest using a real
        Guzzle client with mock handler + history middleware.
        Assert the outgoing PURGE's Host header reflects
        purge_host_header when set, falls through to Guzzle default
        when unset, and treats whitespace-only values as unset.
    
      - docs/htaccess-gotchas.md: new section on PURGE Host header
        keying. TL;DR rewritten as a four-bullet survey of the
        module-emits-header / LSWS-must-be-told pattern, naming the
        CacheLookup, CacheVary cookie, PURGE Host header, and
        BigPipe shapes.
    
      - README "Purger Host header override (1.3.x and later)"
        section covering the config field, the validator's
        bare-hostname rule, the status report row, and the
        docs-file pointer.
    
      - ROADMAP entry includes a soak-window honesty note: the
        beta5 weekend soak signal was scoped to the vary-cookie
        and BigPipe fixes, not to "caching works end-to-end" which
        the Host header bug had been silently breaking all along.
    
    Pure correctness fix; no API contract changes. Same back-to-beta
    convention as beta3, beta4, and beta5: a meaningful cache-
    correctness fix landing during the rc window resets the soak
    counter before re-claiming rc quality.
    
    Deferred to 1.3.1 / 1.4.x (unchanged): post-purge sentinel
    verification flag, everything invalidation type, in-repo LICENSE
    file, composer.json keywords, test coverage for the new form
    validator and status row helper.
    
    Field-attributed to the portal-master diagnosis that surfaced
    the bug with a curl reproduction. Patch shape carried over from
    the reporter's draft.
  • 1.3.0-beta5

    1.3.0-beta5
    
    Second cache-correctness fix from the 1.3.0-beta4 retest on
    portal-master. The amended canary protocol (admin + editor +
    anon) confirmed beta4's BigPipe suppression resolved scenario (a)
    but surfaced a second leakage pattern: with private-cache mode on
    the homepage cache keyed identically for anonymous and
    authenticated requests, so whichever variant populated the cache
    first was served to everyone. Root cause was on the cache-key
    side: the module emitted X-LiteSpeed-Cache-Control: private but
    did not tell LSWS to vary the cache entry on the session cookie.
    
    The reporter shipped a patch and a 27-request canary confirming
    the fix. beta5 lands the patch plus the obvious follow-ups.
    
    - Response subscriber auto-appends the session cookie name to the
      X-LiteSpeed-Vary header whenever private_cache.enabled = TRUE.
      Cookie name discovered via SessionConfiguration so the fix
      needs no new config keys.
    - Three new unit tests in LscacheResponseSubscriberTest cover the
      auto-append, the no-append path in public-only mode, and the
      deduplication path.
    - New status report row parses CacheVary cookie= directives out
      of .htaccess and warns when they don't match the emitted
      cookies, with a copy-pasteable suggested directive.
    - New docs section in docs/htaccess-gotchas.md on authenticated
      cache differentiation, with a drush ev one-liner to discover
      the session cookie name and an example IfModule LiteSpeed
      block.
    
    Pure cache-correctness fix; no API contract changes.
    
    CI: pipeline 821549 green (phpunit, phpcs, cspell, phpstan,
    eslint, composer-lint, composer all passing).
  • 1.3.0-beta4

    1.3.0-beta4: suppress LSCache caching when BigPipe placeholders are present
    
    Cache-correctness fix from the 1.3.0-beta3 retest on portal-master.
    The retest reporter corrected an earlier miscall on Finding 7
    (the auth-served-as-anonymous variant from the rc1 hand-back): the
    original canary protocol used authenticated-role-only test users
    with no visible per-user markup beyond what BigPipe streams, so the
    leak-detector saw identical responses regardless of whether the
    authenticated variant or the cached anonymous variant was served.
    The same operator hitting the canonical homepage as admin saw the
    anonymous-shape body; hitting a cache-busted URL produced the
    admin-shape body. Scenario (b) outcome: a real cache-correctness
    gap, not a downstream artifact of Finding 1.
    
    Root cause: BigPipe's Drupal core implementation resolves
    placeholders at streaming time inside PHP. LSWS serves cached
    responses without invoking PHP, so BigPipe never runs on cache
    hits and the placeholders stay unresolved. Authenticated content
    rendered via BigPipe (admin toolbar, user-account widgets,
    cached responses.
    
    What landed since 1.3.0-beta3 (commit 5593f00):
    
    - 86ed7f8: response subscriber scans the response body for
      `data-big-pipe-placeholder-id` markers. When detected, emits
      X-LiteSpeed-Cache-Control: no-cache to actively suppress
      LSWS-side caching. Active suppression is necessary because the
      HTTP Cache-Control is still public,max-age=N (the response is
      HTTP-cacheable in the abstract); a soft skip would let LSWS
      cache via its own header parsing anyway.
    
    - 39de4bc: three new unit tests on LscacheResponseSubscriberTest.
      testBigPipePlaceholderTriggersActiveNoCacheSuppression covers
      the suppression on the public branch. testBigPipePlaceholder
      SuppressesEvenInPrivateMode covers the private branch (BigPipe
      responses with user contexts that would otherwise qualify for
      private-cache emission still get suppressed because the private
      hit path also bypasses PHP). testNonBigPipeResponseEmitsPublic
      HeadersAsBefore is the regression guard verifying non-BigPipe
      responses continue to cache normally.
    
    - c5daa48: new docs section in htaccess-gotchas.md on the BigPipe
      interaction. Explains the streaming-vs-static incompatibility,
      documents the automatic suppression behaviour, and points
      operators with per-user content needs at the #type: 'lscache_esi'
      migration path with a before/after render-array example.
    
    - be1d4d9: ROADMAP records the beta4 cycle and the corrected
      Finding 7 attribution.
    
    Pure cache-correctness fix; no API contract changes. The
    HTTP 200 = SUCCEEDED mapping in the purger is unchanged.
    Operators who hit the beta3 BigPipe symptom can re-enable LSCache
    once on beta4 and re-run the amended canary protocol (admin role
    + editor role + anon, explicit checks for toolbar markup and
    BigPipe placeholder resolution).
    
    Deferred to 1.3.1 / 1.4.x (unchanged from beta3): post-purge
    sentinel verification flag, `everything` invalidation type, and
    the operator-experience polish items still in the queue.
    
    Soak target: clean re-test on the amended canary protocol from
    the env session; if clean, promotes straight to rc, then ~2 weeks
    soak, then 1.3.0 stable.
  • 1.3.0-beta3

    1.3.0-beta3: operator-experience fixes from the rc2 production-soak
    
    Stepping back from rc to beta after the 1.3.0-rc2 install reached
    the actual PURGE code path for the first time on a Cloudflare-
    fronted Jelastic-managed LSWS Enterprise environment and surfaced
    operator-experience gaps that warranted a fresh soak window before
    re-claiming rc quality.
    
    What landed since 1.3.0-rc2 (commit f037d9b):
    
    - 442e93f: actionable error messages. Suggested URL in the no-host
      failure reason changed from https://your-site.example.com to
      http://localhost/ (the previous example sent operators behind any
      CDN into a 400 trap). HTTP non-2xx purge failures now surface
      operator-actionable reasons via the new formatNon2xxReason()
      helper, detecting Cloudflare's HTTP 400 + CF-Ray signature
      specifically and pointing operators at origin-direct purge_host
      alternatives. Same change applied to the settings form
      description and placeholder.
    
    - 88d4398: purger logging now routes through @logger.channel.
      lscache_purger via constructor injection. The channel was
      registered in services.yml since 1.0.0 but never used; the plugin
      defaulted to PurgerBase's framework channel. drush watchdog:show
      --type=lscache_purger now returns purge-warning entries instead
      of "Unrecognized message type". Messenger-surfaced failure
      reasons now apply to every failure path (no-host, HTTP non-2xx,
      transport error), not just the no-host case rc2 covered.
    
    - 89a1150: two new doc sections in docs/htaccess-gotchas.md.
      "LSWS-side PURGE handling" makes explicit that HTTP 200 from
      LSWS means "request accepted at the protocol level," not "entry
      evicted." On managed-LSWS environments (Jelastic, Cloudways)
      and on Enterprise installs with admin-port routing, the two can
      be distinct states. Documents the diagnostic, LSWS configuration
      requirements, and operator workarounds. "LSCache vs Drupal's
      dynamic_page_cache UNCACHEABLE hint" covers the case where the
      two cacheability signals disagree, documents how to opt out via
      response policy when needed.
    
    - 5593f00: ROADMAP records the rc2 -> beta3 step-back with the
      rationale and the deferred-to-1.3.1/1.4.x list (post-purge
      sentinel verification flag, everything-invalidation type, the
      operator-experience polish items).
    
    Pure operator-experience + docs scope. No API contract changes;
    the "HTTP 200 = SUCCEEDED" mapping is unchanged. Finding 7 (auth-
    served-as-anon variant) was canary-clean on rc2 across 81
    controlled requests; treating that finding as resolved pending the
    invalidation-driven re-test once LSWS-side PURGE works in the test
    environment.
    
    Soak target ~5-7 days. If clean, promotes straight to rc3, then
    ~2-week soak, then 1.3.0 stable. If anything new surfaces, beta4
    cycle.
  • 1.3.0-rc2

    1.3.0-rc2: silent-failure fix on missing purger config
    
    Cut after the 1.3.0-rc1 production-soak handback from portal-master
    surfaced a silent failure mode: when lscache_purger.settings is
    missing from active config (likely from a partial config-sync
    round-trip on the operator side), purge_host reads as NULL, the
    host fallback chain in CLI/cron context collapses to empty, every
    tag invalidation bails with FAILED, and the only signal is a single
    watchdog warning that operators don't naturally check when drush
    just says FAILED.
    
    The bug has existed since 1.0.0-alpha2 (purger code unchanged
    through every release). The original prefix-mismatch hypothesis
    was ruled out by the env-session diagnostic showing identical
    TagHeaderBuilder::getPrefix() values on web and CLI.
    
    What landed since 1.3.0-rc1 (commit 676931f):
    
    - c0d7706: defensive install + backfill update hook on the
      lscache_purger submodule. ensure_settings_exist() runs in
      hook_install after the Purge plugin wiring; lscache_purger_
      update_8101() catches existing installs in the gap state via
      drush updb.
    
    - 72f613a: status report row for the purger surfaces three states
      (missing config, empty purge_host, OK). markAllFailed() also
      surfaces its failure reason via $this->messenger()->addError()
      so drush invocations show the cause inline instead of only in
      watchdog.
    
    - 1c53f72: README clarification that the lscache.settings:enabled
      toggle controls header emission only; LSWS-side caching is
      governed by the .htaccess CacheLookup directive separately. To
      fully bypass LSWS for a debugging window, comment out the
      directive rather than just toggling the module off.
    
    - 02047cf: regression-guard tests for the missing-host failure
      path. LscachePurgerTest covers the gap state (no config + no
      request stack + no $base_url) for both single and batch
      invalidations.
    
    - d65f454, 38a46cc, f037d9b: three CI fix-up commits addressing
      PHPStan, PHPCS, CSpell, and PHPUnit feedback (messenger via
      MessengerTrait, missing docblocks, banned-words swap, missed
      function spacing, plugin id placement).
    
    Strict bug-fix only relative to rc1; no API contract changes. The
    "everything" invalidation type that was discussed for this cycle
    was deferred to 1.3.1 or 1.4.x to preserve rc API freeze.
    
    Operator-experience polish from the rc1 hand-back report (status
    report directives summary, vary_cookies recent-traffic validation,
    demo ESI submodule + block-form ESI checkbox + drush list command)
    all carry over to the polish window after 1.3.0 stable.
    
    Finding 7 (auth-served-as-anon variant) from the rc1 hand-back is
    still outstanding; diagnostic ask queued to send to the env
    session alongside this rc2 deployment.
  • 1.3.0-rc1

    1.3.0-rc1: API freeze, pre-rc1 audit hardening landed
    
    Cut after a methodical pre-rc1 audit on the 1.3.x line. The audit
    read every PHP, YAML, and Markdown file on the branch, checked
    against Drupal coding standards, common security anti-patterns,
    and the SA-team-flag risk surface. One security finding (defence
    in depth on the ESI fragment route), two coding-standards items,
    two doc refreshes, three test-coverage gaps. All seven landed in
    the four "rc1 prep" commits since 1.3.0-beta2.
    
    The version bump signals API freeze for the 1.3.x track and asks
    operators to soak the module on production-shape installs ahead of
    1.3.0 stable. Per the 1.0.0 trajectory, rc1 -> ~2 weeks soak ->
    1.3.0 stable.
    
    What landed since 1.3.0-beta2 (commit 02e98fd):
    
    - B1 / 70c388e: TrustedCallbackInterface enforcement on ESI
      fragment callbacks. The fragment route previously gated callable
      invocation on HMAC token verification only; now also checks that
      the resolved class declares itself trusted via Drupal core's
      standard marker interface, mirroring the #lazy_builder policy.
      Defence in depth: bounds the impact of a hash-salt compromise.
      No exploitable bug; SA-team-aligned hardening.
    
    - S1+S2 / 4516f72: LscachePurgerSettingsForm constructor params
      now declare types (ConfigFactoryInterface, TypedConfigManager
      Interface). TagHeaderBuilder::resolvePrefix() removed entirely
      as it accepted a parameter it never used and just delegated to
      getPrefix().
    
    - S6+S7 / 480889f: lscache.install status report description
      updated to link at the 1.3.x docs branch instead of 1.0.x.
      htaccess-gotchas.md gained version notes for 1.0.0-rc1, 1.0.0,
      1.0.1, 1.1.x, 1.2.x, 1.3.x covering the additional .htaccess
      and LSWS-side directives each release introduces, plus a summary
      table mapping feature surface to required directives.
    
    - S3+S4+S5 / 676931f: three new unit-test classes covering
      Esi::preRenderEsi's missing-callback path, the fragment
      controller's TrustedCallbackInterface enforcement (positive and
      negative cases for both static-method and service-method
      callable shapes), and the install hook's flatten-defaults
      helper (six cases covering scalars, mappings, sequences, empty
      arrays, deep nesting, and mixed shapes).
    
    What 1.3.x cumulatively ships:
    
    - 1.0.x: cache-tag headers, Purge framework integration, status
      report .htaccess check, purge_host scheme validation
    - 1.1.x: per-user private cache mode driven by Drupal cache
      contexts, admin-route skip, log placeholder substitution
    - 1.2.x: ESI render element with HMAC-signed fragment URLs and
      TrustedCallbackInterface enforcement on the resolved callback
    - 1.3.x: named vary cookies that emit X-LiteSpeed-Vary header
      for every configured cookie on every cacheable response
    
    Stability commitment carried forward from beta2 unchanged: the
    config schema, response-header contract, render-element shape,
    fragment-route URL pattern, and TagHeaderBuilder service are all
    stable from this release. Path to 1.3.0 stable is bug-fix only.
  • 1.3.0-beta2

    1.3.0-beta2: form WSOD fix + config backfill hook + branch consolidation
    
    Two bug fixes from the 1.3.0-beta1 production-soak handback. The
    soak halted at Day 0 because neither bug let any traffic reach the
    install.
    
    Fix 1 (critical, form WSOD): the ConfigTarget closures for
    private_cache.contexts and vary_cookies declared strict array
    parameter types. Config::get() returns NULL when a key is absent;
    the strict typing threw a TypeError inside the closure and took
    out the entire settings page. Both closures now declare ?array and
    fall back to an empty list.
    
    Fix 2 (high, config backfill): new lscache_update_8103 walks the
    install YAML and writes any missing default keys to active config
    without overwriting operator changes. Generic implementation that
    backfills any missing key from config/install/lscache.settings.yml,
    so future schema additions pick up the same behaviour automatically.
    
    Branch consolidation: from 1.3.0-beta2 forward, all LSCache
    development happens on 1.3.x. The 1.1.x and 1.2.x branches are
    frozen at their respective beta1 tags. Operators previously on
    those should bump to 1.3.0-beta2 to pick up the fixes; 1.3.x's
    cumulative branch model means every prior feature is preserved.
  • 1.3.0-beta1

    1.3.0-beta1: API freeze for the 1.3.x vary-cookies track
    
    Cut after alpha3 came back from a clean re-test on portal-dev with
    both alpha2 bugs verified fixed:
    
    - ESI fragments render and invalidate via cache tags (alpha2 bug
      fixed by the Markup::create wrap forward-ported from 1.2.0-alpha3).
    - vary_cookies emits X-LiteSpeed-Vary: cookie=NAME on every cacheable
      response (alpha2 bug fixed by dropping the cache-context-required
      emission logic).
    - No regressions on inherited 1.1 admin-route + cache-poisoning
      checks.
    
    Same code as 1.3.0-alpha3 plus a README addition documenting the
    matching LSWS server-side CacheVary directive. The reporter caught
    this as a doc-level gap during the re-test - header was emitting
    correctly but LSWS didn't honour it without the server-side hint.
    
    What 1.3 ships: named vary-cookie support on top of 1.2.x's ESI
    work and 1.1.x's private cache. Operators configure cookie names
    in the settings form; the response subscriber emits the vary
    header for every configured cookie on every cacheable response.
    
    Cumulative: 1.3.0-beta1 contains all 1.0.x stable code + 1.1.x
    private cache + 1.2.x ESI + 1.3.x vary cookies. Operators wanting
    to validate the full 1.x line on one install can soak this build.
    
    Stability commitment: vary_cookies config schema, the
    X-LiteSpeed-Vary emission contract, and the matching CacheVary
    directive expectation are stable from this release. Path to 1.3.0
    stable is bug-fix only.
    
    Known issue carried forward, not blocking beta1: post-PURGE re-cache
    flake on responses without ESI markup, observed by the adopter
    during alpha3 re-test. Couldn't be isolated; flagged for further
    investigation.
  • 1.2.0-beta1

    1.2.0-beta1: API freeze for the 1.2.x ESI track
    
    Cut after alpha3 came back from a clean re-test on portal-dev with
    the alpha2 ESI bug verified fixed:
    
    - Token-tampering rejection clean across four variants (mutated
      args, mutated signature, swapped callback, garbage token).
    - Cache-tag invalidation refreshes ESI fragments correctly.
    - No regressions on inherited 1.1 admin-route + cache-poisoning
      checks.
    
    Same code as 1.2.0-alpha3 plus a ROADMAP docs bump. The version
    bump signals API freeze for the 1.2.x track and asks operators to
    soak the module on production-shape sites ahead of rc1.
    
    What 1.2 ships: an ESI render element ('lscache_esi') that emits
    <esi:include> tags for per-user fragments, plus the fragment route,
    HMAC-SHA256 token signer, and lscache_esi cache tag for site-wide
    invalidation. Builds on 1.1's private-cache machinery.
    
    Stability commitment: the 'lscache_esi' element shape, the
    fragment-route URL pattern, the token format, and the LscacheTokenSigner
    service are stable from this release. Path to 1.2.0 stable is bug-fix
    only.
  • 1.3.0-alpha3

    1.3.0-alpha3: ESI Markup wrap + vary-cookies always-emit-when-configured
    
    Two bug fixes from the 1.3.0-alpha2 adopter field test on portal-dev.
    
    Fix 1 (forward-port from 1.2.0-alpha3): ESI render element wraps its
    treats the emitted <esi:include> tag as already-trusted. Without the
    wrap, Xss::filterAdmin stripped the tag entirely and ESI fragments
    produced no output. Same wrap applied to the missing-callback fallback
    marker.
    
    Fix 2: vary-cookie emission no longer requires the response to declare
    a matching cookies:NAME cache context. Alpha2's logic intersected the
    configured cookie list with the response's cache contexts, which
    silently dropped the header on any response whose render code didn't
    happen to declare the context — meaning the feature was inert for
    most installs. Alpha3 emits X-LiteSpeed-Vary: cookie=A,B,C for every
    configured cookie on every cacheable response. LSWS handles cookies
    that are absent from a given request as "no variance" cleanly. The
    operator's config IS the directive.
    
    Existing vary-cookie unit tests updated to match the new always-emit
    behaviour. Empty-config default still emits no header, so installs
    that don't configure vary cookies see no behaviour change.
  • 1.2.0-alpha3

    1.2.0-alpha3: wrap ESI #markup with Markup::create to bypass XSS filter
    
    Critical bug fix from the 1.3.0-alpha2 adopter field test on
    portal-dev. ESI fragments produced no output at all in 1.2.0-alpha2
    because the renderer pipes #markup strings through Xss::filterAdmin(),
    which only whitelists a fixed set of HTML tags. <esi:include> is not
    on that list, so the entire string was being stripped to empty before
    output. Same outcome for the HTML-comment fallback marker.
    
    The fix is to wrap the emitted markup in \Drupal\Core\Render\Markup,
    which marks a string as already-trusted output and bypasses the
    filter. The src URL is separately escaped via htmlspecialchars before
    the wrap, so marking the resulting string as safe is correct.
  • 1.3.0-alpha2

    1.3.0-alpha2: forward-port of 1.1.0-alpha2 fixes onto vary-cookie baseline
    
    First public alpha of the 1.3.x track. Same vary-cookie response
    subscriber additions and config schema as the never-tagged
    1.3.0-alpha1, plus the two response-subscriber correctness fixes
    from 1.1.0-alpha2 brought forward via merge of 1.2.x (which itself
    merged 1.1.x):
    
    - Admin routes no longer emit any LSCache header.
    - Debug log messages contain resolved values inline.
    
    1.3.0-alpha1 was implemented and CI-validated but never tagged or
    released, since the alpha1 field-test loop ran on 1.1.x first.
    1.3.0-alpha2 is the first public alpha of the 1.3.x track.
  • 1.2.0-alpha2

    1.2.0-alpha2: forward-port of 1.1.0-alpha2 fixes onto ESI baseline
    
    First public alpha of the 1.2.x track. Same ESI render element and
    fragment-route work as the unreleased 1.2.0-alpha1, plus the two
    response-subscriber correctness fixes from 1.1.0-alpha2 brought
    forward via merge of 1.1.x:
    
    - Admin routes no longer emit any LSCache header (AdminContext-
      based skip, covers /admin/* plus contrib routes flagged
      _admin_route: TRUE).
    - Debug log messages contain resolved values rather than literal
      @placeholder text (inline sprintf substitution, works in dblog
      UI and drush watchdog:show alike).
    
    The 1.2.0-alpha1 tag was cut but never published as a release
    node, since the alpha1 field-test loop ran on 1.1.x first and
    surfaced bugs that needed to land before any 1.2 alpha hit
    operators.