Files
RustProxy/CHANGELOG.md
T
2026-11-23 12:23:41 +01:00

1054 lines
184 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Changelog
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.41.0 — Conditional routing: request conditions and whole-host rules
- **Location conditions (HAProxy `use_backend … if <acl>` style):** a custom location accepts `conditions` — up to 16 tests on `header`, `cookie`, `query` (parameter), `method`, `ip` (client address after trusted forwarding/Cloudflare, `cidr` with IPs or networks), `host` or `country` (GeoIP/Cloudflare), with the operators `equals`, `exists`, `prefix`, `suffix`, `contains`, `regex` and `cidr`, `negate` and `ignore_case`. All conditions must hold (AND); a condition matches when any of its values matches (OR). A location whose conditions fail is skipped and the next candidate is used, so `/api/` + `X-Beta: 1` → beta backends can sit next to a plain `/api/`. For exact paths and prefixes of equal length the conditional location wins; regular expressions are tried in list order, and a conditional regex placed after an identical unconditional one is rejected as unreachable. See [Request conditions](docs/CUSTOM_LOCATIONS.md#request-conditions-routing-by-header-cookie-ip).
- **Rules for the whole host:** the new match type `any` (requires at least one condition) applies to every path of the Vhost and ranks like a regular expression — e.g. office network + staff cookie → `office` backends for the whole site. Combined with the 0.40.2 backend groups and per-location balancing this covers frontend-level and path-level `use_backend` rules.
- **Correctness and caching:** conditional locations are selected after the final client address and (when a condition needs it) the country are known; earlier stages and proactive cache refreshes only consider unconditional locations, and the response layer uses the finally selected location. Responses of conditional locations are never cached (`cache` must be inherit/off), so a cached unconditional response is never served to a request that matches a conditional location.
- **Panel:** each location has a **Conditions** section (source, name, operator, values one per line, NOT, ignore case), an **Add rule for the whole host** button, **↑ / ↓** buttons to order locations, condition counts in the summary and a **Test routing** panel that evaluates the unsaved draft: method, URL, client IP, country and headers → winning location, path ✓/✗ and every condition ✓/✗ for all locations, the target backend (including the consistent-hash member) and the cache bypass. English and Polish texts added.
- **Variables in header values (diagnostic headers, HAProxy `set-header X-S %[srv_id]` style):** `set`/`append` values in global, Vhost and location header rules may contain `%[srv_id]`, `%[srv_url]`, `%[location]`, `%[vhost]`, `%[lb_algorithm]`, `%[hash_key]`, `%[client_ip]`, `%[country]`, `%[req_id]`, `%[method]`, `%[host]`, `%[path]` and, in response rules, `%[cache_status]` and `%[backend_time]`. Rules with variables are rendered per request and applied last: request rules after backend selection (so the origin can receive e.g. `X-Shard: mp3_2`), response rules at final delivery after cache handling — they are never stored in cached objects. Missing values render as `-`; a rendered value that is not a valid header value skips the header. Unknown variables, unterminated `%[` and response-only variables in request rules are rejected. Header-rule editors show clickable variable chips, and **Backends → Backend diagnostics** gains one-click presets (`X-Served-By`, `X-Location`, `X-LB`, `X-Debug`, `X-Shard` to the backend). Rules without `%[` behave exactly as before. See [Variables in header values](docs/RESPONSE_DELIVERY.md#variables-in-header-values-diagnostic-headers).
- **Compatibility:** configurations without `conditions` or `match_type: "any"` are unchanged and serialize as before. Configurations using them, or header values with `%[variables]` (which 0.40.2 would send literally), need 0.41.0. Glob wildcards are still not supported in paths; use regular expressions (documented).
- **Verification:** new Rust tests run 19 shared routing cases from `tests/fixtures/routing_conditions_cases.json` (exact/prefix/regex/any precedence, fall-through, every source and operator, negation, country, IPv4/IPv6 CIDR), check that conditional locations are skipped without request facts and never cached, and reject 14 invalid configurations; the panel tester was checked against the same cases. Full suite, `cargo clippy --all-targets` and `cargo fmt --check` clean. The real binary was run in headless mode against four mock origins: header, IP + cookie (whole-host rule) and POST-only routing reached the expected origins; a cacheable `/api/` response was `HIT` for plain requests while `X-Beta` requests went to the beta origin with `BYPASS / route_disabled`. With header variables, `%[srv_id]` reached the origin as `X-Shard` and came back in `X-S`/`X-Debug` with the location, hash key and `MISS`; on the following `HIT` the cached response carried no earlier values and showed `-` for the backend. In panel mode (Chrome) the tester, a new whole-host rule, reordering, diagnostic presets and saving were exercised. Not tested: production traffic, HTTP/3 clients, GeoIP-based country conditions with a real database.
## 0.40.2 — Consistent-hash balancing and per-location backend groups
- **New algorithms:** `hash` — consistent (weighted rendezvous) hash of a request key — and `random` (power of two random choices). The `hash` key is set in `load_balancing.hash`: `source` = `path` (default, path as received, before location rewrites), `uri` (path + query), `host`, `header`, `cookie`, `query` (one parameter) or `ip`; `name` for header/cookie/query; `path_depth` (hash only the first N directories); `ignore_case`; `balance_factor` (bounded load, 101–1000 %, like HAProxy `hash-balance-factor`); `fallback` algorithm for requests without the key (default `round_robin`). Hashing is always consistent: a failed, drained or removed member only moves its own keys, which return when it recovers; weights scale each member's share of keys. See [Load balancing](docs/LOAD_BALANCING.md).
- **Location backend groups (HAProxy `use_backend` style):** a Proxy location accepts `backend_ids` (a group of Vhost backends, up to 64) and `load_balancing` (`algorithm`, `hash`, `sticky`) to balance its requests differently from the rest of the Vhost — for example `\.mp3$` → `mp3_1..3` hashed by path while `/` stays on least connections. Members are shared with the Vhost pool (health, passive ejection, drain, concurrency limits, statistics), retries stay inside the group, and backends with `pool_eligible: false` serve only the locations that list them. A location affinity cookie is named `<vhost cookie>__<location>`; the Vhost and its locations strip each other's affinity cookies before forwarding.
- **Panel:** the Vhost **Balancing** section and a new **Backends & balancing** section per location offer the new algorithms with a one-line explanation each, *Quick setup* buttons (files by path, session cookie, tenant header, query parameter, client IP, even load), the equivalent HAProxy lines, a backend-group picker and **Test distribution** — an in-browser simulator on the unsaved draft that shows the hash key and backend per sample, the share per backend and which keys move when a backend is marked as failed. It ranks backends with the same SHA-256 rendezvous scoring as the proxy (checked against the Rust reference vectors in `tests/fixtures/balance_rendezvous_vectors.txt`). English and Polish texts added.
- **Compatibility:** configurations without the new fields are unchanged and still serialize without them; `ip_hash` keeps the same client → backend mapping. Configurations using `hash`, `random`, `backend_ids` or location `load_balancing` are rejected by 0.40.1 and older. `backend_id` (pinned backend) cannot be combined with a group or location balancing. OpenAPI, Vhost/location/headless guides and the feature list updated.
- **Verification:** 14 new unit tests (key extraction for every source, validation, stability, even spread, weight shares, only-the-failed-member's-keys move, fallback, bounded load, random, unchanged `ip_hash` mapping, location group compilation with shared member state, affinity cookie stripping, invalid groups); full suite (1043 library tests, 7 CLI tests), `cargo clippy --all-targets` and `cargo fmt --check` clean. The real binary was run in headless mode with the `.mp3` example above against four mock origins: 61 paths were spread over `mp3_1..3` and stayed stable over repeated requests, `/` stayed on `app`, a header-hashed location kept tenants stable and used round robin without the header; stopping `mp3_2` moved exactly its 27 keys (all others stayed), and after it came back every key returned to its original backend. In panel mode (Chrome) the editors, presets, simulator and failure simulation were used on a saved Vhost and a new location group was created and saved through the UI. Not tested: production traffic, HTTP/3 clients and multi-node deployments.
## 0.40.1 — Forced certificate renewal (panel and headless)
- **Panel — Force renewal now:** each managed ACME certificate in **Certificates → Automatic renewal** has a new action next to *Check now* and *Validate renewal (dry run)*. It runs `certbot renew --force-renewal` for that profile, so a new certificate is requested even if the current one is not due (key compromise, CA revocation, chain change). A confirmation explains the CA rate limits; the current certificate stays active until the new pair is validated and deployed. The job kind is `renewal-forced`, the audit action `acme.renew_forced`; if Certbot returns the installed pair unchanged the result is `acme.force_unchanged`.
- **API:** `POST /api/acme/renew` accepts `"force": true` (default `false`). It cannot be combined with `dry_run` (`400 acme.force_invalid`); the automatic scheduler never forces. OpenAPI updated.
- **CLI (panel mode):** new `rust-proxy tls renew --id ID [--force | --dry-run]`, using the local administration listener like `tls reload`.
- **Headless — `rust-proxy --headless tls renew [--force] [--id NAME|ID ...]`:** asks the running service to check its ACME certificates now (only due ones, ignoring the failure back-off) or, with `--force`, to request new ones regardless of expiry — all explicit and `acme.auto` certificates, or only those whose id or domain matches `--id`. The command writes `<data-dir>/headless-acme-renew.json` (`0600`, owned by the data directory owner) and sends `SIGUSR1`; the ACME task consumes the request once, after any request in progress. Requests older than 10 minutes are discarded; unknown targets are logged. On Linux the command refuses to signal a service that does not handle `SIGUSR1` (older than 0.40.1) instead of terminating it. `--dry-run` is rejected in headless mode (use `staging`).
- **Compatibility:** configuration format, existing API fields and default behaviour are unchanged; automatic renewal still lets Certbot decide when a certificate is due.
- **Verification:** new unit tests for the headless request file (round trip, single consumption, `0600`, stale/invalid requests, target matching by id and domain) and for rejecting `force` with `dry_run`/automatic renewal; Certbot worker request validation checked with Python; full suite passes (1029 library tests, 7 CLI tests), `cargo clippy --all-targets` and `cargo fmt --check` clean. The real binary was run in headless mode with two ACME certificates: `tls renew --force --id api.example.com` was picked up after the request in progress, forced only that certificate past its back-off and the request file was removed; `--dry-run` and invalid targets were refused. Issuance from a real CA and the panel button in a browser were not tested in this environment.
## 0.40.0 — Headless HTTPS, automatic certificates, routes without a file and watch
All additions are headless-only and optional; without them headless and panel mode behave as in 0.39.2. See [Headless mode](docs/HEADLESS.md#https-certificate-files-and-automatic-certificates).
- **`"headless"` section in the JSON file:** a top-level object with `tls`, `acme` and `watch`, read only in headless mode and removed before the rest of the file is parsed, so the configuration format itself is unchanged. Relative paths are relative to the file. Every setting also exists as a command-line option and `RUST_PROXY_*` environment variable; lists are joined, single values from the command line win, switches are on if either place enables them. Changes apply with the next reload (`watch` at start). New examples: `examples/headless-https-files.json`, `examples/headless-acme.json`, `examples/headless-acme-wildcard-dns.json`, `examples/headless.environment`.
- **Certificate files:** `headless.tls.certificates` / `--tls-cert-file` + `--tls-key-file` and `headless.tls.directories` / `--tls-cert-dir`. A directory is scanned on every start and reload: one lineage (`fullchain.pem` + `privkey.pem`), Certbot `live/<name>/`, acme.sh `<name>/fullchain.cer` + `<name>/<name>.key`, or flat `<name>.crt|pem|cer` + `<name>.key`. Certificates get stable ids `hl-file-…`; SNI selection uses the certificate SAN, so no `certificate_id` is needed. An id that also appears in the file is rejected instead of overridden.
- **Automatic DV certificates:** `headless.acme` / `--acme-domains`, `--acme-email`, `--acme-agree-tos` (required consent), `--acme-staging`, `--acme-provider http01|cloudflare|ovh|rfc2136`, `--acme-dns-credentials` (Certbot plugin INI, mode `0600`, read per request), `--acme-propagation-seconds`, `--acme-renew-days` (default 30). A background task issues missing or changed certificates a few seconds after start and after every reload, checks every 12 hours and renews before expiry, one request at a time, through the existing Certbot worker (managed runtime, HTTP-01 responder before vhost routing, per-certificate Certbot profile). Results are recorded in `<data-dir>/certs/headless-acme.json` and activated by an internal reload without dropping connections or the cache; the previous generation is removed. Wildcards require DNS-01. Failures are logged with the Certbot log path and retried with back-off (10 min … 12 h). Default CA: Let's Encrypt production.
- **`acme.auto` / `--acme-auto` (Traefik certificate resolver):** one certificate per vhost for every host of enabled vhosts and redirects that no other certificate covers (`*`, IPs, single labels and — with HTTP-01 — wildcards are skipped; at most 64 automatic certificates). When hosts change, the replacement is issued first and the old certificate removed only after its served names are covered; certificates of removed hosts are deleted.
- **`--route HOSTS=URLS` (quick start):** a vhost per option (environment `RUST_PROXY_ROUTES`, `;` between routes) with WebSockets, `X-Forwarded-For` and up to 32 backends (same defaults as a vhost in the file); `--force-https` redirects these vhosts to HTTPS (308). With routes, `--config` becomes optional; `reload` works without a file. Routes are added to the file's vhosts when both are given.
- **`watch` / `--watch` (Traefik file provider):** polls the configuration file, certificate files and certificate directories (following Certbot links) every 2 s and reloads after a change has been stable for one more check. Invalid files are rejected and logged; the running configuration stays active.
- **`/certificates` on `--health-listen` (Envoy admin style):** read-only list of active certificates with source (`configuration`, `file`, `acme`, `acme-auto`), names, issuer and expiry, plus the state of each headless ACME request (`valid`, `issuing`, `waiting`, `failed`, last error, next check).
- **Startup checks:** the new options are refused in panel mode; unpaired certificate/key files, invalid routes, wildcards with HTTP-01, a missing e-mail, consent or DNS credentials and group/world-readable credential files fail at start (or reject a reload). Warnings are logged when certificates are configured without an HTTPS listener or HTTP-01 is used without a plain HTTP listener. `rust-proxy --headless config validate` accepts the same options and reports routes, certificates, ACME and watch.
- **Docs:** headless guide rewritten for HTTPS with JSON and command-line variants side by side and a Traefik/Envoy → RustProxy mapping (most Envoy traffic features — weights, backup/drain, passive health/outlier ejection, retries, `max_concurrent_requests` + queue as circuit breaker, slow start, sticky — already existed).
- **Compatibility:** configuration format (outside the optional `"headless"` object), API and panel behaviour are unchanged. Certificates in the file with `issuer.auto_renew` remain refused in headless mode.
- **Verification:** 16 headless unit tests (name parsing, ids, option validation and merging, the `"headless"` section, directory layouts, ACME state, DNS credentials, routes, `auto` host selection, examples) plus the full suite; `cargo clippy --all-targets` and `cargo fmt --check` clean. The real binary was exercised end to end: file certificates with SNI by SAN and rotation by `reload` and by `watch`; Certbot `live/` symlinks; explicit ACME issue → renewal → not-due; routes-only start with `--force-https` and `--acme-auto`; `auto` issuing for an added vhost, re-issuing after a host change and deleting the certificate of a removed vhost via `watch`; an invalid file rejected by `watch`; `/certificates`; previous headless setups unchanged. ACME runs used a stub `certbot` with HTTP-01 challenges answered by RustProxy; issuance from a real CA (Let's Encrypt staging) was not tested in this environment.
## 0.39.2 — Central cache decision and public static assets for logged-in users
- **Static assets for logged-in users:** fixed public CSS/JS/images/fonts getting `BYPASS / cache_rule` as soon as a browser carried a session cookie. Root cause: a request-stage `pass` from a session/Cookie rule disabled the cache in `route_cache.rs` before the static-cookie options (`static_ignore_cookies`, `static_ignore_vary_cookie`) were consulted. Added a central decision (`cache::request_gate`, `static_cookie_guard_relaxation`, `shared_static_response_reason`) with fixed precedence: security, configuration, explicit VCL `pass`, VCL Cookie guard, default request policy, backend response. New request action `cookie_pass` (VCL `return(cookie_pass)`, RustProxy extension) marks Cookie/session guards; it is relaxed only for GET/HEAD static-extension requests without `Authorization` when no other rule would bypass the request with guards removed or without cookies. Explicit `pass` is never relaxed and existing configurations are not rewritten; the rules editor offers **Convert to Cookie guard** for Cookie-only `pass` rules. Session, framework and CDN remaining-cookie templates now insert `cookie_pass` (WordPress/WooCommerce split into a path `pass` and a Cookie guard). A static fill whose Cookie is ignored in the key is stored only if the original backend reply is 200, explicitly public (`public`, `s-maxage`, `max-age>0` or future `Expires`), not HTML/XHTML and has no `Set-Cookie`, `private`, `no-store`, `Vary: *` or `Vary: Authorization` — evaluated before response rules, so `strip_set_cookie`/`ignore_cache_control` cannot share a private reply; such fills are refreshed proactively without the client Cookie. New reason codes `cache_rule_cookie`, `cache_miss_static_cookie`, `response_static_not_public`, `response_static_dynamic`; header names and formats are unchanged. **Test a request** uses the same decision and reports `reason_class`, `static_cookie_relaxed` and `shared_static_check`. Downgrading to 0.39.1 or older requires converting `cookie_pass` rules back to `pass`. Unit and proxy integration tests cover the regression matrix (anonymous/session CSS, Drupal 6 JS with query, fonts, `Vary: Cookie` + `Accept-Encoding` variants, HTML, private routes, Authorization, private/Set-Cookie/HTML/unproven statics, explicit pass, GET/HEAD, options off).
- **Configuration compatibility:** configurations without `cookie_pass` are unchanged and load in both directions. A configuration that uses `cookie_pass` is rejected by 0.39.1 and older.
- **Edge-case smoke test:** added `tools/dev/cache_edge_smoke.py`, a dependency-free black-box test of the real binary. `local` starts a mock origin and a headless proxy and runs 67 cache/VCL edge cases with cross-user leak detection (split and non-UTF-8 Cookie fields, `%2E`/path-parameter paths, HEAD/Range/304, compression and `Vary` variants, request coalescing with concurrent users); `remote` runs read-only checks against a deployed vhost with diagnostic headers enabled.
- **Fewer full cache purges:** saving global cache *tuning* (memory/entry/object limits, HOT auto-trim, COLD demotion/GC/limits, request coalescing, stale-if-error triggers, proactive refresh) no longer invalidates HOT/COLD for every domain; COLD objects also survive a restart after such changes. Representation and privacy settings (cache on/off, compatibility mode, TTL/grace, static Cookie policy, rules, COLD on/path, transformations, headers) still purge as before. See [Cache](docs/CACHE.md#clear-or-invalidate-content).
- **Maintenance:** `cargo fmt --check` and `cargo clippy` are clean again (`cache_plan` formatting, `is_multiple_of` in the VCL importer).
## 0.39.1 — HEAD cache-fill and public Vhost cookie template (source-only changes)
- **Selective Drupal 6 parent-session cleanup (0.39.1, no version bump):** the existing `remove_req_cookies(...)` / `remove_named_cookies` action now supports one case-sensitive trailing wildcard (for example `SESS*` or `SSESS*`), while exact-name matching and all separate CDN templates remain intact. Empty, shorter-than-3-character and embedded wildcard patterns are rejected. Added an opt-in VCL example that preserves local `session` cookies and explicit `BYPASS`, Rust regression cases and PL/EN UI hints. Verify cookie ownership before enabling and test logged-in sessions against a real origin.
- **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.
## 0.39.0 — Docker Cache/Traffic and CDN VCL patch (source-only changes)
- **Cache and Traffic Docker scopes:** added Docker-generated Vhosts to both selectors, with readable container/hostname/agent labels. Added a Docker-inventory `catalog_version` so refreshes update the list even when the persisted configuration revision is unchanged. Cache purge and invalidation accept these IDs.
- **CDN technical-cookie rules:** optional VCL example and graphical template for Cloudflare/Akamai cookies. Only a complete Cookie-header allowlist is stripped; other cookies, Authorization, sensitive paths and non-GET/HEAD methods bypass cache. Matching now checks multiple physical Cookie header lines as one logical condition, preventing accidental session-cookie removal.
- **VCL implementation reference:** new exhaustive support/limitation matrix and operational guidance for Docker configuration persistence and safe `Vary` handling. Added a source-reviewed **VCL traffic cookbook** with 11 ready-to-import examples, a request/response behavior matrix, operational `curl` checks and troubleshooting. The guide is included in the embedded Reader, and standalone VCL examples are under `examples/vcl/`. No general-purpose `Ignore Vary` override was introduced.
- **Verification:** Node template checks added; Rust importer tests added but require a Rust toolchain and real proxy tests before production use.
## 0.39.0 — Dependency security refresh and compatibility fixes (source release)
### Changed
- **Dependency updates:** upgraded compatible Rust dependencies, including:
- **TLS and cryptography:** `rustls 0.23.46`, `rustls-webpki 0.103.17`, `tokio-rustls 0.26.6`, `sha2 0.11.1`.
- **Networking and HTTP/3:** `tokio 1.54.1`, `hpx-h3 2.6.1`, `quinn-proto 0.11.19`.
- **Database:** `sqlx 0.9.1`, `libsqlite3-sys 0.40.0`.
- **Compression and system:** `zstd 0.14.4`, `systemstat 0.2.8`.
- Updated additional networking, compression, cryptography, and utility dependencies.
- Regenerated `Cargo.lock` and synchronized the package version to `0.39.0`.
### Security
- Updated TLS certificate validation, QUIC, SQLite, and asynchronous I/O dependencies to versions containing published security fixes.
- Refreshed TLS and QUIC protocol components for security and stability.
- A complete vulnerability review with `cargo-audit` is still pending; successful tests do not replace a dependency audit.
### Fixed
- Adapted SHA-256 hexadecimal encoding to the `sha2 0.11` API while preserving existing checksum formats.
- Fixed VCL import diagnostics to report unsupported `client.ip` conditions alongside unsupported actions, without accepting unsupported rules.
- Added regression coverage for SHA-256 encoding and VCL import warnings.
### Verification
- On the source baseline prior to the version-only bump: **981 library tests and 7 CLI tests passed**, with **0 failures** and **2 ignored**.
- The Rust test suite has not been rerun after the release metadata change.
## 0.38.10 — Cache/VCL guide and targeted rule compatibility fixes (source release)
- **Cache settings help modal:** a single in-app guide opens from Settings → Cache (header and Rules subtab). It provides concrete `Cookie`, `return(hash)`, `Vary`, `beresp`/`resp` header and TTL examples, with buttons that paste safe starting points into the *unsaved* graphical VCL importer; stage order, global/per-vhost precedence, unsupported VCL features and diagnostics. Its status line reads the current form values (including unsaved changes) and warns when storage is off, the TTL is zero or RFC mode is selected.
- **Corrected built-in help:** the compatibility-mode fallback for origin `no-cache` no longer claims to require `public`; strict RFC and the separate static-file `Vary: Cookie` requirements remain explicit. Updated both Polish and English text, the documentation and styles.
- **Targeted VCL interpreter improvements:** support `set/unset req.http.<safe-header>` in the graphical rule engine, with the result visible to subsequent rule conditions, `vcl_hash` and the forwarded origin request; preserve per-vhost precedence on header conflicts. Protected authentication, request cache control and transport headers cannot be rewritten through these actions.
- **Response storage override:** `set beresp.uncacheable = false` now reverses an earlier rule-imposed `no_store`/`uncacheable=true` assignment while leaving the origin privacy/security policy and response cache eligibility intact. Per-vhost decisions take priority over conflicting global rules.
- **Conservative VCL import:** restrict conversion of `regsuball(req.url, ...)` to recognised tracking-query removal syntax; unsupported URL rewrites emit warnings instead of silently changing unrelated parameters. Preserve supported actions next to invalid edits, flush long action blocks at the 16-action rule limit, and save zero-action terminal `return(deliver)` rules through the panel. The rule tester now shows request header edits. API rule actions were extended without changing persisted cache-object formats.
- **VCL consistency audit (same version):** the importer now tokenizes escaped quotes/backslashes and rejects unterminated comments or malformed `return`, `set`, `unset` and `hash_data` statements rather than accepting partial prefixes. Standard `hash_data(req.url)` and `hash_data(req.http.Host)` are recognized as already included in the RustProxy cache key; `hash_data` outside `vcl_hash` is warned about. Added focused regression cases.
- **Safer in-panel import and preview:** VCL conversion warnings are displayed **before** any partial rules are added; the user must explicitly accept them. Export is clearly labeled a readable approximation, not a reproducible VCL backup. Removed the ineffective 404 TTL template (storage currently supports only 200) and explained these boundaries in the Cache & VCL modal, PL/EN translations and the embedded Reader.
- **Import race hardening:** closing the VCL importer or editing its source now invalidates in-flight parse results (including edits reverted to the same text); cancelled imports cannot silently add rules after the HTTP response arrives.
- **Unified tester UI and VCL help (same version):** replaced the oversized seven-field request tester layout with compact, responsive request/backend-response sections in global Cache Rules, ordinary Vhosts and Docker vhosts. A shared guide button in both local editors opens the global Cache & VCL modal but inserts examples **only into the initiating editor**. Local path tests automatically send the draft hostname as `Host` when not given; global and local tests preserve their respective draft-rule scopes, existing global/per-vhost precedence and Ignore global rules. The panel and guides clearly distinguish rule simulation from live HTTP/HIT testing and warn about unsaved cache settings. No changes to proxy routing, API schema or stored configuration.
- **Testing status:** additional source-level Rust regression tests and an optional Playwright/Chromium smoke test for global and per-vhost UI imports were added. Browser UI and source-validation checks pass; compilation and Rust integration tests still require a Rust-enabled toolchain before production deployment.
## 0.38.9 — VCL compatibility documentation (source release)
- **Detailed VCL reference:** documented the importer's supported conditions, stages, returns, header operations, unsupported syntax and limits, including practical global/per-vhost examples and testing guidance. Added the guide to the embedded documentation Reader.
- **`Vary` semantics and header safety:** clarified how `set/unset beresp.http.Vary` changes stored variants versus `set/unset resp.http.Vary` changing only the outgoing response; explained Cookie/Authorization safety dimensions, static-asset exceptions, header protection, `Cache-Control` rewriting and removal of `Set-Cookie`.
- **Documentation-only release:** no runtime/API behavior or cache format changes. Rust compilation/runtime tests were not run in this environment.
## 0.38.8 — Varnish-compatible cache policy and VCL rule fidelity (source release)
- **Backend `no-cache` without `public`:** with `varnish_compatible=true`, positive configured fallback TTL now explicitly overrides `no-cache` for otherwise shareable responses, also without a validator. Strict mode (`false`) retains RFC revalidation semantics. With fallback TTL zero, existing ETag/Last-Modified validation remains in place. The override is a RustProxy configuration choice, **not** built-in Varnish behavior.
- **VCL Cookie `return(hash)`:** explicit lookup can override default Cookie bypass in compatible mode; earlier session-cookie `return(pass)` is terminal. Preserved request cookies partition the cache key and are added to downstream `Vary`, with unsafe proactive refresh disabled for credential-partitioned entries. Authorization, request `no-store`, backend `private`/`no-store`/`Set-Cookie` retain their guards.
- **VCL importer and engine:** request `return(hash)`/`return(lookup)` and `return(pass)`, separate `vcl_hash`, terminal returns, nested `if`/`elsif`/`else`, compound boolean guards and in-order request rewrites are handled consistently, including on cache-disabled routes without enabling storage. Unsupported VCL still produces explicit import warnings; this is not a complete Varnish VCL runtime.
- **Backend-response override semantics:** `set/unset beresp.http.<header>` for validated non-protected headers, such as `Cache-Control`, is applied before policy and to delivered responses, including cache-bypassed traffic. Header writes within one stage are ordered; local vhost edits override conflicting global rules. Cached delivery header rules now retain operation order and allow subsequent rules to inspect changed headers.
- **Panel/API:** added backend header actions to the cache-rule editor and OpenAPI; preserve imported `hash_stage` on save/export and document terminal zero-action rules. New regression tests cover cache-policy compatibility, cookie hash behavior, branch precedence, response and deliver header rewriting.
- **Verification:** source-only release; Rust compilation and runtime/protocol tests must be completed in a Rust-enabled CI/build environment before deploying.
## 0.38.7 — static Vary cookie option and panel consistency
- **Static `Vary: Cookie` safety (fix):** preserve the origin's `Vary: Cookie` when a public response has zero remaining freshness or requires revalidation. An otherwise storable zero-TTL response must not trigger the static-cookie override; a positive configured fallback TTL still permits it. No configuration or API change.
- **Docker backend diagnostic header (formatting fix):** shorten the opt-in `X-Rust-Proxy-Backend` value for Docker publications from `docker-<agent>-<service hash>/docker` to `<agent>/<service hash>` while preserving the agent and 12-character service hash. Internal backend IDs, routing, logs, monitoring, ordinary Vhosts and the header name remain unchanged. No new configuration or version bump.
- **Public static asset caching:** added `cache.static_ignore_vary_cookie` (default `true`, Vhost override/inheritance supported), which removes `Cookie` from a qualifying `Vary` response when ignoring static request cookies. Requires an explicitly public and otherwise cacheable response; retains the other Vary fields and rejects private, no-store, Set-Cookie and invalid responses. Only enable it for assets whose entire representation is independent of cookies; the setting is available under Cache → Static & diagnostics and Vhosts → Cache.
- **RFC 9111 `Vary` variant matching (fix):** normalize insignificant list whitespace and equivalent repeated field lines for known list-valued request headers; canonicalize case-insensitive `Accept-Language`, `Accept-Encoding`, `Accept-Charset` tokens, equivalent quality weights, and `Accept` media types without folding case-sensitive parameters. Preserve ordering, quoted strings, absent-vs-empty fields, opaque/custom headers, `Cookie` boundaries and `Vary: *` rejection. HOT/COLD now use v2 variant keys; existing v1 disk variants safely miss and refill instead of being reused under new semantics. No config/API or version change.
- **Vhost country picker:** Security → Country access uses the same searchable country selector as Settings → Policies, keeping the existing country-code format.
- **Certificate generation:** the terms agreement and production issuance confirmations use switches when switch controls are enabled; neither is auto-accepted.
**Docker agent safeguards carried forward from the 0.38.6 source patch:**
- **Docker-agent memory and connection safety:** reuse pooled Docker API connections (bounded idle and active connections), cap concurrent inventory requests at two (HTTP 503 with `Retry-After: 1`), fetch container details with eight workers and cache them for 15 seconds. Every published port of one container now receives the same CPU, RAM and restart details.
- **Safer enrollment and polling:** global constant-memory rate limit for one-time enrollment (burst of six attempts, one refill per second; HTTP 429 with `Retry-After: 1`), shorter collector locks during Docker API/public IP calls, and bounded HTTP read/write timeouts.
- **Agent diagnostics:** authenticated on-demand `GET /v1/diagnostics` returns RSS, Go heap allocation, goroutine count and Linux open file descriptor count without exposing process details at `/healthz`. Rebuild and restart the Docker agent for these safeguards; the original 0.38.6 binary did not include them.
## 0.38.6 — chart crosshair and editor layout
Panel-only release: no configuration, API or proxy behavior changes.
- **Value tooltips on charts (optional):** new **Settings → Appearance → Charts → Show values on hover** (off by default). Pointing at a chart (or touching it) shows a Grafana-style tooltip: a dashed vertical line snaps to the nearest sample, each series gets a dot, and the tooltip lists the sample number and every series' name, colour and value at that sample; with X/Y scales also on, a dashed horizontal line marks the Y value under the pointer. Values are read from the plotted lines with the chart's own scale. Preferences API: additive `chart_tooltips` boolean (default `false`).
- **Fix:** with a chart style other than the default (for example colour-blind), the legend colours of Requests per second, Connection activity, HIT / MISS / BYPASS and Transient RAM did not match their lines.
- **Switches never share a row with fields:** in the vhost, stream, redirect and Web Service editors a switch that enables fields now takes its own row and a switch after fields starts a new row, so the fields below line up (for example HSTS, security headers, per-client IP rate limit, response identity and diagnostics, WebSocket, retries, keep-alive, passive health, .htaccess). **Override global TLS policy** has its own row above the TLS versions.
- **Aligned fields:** fields in one row of an editor or settings form now start their inputs and drop-downs on the same line even when one caption wraps to more lines (for example Tinyauth URL / public login URL, passive health thresholds, Prometheus address / path); multi-line text areas take the whole row. Stacked switches no longer leave large gaps between them, most visible on phones.
- **Server-Timing metric names:** the option for the pre-0.38.2 names is now labelled **Legacy (proxy, origin, cache)**; the stored value `legacy` is unchanged.
- **Risk settings as switches:** **Force an incompatible certificate**, **Allow private origin IP** (backends and authentication providers) and **Allow local RustProxy listener as backend** are switches like the other settings, also in the Docker app editor. One-off confirmations before an action (ACME terms, production issuance, cache cleanup option) stay checkboxes.
## 0.38.5 — instant panel
Panel-only release: no configuration, API or proxy behavior changes. Measured on a replay of a production installation with 50 Docker apps (same data before and after): page elements 116 000 → 20 000, tab switches typically 110–310 ms → 12–50 ms, opening **Docker vhosts** about 1.6 s of blocked page → under 100 ms, work per live update 50–135 ms → 10–45 ms.
- **Docker vhosts render only what you look at:** a service's **Configure vhost** editor is built when it is first opened (or right before a change is saved), not for every service on every refresh; its summary line, search and quick actions use the stored settings until then. Service cards outside the viewport are not laid out, and traffic statistics are redrawn only for open sections on screen.
- **Hidden panels stay idle:** live updates no longer rebuild the Overview backend tables, Overview history charts or the Settings forms while another panel is shown; they are brought up to date once when you return. The Overview layout is not re-measured while it is hidden.
- **Faster formatting:** numbers, times, dates, chart axis labels and sorted lists reuse cached `Intl` formatters and collators instead of creating new ones for every value.
- **Fix:** rebuilding the backend overview table no longer forces a page layout on every live update.
## 0.38.4 — on/off switches in the panel
- **Switches for on/off settings:** a setting that turns a feature or a whole section on or off is now a switch instead of a checkbox, with the same rule in every editor: **Enabled** of vhosts, backends, locations, streams, listeners, redirect and 404 hosts, cache rules and PHP profiles; per-host features (WebSockets, Force HTTPS, www redirect, HTTP/2, HTTP/3, keep-alive, client IP forwarding, Cloudflare client IP, diagnostic headers, passive health checks, Content-Type denylist, rate limit, HSTS, User-Agent blocking, cache, transformations, compression, PQC key exchange) in the vhost and Docker app editors alike; the "custom"/"inherit" overrides; and global features (ACL countries, cache and its subsystems, Varnish-compatible policy, Via header, transformations, logging outputs and captured fields, GeoIP, Prometheus, alerts, trusted X-Forwarded-Proto, admin TLS, Web Server directory listing, .htaccess, precompressed files, PHP and hardening, default certificate), plus live refresh, appearance and layout preferences.
- **Option sets too:** TLS versions and cipher suites, compression algorithms (proxy and panel), precompressed formats, cache headers, stale-if-error and COLD triggers, passive health error types, Prometheus metric groups, alert types (including Docker alerts), transformation types, listener selection of vhosts and Docker agents, cache-rule stop/keep-only and every other standalone on/off setting are switches. Checkboxes remain only for column pickers, selecting items for a bulk action (certificate assignment, log fields, ACL profiles), the cache-rule condition negation and risk confirmations (terms of service, production issuance, private or local destinations, certificate mismatch, cache cleanup).
- **Appearance preference:** **Settings → Appearance → Interface → Show on/off settings as switches** (on by default) brings back ordinary checkboxes everywhere when turned off. Preferences API: additive `switch_controls` boolean (default `true`) in `/api/preferences`; no migration is required.
- The Docker **Publish** switch uses the same shared style; switches follow the selected corner style, show a keyboard focus ring and respect reduced motion. Saved configuration and the API are unchanged.
- **Faster panel with many Docker apps:** switching tabs and opening **Docker vhosts** no longer stall the browser. Country and other long choice lists are built only when opened (before, every Docker app carried its full country list, about 85% of the page's elements with 50 apps), country names are resolved once per language, list sorting reuses one collator, and the Overview backend tables are rebuilt only while Overview is shown (and once per live update instead of twice). Measured on a replay of a 50-app installation: tab switches about 2–3× faster, opening Docker vhosts blocks the page about 60% less.
- **Fix:** below 760 px the **Configure vhost** and **Traffic statistics** headers of Docker apps put the arrow on its own line and could leave large empty gaps; the arrow and title now share a line with the route hint below.
## 0.38.3 — Docker vhosts ready for production
- **Security and access for Docker apps:** the per-service editor has a new **Security and access** section with HTTP method policy, per-client IP rate limit, country access, security headers (HSTS, nosniff, X-Frame-Options, Referrer-Policy) and the verified Cloudflare client IP, the same engine as ordinary vhosts. Unused options are not stored, existing assignments are unchanged.
- **HTTP Basic Auth for Docker apps:** **Require login (HTTP Basic Auth)** protects a Docker app with its own users (realm, require HTTPS, credential forwarding, up to 64 users), like on ordinary vhosts; passwords are stored only as Argon2id hashes.
- **Diagnostic headers for Docker apps:** Server-Timing, selected backend and backend time can be switched on per Docker app.
- **Published apps:** a toolbar button in **Docker vhosts** opens one searchable list of all published Docker apps with address, aliases, container, agent, backend and status; **Configure** jumps to the service editor.
- **Collapse services per agent:** each agent heading has **Collapse services**; the state is remembered in the browser and search still finds collapsed services.
- **Fix:** the HTTP method and country pickers inside the vhost editor had no gap between the search field and the first option.
## 0.38.2 — Server-Timing, STALE and REVALIDATED
- **Server-Timing is appended, not replaced:** on a MISS or BYPASS the origin's own `Server-Timing` metrics (`db;dur=…`, `app;dur=…`) now reach the client, with RustProxy's field after them; before, RustProxy removed them. Several RustProxy hops each append their own field. On a response served from the cache the stored origin metrics are removed, also when timing headers are off, because they described the request that filled the cache.
- **Metric names for a reverse proxy:** `proxy;dur`, `upstream;dur` and `proxy-cache;desc` (before: `proxy`, `origin`, `cache`). They no longer collide with a CDN in front of RustProxy (`origin` there means RustProxy) or with an application's own `cache` metric. The vhost option `timing_header_names` (panel: **Server-Timing metric names**) also offers `cdn` (`edge`, `origin`, `cdn-cache`, the Akamai mPulse names, for RustProxy as the outermost layer) and `legacy` (the previous names).
- **Timing-Allow-Origin:** new vhost option `timing_allow_origin` (origins or `*`) lets scripts on other origins, such as a RUM collector or an assets domain, read Server-Timing.
- **STALE and REVALIDATED:** responses served from cache past freshness (grace, stale-while-revalidate, max-stale, stale-if-error, collapse timeout) and cached objects confirmed by the origin with 304 are now told apart from plain hits. The Server-Timing cache metric and the access-log `cache` field (log filter, `rust-proxy logs`, `/api/logs?cache=`) report `STALE` / `REVALIDATED` instead of `HIT`. `X-Cache` does so with the new option **X-Cache shows STALE and REVALIDATED instead of HIT** (`cache.expose_detailed_status`, global and per vhost, off by default). The Cache dashboard counts them as HIT for the hit ratio and shows them on the request line; `/api/cache` has `stale` and `revalidated` per domain. See [Cache](docs/CACHE.md#detailed-cache-status-stale-and-revalidated).
## 0.38.1 — built-in dashboard presets and matching fixes
- **Path prefixes with a trailing slash:** a cache bypass prefix or forced-cache target written as `/api/` now also matches the paths below it (`/api/health`); before, it matched only the exact path `/api/`, so such responses were cached when their headers allowed it. `/api` (without the slash) already covered `/api` and `/api/…` and still does not match `/apix`.
- **Cache rule extensions:** an `extension` condition value written with a leading dot or spaces (`.css`, `.JS`) now matches like `css`; before, it never matched.
- **Headless reload in containers:** `rust-proxy --headless reload` also signals RustProxy running as process 1, the usual case in a container.
- **Built-in dashboard presets:** **Dashboard presets** now offers twelve ready-made Overview layouts next to your own: ten for a Full HD screen (Operations/NOC, Traffic and protocols, Cache and compression, Backends and load balancing, Resources and process, Errors and security, Docker, Web Server and PHP, TCP/UDP streams, Wall display) and two for phones (status, on call). They set card order, widths, visibility, density and history length, cannot be deleted and do not count towards the 16 saved presets; see [Dashboard](docs/DASHBOARD.md).
- **Docs:** the headless production example uses `/api`, `/admin`, `/login` as cache bypass prefixes.
## 0.38.0 — headless mode and catch-all host
- **Headless mode:** `rust-proxy --headless --config /etc/rustproxy/config.json serve …` (or `RUST_PROXY_HEADLESS=1` with `RUST_PROXY_CONFIG` in `/etc/rustproxy/environment`, which the packaged unit already reads) runs RustProxy as a plain reverse proxy and load balancer configured only from a JSON file. No administration listener, API or administrator account; RustProxy never writes the file. Everything that serves traffic works as in panel mode. See [Headless mode](docs/HEADLESS.md).
- **Short configuration files:** in headless mode a file without `listeners` gets the `--proxy-listen` / `--tls-listen` addresses as listeners `http` / `https`, a vhost without `frontend.listener_ids` is bound to every enabled listener, and GeoIP downloads stay off unless `geoip_updates` is set. A working load balancer is a single vhost with its backends.
- **Reload without an account:** `systemctl reload rustproxy`, `rust-proxy --headless reload` or `kill -HUP` apply the edited file without dropping connections or the cache. An invalid file is rejected and logged and the running configuration stays active. The process id is kept in `<data-dir>/rustproxy.pid`.
- **Full configuration format:** every section of the panel configuration works in headless mode (cache and cache rules, COLD tier, compression, ACLs, login providers, Web Server, streams, Docker agents, logging, Prometheus); a panel export can be used unchanged. Examples: `examples/headless-minimal.json` and `examples/headless-production.json` (ten backends, HTTPS, two-tier cache with rules, rate limit, protected `/admin`, logs and metrics), both documented step by step.
- **Offline check:** `rust-proxy --headless config validate FILE` applies the same defaults and compiles the file without touching the data directory.
- **Health endpoint:** `--health-listen ADDR` (`RUST_PROXY_HEALTH_LISTEN`, both modes) serves `GET /healthz`: `200` while every vhost with backends has a healthy backend, `503` otherwise, with per-vhost counts, the configuration revision and the result of the last reload.
- **Catch-all host:** a vhost host of just `*` answers every hostname and IP address on its listeners that no exact or wildcard host claims, so a server without a domain can be published (HTTPS uses the default certificate). Works in panel mode too.
- **Not available in headless mode:** the panel and live logs, the configuration API and cache invalidation API, ACME issuance and auto-renewal (certificates with `issuer.auto_renew` are refused; renew externally and reference the files), the software update check and the ACME runtime preparation.
- **Compatibility:** without `--headless` nothing changes. No configuration migration.
## 0.37.3 — lower memory and CPU use with Docker agents
- **Docker discovery no longer rebuilds the configuration on every poll:** each agent poll (default every 5 s) used to recompile the whole runtime configuration — re-reading every certificate file, building new TLS server configurations for every vhost, re-resolving dynamic ACL names and allocating and discarding the full compiled configuration — even when nothing had changed. RustProxy now compares the generated configuration (and the size, modification time and inode of the configured certificate files) with the last applied one and only recompiles when something actually changed: a container address, port, label publication, assignment, configuration save, certificate reload or a certificate file replaced on disk. On the test machine (51 vhosts, two agents, 5 s poll) idle CPU use dropped by about 45% and process memory under 500 keep-alive TLS connections by about 12%; the effect grows with the number of vhosts, certificates and backends.
- **Shared TLS configurations:** vhosts with the same TLS policy now share one TLS server configuration (and its session cache) instead of two per vhost, and a certificate is kept in memory once instead of once per host name it serves.
- **Upstream clients:** unchanged backends keep their upstream client and connection pool across configuration changes without building a replacement first.
- **Docker polling:** the poll loop no longer copies the full configuration and all agent inventories several times per poll.
- **Compatibility:** no configuration or API changes. A certificate file replaced on disk is still picked up automatically on the next Docker poll when Docker agents are configured; otherwise use *Reload* or the certificate API as before.
## 0.37.2 — Docker vhost ACL and cache, compact pickers, manual dashboard layout
- **Docker vhosts, access control:** the agent default ACL profiles are now shown pre-selected in the service's *Access control* section (*Agent default in use: …*) and can be unchecked or changed for that service only. New **Public vhost (no agent default ACL)** publishes a service without the agent default profiles (`inherit_acl_profiles: false`); global block/allow rules still apply. The section summary shows the effective state. See [docs](docs/DOCKER_DISCOVERY.md#publish-a-discovered-application).
- **Docker vhosts, cache:** with *Cache* enabled, **Cache for this vhost** sets a default TTL and cache rules (templates, VCL import/preview, tester, *Ignore global cache rules*) per service (`cache_default_ttl_seconds`, `cache_rules`, `cache_ignore_global_rules`). Global cache rules can now be limited to Docker vhosts, and the tester can simulate them; new `GET /api/cache/rules/targets`. See [docs](docs/CACHE.md#cache-rules-vcl-style).
- **Docker agent interfaces (fix):** systemd installations listed only the routed, public and override addresses because the unit blocked netlink. Agent 0.37.2 allows `AF_NETLINK` and, if netlink is still unavailable, reads addresses from `/proc/net`; reinstall the unit after upgrading. See [docs](docs/DOCKER_DISCOVERY.md#default-backend-ip).
- **Docker domains and certificates:** one domain can be used by several agents (only the published names must be unique); the domain picker lists every agent using it. Certificate lists label each name as *main domain*, *www*, *wildcard* or *subdomain*. See [docs](docs/DOCKER_DISCOVERY.md#domains).
- **Docker panel fixes:** the agent default backend IP is no longer listed twice in *Backend host IP*; the redundant *CONNECTED* badge next to *Agent diagnostics* is gone (the agent header already shows the state).
- **Compact pickers:** in multi-selects (countries, ACL profiles, domains, certificates, rule vhosts) the checkbox has the standard interface size, sits on the same line as the name and the entries are closer together; the ISO code is no longer repeated next to country names.
- **Certificate API (fix):** while editing a key, the certificate list no longer jumps back to the top when the panel refreshes in the background.
- **Overview, Arrange manually:** a new switch in the unlocked layout gives blocks fixed grid positions: drag a block to any cell (a dashed frame shows where it snaps), resizing never pulls other blocks into the freed space, and the positions are saved with the layout. *Fit to screen* and *Fill gaps* are off in this mode. See [docs](docs/DASHBOARD.md).
- **Alerts:** *Application status* gets an **Alerts** entry with links: expired or soon-expiring certificates (14 days), failed ACME renewals, ACME environment not ready, file descriptors ≥ 80%, country rules without a GeoIP database, Prometheus exporter open without token or address limit, available update. New warnings show a notification. Computed from the current state (no history, recomputed at most every 30 s); `alerts` in `/api/status` and new `GET /api/alerts`. Configured in the new **Settings → Alerts** tab: main switch, notifications, each alert kind on its own and thresholds for certificate expiry (days) and file descriptors (%); stored as `alerts`. See [docs](docs/MONITORING.md#alerts).
- **TLS policy, cipher configurator:** cipher suites as a table (certificate type, encryption, bits, rating), presets *Modern*, *Recommended (maximum compatibility)* and *256-bit only*, an SSL Labs–style grade with checks and a client compatibility simulation. Clearly marks clients that rustls cannot serve (TLS 1.0/1.1, CBC). See [docs](docs/TRANSPORT.md#cipher-configurator).
- **HTTP methods picker:** global policy, Vhost → Security and custom locations pick methods from a described list (GET … PURGE, WebDAV) instead of a text field; custom methods can still be typed. See [docs](docs/ACCESS.md#http-methods-and-rate-limits).
- **Cache rules for the whole application:** deliver rules (response headers) now apply to every response of the vhost, also when caching is off or bypassed, so they can override `Cache-Control` or add headers application-wide. New action *Set header if missing* (`default_header`) and templates for browser caching of static files, no browser cache for HTML/admin and default security headers. See [docs](docs/CACHE.md#cache-rules-vcl-style).
- **Docker vhosts:** *Use additional per-app ACL* now starts its own row, directly above its settings.
- **Docker vhosts, grouping:** endpoints of one Compose project (all services and ports) or of one container with several ports are shown under a collapsible group header (name, endpoints, published count, hostnames); display only, each port is still configured separately. See [docs](docs/DOCKER_DISCOVERY.md#publish-a-discovered-application).
- **Firefox scroll (fix):** live refreshes no longer move the page up when scrolled to the bottom of long lists in browsers with native scroll anchoring.
- **Language packs:** the per-pack size limit is 512 KiB (was 256 KiB).
## 0.37.1 — Precise SNI certificate selection, OPNsense deploy script, Docker panel polish
- **Cache rules (VCL-style):** new **Settings → Cache → Rules** tab and **Cache rules for this vhost** in the vhost editor. Rules are built graphically (*If … Then …*) for three stages: request (bypass, remove cookies, remove query parameters such as `utm_*`, add a header or cookie to the cache key), backend response (TTL, grace, do not store, ignore backend Cache-Control, remove Set-Cookie) and deliver (set or remove response headers), with conditions on host, URL, path, extension, method, query parameter, header, cookie, client IP, status, Content-Type and response header. Vhost rules run before global rules; the editors show when a vhost rule overrides a global one, and a vhost can ignore global rules. Includes templates (WordPress, static files, tracking parameters, API, language variants, 404, X-Powered-By), drag-and-drop ordering, a request tester (`POST /api/cache/rules/test`, also for unsaved edits), VCL import of a common subset with warnings for the rest (`POST /api/cache/rules/import-vcl`), a read-only VCL preview, in-memory match counters (`GET /api/cache/rules/stats`) and Prometheus `rust_proxy_cache_rule_matches_total`. Configuration: `cache.rules`, vhost `cache.rules` and `cache.ignore_global_rules`. Existing safeguards (Authorization, Basic Auth, login providers, sticky sessions, Set-Cookie) stay in force. See [docs](docs/CACHE.md#cache-rules-vcl-style).
- **TLS certificate selection (fix):** a name such as `app.apps.example.com` no longer gets a `*.example.com` certificate. Wildcards now match exactly one label, and when no SNI name of a stored certificate matches, RustProxy checks the DNS SAN names each certificate really covers (the certificate with the fewest names wins) before falling back to the default certificate. This affects vhosts and Docker vhosts in *Automatic* / *Global SNI* certificate mode. See [docs](docs/CERTIFICATES.md#one-vhost-several-certificates-sni-selection).
- **Docker certificate hint:** in *Automatic* mode the service editor shows which stored certificate SNI will pick, or warns which names no stored certificate covers. See [docs](docs/DOCKER_DISCOVERY.md#certificates).
- **OPNsense ACME deploy script:** `integrations/opnsense-acme/opnsense-rustproxy-cert-deploy.sh` rewritten for the current certificate API and the os-acme-client automation (*System or Plugin Command* → **Deploy certificates to RustProxy**, runs after every issue/renewal). Certificates are found by name (`--list` shows them; os-acme-client stores them under an internal id the GUI does not show) and mapped to RustProxy ids with `RUSTPROXY_CERTIFICATES='*.apps.example.com=apps-wildcard …'`; explicit `CERT_FILE`/`KEY_FILE` still work. Supports `https://` and loopback `http://` panels, `RUSTPROXY_TLS_VERIFY=no` for a self-signed or not yet valid panel certificate, `RUSTPROXY_PINNED_PUBKEY`, `RUSTPROXY_CACERT`, `RUSTPROXY_RESOLVE`, `--check` and `--config`. On failure it logs the RustProxy error code with a hint (for example `certificate_api.deploy_forbidden`: the key is reload-only, enable *Also allow deploy*). See [docs](integrations/opnsense-acme/README.md).
- **Docker agent addresses:** agent 0.37.1 also reports container bridge addresses (`docker0`, `br-*`, `podman*`, `cni-*`, `virbr*`, source `bridge`). **Default backend IP** groups the detected addresses into *Recommended*, *Other host interfaces* and *Container bridges* and marks the primary address with ★. See [docs](docs/DOCKER_DISCOVERY.md#default-backend-ip).
- **Docker Overview cards:** the layout editors and the dashboard settings list show each Docker card type once instead of four times; the agent is chosen in the list when adding the card, and further copies of the same type can be added until four are visible. Visible copies show the selected agent name instead of *#2–#4*. See [docs](docs/DOCKER_DISCOVERY.md#overview-cards).
- **Docker vhosts:** container state, health, uptime, CPU, RAM (with a fill bar against the memory limit) and restarts are shown as separate coloured chips; the page description under the title was removed; the alias domain list no longer repeats the master domain. See [docs](docs/DOCKER_DISCOVERY.md#container-state-and-history).
- **Settings → Docker agents:** *Test connection* sits next to *Remove* and shows its result in a bubble; *Publish from container labels* has a **?** button with the label reference and a `docker compose` example. See [docs](docs/DOCKER_DISCOVERY.md#test-connection-and-one-time-codes).
- **Settings → Certificate API redesigned:** keys are listed first (permission badge, certificate chips, created / last used) with *Edit*, *Regenerate token* and *Revoke token*; **New key** and *Edit* open an editor (inline under the edited key) with *Reload only* / *Deploy and reload* as two clear choices and the certificates chosen in the same searchable picker as elsewhere in the panel, showing each certificate's host names; a new ID can be typed for a certificate that the first deploy will create, and RustProxy ACME certificates are marked reload-only. The custom token is an optional advanced field, the one-time token appears in a highlighted box with a copy button, and the curl example is collapsible. Keys migrated from older versions with access to all certificates (`*`) are marked and the editor explains that certificates must now be chosen; previously saving such a key failed with *Certificate API tokens require 1-32 valid certificate IDs*. See [docs](docs/CERTIFICATES.md#restricted-certificate-api).
- **Settings, clearer layout:** See [docs](docs/CONFIGURATION.md#settings-pages).
- **API tokens (Security)** now work like Certificate API keys: list first (RO/RW badge, address chips, created / last used), **New token** opens an editor with *Read only* / *Read and write* as two choices and source addresses as chips (a single IP becomes /32 or /128, invalid entries are rejected before saving); the one-time token appears in a highlighted box with a copy button. The leftover "API tokens moved to Security" card in *Administration* was removed. See [docs](docs/API.md#api-tokens-in-the-panel).
- **Restart markers per field:** *Administration* and *Prometheus* mark exactly the fields that need a restart with a RESTART badge (the card shows LIVE + RESTART); everything else applies immediately.
- **Prometheus** is split into *Endpoint*, *Bearer token* (status badge, copy button) and *Metric groups*; allowed scraper addresses are chips and the scrape config is collapsible. See [docs](docs/MONITORING.md#prometheus-exporter).
- **Global block / allow:** a status bar at the top shows every rule (country, User-Agent, IP/CIDR, methods, Content-Type, rate limit) with its state and jumps to it; each section shows an on/off badge and hides its fields while off. Countries are chosen from a searchable list (ISO code and name) instead of typing codes. See [docs](docs/ACCESS.md#global-block--allow-policy).
- **Listeners** are compact cards (name, ID, addresses, Internal/Public, TLS, H1/H2/H3, disabled) that expand for editing; *Currently active* is shown at the top. A listener with an invalid field opens automatically when saving. See [docs](docs/TRANSPORT.md#frontend-listeners).
- **Long help texts** in Settings are shortened to two lines and expand on click; the save button of each settings form stays visible at the bottom of the screen and shows *Unsaved changes* when the form was edited.
- **System information** is rebuilt from the same blocks as Overview: a host card (OS, environment, kernel, CPUs, RAM, swap, host and RustProxy uptime, LIVE/MANUAL, *Copy diagnostics* for bug reports), tiles for system and RustProxy CPU with short history lines, load average, RAM and file descriptors, a *RustProxy process* card (RSS split into HOT/transient cache, anonymous and file-backed memory, cache/transform budgets, start time, swap, disk I/O, cgroup limit), a *Network* card (active interfaces, idle ones folded, RX/TX history), the certificate toolchain (Python → pip → Certbot) and data paths with *Copy*. The history lines live only in the browser tab. See [docs](docs/MONITORING.md#system-information).
- **Interface scale (fix):** at a smaller interface scale (Settings → Appearance) dialogs such as logs, configuration history, vhost editors and About shrank together with their content and left the rest of the screen empty. Dialogs now keep their on-screen size at every scale (the content inside gets smaller, so more of it fits), and layout sizes based on the window width/height are corrected for the scale as well. See [docs](docs/DASHBOARD.md#interface-scale-and-dialogs).
- **Corner style:** new and updated controls (keys, tokens, chips, status badges, container meters, listener cards, rule status bar) follow the *Corner style* appearance setting instead of fixed rounding. See [docs](docs/DASHBOARD.md#corner-style).
- **Panel icons:** the ★ *make master domain* button in domain pickers is no longer replaced by a shield icon.
## 0.37.0 — Docker domains, certificate lists, agent provisioning and host diagnostics
- **Backends table, ultra-compact density:** the backend name line is hidden in *Ultra compact* table density, so hovering the vhost name (dotted underline) or the identity cell now shows a tooltip with both the vhost and backend names.
- **Docker agent domains:** *Base domain* is replaced by **Domains** — a list of up to 16 DNS suffixes per agent (for example `app.example.com`, `example.com`, `random.example.net`), chosen in the same searchable multi-select as ACL profiles; type a domain and press Enter to add it. The first domain (★) is the master domain for new Docker vhosts; click ★ on another domain to make it the master.
- **Master domain per Docker vhost:** every published service picks its master domain from the agent domains (default: the first), so it works under `<container-name>.<master domain>` right after publishing. Aliases can be short labels (under the master domain or another agent domain chosen next to the alias input) or full names, which the panel accepts only inside the agent domains.
- **Docker certificates:** the single certificate selector is replaced by **Automatic** (global SNI / default certificate, the default) or **Selected certificates** (up to 32, same picker style as ACL profiles). Each generated vhost uses the selected certificate that covers all its names (exact names win, then the narrowest); otherwise it falls back to the generic SNI/default certificate. The service editor shows which certificate will be used. *Accept certificate/domain mismatch* forces the first selected certificate when none matches.
- **Provisioning code:** Docker agent 0.37.0 adds `rustproxy-docker-agent provision-code`, which prints one `RPDA1-…` code (base64url JSON with the HTTPS endpoint, Bearer token and certificate SHA-256). **Settings → Docker agents → Paste provisioning code** (or *Provisioning code* inside an existing agent, for rotated tokens) fills in the name, endpoint, token and pin at once. `info --show-token` and the manual installer also print the code. The code contains the secret token.
- **Docker agent ID:** generated automatically from the agent name using the same rule and widget as Vhost IDs (editable until saved).
- **Default backend IP:** now a list of the addresses detected by the agent (with interface/scope/source), *Automatic* or **Custom address…**.
- **Host diagnostics:** agents 0.37.0+ report OS, kernel, architecture, Docker/Podman runtime and version, uptime, load average, CPU usage, memory, swap, disk usage of the container data directory, host network totals/rates and running/total containers and images. They appear in **Docker vhosts → Agent details → Host system** and in a compact diagnostics strip (status, last check, error, host metrics) in **Settings → Docker agents**. Nothing is shown when an agent does not send them.
- **Docker Overview cards (optional, hidden by default):** **Docker agents**, **Docker apps**, **Docker app requests** (rate chart), **Docker hosts network** (RX/TX chart), **Docker hosts load** (CPU/memory bars and load per host) and **Containers**. With two or more agents every card has an agent selector (*All agents* or one agent), also shown next to the card when adding it in the layout editors; the choice is saved per administrator in the new `docker_widget_agents` preference.
- **Docker alerts:** RustProxy raises alerts from the latest agent poll only (no stored history): the agent could not be reached at the last check (error), a host's disk or memory use is at or above a threshold (default 90% / 95%), the load per CPU reported by the host (5-minute load average) is at or above a threshold (default 2.0), a **published service disappeared from the inventory**, a published container is unhealthy, restarting, exited or dead (containers without a health check are judged by their state only), or container labels cannot be published. They are shown as ordinary alerts: a **Docker** entry in the application status (amber/red), a notification when a new alert appears, a list at the top of **Docker vhosts**, a `Docker alert raised/cleared` log line and Prometheus `rust_proxy_docker_alert` / `rust_proxy_docker_alerts_active`. Thresholds and switches: **Settings → Docker agents → Alerts** (`docker_agents.alerts`).
- **Prometheus host metrics:** `rust_proxy_docker_agent_up`, `..._agent_last_success_timestamp_seconds`, `rust_proxy_docker_host_*` (info, uptime, CPU count and usage, memory, swap, disk, load 1/5/15 m, network totals and rates, containers, images) and `rust_proxy_docker_container_*` (state/health info, CPU, memory, memory limit, restarts), all labelled with `agent`; `rust_proxy_docker_vhost_label_published` marks label publications.
- **Grafana:** the bundled dashboard gets **Job** and **RustProxy server** variables applied to every query, a **RustProxy servers** row (per-server table with version, uptime, request/error rate, active exchanges, RSS and CPU, servers down, per-server time series) for monitoring several RustProxy servers, and a **Docker hosts and alerts** row.
- **Diagnostics charts:** small CPU, memory, load and network charts in **Agent details** are sampled in the browser from the agent polls while the page is open, like the other panel charts (length follows the Overview history sample setting); RustProxy itself stores no history.
- **Publishing from container labels:** with **Publish from container labels** on an agent, containers labelled `rustproxy.enable=true` are published automatically. Optional labels: `rustproxy.host`, `rustproxy.domain`, `rustproxy.aliases`, `rustproxy.scheme`, `rustproxy.port`, `rustproxy.force_ssl`, `rustproxy.websockets`, `rustproxy.cache`, `rustproxy.compression`, `rustproxy.preserve_host`. Names must be inside the agent domains and must not collide with existing hosts; such services get a **LABELS** badge, invalid ones a **LABEL ERROR** badge and an alert. A manual setting always wins: *Apply changes* takes a label publication over, switching *Publish* off stores a disabled manual override. Off by default.
- **Container state:** each service row shows the container state and health check (healthy, unhealthy, starting, or *no health check* for images without `HEALTHCHECK`), CPU, memory with its limit and restart count (agent 0.37.0, Docker and Podman).
- **Test connection:** a button in each agent checks endpoint, token and certificate pin before saving (`POST /api/docker/test`).
- **One-time provisioning codes:** `provision-code` now prints a one-time `RPDA1` code (format v2) that contains the endpoint, the certificate pin and a single-use enrollment secret valid for 15 minutes (`--ttl`), but not the token. Pasting it makes RustProxy redeem it at the agent over the pinned HTTPS connection (`POST /api/docker/enroll` → agent `POST /v1/enroll`) and fill in the permanent token; a used or expired code is rejected. `--static` prints the previous reusable code with the token. One-time codes require HTTPS.
- **More Docker cards:** every Docker Overview card exists four times (`docker_host_load`, `docker_host_load_2` … `_4`, likewise for the others), shown as *#2–#4*, so the same card can be placed per agent next to each other.
- **Agent version:** the Docker agent carries the RustProxy version (0.37.0 here, as set by the package builder), so the agent version shown in the panel matches the release it ships with.
- **Agent packages:** the DEB/RPM postinstall also handles Podman-only hosts: it creates a `docker` group when Podman is installed and no such group exists, adds a `podman.socket` drop-in (`SocketGroup=docker`, `SocketMode=0660`) when there is no Docker socket, and starts the agent when `/var/run/docker.sock` or `/run/podman/podman.sock` exists; the drop-in is removed with the package.
- **Podman support in the agent:** `RUSTPROXY_DOCKER_SOCKET=auto` (new default) uses `/var/run/docker.sock`, then `/run/podman/podman.sock`, then the rootless `$XDG_RUNTIME_DIR/podman/podman.sock`; `unix://` URLs are accepted. `podman-compose` labels (`io.podman.compose.*`) group services like Docker Compose. The systemd unit no longer *requires* `docker.service`, and the manual installer accepts Podman hosts.
- **Status API:** `GET /api/status` (full and `view=live`) adds a `docker` object (`null` without agents) with per-agent `ok`, `observed`, `services`, `published_pool_ids`, `missing_services` and `system`, plus `alerts`. `GET /api/docker` adds `alerts`, `label_issues`, label publications in `pool_routes` and `last_ok_unix_ms` in observations. `GET /api/docker` inventories may include `system`.
- **Configuration/API:** Docker agents add `domains` and `certificate_ids`; assignments add `domain` (master domain). Legacy `base_domain` and `certificate_id` are still accepted and migrated on save (`domains: [base_domain]`, `certificate_ids: [certificate_id]`) and are no longer written. The Docker inventory accepts unknown fields from newer agents.
- **Compatibility:** RustProxy 0.37.0 requests `GET /v1/inventory?system=1`; older agents ignore the parameter and keep working without diagnostics. Agent 0.37.0 sends `system` only on that request, so older RustProxy servers keep working with the new agent.
- **Upgrade notes:** no database migration. Existing Docker agents keep their behavior: the old base domain becomes the only domain and a selected certificate becomes the only selected certificate (a certificate that does not cover a service's names now falls back to the generic SNI/default certificate instead of being rejected, unless the mismatch override is enabled). Saving the configuration writes the new fields, so downgrading to 0.36.x afterwards requires restoring a previous configuration. Update agents to 0.37.0 for provisioning codes, host diagnostics and Podman.
## 0.36.13 — panel-style origin rejection page
- **Administration access error:** the generic inline "Could not open the panel" response is now a dedicated HTML template that uses the same RustProxy brand, login-card layout, typography, buttons and status styling as the administration panel.
- **Rejected-origin assets:** the shared panel stylesheet and favicon remain available for this static forbidden page even when the request origin itself is rejected, so proxy/public-URL mistakes still render a complete branded error screen without weakening access to panel data or scripts.
- **Upgrade notes:** interface-only release; no configuration or database migration is required.
## 0.36.12 — stable dialogs and consistent tab navigation
- **Stable dialog position:** new **Settings → Appearance → Interface → Keep dialogs at a stable top position** preference keeps primary panel dialogs anchored near the top of the viewport, so switching between tabs with different content heights no longer makes the modal jump vertically. The account-scoped `stable_dialog_position` preference is **on by default**, including for existing preference documents that omit the field; disabling it restores the previous vertically centered behavior.
- **Preferences API:** additive `stable_dialog_position` boolean (default `true`) in `/api/preferences`; no proxy configuration or database migration is required.
- **Keyboard tab navigation:** Vhost editor, Web Server editor, Traffic and Stored logs tab bars now match Settings: Arrow keys move between tabs, while Home/End jump to the first/last tab. Keyboard focus on metric info controls is now visibly outlined instead of relying only on a border colour change.
- **Upgrade notes:** no configuration or database migration is required. The stable dialog position is enabled by default; it can be disabled per administrator under Appearance.
## 0.36.11 — more Backends metrics
- **Backends overview — new columns:** seven more metrics, each sortable and switchable under **Columns**, fill the empty space of wide screens. **HTTP codes** (on by default) shows the 2xx share, any 4xx/5xx shares and a stacked 2xx/3xx/4xx/5xx bar. **Cache** (on by default) shows a HIT-ratio ring, the response bytes served from the vhost's cache (CACHE) and the response bytes this backend delivered (ORIGIN); the tooltip lists HIT/MISS/BYPASS counts. **Req/s** shows the current request rate of the backend. **p95 / p99** shows latency percentiles, read from the latency histogram (shown as the bucket's upper bound; above 5 s is shown as ">5 s"). **Probe** shows the last active health-check latency and how long ago it ran. **Error causes** shows up to three most frequent failure counters (5xx, timeout, connect, TLS, DNS, I/O, queue, limit, retry). **Protocol** shows the last observed upstream protocol (H1/H2) and the HTTP/2 share. HTTP codes, Cache and p95 / p99 are counted per vhost, so all backends of one vhost show the same value. The vhosts panel backend table offers the same columns as text.
- **Status API:** each `vhost_metrics` entry in `GET /api/status` (full and `view=live`) adds `status_classes` (1xx–5xx counters), `p95_latency_ms` and `p99_latency_ms` (`null` without traffic). A new top-level `vhost_cache_totals` object (vhost ID → `hits`, `misses`, `bypasses`, `saved_body_bytes`) sums the cache domain statistics per vhost.
- **Preferences API:** `backend_table_columns` and `backend_table_sort` accept `rate`, `statuses`, `p95`, `cache`, `probe`, `causes` and `protocol`. The default column set adds `statuses` and `cache`; the other new columns are opt-in.
- **Info popovers:** the "i" explanations (for example next to Response time history) were drawn as one long line running past the card when they sat in a single-line chart header; they now wrap inside the popover.
- **Documentation:** refreshed screenshots (dark theme, 90% scale, interface icons, collapsed menu, colour-blind safe charts) and a new Backends card screenshot in the screenshot tour.
- **Upgrade notes:** no configuration or database migration is required. An account that has already saved its own column choice keeps it, so enable the new columns under **Columns** in the Backends card.
## 0.36.10 — Fit to screen, collapsible menu and smoother startup
- **Fit to screen (auto-arrange):** a **Fit to screen** switch in the unlocked layout toolbar (account preference `dashboard_auto_fit`, **on by default**) re-arranges a custom Overview for the current screen width, so the layout designed on a wide screen stays tidy on laptops and tablets. Each card keeps its saved width (but at least a readable minimum for its type), cards are placed in saved order into the first free spot from the top, stat tiles that start on one row get one height, a card whose side neighbour ends slightly lower is extended to that edge (only while the dashboard grows by at most two stat tiles), remaining holes are filled by widening a neighbouring card sideways or growing it into free space above or below. When a card is placed, a free strip beside it that is narrower than every card still to be placed is taken by that card at once, and at the end of the grid a chart or panel reaches the last row instead of leaving an empty area. The saved widths, heights and order are never changed; switch it off to see the layout exactly as saved. While a block is dragged the normal flow is shown so the drop placeholder stays accurate.
- **No layout jump on reload:** the Overview grid stays invisible until the account's layout from the server has been applied and the first live data has been rendered, then appears already arranged; meanwhile the panel's startup screen (logo, spinner, "Loading RustProxy…") is shown in its place. Nothing about the layout is stored in the browser (an older cached layout key is removed).
- **Collapsible left menu:** a **Collapse menu** button at the bottom of the left menu turns it into a narrow rail (logo, section numbers or icons with the section name as a tooltip, status dot). On screens wider than 1300 px the choice is stored in the account preference `sidebar_collapsed` (off by default); between 851 and 1300 px the menu is always a rail and the button opens the full menu temporarily as an overlay that closes after choosing a section, clicking outside or pressing Esc. The mobile menu (850 px and below) is unchanged. The startup screen now stays until the account preferences are applied, so the panel never appears first with default settings.
- **Preferences API:** additive `dashboard_auto_fit` (boolean, default `true`) and `sidebar_collapsed` (boolean, default `false`) in `/api/preferences`; documents without them keep the defaults.
- **Upgrade notes:** no configuration or database migration is required. Fit to screen is on for existing accounts and can be switched off in the unlocked layout toolbar; the left menu starts expanded on wide screens.
## 0.36.9 — memory breakdown card and row-based Overview layout
- **Memory breakdown (Overview card, hidden by default):** a new optional `memory_breakdown` dashboard card splits the process RSS into cache data (object bodies), cache bookkeeping (index, keys, headers), cache buffers (fills, COLD queue/IO), free memory held by the allocator (fragmentation, an upper bound), code and mapped files, and the rest of the process. Chips show RSS / cache ratio, cache overhead per object, HOT object count and heap fragmentation; an allocator section lists heap, in-use, free-held and large mmap blocks. An "Outside cache" chart tracks RSS minus accounted cache and, after 10 minutes of samples, labels the trend as stable, rising or falling (with the slope in MiB/h) to tell a leak apart from flat overhead. Enable it in the layout editor.
- **Status API:** `GET /api/status` (full and `view=live`) adds an additive `memory_allocator` object with glibc `mallinfo2` statistics (`heap_bytes`, `in_use_bytes`, `free_bytes`, `releasable_bytes`, `mmap_bytes`, `mmap_blocks`), sampled at most every 2 seconds; it is `null` on musl, non-Linux and the optional mimalloc build.
- **Overview layout with row heights:** in a custom (unlocked/saved) layout, card heights now snap to a shared row unit — half the height of the tallest compact stat card, so stat tiles always span two rows and line up — instead of every card in a row stretching to the tallest one. A tall panel (Process, RAM cache, Network…) can sit beside several rows of small cards or charts with aligned edges. Each card automatically gets the rows its content needs; in the layout editor, the new **↕ − / +** control next to the width makes a card taller (`A` marks automatic height, lowering it to the content height returns to automatic). Charts (also with chart scales enabled), chart stacks and tables grow into the extra height, and a card is stretched over the empty cells below it down to the next card or the end of the grid, so rows end on straight edges. **Fill gaps** packs blocks with their real heights. Small content changes (for example a growing table) cannot make the grid jump: a card grows at once but shrinks only after the smaller size is seen several times. Below a 700 px wide dashboard, cards stack by content height as before.
- **Preferences API:** additive optional `dashboard_widget_heights` (widget ID → 1–32 rows) in `/api/preferences` and dashboard presets. Older documents and presets without it keep automatic heights.
- **Upgrade notes:** no configuration or database migration is required; existing saved layouts receive the new card hidden at the end. Legacy (never customized) layouts keep their grouped rows until the layout is edited.
## 0.36.8 — editor forms, toasts and CSP fixes
- **Editor forms:** the `pattern` attribute of generated ID fields (vhost, location, member, listener, stream ID, error fallback target, affinity cookie name) escaped the hyphen incorrectly for browsers that compile patterns with the `v` flag, which logged "Pattern attribute value ... is not a valid regular expression". The hyphen is now escaped.
- **Toasts:** the toast element could be removed together with a rebuilt dialog, after which every save/validation message threw `Cannot set properties of null (setting 'textContent')` and the form could not be saved. The toast is now recreated on demand.
- **Cancel new entries:** vhost, redirect, 404 host, stream and web service editors have a **Cancel** button next to "Discard changes". It closes the editor and drops the draft (with a confirmation when something was typed) instead of only minimizing it to the draft dock.
- **Backends overview:** more trend charts per row: a wider latency line, request bars (requests per refresh) next to the request count (a faint baseline is drawn for idle rows), and an IN / OUT traffic chart with the inbound and outbound rates on two lines, measured from the per-backend byte counters (the server-reported total still wins when present).
- **Tiny backends / Process simple:** the old backend card was forced visible whenever a proxy source existed, ignoring the dashboard layout, so it could not be hidden. Layout visibility is now respected (the "no proxy source" state uses a class instead of the `hidden` attribute).
- **Backends overview:** with a row expanded, the periodic refresh no longer scrolls the table back to the focused row (focus is restored without scrolling and the scroll position is kept).
- **CSP:** the cache outcomes bar no longer uses inline `style="width:0%"` attributes (blocked by `style-src 'self'`); the initial width comes from the stylesheet.
## 0.36.7 — Docker vhosts and cache panel polish
- **Backends table redesigned:** a richer replacement for the 14-column table. It takes over the existing `backend_table` slot (saved layouts keep its position, size and visibility); the previous compact table remains available as the optional **Tiny backends** (`backend_tiny`, hidden by default). Status badges with a coloured row edge, vhost and backend in one cell, error count with a share bar, latency with a short trend line, traffic per second and a "last event" column; filter chips (All / Up / Down / Other) with counts, search, sorting, column selection and "Manage vhosts" work as before and share the same saved sort, direction and column preferences. Client generation, generation requests/age, rotations and the last failure/recovery open under a chevron and stay open across refreshes. It follows the table density (normal, compact, ultra) and corner-style settings. The original table is still available as **Tiny backends**; the new card is visible in the factory layout (Tiny backends is hidden there), while existing saved layouts keep their current cards and can enable the new one in the layout editor.
- **Process card redesigned:** chips for platform, threads, start and uptime, Load rows with usage meters (CPU, RSS, file descriptors, cgroup), a Memory section with an anonymous/file-backed split bar, and a 2×2 grid of history charts (CPU, RSS, file descriptors, OS threads); cache memory is no longer shown there (see RAM cache). It takes over the existing `process_diagnostics` slot, so saved layouts keep its position, size and visibility. The previous card is still available as the optional **Process simple** (`process_simple`, hidden by default).
- **Docker vhosts:** the collapsible sections (Configure vhost, Protocols, Access control, timeouts, health checks) now align arrow, title and hint to the left with a common title column. Traffic statistics are expanded by default for every enabled app (a section you collapse stays collapsed). A new **Hide disabled** button hides all unpublished vhosts from the view at once; **Show hidden** brings them back.
- **404 hosts:** cards use the same host chips → response layout as redirects, with listeners and certificate on a quiet meta line; redirect and 404 cards are separated by the same gap as vhost cards.
- **Cache panel:** the pager follows the corner-style setting (outer corners only) and stays on one row (the heading wraps instead) with the arrow after "Next"; the "transformed" badge stays visible next to long object URLs (the URL is shortened instead). Decision counters show a thin share bar under each counter (relative to the largest) and a compact "+N" toggle; the pager no longer shows doubled arrows; the folded Decision counters ("+N") keep their open/closed state across automatic refreshes.
- **Dashboard cache outcomes:** the legend under the bar shows only the request counts; percentages are shown once, inside the bar and in the headline (tooltips give both).
- **Build:** `SHA256SUMS` uses repository-relative paths again.
## 0.36.6 — redirect priority, copy and SNI documentation
- **Deploy script:** `update.sh` / `install.sh` retry the GeoIP download (transient 502/503/504, timeouts) up to four times and, if it still fails, warn and continue with the installed GeoIP data instead of aborting the update with `HTTP Error 504`.
- **Redirect priority fix:** the most specific host name now wins between vhosts, redirects and 404 hosts. A wildcard redirect such as `*.gru.one.pl` (or `gru.one.pl`) no longer shadows an exact vhost like `autodiscover.gru.one.pl` on the same listener; the same applies to wildcard 404 hosts.
- **Redirect cards:** redirects are shown as host chips → target with a quiet meta line (rules, listeners, certificate) instead of nested boxes, and stack cleanly on narrow screens.
- **Certificate mismatch on save:** when the selected certificate does not cover the vhost names, saving now asks whether to force it (and enables "Force an incompatible certificate") instead of failing with a vague error; the server error names the certificate and explains the fix.
- **Certificates by SNI explained:** the vhost certificate hint and `docs/CERTIFICATES.md` now describe that a vhost left on "Global SNI / default certificate" gets the certificate per requested name from the stored certificates' SNI names (filled from their SAN entries), so one vhost can serve domains with different certificates. The editor also tells you when no single certificate covers all names but each name is covered. The "Legacy SNI names" field is now called "SNI names".
- **Copy:** vhosts, redirects, 404 hosts, streams and ACL profiles have a **Copy** button next to Edit. It opens a new form filled from the original with the ID and name cleared (the ID is generated from the new name or host again) and the values that must be unique cleared too: host names and certificate for vhosts, redirects and 404 hosts, the listen address for streams. Nothing is saved until you press Save.
- **Build without GitHub:** the official Swagger UI 5.33.1 files (`swagger-ui-dist`, Apache-2.0) are vendored in `third_party/swagger-ui-5.33.1/` and verified against `SHA256SUMS` on every build, so `bash dev.sh release` needs no network for Swagger UI. Setting `SWAGGER_UI_DOWNLOAD_URL` or `SWAGGER_UI_ARCHIVE_SHA256` still selects an explicit archive.
- **Build:** the pinned Swagger UI archive is now reused from a previous build directory (or `target/swagger-ui-cache`, or `SWAGGER_UI_CACHE_DIR`) instead of being downloaded again on every version bump, and a download is retried up to four times. A flaky GitHub connection no longer fails `bash dev.sh release` right after a version change.
## 0.36.5 — automatic certificate choice and clearer host conflicts
- **Certificate auto-selection:** when creating a vhost, redirect or 404 host, RustProxy picks the stored certificate that covers every host name you enter (an exact name beats a wildcard, the narrowest certificate wins). A hint names the chosen certificate and the selector still lets you pick another one or the global default. Existing entries are never changed.
- **Clearer host conflicts:** the "overlapping frontend bindings for hostname …" error now names the entry that already uses the host (`vhost`, `redirect` or `404 host` plus its ID) and the conflicting listener address.
- **Clearer validation errors:** duplicate or invalid IDs, repeated hostnames, missing hostnames or listeners, invalid location IDs, regular expressions, exact paths and duplicate location matchers now say which value or location is wrong and how to fix it.
## 0.36.4 — cache readability and editor UX polish
- **Cache → Domains and effectiveness:** decision counters are one compact line (`name count`, top three, the rest in a `+N` tooltip) instead of a wall of chips; the rest of the table keeps its 0.36.3 look.
- **Cache → Static response transformation:** the "Transformations by type" and "Vhost effectiveness" tables use the same presentation as Domains and effectiveness (right-aligned tabular numbers, emphasised vhost name, non-zero errors in red, reduction meter) and the skip reasons are compact `name count` lines.
- **Cache → Stored objects:** the tier is a badge in the same style as the other badges (follows the corner-radius setting), numeric columns are right-aligned, long targets and cache keys are truncated (full text on hover, click still copies), rows highlight on hover, and the Previous / range / Next pager is a single segmented control.
- **Docker vhosts:** the per-service link is now **Open** (same wording as in Vhosts); the expandable per-application forms and their protocol, ACL, timeout and health sections have a chevron, keyboard focus outline and a framed panel when open.
- **Automatic IDs:** when creating a vhost, web service, stream, redirect, 404 host or ACL profile, the ID is generated from the name (for vhosts, from the first host name) as a unique slug; the ID field comes after the name (after the hosts for vhosts) and is shown as a plain value with a **Change** link — the input only appears when you ask for it (or when validation needs it) — `example.com` becomes `example-com`, Polish and other accented letters are folded to ASCII, and `-2`, `-3`… is appended when the ID is taken. Typing in the ID field switches to a manual ID; a "Generate automatically" button (or clearing the field) restores it. Existing IDs are never changed.
- **Vhost, Web service, Stream, Redirect and ACL forms:** section tabs wrap onto a second line instead of scrolling horizontally, and use a readable 12 px underlined tab style with a clear active state and hover; form action bars are aligned consistently.
## 0.36.3 — settings, cache and dashboard layout polish
- **More chart styles:** Settings → Appearance → Chart style now offers eight additional presets: **Sunset**, **Aurora**, **Ocean**, **Forest**, **Pastel**, **Terminal** (green phosphor, square lines), **Blueprint** (thin technical lines on a blue tint) and **Colorblind safe** (Okabe–Ito palette with dashed grid). The `chart_style` preference accepts the new values (`sunset`, `aurora`, `ocean`, `forest`, `pastel`, `terminal`, `blueprint`, `colorblind`); existing values and the default are unchanged.
- **Cache → Domains and effectiveness:** numeric columns are right-aligned with tabular digits, HIT / MISS / BYPASS counts use the same colours as the Dashboard cache bar, the hit ratio has a small meter, domain names are emphasised and decision-counter chips are quieter.
- **Docker vhosts:** collapsed service rows are compact on desktop (publish switch, name with image/ports, and health with actions in one row instead of a stacked column).
- **Cache and Static response transformation pages:** the Cache → General tab is split into *Behavior* and *Memory and limits* groups (the fallback TTL and bypass options moved up next to the other behavior switches), switch descriptions sit directly under their checkbox, the memory/transform preset cards have a compact header, and numeric fields use a responsive grid (up to four per row) instead of two fixed columns.
- **Settings layout:** Settings → Appearance now uses one-setting-per-row layout (label and help on the left, control on the right, checkboxes on the right edge) instead of an uneven two-column grid, section headings no longer duplicate their first setting (`Charts`, `Tables and logs`) and the small eyebrow labels were dropped. Sub-tabs (Rules & headers, Cache, HTTP connections, Logging, …) are a horizontal tab bar on desktop instead of a vertical stack of full-width buttons, and the main settings menu has thin separators between its groups.
- **Compact stat cards:** Dashboard cards that consist of a title, a value and one secondary line (Requests, Active exchanges, Payload transferred, Errors, Process memory, HTTP/2 requests, backend and stream cards, …) now show that line to the right of the value, which makes them about 20 px lower. WebSocket tunnels shows a plain `H1 · H2 · H3` split (full names in the tooltip) HTTP/2 shows `H2 connections` and HTTP/3 now shows `H3 connections` (active HTTP/3 connections); the labels were shortened in `langs/en_US.json` and `langs/pl_pl.json`.
- **WebSocket tunnels card:** the *Established* count moved from its own text line to the right of the main value (it wraps below only when the card is too narrow), so the card is one line shorter.
- **Cache outcomes bar:** the HIT / MISS / BYPASS / OTHER segments of the Dashboard cache bar now show their percentage inside the bar (bar height 12 → 20 px with tighter margins, so the card keeps its height). A label that does not fit a narrow segment is hidden automatically and re-evaluated on resize; the legend below keeps the exact count and percentage.
- **CSS cleanup:** removed orphaned panel styles: the legacy `body[data-density=…]` rules (46 selectors across 7 modules; density is controlled only by `html[data-table-density]` and `html[data-dashboard-density]`), the unused `.badge` branch of the corner-style selector list, references to undefined custom properties (`--radius`, `--surface`, `--line-strong`; their fallbacks are now inlined) and duplicated `.path-permissions-*` blocks. A static audit found no other unused classes, ids, keyframes or custom properties. Computed styles of all panels at 402 px and 1280 px (several corner/density/icon settings) are identical before and after; the bundle is about 3 KB smaller.
- **Upgrade notes:** interface-only release; no configuration or database migration is required. New interface labels were added to `langs/en_US.json` and `langs/pl_pl.json` (`appearanceChartsTitle`, `appearanceTablesTitle`, `cacheSectionBehavior`, `cacheSectionMemory`, `h3ActiveConnections`, `chartStyleSunset` … `chartStyleColorblind`) and the WebSocket / HTTP/2 labels were shortened.
## 0.36.2 — icon semantics review and optional logo animation
- **SVG icon review:** every panel control was re-checked against its function. Fixes include **Unlock layout** (was the sign-out icon, now an open padlock), **Save and lock** (padlock), **Dashboard presets** (layers instead of edit), **Docker agents settings** (was a pin because "docker" matched "dock"), cache/transform memory presets (were the undo icon because "preset" matched "reset"), **Previous/Next** in Cache and Stored logs (chevrons instead of database/list), **Close** in the health and history dialogs (close instead of activity/history), revision history **Reload/Restore/Compare** (refresh/undo/compare), **Sign in** (sign-in instead of check), **Sign out all sessions** (sign-out instead of trash), **Run operation** (play), **Purge / Ban** and **Active BANs** (ban), **Clean cold cache** and **Clear** (eraser), **Download now** (download), token generation/rotation (key), **Repeated values / Count repeats** (hash), **Open Logs** (list), **Configure fields** (sliders), **About** (info), automatic renewal enable/disable (toggles) and Live logs **Pause/Resume** (pause/play). Expand/collapse toggles now follow their current state.
- **Distinct section icons:** Streams (transfer arrows), Listeners (plug), GeoIP updates (map pin) and Administration (users) no longer share icons with Vhosts, HTTP connections and Settings. The settings cog, pin, undo and sign-in/sign-out glyphs were redrawn to be more recognizable.
- **Icon fixes:** English labels whose translation equals the key (for example **Edit**) no longer fall back to the generic placeholder icon; buttons labelled with a single symbol (`×`, `−`, `↑`, `←` …) keep the native glyph instead of showing a duplicate SVG; protocol badges and history calendar days no longer receive icons.
- **Mobile/Safari chart fixes:** with SVG icons enabled, the **Hide** / **Show** buttons of the Traffic-by-interface charts made the Overview jump and flicker on every refresh. Root causes: the chart lookup (`row.querySelector("svg")`) could return the button's icon instead of the chart (axis labels were then drawn inside the button); the periodic label update rebuilt the button and its icon each time; and descendant chart rules (`.network-interface-row svg`, `.stat-chart svg`, `.system-card svg` …) stretched icons to full chart size. Charts are now addressed with `svg:not(.ui-icon)`, the axis renderer ignores icons, refreshes update only the text node, chart rules exclude `.ui-icon`, and small buttons use an 11 px icon so their height never changes. A measured 28-refresh run kept the container height constant (previously a 13 px swing) with zero icon rebuilds.
- **Badge consistency:** the upstream protocol badges in the Vhost policy row (for example `origin · H2 compatible → H2`) now use the same geometry as the other policy pills (9 px mono, 1 px letter-spacing, 4×8 padding, transparent background, square corners in the original corner style, 20 px height); only the colour differs (muted = not observed, green = observed). The **Transformed** marker in the Cache objects table now uses pill typography (1 px letter-spacing, square corners). ACL picker tags (selected countries/IPs) now use the same chip look as host chips (square corners, 10 px mono, same padding and remove button) instead of a rounded pill with a different font. A style comparison of every pill/badge/chip family and of controls sharing a row found no further deviations besides intentional ones (ACL rule action labels that mimic form fields, quick enable/disable toggles, the sort-direction arrow).
- **Spacing review:** a rendered scan of every panel, settings page and dialog (402 px and 1280 px wide) found descriptive text and blocks that touched the next element. Added spacing for TLS policy (description → TLS 1.2/1.3 switches, PQC help → documentation link, which is now styled as a link), Rules & headers, HTTP connections and Logging sub-tabs, Cache and Transform live-activity cards, empty-state notes under tables, Logs footnote, Dashboard presets footer, GeoIP and cache-cleanup field groups, htaccess/PHP help dialogs and several settings help paragraphs. The rules add space only where the layout had none.
- **Mobile layout:** the mobile **Menu** button no longer shows two hamburger icons, and **System uptime** wraps inside the System load card instead of overflowing its right edge.
- **Logo animation:** new **Settings → Appearance → Interface → Animate logo** option (account-scoped `logo_animation`, **off by default**) plays short, subtle random effects on the sidebar logo; it pauses in hidden tabs and respects reduced-motion preferences.
- **Upgrade notes:** no configuration or database migration is required; `logo_animation` is an additive preference field that defaults to `false` for existing accounts.
## 0.36.1 — interface icon polish and on-demand live logs
- **SVG icon polish:** HTTP/2 and HTTP/3 tabs now use the same protocol icon; listener HTTP/2/HTTP/3 limit links use the settings cog; **Apply preset** uses a preset/wand icon; the top **Logs** menu receives its missing icon. Compact Overview layout controls keep their native `+ / − / ← / → / ×` glyphs instead of receiving duplicate SVGs, and UI icon sizing is protected from chart SVG rules.
- **WebSocket tunnels:** **Active tunnels** is now a compact clickable badge without an SVG icon.
- **Overview metric cards:** removed the redundant **Recent samples / Ostatnie próbki** footer from the lower metric tiles; the footer is shown only when a metric has real detail text to present.
- **Appearance copy:** removed the experimental/default-state sentence from the SVG icon option help text. The option remains account-scoped and off by default.
- **On-demand live logs:** the panel status SSE uses `/api/events?...&logs=false`; `/api/logs` refreshes only while the Live Logs window is open or docked and actively following the bounded buffer. Closing, pausing or expanding the history view stops periodic log reads; reopening/resuming triggers an immediate refresh. Existing `/api/events` API consumers remain compatible because the new `logs` query parameter defaults to `true`.
- **OPNsense certificate deploy:** the source release now includes the previously referenced `rustproxy-acme.conf.example` and `actions_rustproxy_cert.conf`; the integration guide explicitly requires certificate scope plus `allow_deploy` for the deployment credential.
- **Preference persistence fix:** expanded the per-administrator UI preference document limit from 4 KiB to 64 KiB. Customized Overview layouts can exceed the old limit once widget widths are stored; affected saves previously surfaced as `auth.unavailable` even though authentication was healthy.
- **Upgrade notes:** the SQLite schema is migrated automatically to expand administrator preference storage; proxy configuration is unchanged.
## 0.36.0 — leaner administration polling
- **Experimental interface icons:** **Settings → Appearance → Interface → Show SVG interface icons** adds semantic inline SVG icons to navigation, action buttons, tabs and dialogs. The account-scoped option is **off by default**, keeps text labels as the accessible source of meaning, follows the current theme via `currentColor`, and can be disabled without changing the original control layout or behavior.
- **Polling API:** `GET /api/cache`, `GET /api/transform` and `GET /api/traffic` now accept `view=live` for lightweight periodic refreshes. The default response remains the complete backward-compatible payload. Live responses carry the configuration `revision`, and the panel automatically reloads static data when that revision changes.
- **Panel network load:** Cache and Transform polling no longer retransmit static settings/Vhost configuration on every refresh; Traffic polling omits the static Vhost list. Certificate API credentials are fetched only when the corresponding Settings tab is opened.
- **Refresh behavior:** configuration writes and operational actions refresh status without also forcing a full `/api/logs` snapshot. Initial load, explicit log refresh and the existing live-log/fallback path retain log coverage.
- **API contract:** OpenAPI documents the polling views and revision fields; regression tests cover compatibility, invalid views and the panel refresh contract.
- **Upgrade notes:** no configuration or database changes are required. Existing API clients that do not send `view=live` retain their previous response shapes, with the additive `revision` field on Cache, Transform and Traffic observations.
## 0.35.5 — Overview polish and cache build fix
- **Overview charts:** the cache-results heading now matches the other chart headings and its HIT/MISS/BYPASS legend stays on one line; system uptime is shown in the System load header; the backend count is aligned with Open connections; the redundant Requests per second footer was removed from the PHP requests tile.
- **PL/EN status labels:** the sidebar healthy-state label is now **SYSTEM OK**, and the application self-check uses the shorter **API** label.
**Upgrade notes:** no configuration or database changes are required.
## 0.35.4 — Dashboard status and control cleanup
- **Overview samples:** the history sample selector is right-aligned on desktop and mobile and now saves immediately in the browser; the separate Remember choice button is removed.
- **Application self-check:** the old runtime/control-plane sidebar block is replaced by a color-coded application status indicator. Clicking it shows checks for the control API, listener restart state, backend readiness and logging pipeline issues.
- **Dashboard footer:** removed the low-value dropped-log counter; API latency and update availability remain.
- **Navigation cleanup:** removed the static `RUNTIME / Rust / Tokio / Hyper / Axum / Tower / SQLite` text from the sidebar.
- **Dashboard layout editing:** blocks are now moved by dragging the ⠿ handle with a live drop placeholder (mouse, pen and touch), smooth movement of neighbouring blocks, edge auto-scroll and **Esc** to cancel; arrow keys on the handle move a block from the keyboard. Custom layouts no longer back-fill gaps automatically, so blocks stay where they were placed; the new **Fill gaps** action packs them on request. The edit toolbar is a single compact row, so the layout keeps its shape while unlocked.
- **Interface fixes:** the WebSocket tunnels title no longer overlaps its **Active tunnels** button; summary tiles on the Cache, Traffic and Transform pages fill each row instead of leaving empty columns; identifier fields (username, certificate, Docker agent and redirect IDs) no longer trigger an invalid-pattern error in current browsers; several layout-editor tooltips showed raw translation keys.
- **Cache under turnover:** returning freed memory to the operating system is now rate-limited (at most four times per second, plus the regular maintenance pass) instead of running after every eviction. With a full HOT cache and constant replacement this measured about 2.3× higher throughput with the default system allocator (2,900 → 7,000 req/s, one core) at about 7% higher resident memory.
- **Cache hot path:** popular objects no longer re-link the LRU list on every hit, HOT/COLD index lookups use the already-uniform cache digest instead of a second SipHash pass, and the request-collapsing bypass marker for uncacheable URLs keeps working when its table is full.
- **Per-response work:** configured `Server` and cache `Via` values are parsed once per worker instead of on every response, and cache diagnostic headers avoid temporary allocations.
- **Upgrade notes:** no configuration or database changes are required.
## 0.35.3 — Overview layout fixes
- **Standard Overview layout restored:** the quick-health tiles added in 0.35.2 (healthy backends, error share, requests rejected by limits, nearest certificate expiry) are now hidden by default and placed at the end of the Overview, so they no longer shift the standard block layout. Enable them in the layout editor when needed.
- **Fixed:** the "Saved default" status next to the history sample count was always visible and looked like a fresh save notification. It now appears only for an unsaved temporary choice or briefly after **Remember choice**.
- **Upgrade notes:** no configuration changes are required. If 0.35.2 already changed your Overview, use **Unlock layout → Reset layout** to restore the default arrangement, or hide the tiles in the layout editor.
## 0.35.2 — memory fix, health check options and Overview tiles
- **Memory use restored:** with a large HOT cache, 0.35.1 used about 25% more memory than 0.35.0 (for example 1.1–1.2 GiB instead of about 800 MiB with a 600 MiB cache). The default build is back to the 0.35.0 memory profile. The faster alternative allocator is available as an optional build feature for servers with spare RAM; the Performance guide explains the trade-off with measurements.
- **Health check port:** active TCP and HTTP health checks can probe a different port than the one receiving traffic, for example a status port 8079 for a backend serving on port 80. It can be set for a whole Vhost or per backend; host, TLS and address restrictions stay the same.
- **Expected response text:** HTTP health checks can require a text fragment in the response body, so a status page that answers 200 while reporting a degraded state marks the backend as down.
- **New Overview tiles:** healthy backends (with the names of failing ones), error share, requests rejected by limits and the nearest certificate expiry.
- **Certificate expiry metrics:** Prometheus now exports the expiry date and remaining days of every installed certificate, including manually uploaded ones, for alerting.
- **Safari:** the Overview no longer jumps when you scroll near the Backends table while live values refresh.
- **Fixed:** network interface traffic below 1 KiB/s is shown as a whole number of bytes instead of a long decimal.
- **Upgrade notes:** no configuration changes are required. Existing Overview layouts receive the new tiles at the end; hide or move them in the layout editor.
## 0.35.1 — performance, licensing and documentation
- **Faster Web Server:** static files are read directly by the request instead of being handed to a background thread pool. Small and large files are served up to 1.8× faster with lower latency and CPU use.
- **Faster reverse proxy and cache:** lighter request processing, header handling and traffic statistics collection. Proxied requests are about 3–7% faster and cache hits about 11% faster on the same hardware.
- **Vhost charts:** the per-Vhost request-rate chart no longer shows a false spike right after the page opens or when two refreshes arrive at the same moment.
- **Performance guide:** new documentation page with the benchmark method, a comparison with a similarly configured Nginx and production tuning advice.
- **About window:** redesigned with the project description, copyright, a GNU AGPL v3.0-or-later license summary and links to the project website, source code, built-in documentation and the full license text.
- **License:** RustProxy is published under the GNU Affero General Public License v3.0 or later. The license text is included in the built-in documentation.
- **Documentation:** rewritten project overview with a complete feature list, panel screenshots and links to [rustproxy.linuxiarz.pl](https://rustproxy.linuxiarz.pl/). Container, API access, post-quantum TLS and integration notes were merged into the related guides. The built-in Reader now displays tables and bold text.
- **Upgrade notes:** no configuration changes are required.
## 0.35.0 — encoded-slash proxy compatibility and release cleanup
- **Encoded slash compatibility:** `%2F` and `%2f` are accepted in request paths. RustProxy decodes them to `/` only for routing/security decisions and applies the same duplicate-slash normalization as literal `/`.
- **Preserve-mode forwarding:** when a location does not rewrite the path, the original encoded request target is retained for the upstream, including query strings. Applications that use encoded slashes inside path parameters therefore receive the same target the client sent.
- **Path hardening retained:** encoded `..` traversal after slash normalization, encoded backslash, `%`, `?`, `#`, `;`, controls, malformed percent escapes and invalid UTF-8 remain rejected.
- **Release gate cleanup:** source/tests are adjusted for the current Rust/Clippy gate without weakening runtime security checks.
## 0.34.16 — optional OIDC central login
- **Configuration size fix:** increased the total serialized configuration limit from 256 KiB to 2 MiB. The administration request limit, configuration file import, SQLite/history loading and NPM migration utility use the same expanded bound; the existing limits on Vhosts, backends and locations remain unchanged.
- **Vhost → Authentication:** separates **Identity provider** (Tinyauth, Authelia, authentik, Pocket ID, custom OIDC, HTTP Basic) from **Integration method** (Forward Auth, OIDC, HTTP Basic). Pocket ID/custom support OIDC; Tinyauth/Authelia/authentik support Forward Auth or OIDC. Only one method can be active per Vhost. An optional `{ "authentication": { "provider": "authelia", "method": "oidc" } }` selector is validated against the existing provider settings. Omitted selectors retain legacy `*.enabled` behavior, including OIDC without an explicitly named vendor. Existing passwords, application callbacks, sessions and stored secrets retain their original keys and behavior.
- **Cross-domain login:** a protected application can use an unrelated HTTPS issuer with OIDC Authorization Code, S256 PKCE, transaction-bound state and nonce, and a fixed callback on the application hostname. Optional internal backend-origin routing supports identity providers running behind this same RustProxy without a circular public proxy dependency. The login provider keeps its own cookies; RustProxy issues a separate encrypted, host-only application session cookie.
- **ID token verification:** issuer discovery and same-origin JWKS retrieval, RS256/ES256 signature verification, issuer/audience/authorized-party/expiry/nonce checks, bounded HTTP responses and fail-closed provider errors. No access tokens are forwarded to application backends. Application identity is injected from verified token claims as `Remote-Sub`, `Remote-Issuer`, `Remote-User`, and optional name, email and groups headers after stripping forged client values.
- **Session policy:** HTTPS-only, HttpOnly, SameSite=Lax cookies; an independent random session secret per Vhost; one-hour default lifetime; callback at `/_rustproxy/oidc/callback` and local logout at `/_rustproxy/oidc/logout`. Invalid logins, expired cookies and unavailable issuer responses never authorize upstream access.
- **Administration:** new OIDC fields in the Vhost panel, matching OpenAPI schema and English/Polish labels. All OIDC values are disabled by default. Source candidate: the Rust build and live OIDC compatibility checks have not been performed in the packaging environment.
## 0.34.15 — optional Authelia and authentik forward auth
- **Provider-neutral refactor:** Extracted `auth_provider::Provider` with unified selected-provider dispatch, verified identity/cookie handling and one `error_auth_provider.html` template. Removed three Tinyauth-only HTML template files; 502/504 titles still identify Tinyauth, Authelia or authentik and failure category. Shared `forward_auth` transport continues to be reused without embedding vendor-specific branching in the request pipeline.
- **Vhost → Authentication:** two additional, independently configurable choices: Authelia (`/api/authz/forward-auth`) and authentik (`/outpost.goauthentik.io/auth/nginx`), alongside unchanged Tinyauth and HTTP Basic Auth. Exactly one method can be active per Vhost; both new methods default off, with old configurations remaining compatible. Settings can be edited through the panel and vhosts configuration API.
- **Authelia:** bounded server-side verification, trusted original-request metadata, allowlisted identity headers and strict same-portal-origin login redirects. The Authelia portal and session cookies must be configured for each protected parent domain; a single portal URL cannot issue a valid browser session cookie for unrelated parent domains.
- **authentik:** supports forward auth (single application) with each protected host's reserved `/outpost.goauthentik.io` route automatically proxied to the configured outpost. The protected URL is passed to the outpost for SSO login; request cookies, identity headers and session-refresh `Set-Cookie` values are propagated with limits. Different parent domains can use one central authentik instance with distinct per-app proxy providers.
- **Fail closed:** verifier transport/invalid-response errors return 502; timeout returns 504; unauthenticated/denied requests never reach application origins. Provider identity is never accepted from incoming client headers. Cache sharing is disabled for protected requests; fail-closed auth responses are kept out of custom-error interception.
## 0.34.14 — Tinyauth gateway error pages
- **Tinyauth outage:** when RustProxy cannot reach the Tinyauth verifier (connect, DNS, TLS or transport error), it returns a built-in **502 Tinyauth connection error** HTML page rather than plain `502 Bad Gateway`. The page is local and self-contained; no failed authentication is bypassed and no backend address, certificate detail or transport error is revealed to the caller.
- **Tinyauth compatibility patch:** the Nginx verifier now receives one consistent auth-request header set. RustProxy removes ForwardAuth module markers (`X-Forwarded-Host`, `X-Forwarded-URI`) while preserving the verified client IP and original request URL. This resolves the `conflicting auth module headers` rejection introduced in Tinyauth 5.2.0 without disabling anti-spoofing checks. Added regression tests for conflicting module headers and forged client identity. Use the internal `/api/auth/nginx` endpoint.
- **Tinyauth timeout:** a verifier request that exceeds the configured deadline returns a distinct **504 Tinyauth timeout** page. Invalid verifier responses, unexpected HTTP statuses and oversized identity/response data return **502 Tinyauth verification error**. All retain no-store and the authenticated-request isolation marker, so Vhost/global error-page overrides do not mask Tinyauth's diagnostic category.
## 0.34.13 — Global security, section-based configuration API and panel UX
- **GeoIP:** on-demand data refresh moved from the isolated `POST /api/geoip/update` to `POST /api/config/geoip/update`, colocated with the revisioned GeoIP settings. This action does not change the config revision; the UI and RO/RW token allowlist use the new URL. Section paths now consistently use kebab-case, including `not-found-hosts` (the JSON property remains `not_found_hosts`). Old action/section paths are removed.
- **API:** all 23 supported configuration sections now have `GET /api/config/{section}` returning `{revision, section, value}` and `PUT /api/config/{section}` accepting `{expected_revision, value}`. PUT still returns the updated full `{revision, config}` envelope so clients can refresh all sections. Both methods use the same section registry. Unknown/removed sections are 404; stale writes return 409. Writes remain full section replacements, validated and committed atomically; there are no partial PATCH semantics.
- **Global security:** the canonical User-Agent blocklist is now `config.global_security.user_agent_blocking`. `PUT /api/config/global-security` accepts one `GlobalSecurity` object, including an explicit `user_agent_blocking`, and no longer requires a special two-object wrapper. The old independent `/api/config/user-agent-blocking` section is removed. Per-vhost User-Agent policies are unaffected.
- **Upgrade safety:** legacy top-level `config.user_agent_blocking` is accepted on full-document input, compiled into the nested policy and omitted from normalized saved configuration. A payload containing contradictory legacy and nested policies is rejected rather than silently enabling/disabling a rule. Raw unnormalized backup payloads retain the old value until migrated.
- **Grouped sections:** `logging` is now strictly `{logging, error_log}`; `response` is `{server_header, diagnostic_headers, compression}`. The old bare logging-only PUT shape is rejected to prevent partial group replacement. All other section PUT payloads retain their previous single-field value formats. RO API tokens may read individual sections; RW tokens may write them subject to existing restrictions.
- **Settings → Rules & headers → Global block / allow:** replaces the separate global User-Agent blocklist editor with a unified global country block/allow policy, the existing User-Agent patterns, IP/CIDR and allow-only dynamic DNS ACL, HTTP method allow/block rules, request Content-Type denylist, and an optional client-IP request-rate limit shared across public HTTP vhosts. Each control is disabled by default. Existing User-Agent settings are retained, not reset. Global and per-vhost restrictions are cumulative, and access checks run before upstream requests, redirects and cache invalidation; TCP/UDP Streams and the private admin listener are excluded.
- **Global security headers:** separate subtab for HSTS, nosniff, X-Frame-Options, Referrer-Policy, CSP and Permissions-Policy. Global values form a response baseline; explicit per-vhost header values override matching settings. HSTS is sent only over HTTPS. Test restrictive policies before production rollout.
- **Config/API:** additive `global_security` configuration object, backwards-compatible defaults, atomic `PUT /api/config/global-security` payload containing the complete nested `global_security` object (including `user_agent_blocking`). Country detection uses trusted client IP/GeoIP; global DNS ACL rules use the existing safe background resolver. English and Polish panel strings, OpenAPI and guides updated.
- **Panel layout:** separated static cookie-cache advice from response-header toggles, added space between transform numeric controls and minification checkboxes, and moved certificate access-permission guidance next to the generated command preview. The **Copy commands** button remains hidden until commands are generated.
## 0.34.12 — cache diagnostics and optional chart axes
- Origin-provided `Cache-Status`, `X-Cache`, `X-Cache-Hits`, `X-Cache-Reason`, `X-Cache-Resident-Age` and `X-Cache-Status` are retained on forwarded and cached responses; the HOT/COLD cache and conditional `304` refresh no longer erase these values from stored metadata. Cache-disabled and HIT-only display modes leave origin headers untouched.
- `Cache-Status` follows RFC 9211's ordered member model: preserve upstream members and append the RustProxy member if enabled. RustProxy reports `hit; ttl=...` for a local cache hit, `fwd=miss`/`fwd=bypass` for forwarded requests, and `fwd=stale; fwd-status=304` when revalidation used a `304`. The existing fixed reason goes into `detail="..."`; transformation metadata applies to RustProxy's member only. No non-standard `backend=` parameter is generated.
- Existing `X-Cache*` RustProxy diagnostics remain available so clients can refresh all sections. To avoid deleting an upstream value on a naming conflict, displaced origin values are exposed separately as `X-Upstream-Cache*`, one field value for each original value. These aliases are non-standard; clients should prefer `Cache-Status` when available.
- Added regression coverage for origin/proxy naming collisions, disable/HIT-only modes, HOT/COLD storage, RFC 9211 member order and metadata generated after revalidation.
- **Appearance → Charts:** optional account-scoped **Show X/Y scales** switch, off by default. On sampled line plots, HTML labels show the exact Y range used by the existing SVG renderer (including fixed percentage and adaptive Vhost/Docker ranges) and the X sample indices. Charts with separately normalized HTTP/WebSocket protocol lines identify each series' own Y maximum instead of inventing a common scale. Missing/compacted samples are not mislabeled as minutes; any clipped Vhost peak remains available in the existing legend. Disable the switch to restore original geometry. Donuts, gauges and categorical bars are unchanged.
- The new preference is included in API/Reader docs and both interface languages. Existing accounts retain their chart style and the new switch stays off until explicitly enabled.
- Source-only candidate: the target Rust toolchain and proxy integration suite must pass native compilation/tests before deployment.
## 0.34.11 — adaptive Vhost request-rate scaling
- **Vhosts and Docker Vhosts:** both live **Lifetime request rate** sparklines now use one adaptive Y-axis calculation. The scale follows the 85th percentile of the last 24 displayed rate samples, with 25% headroom and a minimum of 1 req/s, instead of using the maximum across the entire session history. This prevents one or a few exceptional spikes from flattening normal traffic. It expands for sustained higher rates and shrinks as traffic returns to normal.
- **Peak visibility:** readings above the dynamic range are clipped only in the SVG plot; the numeric peak still shows the real maximum of the retained browser-side history. Hovering the rate value and the chart's accessible description expose the current Y range and clipping notice. Rate sampling, Docker agent protocol, stored counters, API and other Overview chart scaling are unchanged.
## 0.34.10 — path permission helpers and automatic certificate SNI
- **Permission helper appearance:** keep the original compact ACL code-block styling for both certificate paths and Web Server roots, with a quiet copy action. Account selection and extended guidance are collapsed under **Options and help**; generated commands remain below the path fields.
- **External certificate files:** replace the fixed example ACL block with commands generated from the entered certificate/key paths, placed below both path fields. The helper resolves symlink targets, removes unsafe write/world-read file permissions, grants directory traversal and adds read access for the `rustproxy` service account. Commands remain operator-run; external-path ownership and private-key checks remain enforced.
- **Certificate SNI:** inspect the actual public certificate after a path/source change and fill legacy SNI names from DNS SAN entries. Preserve manually entered or cleared values and ignore stale asynchronous results. **Read names from certificate** retries a failed read or explicitly refreshes the field after fixing permissions. Inspection does not read the private key or save configuration.
- **Web Server:** generate document-root permission commands directly below its path, updating them for input, edits, resets and presets. Include parent traversal, read access to the served tree and default ACLs for new content without granting RustProxy write access. The permission walk does not follow child symlinks. PHP-FPM and systemd/MAC policies remain separately managed.
- **API and documentation:** add a session-authenticated, CSRF-protected certificate inspection endpoint with matching OpenAPI/access regressions; update English/Polish panel text and filesystem guidance. General administration tokens and certificate-only tokens cannot use the inspection endpoint. Package and lockfile are aligned to **0.34.10**; native Cargo and protocol acceptance are still required for this source candidate.
## 0.34.9 — experimental TLS post-quantum key exchange
- **Dashboard source maintenance:** panel styles are organized into eight modules with consolidated responsive conditions and a deterministic build step. Login and the dashboard continue to load one fingerprinted stylesheet; rebuilding the binary applies changes. Source checks and browser regression tooling cover the module order and UI cascade. Native Rust validation remains required for this source candidate.
- **CSS build preflight fix:** ship local `scripts`/`build` package markers so unrelated installed Python packages cannot hide `build.panel_css` or the application scripts. This fixes `dev.sh` startup/repair, the CSS audit and packaging imports on affected environments; generated styles remain unchanged.
- **Generated CSS recovery:** detect a root `build.rs` without the panel generator, track the generated CSS as a Cargo dependency and reject missing/empty helper output before compiling the application. Document refreshing `build.rs` after overlaying a reproducibly timestamped archive onto an existing build cache.
- **Settings → TLS policy:** new disabled-by-default experimental `post_quantum` toggle. When enabled with TLS 1.3, inbound TCP TLS and HTTP/3 QUIC use an explicit aws-lc-rs provider, prioritizing the hybrid **X25519MLKEM768** key-exchange group while retaining classical alternatives. When disabled, the original ring provider is retained. This changes KEX, not TLS cipher suites or certificate signing; no change to upstream/client-side TLS providers.
- **Per-vhost TLS override:** may opt out when global PQC is enabled; cannot enable PQC if the global policy disables it. TLS 1.3 is required. Existing per-vhost policies lacking the field continue to default to non-PQC. HTTP/3 continues to require exactly matching global policy.
- **UI/docs/API:** English/Polish switch and key-exchange group readout, authenticated Reader guide linked from the TLS policy page, OpenAPI and regression unit tests.
## 0.34.8
- **Mobile UI follow-up (source-only):** backend column picker fits narrow screens, chart legends wrap, long System information actions adapt and file-log tabs scroll horizontally when needed. Navigation, backend detail triggers and additional controls follow the saved corner rounding preference. Docker service card spacing retains the previous mobile fix.
- Docker vhosts now use container names by default instead of image/port names. Existing saved hostnames and manually configured aliases remain unchanged. Docker Agent updated to 1.0.1.
## 0.34.7
- Docker discovery: default hostname now uses the Docker container name, without the image or port suffix. Previously generated hostnames are updated on discovery; manually configured hosts and aliases are retained.
— Varnish-compatible cache lookup (source candidate)
- **Settings → Cache → Varnish-compatible cache policy (`varnish_compatible`)** stays **ON by default**, including upgraded configurations without the field. An adjacent **i** popover (PL/EN) explains its effects, limitations and safety controls. OFF retains strict client hard-reload behavior. The live toggle invalidates existing entries across HOT/COLD.
- Only client hard-reload `Cache-Control: no-cache`, `max-age=0` and `Pragma: no-cache` are ignored when considering a **fresh HIT**, retaining `Age` and hit counters. Kept the original `Cache-Control: no-store` bypass, `only-if-cached` 504 on cache MISS and no background origin refresh on HIT, and `min-fresh`/`max-stale`/positive `max-age` freshness constraints (including explicit `max-stale=0` during grace). Original request headers, Vary, access/privacy rules and Web Server handling remain intact.
- Source-level regression cases cover hard reload, fallback TTL, validator revalidation, no-store/private/Surrogate protections, zero-TTL stale-if-error, min-fresh/max-stale, and `only-if-cached` for proxy and Web Server. Native Rust compilation and runtime acceptance are required before a production release claim. This remains a Varnish-inspired policy subset, not a VCL clone.
## 0.34.6 — Docker live logs, neutral Publish switch and Vhost Content-Type rules
- **Security / ordinary Vhosts:** optional per-vhost list of up to 64 blocked request media types (`multipart/form-data`, `application/json`, `image/*`). Matches case-insensitively, ignores MIME parameters, returns 403 before any proxy, Web Server/PHP-FPM, Custom location or cache response. Missing `Content-Type` is permitted; malformed/ambiguous headers are refused while filtering is enabled. Docker editor is unchanged. Default off for existing and new Vhosts.
- **Interface:** Vhosts → Security has a dedicated Content-Type subgroup with enable checkbox and multiline patterns. The Docker Publish toggle is smaller, unboxed and neutral with standard theme colors; instant save, rollback and live logs remain.
- **Per-service Live logs:** a button beside **Open app** opens the existing authenticated live HTTP access-log dialog with the generated Docker vhost ID preselected. It covers all aliases of that publication and keeps the filter while waiting for its first entries. The action needs current Docker route metadata; it remains disabled until the status refresh supplies it. No new Docker socket permissions, agent endpoints or public log APIs were introduced. It displays RustProxy request logs, **not container stdout/stderr**.
- **Publish switch:** replaced the plain Publish checkbox with an on/off slider matching panel themes, corner preferences and keyboard/screen-reader accessibility. Each change still saves immediately through the existing Docker assignment API, with pending/failed saves reflected in the control. Unpublishing does not stop the container; configuration and statistics sections retain their prior behavior.
- **Open app URL:** use the selected listener's actual `binding.tls` and `binding.address` so HTTPS and nonstandard public ports are reflected in generated app links.
- **Release:** Cargo package and lockfile, embedded OpenAPI version, Polish/English UI hints and documentation aligned to 0.34.6. This is a source-only release candidate requiring native compilation and integration testing before deployment. Blocking `Content-Type` does not replace security updates for PHP or the application.
## 0.34.5 — Administration UX improvements
- **Docker vhosts traffic view:** added the ordinary Vhost status, cumulative requests/active/errors, EWMA latency, traffic/s and lifetime-rate chart in a collapsed-by-default disclosure below each published Docker vhost's configuration editor. One toolbar button expands/collapses all active publications; individual disclosure state survives live refreshes. Values use generated Vhost counters from the existing status stream. The browser chart begins collecting when the vhost is observed and resets on sign-out; backend/configuration behavior is unchanged.
- **Linux deployment/package filesystem access:** packaged and manually generated
systemd services now use `ProtectHome=read-only` rather than `true` so a
Web Server can read `/home` and other external document roots using Unix
groups/ACLs without per-host systemd overrides. `ProtectSystem=strict`,
the dedicated service account, private state/log paths and certificate
ownership/symlink validation remain in place. New DEB/RPM units require a
packaging rebuild; no installed service is changed by this source archive.
- **Web Server → Delivery:** separated static-file delivery, dynamic compression/codecs and precompressed `.br`/`.gz` sidecar controls into individually labelled settings groups. Existing options, defaults and configuration keys remain unchanged.
- **Web Server → PHP-FPM:** grouped profile and endpoint selection, request behavior, timeouts/capacity, and FastCGI/php.ini overrides. Disabled inputs, selectors and textareas now share a clear inactive appearance when PHP is off or controlled by a shared profile.
- **Streams → Backends:** split backend routing/capacity from health checks. Probe timing and UDP payload fields appear only when a health-check mode is selected; hidden controls retain their values and cannot block form validation.
- **Redirects and 404 hosts:** separated identity/domains from frontend listener and certificate selection, with more consistent checkbox alignment and spacing.
- **Vhost → Transform:** the file-extension override checkbox now sits directly above its textarea, separated from format selectors. The three similar Vhost cache overrides (static extensions, bypass prefixes and unsafe force targets) are stacked consistently; disabled overrides no longer appear editable. Existing saved field names and policy behavior remain unchanged.
- **Vhost access:** relocated the inline IP/CIDR ACL editor to **Security → Traffic policy**, alongside reusable ACL profiles. **Authentication** now contains Basic Auth and Tinyauth alone. An inline ACL remains an independent, cumulative restriction (it cannot be bypassed by a profile allow).
- **Web Server presets:** the two hardening checkboxes appear together below preset selection/action rather than beside them. **Settings → Appearance → Data refresh** shows the master refresh checkbox on its own line, with four equally sized refresh selectors in a balanced two-column grid (one column on mobile).
- **Settings → System information:** removed the dedicated RustProxy process block from this screen while preserving **Statistics source** with the host details. Status/metrics API fields and backend monitoring are unchanged.
- **Corner-style consistency:** additional Vhost dependent-field groups, cache/legend and metric-info controls, selected admin cards and the self-contained authenticated documentation page follow the saved Square/Subtle/Rounded/Extra corner preference. Circular status indicators/spinners remain circular by design; Original retains its legacy styling.
- Updated English and Polish labels, documentation and UI regression checks. This is a UI-only release; it does not change backend execution or configuration semantics. Native Rust builds and target-system acceptance remain required.
## 0.34.4 — Multi-profile ACLs, certificate override and mobile Docker details
- ACL profile picker corners (dropdown, counter, rule cards, policy badges, selected chips and remove buttons) follow the dashboard corner-style setting (Square, Subtle, Rounded, Extra rounded); Original keeps its prior shape. ACL selection and rule evaluation are unchanged.
- Docker agent details now wrap certificate SHA-256 fingerprints on narrow screens.
- Ordinary Vhosts and Docker publications may attach up to eight reusable ACL profiles. Legacy `acl_profile_id` remains loadable; new assignments use `acl_profile_ids`. Among selected profiles, an explicit IP deny or blocked country always denies, explicit IP/country allows are unioned, and unmatched defaults must all permit access. Single-profile behavior is unchanged. Inline Vhost/location/global controls are still additional (AND) restrictions, not bypassed. Docker assignments override inherited agent profiles when they select their own profiles.
- `allow_certificate_mismatch` permits a deliberate, confirmed exception per named certificate assignment on an ordinary Vhost or Docker publication. TLS identity/key checks remain intact. Only explicitly selected hostname/certificate pairs skip RustProxy DNS SAN binding verification. Client hostname validation still fails/warns for a mismatched certificate; do not use as a permanent replacement for a matching certificate.
- Refined Vhost editor layout: separate **SSL certificates** (selection and explicit mismatch consent) from **SSL settings** (TLS policy), and split Traffic policy into ACL, method, IP/country/User-Agent rate limits. Vhost security now separates HSTS, response headers and User-Agent blocking; Custom location access, balancing controls and WebSocket settings have their own groups. Checkbox/button alignment was adjusted in toolbars, dialogs and configuration cards; ordinary UI surface corners follow the selected dashboard rounding style where previously fixed. Backend settings and API semantics are unchanged.
- Docker publication editor shows the certificate/domain mismatch consent immediately below **Backend host IP**, with a small vertical gap.
- The source release needs native Rust compilation and target-system acceptance tests before production use.
## 0.34.3 — QUIC socket buffering, live HTTP/3 settings and cache outcome mix
- QUIC now opens the UDP listener socket with per-listener receive/send buffer targets (4 MiB each by default; `udp_receive_buffer_bytes`, `udp_send_buffer_bytes`; `0` uses OS defaults). Reports the effective buffer sizes and warns if kernel limits clamp them. Linux `SO_RCVBUF` / `SO_SNDBUF` accounting is accommodated, so observed `ss` values correspond to the configured effective target when permitted. UDP buffer modifications require restart, not silent hot application. Existing configs without these fields load the new defaults.
- HTTP/3 `Alt-Svc` follows newly saved listener lifetime immediately on H1/H2 TLS responses for an already-bound H3 socket; disabling H3 publishes `Alt-Svc: clear`. New QUIC handshakes use saved stream/idle limits and reduced connection caps. Listener binding/TLS/H1-H2 changes, a new/disabled UDP listener or expanding startup capacity still need restart; UI restart indicator reflects this.
- DEBUG-level bulk QUIC snapshots expose packet loss, congestion window, RTT, MTU and datagram syscall counters to investigate slow H3 and CPU usage, without assuming an unmeasured throughput improvement.
- Overview includes a **cumulative HTTP cache outcomes** 100% stacked bar with HIT, MISS, BYPASS and OTHER (requests without a cache decision), using totals since service start instead of sampled deltas. Hotfix: each category now shows counts and percentages, including before a second browser poll; the lifetime HTTP request count sits compactly in the upper-right corner with the full label available as a tooltip and accessibility text. Invalid/inconsistent totals are not normalized into misleading percentages. The widget remains **hidden by default** and opt-in via the layout editor. Saved layout visibility, the lifetime HIT/MISS donut and the separate recent cache trend chart are preserved. Both UI languages are supported.
- Delivered as source for compilation and protocol acceptance on supported targets; no compiled Rust binary or measured post-patch benchmark is included in this candidate.
## 0.34.2 — configuration storage visibility and public HTTP error responses
- Added poll-based `GET /api/metrics/json` to the authenticated admin API and a `.json` sibling route on the optional standalone Prometheus exporter. JSON contains Overview-style monitoring snapshots and every numeric sample from the Prometheus collector (including labelled histograms). Added `summary` projection in the full payload and compact `GET /api/metrics/summary` / exporter `.summary.json` routes: calculated static and Docker backend/vhost readiness, request/error rates, overall byte totals, rolling transfer rates, memory/cache percentages and Web Server/Stream totals. Reuses the respective API or exporter Bearer/CIDR security policies, without SSE/WebSockets. Rolling rates are `null` until a usable second pull and after sampling gaps/resets.
- **Settings → Manual config** now reports whether SQLite or an explicit JSON file is the authoritative configuration source, shows its resolved path and distinguishes the SQLite history/audit database from the file-backed active configuration. The authenticated `GET /api/config` response supplies this read-only `storage` metadata without changing the editable JSON schema or write responses; no extra endpoint is needed.
- Added an optional `systemctl edit rustproxy` example using `--config /etc/rustproxy/config.json` with the required ACLs, owner/mode setup, systemd filesystem allowance, validation and safe reload instructions. The original SQLite configuration mode remains the default.
- Web Server-generated errors now reuse the bundled application-style HTML pages (400/403/404/500 and other available templates), with the same styled fallback for statuses such as 405. Proxy-generated non-template errors continue to use ordinary HTTP status text; no implementation diagnostics are exposed publicly. Preserved HTTP statuses, `HEAD` behavior, `Allow`/`Retry-After`, existing custom pages, backend-origin responses and authentication behavior.
- Removed an unused forwarding accessor (`peer_header`) to avoid a Rust `dead_code` warning without changing forwarded header behavior.
## 0.34.1 — explicit configuration, hot reload and API tokens
- `--config /absolute/file.json` / `RUST_PROXY_CONFIG`: an existing JSON file becomes the authoritative configuration source. Panel edits and restored revisions are written atomically to that file, with revision history in SQLite. Manual edits are imported by an explicit reload. Fingerprints reject unexpected external changes.
- `rust-proxy reload` and `rust-proxy config reload` run through the authenticated local admin control plane. The example systemd unit provides `ExecReload` for `systemctl reload rustproxy`; frontends requiring new binds/ALPN still require a service restart.
- Separate administrative API Bearer credentials can be generated and revoked in Settings, with RO/RW permissions, source-IP/CIDR allowlists, hash-only persistence and one-time secret display. Only an explicit API method/path allowlist is accessible; existing browser and certificate-scoped authentication remain unchanged.
- Certificate inventory supports bulk Vhost assignment to a selected certificate.
- Settings supports generate/rotate/revoke for a standalone Prometheus scrape Bearer token. Only its hash is stored. An explicit revocation record overrides legacy environment credentials.
- Moved RO/RW API token management from **Settings → Administration** to **Settings → Security**; Administration now links directly to the token card.
## 0.34.0 — cache consistency, static delivery and proxy optimization
### Cache
- Improved HOT/COLD cache retention when saving operational Vhost settings such as backend keepalive, connection recycling and load-balancer diagnostics. Unrelated changes should no longer unnecessarily clear compatible cached content.
- Changes affecting served content invalidate the relevant Vhost cache scope and pending fills. Global changes to response representation may still invalidate content more broadly.
- Added protection against restoring obsolete persistent COLD responses after an interrupted scoped purge or restart. Previously stored objects may need to be populated again during compatibility checks.
- Corrected freshness and expiry handling: a local maximum TTL limits **remaining freshness**, not the upstream response's existing `Age`. The dashboard now distinguishes total HTTP `Age` from time spent in HOT/COLD cache.
- Improved cache HIT/LRU accounting, `Vary` handling and response-header isolation. Existing `private`/`no-store` rules, conditional requests, PURGE/BAN controls and authenticated-request protections remain in effect.
### Static content and backend traffic
- Added **`sendfile: off | auto`** in **Web Server → Delivery**, disabled by default. `auto` supports eligible full static GET responses of **64 KiB or more** on Linux over unencrypted HTTP/1.1; TLS, HTTP/2, HTTP/3, ranges, compression, transformations and other excluded requests use standard delivery.
- Increased the default HTTP/1.1 idle backend connection pool size for **new** Vhost/origin configurations from **4 to 64**. Existing explicitly saved values remain unchanged; a larger pool can use more file descriptors and connections.
- Reduced overhead in common reverse-proxy routing, upstream connection reuse, backend selection, request forwarding and streamed responses. Existing ACLs, trusted-proxy checks, request limits, load-balancer choices and retry rules are preserved.
- Optimized request forwarding for common HTTP/1.1 paths and forwarding headers without changing public path validation, IPv6 handling or the HTTP/2 and HTTP/3 security model.
### Metrics, logging and compatibility
- Improved traffic analytics, per-Vhost cache statistics, latency reporting and log handling under load. Analytics collection remains bounded and non-blocking; dropped samples are still counted when limits are reached.
- Reduced monitoring overhead without removing existing Prometheus, dashboard, cache or protocol metrics. Dashboard labels and reported cumulative latency values remain compatible.
- Preserved protected `X-Request-ID` formatting as **64 lowercase hexadecimal characters**; request IDs now use cryptographically secure 256-bit randomness combined with the process sequence.
- Preserved response-compression settings, cache exclusions, existing configuration formats and database compatibility. No new mandatory migration or load-balancer control was introduced for these optimizations.
## 0.33.8 — safer file responses and request handling
- Reduced work for requests where caching cannot apply, while retaining independently configured security checks, response transformations and monitoring.
- Improved Web Server file streaming and file-read behavior, preserving filesystem root and symlink protections.
- Fixed successful HTTP/1.1 file responses sometimes being reported as cancelled; corrected cases where complete or empty eligible files were not committed to cache.
- Improved handling of short or unexpectedly oversized local streams without changing upstream streaming and trailer behavior.
- Fixed Host/port validation, extended `Expires` parsing, cache inventory reporting, diagnostic-header spoof protection and redaction of sensitive values in escaped JSON logs.
- Corrected certificate API token authorization checks; added HTTP compatibility and performance test scenarios for future releases.
## 0.33.7 — saved dashboards and Vhost backend details
- Added **Dashboard Presets**: up to **16 named Overview layouts per administrator**, with save, load, overwrite, rename, delete and factory reset.
- Presets retain card order, visibility, widths, density and chart history length. Existing account preferences and proxy settings remain compatible.
- Added an interactive Vhost backend summary showing the configured destination, HTTP mode, health state and latest observed HTTP response without generating extra probes.
- Changed HTTP/1.1 and HTTP/2 backend badges from basic tooltips into interactive details panels with current observations and response counts.
- Standardized Overview card titles, chart captions, legend typography and popover appearance; styles follow the selected dashboard theme and corner-rounding preset.
## 0.33.6 — consistent chart scales
- Fixed Overview and Web Server chart heights to prevent stretched or uneven plots at different screen sizes.
- Kept CPU and other percentage-based charts on consistent **0–100%** scales, with actual values still shown in legends.
- Made rate, count, latency and memory charts start from zero instead of exaggerating low traffic.
- Unified Cache and Transform rate-chart dimensions, preserving the real values, history and refresh intervals.
## 0.33.5 — CPU monitoring and chart headings
- Corrected System and process CPU charts so low utilization no longer appears as a full-height spike; legends continue to show actual percentages.
- Stabilized CPU chart dimensions across layout sizes and dashboard densities.
- Moved the maximum requests-per-second reading next to the Requests per second heading and simplified live chart labels.
## 0.33.4 — Web Service live metrics
- Made Web Service live metrics always visible in the service view, with **six responsive metric tiles** matching the Vhost dashboard.
- Added a full-width Web Service request-rate history chart and improved metric refresh during service-list updates.
- Preserved existing PHP concurrency metrics, request sampling and monitoring APIs.
## 0.33.3 — flexible Overview layout
- Added card-width choices of **2, 3, 4, 6 or 12 columns** and improved drag-and-drop ordering between different widget groups.
- Updated the layout editor to remain usable on small screens; saved widths, hidden widgets and factory layout settings are preserved.
- Fixed charts that did not fill resized widgets and false gaps or zero readings after returning to a suspended browser tab.
- Made the sidebar's selected/hover colors follow the interface theme rather than the independent chart palette.
## 0.33.2 — theme consistency
- Made Cache, Web Server, Traffic and Overview progress indicators follow the selected chart colors and corner-rounding style.
- Unified RAM utilization meters and matching progress bars across dashboard panels, including light/dark theme switching.
- Monitoring values, polling frequency and saved preferences remain unchanged.
## 0.33.1 — reliable layout editing
- Fixed hidden/shown Overview widgets unexpectedly reverting while editing the layout; Save and Cancel now respect the unfinished changes.
- Added a consistent factory Overview layout and an explicit reset/preview workflow for card order, visibility, compact density and initial chart history.
- Preserved history and rate baselines while widgets are temporarily hidden, and clarified lifetime versus recent cache HIT ratios.
## 0.33.0 — Web Server monitoring
- Added richer Web Server and PHP-FPM statistics, including request types, HTTP status counts, methods, response-header timing, compression and PHP concurrency.
- Expanded Prometheus/Grafana reporting with per-service Web Server and PHP activity, errors and performance metrics.
- Added **12 optional Web Server Overview cards**, hidden by default, with the existing layout and refresh controls.
- Improved Overview history selection and corrected a dashboard initialization issue that could stop the panel loading.
- Kept the existing configuration format, API compatibility and saved dashboard preferences.
## 0.32.8 — resource and compression charts
- Added capacity indicators for HOT RAM cache, COLD queue/disk, file descriptors, HTTP protocol share and backend usage.
- Added compact cache HIT/MISS donut charts with counts and percentages.
- Added detailed Transform and Compression activity graphs with separate series for transformation results and gzip/Brotli/Zstd/deflate.
- Improved Overview action-button layout on narrow screens without changing stored settings or metrics.
## 0.32.7 — HTTP/2 lifecycle and dashboard fixes
- Improved handling of an upstream HTTP/2 connection shutting down gracefully, including a limited retry for eligible empty, safe requests on the same backend.
- Prevented normal HTTP/2 shutdown events from incorrectly counting as backend health failures; unrelated connection errors still count.
- Improved backend recovery after passive health ejection, including bounded recovery when active health probes are disabled.
- Reduced duplicate shutdown diagnostics and improved Overview button sizing and density presentation.
## 0.32.6 — appearance and backend protocol visibility
- Improved Appearance layout controls, dashboard card density, responsive mobile metrics and corner-rounding consistency.
- Expanded live Process and Network charts using available CPU, memory and network-interface measurements.
- Prevented false zero-rate readings and interrupted chart histories when returning to inactive browser tabs.
- Added the **observed** backend HTTP/1.1/HTTP/2 mode next to the configured mode; unknown or stale observations display `?` instead of a guessed result.
- Preserved existing refresh settings, polling behavior and administrator preferences.
## 0.32.5 — DNS/DDNS access rules
- Added DNS/DDNS hostnames as **allow-only** entries in reusable client ACLs, Vhosts, Custom locations and Docker ACL assignments.
- Hostname A/AAAA records are periodically refreshed (**60-second** interval); unresolved or failed lookups deny access rather than allowing unknown clients.
- Added DNS/IP selection and guidance to the ACL editor. Existing IP/CIDR rules and stored policy formats remain compatible.
## 0.32.4 — Preserve Host with HTTP/2
- Expanded **Preserve Host** support across HTTP/1.1, automatic HTTPS H2/H1, compatible HTTP/2 and strict H2/H2C upstream modes.
- Forwarded the public hostname as HTTP/2 authority while continuing to use the configured origin for destination routing and TLS identity checks.
- Removed unnecessary UI restrictions when using Preserve Host with different backend protocols, while retaining warnings for potentially invalid HTTPS certificate names.
## 0.32.3 — protocol selection and customizable Overview
- Added strict **`h2`** upstream mode; existing `http2` remains compatible with HTTPS H2/H1 negotiation and plaintext H2C. `http1` and `auto` keep their previous behavior.
- Expanded the Vhost Origin protocol selector with clearer choices for HTTP/1.1, Auto, compatible HTTP/2 and H2-only.
- Expanded Overview customization: unlock editing directly on the dashboard, reorder or hide registered cards, preview changes, Save/Cancel and reset to the default layout.
- Added optional protocol, cache, backend health, connection and system/process charts; the Overview catalog expanded to **62 blocks**. New diagnostic cards remain hidden unless enabled.
- Added **Ultra dark** and **Warm cream** panel themes and account-level corner-rounding presets (Original, Square, Subtle, Rounded and Extra rounded).
- Improved the default Overview grid and customized card arrangement across desktop, mobile and browser zoom. Existing saved layouts remain compatible.
## 0.32.2 — correct local cache revalidation
- Fixed Web Server cache revalidation with `ETag` and `Last-Modified`, including requests using `no-cache` or `max-age=0`.
- A valid origin `304 Not Modified` can refresh the existing cached body; changed or no-longer-cacheable content is not incorrectly reused.
- Preserved client-side HEAD, conditional and Range behavior as well as transformed-response headers.
- No database, cache-format, API or Web Server setting changes.
## 0.32.1 — dashboard readability
- Restored the earlier Overview layout proportions and consistent spacing between dashboard cards.
- Improved compact font sizes and responsive layout at reduced UI zoom, without forcing large empty chart areas.
- Simplified Stream card help text and retained the existing visibility and saved Appearance settings.
## 0.32.0 — multi-backend TCP/UDP Streams
- Added Stream backend pools of up to **32 members**, with weights, enable/disable, draining, session caps and compatible single-upstream fallback.
- Added weighted Round Robin and Least Connections/Sessions balancing for Stream backends, with connections remaining associated with their selected backend.
- Added optional TCP connect and response-based UDP health checks with configurable intervals, timeouts and recovery/failure thresholds.
- Expanded per-backend Stream status and optional Prometheus metrics; the existing global Stream metrics switch remains in control.
- Added four optional Stream cards to Overview and improved their no-data and enabled/disabled presentation.
- Preserved the six-column desktop Overview and previous Stream configurations.
## 0.31.9 — Certificate API credentials
- Added **View settings**, **Edit settings** and **Regenerate token** for individual Certificate API credentials.
- Administrators can update certificate grants, comments and deployment permissions without rotating an existing token.
- Token regeneration invalidates the old secret immediately; the new token is shown only when generated, not returned by later settings reads.
- Added matching authenticated API operations while retaining certificate-scoped authorization and existing session security.
## 0.31.8 — Docker status and log explorer
- Changed an unobserved Docker agent startup state to **WAITING** rather than incorrectly reporting a failed connection; actual failures are shown after a check.
- Added server-side sorting in Stored Logs, including numeric and nested fields, before paginating matching results.
- Added consistent built-in HTML error/status pages for more response codes; custom error pages keep priority.
- Improved cache and GeoIP resource handling without changing saved configuration formats.
## 0.31.7 — rate limits and configuration history
- Added a **Settings → Rules & headers** workspace for the global User-Agent blocklist, custom headers and client-response rules.
- Added per-Vhost User-Agent request limits: up to **64 patterns**, each with its own rate, window and burst. Rules are optional; unmatched clients use existing limits.
- Improved configuration revision previews to show changed fields first, with full JSON comparison available separately.
- Fixed managed-update cleanup and documented retention of two installed releases plus three private stopped-service rollback backups.
- Improved preservation of eligible HOT cache entries to COLD storage during managed updates when COLD is enabled.
## 0.31.6 — HTTP/3 forwarding diagnostics
- Improved empty HTTP/3 GET/HEAD forwarding to HTTP/1.1 backends and handling of graceful HTTP/3 connection shutdown.
- Distinguished cancelled HTTP/3 requests from genuine HTTP 400 errors in stored diagnostics.
- Expanded interrupted-response diagnostics with phase, response status, transferred bytes and redacted failure context.
## 0.31.5 — Stored Logs and request filtering
- Improved Stored Logs on mobile with readable expandable records, configurable columns and repeated-value analysis for User-Agent, client IP and other parsed fields.
- Added consolidated viewing of a Vhost's active JSONL logs together with compressed rotations, while preserving each file's identity.
- Added optional global and per-Vhost **User-Agent blocklists**, disabled by default, using case-insensitive patterns.
- Improved HTTP/3 cancellation reporting and preserved HOT/COLD cache contents when only frontend HTTP/2 or HTTP/3 enablement changes.
- Improved panel asset-cache versioning and trusted-public-origin guidance for administrators using a reverse proxy.
## 0.31.4 — administration behind HTTPS proxies
- Added an explicit **administration public HTTPS origin** option for panels published behind a trusted reverse proxy.
- Corrected forwarded-protocol validation and automatically included the configured public hostname in the effective administration Host allowlist.
- Preserved strict Origin, Host, CSRF and trusted-proxy checks; the setting does not make untrusted forwarded headers acceptable.
## 0.31.3 — session and browser restoration
- Fixed duplicate panel session checks and repeated reload attempts after tab suspension or browser back/forward restoration.
- Added a recoverable startup/retry state and clearer invalid-Origin navigation errors while keeping cross-origin API requests blocked.
## 0.31.2 — updated runtime baseline
- Updated runtime, TLS, database, Swagger and monitoring dependencies.
- Raised the minimum Rust toolchain requirement to **1.99** for source builds, while preserving configuration and data-format compatibility.
## 0.31.1 — panel loading reliability
- Improved dashboard startup after mobile reloads and navigation through reverse proxies.
- Added versioned dashboard JavaScript/CSS assets to reduce problems caused by mixed browser/intermediary caches.
## 0.31.0 — selective cache purge and live monitoring
- Added optional, IP/CIDR-restricted public HTTP **`PURGE`** (exact URL) and **`BAN`** (URL prefix) controls. An empty allowlist keeps the feature off; requests remain subject to relevant validation and audit rules.
- Tightened Vhost/scheme isolation for cache invalidation and bounded background cache-maintenance work.
- Added configurable compression for administration HTML and assets, with gzip, Brotli and Zstd negotiation where supported.
- Added per-administrator live-refresh controls for Overview, Traffic/Cache and System information, including the option to stop certain automatic refreshes.
- Improved panel startup and separated compact live status updates from more expensive system information requests, preserving full status API compatibility.
## 0.30.1 — dashboard diagnostics
- Corrected HTTP/WebSocket protocol legend colors so charts follow the selected palette.
- Moved Python/Certbot and system diagnostics into **Settings → System information** with live OS/runtime details.
## 0.30.0 — backend health configuration
- Moved per-backend health-check editing into the Vhost **Health** tab with a selector for monitored backends.
- Kept independent backend health overrides when switching between members or temporarily disabling checks.
- Improved historical log processing and resource usage without changing saved Vhost, database or COLD cache formats.
## 0.29.7 — PHP-FPM safety, health checks and custom errors
- Added independent per-backend health-check enable switches and optional probe overrides, including the ability to disable active/passive checks for a selected backend.
- Added optional **HIT-only cache diagnostic headers** (`expose_only_hits`) at global or Vhost scope; non-HIT outcomes can remain unadvertised.
- Added warnings and practical guidance for PHP-FPM services sharing a pool with conflicting per-request PHP settings. Separate pools are recommended where settings differ.
- Expanded PHP-FPM profile help, `PATH_INFO` guidance and examples for applications such as WordPress and Roundcube.
- Added configurable application-error interception (`pages.intercept_statuses`) to serve internal, Vhost or global error pages while retaining the appropriate status code. Disabled for existing configurations unless enabled.
## 0.29.6 — compressed PHP responses
- Fixed truncated PHP-FPM responses when serving gzip, Brotli, Zstd or deflate content in Web Server mode.
- Improved error-file routing for PHP-FPM diagnostic output and service warnings, with fallback to console logs when writing fails.
## 0.29.5 — PHP PATH_INFO and Roundcube
- Fixed Roundcube `static.php/...` routes being incorrectly sent through the front-controller fallback, which could return HTML instead of CSS or JavaScript.
- Applied Web Server security and `.htaccess` restrictions to the resolved PHP script path, including when optional `PATH_INFO` is used.
## 0.29.4 — reusable PHP-FPM profiles
- Added named shared PHP-FPM profiles, manageable from the Web Server toolbar or a Web Service editor; services can attach/detach a profile without losing their local configuration.
- Extended Vhost cache, transformation and response policies to appropriate local Web Server file/PHP responses.
- Corrected FastCGI `HTTP_HOST` forwarding for valid HTTP/2 and HTTP/3 requests, supporting applications such as WordPress.
## 0.29.3 — internal error fallback
- Corrected internal error fallback for empty HTTP/2 and HTTP/3 GET/HEAD requests.
- Preserved the final status and response body of an internal fallback location, even when it returns its own error page.
- Improved warnings for missing internal fallback destinations.
## 0.29.2 — managed logs and PHP monitoring
- Added managed log rotation for Debian installation/update, including daily rotation and compressed history.
- Fixed Web Server routes incorrectly returning 503 when backend availability flags were unrelated to local file/PHP serving.
- Added validated `PHP_ADMIN_VALUE` support for trusted PHP-FPM use, and expanded Web Service Prometheus status, latency and concurrency measurements.
## 0.29.1 — internal locations, range delivery and PHP scripts
- Added internal-only named Custom locations for controlled error fallback, with selectable interception of common 4xx/5xx statuses and validation against routing loops.
- Added multipart HTTP `Range` delivery for up to **16 byte ranges** per request.
- Added optional PHP-FPM `PATH_INFO`, securely separating an existing script from its trailing request path.
- Preserved existing configuration and persistent cache compatibility.
## 0.29.0 — canonical hostnames and redirect rules
- Added easier management of domain aliases and **www/non-www canonical redirects**, including one-click permanent canonicalization and retention of the original request target.
- Added a Custom location **Redirect** action supporting permanent/temporary responses, full HTTP(S) destinations, optional capture-based rewriting and query preservation.
- Improved default HTTP health-check Host selection using the Vhost's first exact DNS name when no explicit override is set.
- Added narrowly scoped **force-cache targets** for configured URLs while continuing to respect response-side privacy exclusions such as `private`, `no-store` and `Set-Cookie`.
- Expanded Stored Logs to search permitted compressed log rotations, and improved maintenance/error-page and nested URL handling.
## 0.28.x — external certificates and GeoIP
| Version | Technical changes |
| --- | --- |
| **0.28.2** | Safer external PEM/key access, including POSIX ACLs and Certbot symlinks; certificate API keys now default to limited reload-only permissions and explicit certificate grants. |
| **0.28.1** | Support externally managed absolute certificate/key paths and hot reload after Certbot renewal; keep external key files outside RustProxy backups. |
| **0.28.0** | Add manual GeoIP downloads, flexible CSV/MMDB source URLs and checksum validation; improve active listener/protocol display and cache Via controls. |
## 0.27.x — compression and managed deployment
| Version | Technical changes |
| --- | --- |
| **0.27.3** | Protect ownership during backup restore; enable scheduled GeoIP updates; fix listener overrides and valid WebSocket upgrade framing. |
| **0.27.2** | Fix managed Certbot issue/renew invocation without requiring operators to delete existing private Python environments. |
| **0.27.1** | Add application-managed Python/Certbot installation with system fallback and clearer runtime errors; extend sortable host lists and first-admin help. |
| **0.27.0** | Enable eligible response compression with zstd, Brotli and gzip by default, with scoped Vhost/Web Service controls; preserve published Docker routes during temporary discovery failures. |
## 0.26.x — cache, logs and interface operations
| Version | Technical changes |
| --- | --- |
| **0.26.7** | Show HOT/COLD cache capacity and progress; improve HTTP `Age` diagnostics and safe compression behavior for eligible cached/static responses. |
| **0.26.6** | Store backend table preferences per administrator; correct combined IP/country ACL logic and clarify the ACL editor's allow/deny modes. |
| **0.26.5** | Align compact filters and streamline navigation from Streams into listener configuration; no configuration migration. |
| **0.26.4** | Add draft recovery for 404-host forms, improve Appearance layout editing and keep idle upstream connection recycling effective. |
| **0.26.3** | Apply display scale consistently across the administration panel, including dialogs and controls. |
| **0.26.2** | Add minimizable draft editing for Vhosts, Web Services, Redirects and Streams so unfinished forms survive page changes. |
| **0.26.1** | Extend persisted protocol error records with the affected Vhost when it can be identified safely. |
| **0.26.0** | Record malformed HTTP, TLS, H2/H3 and connection/protocol failures separately from normal HTTP responses; expand error-log inspection. |
## 0.25.x — Web Server and recovery
| Version | Technical changes |
| --- | --- |
| **0.25.7** | Add quick Vhost enable/disable and clearer active-state controls. |
| **0.25.6** | Show upstream connection age, reuse and recycle diagnostics in the backend panel. |
| **0.25.5** | Add configurable HTTP/1.1 upstream connection recycling by age/request count and expand connection telemetry. |
| **0.25.4** | Restore configuration from retained history as a validated new revision. |
| **0.25.3** | Add per-Vhost and per-location HTTP method allow/block policies and location-level access profiles. |
| **0.25.2** | Support password-encrypted full backups while the service is running, using a consistent configuration/database snapshot. |
| **0.25.1** | Reorganize Traffic into focused Overview, Clients, Requests and Delivery views; improve saved analytics. |
| **0.25.0** | Introduce reusable static Web Services with document roots, indexes and optional directory listing, integrated with Vhosts. |
## 0.24.x — monitoring, security and transport
| Version | Technical changes |
| --- | --- |
| **0.24.10** | Persist separate error-file logging settings and keep compatibility with existing logs. |
| **0.24.9** | Introduce encrypted Secret Store for managed credentials, including migration of ACME DNS secrets. |
| **0.24.8** | Expand Cache diagnostics with memory breakdowns and HOT/COLD occupancy. |
| **0.24.7** | Make response transformation memory and concurrency limits configurable. |
| **0.24.6** | Preserve selected HOT/COLD cache capacity presets across saves. |
| **0.24.5** | Fix empty HTTP/3 request forwarding and strengthen cache memory admission, transient limits and disabled-cache behavior. |
| **0.24.4** | Reduce excessive process memory usage on Linux without changing host-wide memory settings. |
| **0.24.3** | Extend per-certificate reload and multiple scoped certificate API keys; move H2 lifecycle controls to listeners. |
| **0.24.2** | Version-only update; no functional or configuration change. |
| **0.24.1** | Improve portable network/system metrics, runtime metadata and BSD-compatible CLI data-path discovery. |
| **0.24.0** | Add graceful downstream HTTP/2 connection retirement and separate lifetime/idle/drain controls; broaden BSD system statistics. |
## 0.23.x — certificates and dashboard diagnostics
| Version | Technical changes |
| --- | --- |
| **0.23.3** | Make external certificate deploy idempotent and self-reconciling; add opt-in legacy WebSocket compatibility. |
| **0.23.2** | Add configurable Cache/Transform chart history windows and fix live-log CLI connections to HTTPS administration. |
| **0.23.1** | Add live Cache and Transform activity charts with per-scope request and outcome rates. |
| **0.23.0** | Introduce restricted external certificate API keys with token hashing, certificate-specific permissions, revocation and authenticated deploy/reload; limit inactive H2 connections. |
## 0.22.x — cache controls and protocol handling
| Version | Technical changes |
| --- | --- |
| **0.22.3** | Support guarded cleartext H2 upgrade; add hot reload and external deploy for manual certificate IDs from CLI/API. |
| **0.22.2** | Add bounded safe-method failover retry, per-backend concurrency/capacity limits and detailed upstream failure diagnostics. |
| **0.22.1** | Simplify WebSocket transport selection and add focused active-tunnel, protocol and selective cache-invalidation controls. |
| **0.22.0** | Add request collapsing, supported cached range responses, safer stale-if-error rules, proactive refresh and selective cache PURGE/BAN. |
## 0.21.x–0.19.x — transformations and certificate workflows
| Version | Technical changes |
| --- | --- |
| **0.21.0** | Add a dedicated Transform workspace, savings/error counters and cache diagnostics for transformed representations. |
| **0.20.0** | Reorganize Certificates into Installed, Renewal and Generate; expose managed ACME job and Certbot diagnostics. |
| **0.19.4** | Improve presentation of idle and very small backend traffic rates. |
| **0.19.3** | Add a non-blocking release/update checker and simplify dashboard footer diagnostics. |
| **0.19.2** | Restore explicit per-backend protection/exception controls for deliberately targeting local administration listeners. |
| **0.19.1** | Separate HTTP and HTTPS cache identities to prevent accidental cross-scheme reuse. |
| **0.19.0** | Store Live Logs column preferences per administrator without rewriting proxy configuration. |
## 0.18.x — Docker discovery and UI
| Version | Technical changes |
| --- | --- |
| **0.18.8** | Correct the explicitly disabled backend TLS verification path while retaining separate destination protection. |
| **0.18.7** | Make Response Time History collapsible by default. |
| **0.18.6** | Add live network-interface throughput and process diagnostics. |
| **0.18.5** | Break down live request-rate charts by HTTP/1.1, HTTP/2 and HTTP/3. |
| **0.18.4** | Default new backend health checks to TCP and simplify Docker agent/service and Security editors. |
| **0.18.3** | Add Docker-vhost search/hide controls, agent-assigned certificates and per-agent inventory poll intervals. |
| **0.18.2** | Secure Docker agents with HTTPS certificate fingerprint pinning; add per-Docker-vhost backend health checks. |
| **0.18.1** | Support multiple Docker host addresses, selected published IPs, multiple agents and custom service aliases. |
| **0.18.0** | Introduce a separate authenticated Docker discovery agent, automatic service observations and optional generated Docker Vhosts. |
## 0.17.x–0.13.x — platform and routing improvements
| Version | Technical changes |
| --- | --- |
| **0.17.0** | Add Debian package/service assets, a Grafana dashboard, broader Prometheus metrics and local-response/404 hostname support. |
| **0.16.1** | Hide internal configuration revision numbers from normal save feedback while retaining conflict protection. |
| **0.16.0** | Keep unmatched paths on the main backend when custom locations exist; improve guarded self-admin routing, WebSocket/H3 and resource diagnostics. |
| **0.15.1** | Improve visual Custom-location and header-rule editors, previews and cache/process live charts. |
| **0.15.0** | Add Nginx-style path matching/rewrite options, visual header configuration and Nagios/Icinga check scripts. |
| **0.14.0** | Correct administration Host/Origin checks behind trusted HTTPS proxies and add HTTP/3 WebSocket transport support. |
| **0.13.2** | Fix signed-in dashboard refresh; improve managed-update cache handoff and retention of certificate renewal status. |
| **0.13.1** | Add configurable 7–30 day administrator sessions and explicit risk approval for backends pointing to local listeners. |
| **0.13.0** | Add first-class Redirect hosts and local redirects; establish the omitted backend `tls_verify: false` compatibility default. |
## 0.12.x–0.10.x — API, Streams and disk cache
| Version | Technical changes |
| --- | --- |
| **0.12.1** | Add revisioned per-section configuration API, cache retention across unrelated settings saves and configurable COLD demotion behavior. |
| **0.12.0** | Move TCP/UDP Streams into a dedicated editor with session, traffic and active/pending listener views. |
| **0.11.5** | Add guarded TCP/UDP forwarding, Debian 13 source bootstrap and stricter-but-compatible URL path handling. |
| **0.11.4** | Fix force-HTTPS validation; add visual ACL profiles and hide cache diagnostics when a Vhost disables cache. |
| **0.11.3** | Add per-Vhost upstream client-IP forwarding control and improve Vhost search and stored access logs. |
| **0.11.2** | Correct administration HTTP/2 authority validation and add per-Vhost `308` force-HTTPS redirects. |
| **0.11.1** | Add Nginx Proxy Manager import with dry-run/conflict detection and explicit API-based apply; improve managed update health checks. |
| **0.11.0** | Add reusable ACL profiles, wildcard domains and cumulative access enforcement. |
| **0.10.0** | Introduce optional persistent COLD cache, HOT/COLD metrics, capacity controls and structured-log output presets. |
## 0.9.x–0.7.x — administration and access
| Version | Technical changes |
| --- | --- |
| **0.9.0** | Add structured JSONL/Logstash/Loki access-log sinks, expanded Vhost cards, cache inspection and administration HTTPS. |
| **0.8.1** | Enable the shared RAM cache by default and improve conditional/cached static behavior; Vhost and privacy rules still apply. |
| **0.8.0** | Add static-cache extension defaults, per-Vhost rate limits and GeoIP country policies. |
| **0.7.3** | Add first-admin setup token before service start, safer remote-admin opt-in and managed default HTTP/HTTPS listeners. |
| **0.7.2** | Embed offline Swagger UI assets during the build and remove runtime asset download dependencies. |
| **0.7.1** | Protect sign-in and administration routes more strictly; add authenticated `/docs`, Swagger and visual location header editing. |
| **0.7.0** | Add automated ACME renewal, safe Linux install/update rollback, Basic Auth, graphical ACLs and Custom locations. |
## 0.6.x–0.0.x — initial proxy platform
| Version | Technical changes |
| --- | --- |
| **0.6.0** | Unify Vhost configuration, add HTTP-01 and Cloudflare/OVH DNS-01 ACME, and introduce protected Prometheus export. |
| **0.5.0** | Add cache inspection/purge dashboard and first HTTP/3/frontend controls. |
| **0.4.0** | Add validated forwarding identity, Tinyauth protection, named multi-address listeners and HTTP/3 (QUIC). |
| **0.3.0** | Add certificate inventory/PEM upload, per-Vhost cache overrides, error pages and richer request logs. |
| **0.2.0** | Add Vhosts with multiple backends, load balancing, health checks and path policies. |
| **0.1.0** | Add persistent listeners, shared RAM cache, streaming compression and operational dashboard. |
| **0.0.6** | Improve source-upgrade safety, HTTPS origins, TLS certificates and validated backend DNS. |
| **0.0.2** | Add administrator credentials/sessions/CSRF, audit and SQLite migration support. |
| **0.0.1** | Initial HTTP/1.1 reverse proxy with streaming, SQLite configuration, access log and basic panel. |