This commit is contained in:
Mateusz Gruszczyński committed 2026-11-25 15:47:34 +01:00
1 parent 6df256cdbb
commit 0d6249e383
159 files changed
+16737 -1971

No files matched your search

+12
View File
@@ -2,6 +2,18 @@
Release history focused on **features, settings, default behavior, compatibility and fixes**. Changes to internal code structure and preliminary performance experiments are intentionally omitted. Historical descriptions reflect their respective releases; consult the current documentation for the settings available in the latest release.
## 0.42.0 — HTTP policy rules with VCL cooperation
- **Source cleanup:** the preflight script now only checks the four core project files and never modifies the source tree. Removed legacy repair logic and commands/references to absent development tools. VCL test type aliases fix strict Clippy `type_complexity` diagnostics without suppressing warnings.
- **VCL branch fixes:** imported `if`/`elsif`/`else` chains retain the selected branch when an action changes or removes a guard header. Nested and remaining actions still execute; independent later conditions read the updated headers. Canonical control-flow groups are validated and preserved by the editor. Existing flat conversions retain their old semantics and must be replaced by a fresh import of the original VCL to gain the fix; native graphical rules keep their existing behavior.
- **Credential cache fix:** unsafe forced caching partitions the full Cookie/Authorization combination before lookup, including missing and empty fields; explicit VCL/policy lookup similarly partitions Cookie without allowing Authorization. A versioned key namespace isolates older incomplete HOT/COLD variants. Required `Vary` dimensions remain explicit, foreground `304` uses the correct variant, and credential-partitioned fills avoid anonymous proactive refresh.
- **Optional HTTP policies:** global, Vhost, Docker-assignment and custom-location `policy` objects provide named ACLs, nested AND/OR/NOT, full-header and comma-list samples/counts, numeric/CIDR/regex conditions, converters, inline maps and request-scoped `txn.*` variables. Rules compile with the configuration; missing policy objects preserve previous behavior.
- **Staged actions:** explicit `pre_route`, `request`, `backend_request`, `backend_response`, `deliver` and `after_response` stages support conditional header operations, safe token-list normalization/merging, variables, validated target rewrites, selection of configured backend members, local responses and cache/compression decisions. Final `Vary` normalization preserves all dimensions and `*`; the original duplicate-field ACL scenario is included as JSON and importable text.
- **VCL compatibility:** existing VCL import, Vhost-before-Global precedence, header ownership and terminal pass/hash behavior remain intact. Policy request mutations are visible to VCL; backend-response policy follows existing `beresp` edits before cache planning; delivery policy follows VCL, with a final stage after compression and legacy dynamic headers. Explicit pass/no-store remains restrictive, VCL TTL/grace takes precedence, and per-client backend-response changes or backend-request customization conservatively bypass shared storage.
- **Cache validation:** foreground `304` refreshes honor policy no-store/TTL and VCL TTL/grace precedence; explicit header hashing retains Cookie partitioning even with static cookie sharing. Configured backend-response policies and explicit policy hash dimensions use synchronous expired-object validation and disable proactive background refresh so rules keep the live transaction context and hash inputs; fresh HITs remain available.
- **Configuration and panel:** a strict HAProxy **subset** importer rejects unsupported source instead of activating partial rules. JSON remains the saved representation. Draft policy testing exposes matches and applied actions; global policies have a revisioned configuration section. Existing Headers, Cache/VCL and location settings remain available.
- **Documentation and verification:** embedded [HTTP policy guide](docs/POLICY.md), configuration examples, Rust regression tests and DOM editor tests cover policy/VCL cooperation and configuration handling.
## 0.41.4 — Responsive backend charts and table layout fix
- **Backends table:** optional **Columns → Responsive charts** expands and shrinks the Requests, Latency and Traffic mini charts with the available width and UI scale. Defaults to off; saved per administrator. Error causes now retain native table-cell layout, removing the misaligned internal row border. No change to metrics or proxy behavior. Rebuild and run regression tests before deployment.