This commit is contained in:
Mateusz Gruszczyński committed 2026-11-20 20:54:40 +01:00
1 parent 53d92e0da6
commit 08d1608ef5
21 files changed
+928 -408

No files matched your search

+3 -1
View File
@@ -4,7 +4,9 @@ Release history focused on **features, settings, default behavior, compatibility
## 0.39.1 — HEAD cache-fill and public Vhost cookie template (source-only changes)
- **Public Vhost inherited-cookie opt-in template:** added a disabled-by-default per-Vhost graphical rule and importable VCL example for entirely public, cookie-independent GET/HEAD pages receiving unrelated cookies from a parent domain. A combined method/Cookie/no-Authorization/non-private-path guard drops the incoming Cookie before cache lookup and origin forwarding, retaining normal origin privacy and Vary rules. No global template is offered. Documented the unavoidable limitation that HTTP Cookie contains no setting Domain, and recommended host-only `Set-Cookie` at the issuer as the primary fix. Added source-level JS and Rust VCL importer regression tests (Rust compilation pending).
- **Quick cache/VCL rule gallery (0.39.1, no version bump):** added a grouped template dropdown and searchable one-click scenario browser in global, ordinary Vhost and Docker Vhost editors. The independent CDN/parent-cookie presets remain separate. Added safe pass/no-store patterns for sessions, WordPress/WooCommerce, Django, Laravel, Auth.js, ASP.NET, Drupal, private routes, API, GraphQL, signed URLs, SSE and webhooks. Added disabled-by-default public TTL, assets and staging-header examples, with EN/PL descriptions and a dedicated embedded Reader guide. Multi-rule templates are inserted together or not at all if the rule limit is exceeded; parent-cookie rules are placed before matching existing CDN cookie guards. No cache format, runtime rule engine, API or version change; Rust/toolchain and live-origin tests still required.
- **Separate parent-cookie and CDN templates:** replaced the risky all-cookie public-Vhost template with a disabled-by-default per-Vhost rule that removes **only** operator-listed exact cookie names using a new `remove_named_cookies` action and RustProxy VCL extension `remove_req_cookies()`. Unlisted cookies, including app sessions, survive to the *unchanged, separate* CDN template and its `bypass remaining cookies` check. No forced hash or terminal action. The Cookie header cannot identify the issuing Domain; use host-only cookies where possible. Existing previously saved broad strip-all rules must be removed manually. Source-only change; Rust compilation pending.
- **HEAD on a cold cache:** when HEAD is forwarded as GET for a cache-eligible response, keep consuming the upstream body asynchronously so HOT/COLD can publish the object. Return an empty HEAD body immediately; limit detached reads by the cache object size and a 30-second deadline. Non-cacheable HEAD requests are not drained. This fixes an incomplete cache fill on HEAD without weakening request privacy, Cookie, or Vary safeguards.
- **Regression coverage and diagnostics:** added tests for HEAD filling vs non-cacheable HEAD bodies, and documented why browser requests with Cookie, reload directives or distinct `Vary` dimensions differ from anonymous curl GETs. Rust binary and real-origin verification are still required before production use.