v0.41.1_clean_chamgelog
This commit is contained in:
1 parent
b9a5b3c153
commit
934d748ea2
1 file changed
-32
@@ -7,10 +7,8 @@ Release history focused on **features, settings, default behavior, compatibility
|
||||
- **Logging — rotation fix:** access logs (shared and per-Vhost) and the error log now notice external rotation (logrotate `create`, `mv`, `rm`) about once per second and reopen the configured path. Up to 0.41.0 RustProxy kept writing into the renamed file until a restart, so after `compress` those records were lost and the stored-log reader showed an old rotation (e.g. `.10.gz`) as the newest data. No `postrotate` or `copytruncate` is needed; a sample logrotate policy is in [Logs](docs/LOGS.md#per-site-files-and-rotation).
|
||||
- **Logging — redirect and 404 hosts:** with per-Vhost access logs, requests answered by a redirect host go to `<id>.redirect.jsonl` and requests answered by a local 404 host to `<id>.host404.jsonl` instead of `_unmatched.jsonl`; their records carry `redirect_host` / `local_host` (omitted otherwise, also available as custom format fields). They are not counted as Vhost traffic.
|
||||
- **Stored logs — rebuilt explorer:** sources are grouped per log (Vhosts, Redirect hosts, 404 hosts, Other traffic, shared access log, error log) with a separate **File** picker (current file, `.1`, `.2.gz`, …). Rotations are ordered by number instead of modification time and uncompressed rotations (`.1`) are included; a log is read newest-first so the newest records are always complete, and the status line shows the time range, the files read and how to reach older ones. New **Period** filter (`since_ms`, stops before older rotations), status/protocol-error chips, **← Newer / Older →** paging, an inline search-syntax panel with tap-to-use examples (the old popover opened off-screen on phones), source names instead of file ids, status-coloured cards on phones. API: `/api/file-logs` sources gain `rotation`, `scope` and `site`; queries accept `since_ms` and return `files`, `files_skipped`, `stopped_at_period`, `newest_ms` and `oldest_ms`; `consolidate_vhosts` now merges any log's rotations.
|
||||
- **Panel CSS:** removed the styles of the old search-syntax popover, the *Merge rotations* switch and the old header-rule titles (and the unused `headerRule` text); shared rules keep their other selectors.
|
||||
- **Upgrade note:** if logs are rotated externally, restart the service once after upgrading — a process older than 0.41.1 keeps writing into the rotated file until it restarts.
|
||||
- **Compatibility:** configuration format unchanged. Access-log records gain `redirect_host` / `local_host` only for requests answered by redirect or local 404 hosts. Redirect/404 traffic moves from `_unmatched.jsonl` to its own files when per-Vhost logs are enabled.
|
||||
- **Verification:** new unit tests for rotation detection (rename, delete, recreate, rate limit), per-site log names, rotation ordering independent of modification time, uncompressed `.1` rotations, newest-first reading, the period filter stopping before older rotations and single-file reads; full suite (1053 library tests, 7 CLI tests), `cargo clippy --all-targets` and `cargo fmt --check` clean. The real binary in headless mode wrote a Vhost, a redirect host, a 404 host and an unknown host to their own files, and after the current files were renamed (as logrotate does) new records went to newly created files within a second. The explorer was exercised in Chrome (desktop and a 390 px phone viewport) on eleven rotations whose oldest file had the newest modification time. Not tested: a real logrotate run and production traffic.
|
||||
|
||||
## 0.41.0 — Conditional routing: request conditions and whole-host rules
|
||||
|
||||
@@ -20,16 +18,12 @@ Release history focused on **features, settings, default behavior, compatibility
|
||||
- **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 **Headers → 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).
|
||||
- **Vhost editor — new Headers tab:** *Backend diagnostics* (moved from Backends), *Response identity and diagnostics* and the custom request/response header rules (both moved from Security) now share a **Headers** tab; Security keeps traffic policy, HSTS/security headers and User-Agent blocking. The tab opens with a **live header preview** of the unsaved draft — what RustProxy adds, changes or removes towards the backend and towards the client, with the source of each header (global, vhost, location, diagnostics), example values for `%[variables]` and selectable example backend, location and cache result (a `HIT` shows that no request reaches a backend). Diagnostic switches are cards that show the exact header they produce (the backend header is correctly labelled `X-Rust-Proxy-Backend`), diagnostic presets that already exist are greyed out, and header rules are compact one-line rows with a live example of the rendered value or an inline error for unknown, unterminated or response-only variables. Only the layout changed; configuration keys are the same.
|
||||
- **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)
|
||||
|
||||
@@ -37,8 +31,6 @@ Release history focused on **features, settings, default behavior, compatibility
|
||||
- **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
|
||||
|
||||
@@ -53,8 +45,6 @@ All additions are headless-only and optional; without them headless and panel mo
|
||||
- **`/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
|
||||
|
||||
@@ -80,7 +70,6 @@ All additions are headless-only and optional; without them headless and panel mo
|
||||
- **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)
|
||||
|
||||
@@ -106,11 +95,6 @@ All additions are headless-only and optional; without them headless and panel mo
|
||||
- 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.
|
||||
@@ -122,7 +106,6 @@ All additions are headless-only and optional; without them headless and panel mo
|
||||
- **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)
|
||||
|
||||
@@ -137,7 +120,6 @@ All additions are headless-only and optional; without them headless and panel mo
|
||||
- **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
|
||||
|
||||
@@ -151,7 +133,6 @@ All additions are headless-only and optional; without them headless and panel mo
|
||||
|
||||
- **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
|
||||
|
||||
@@ -216,7 +197,6 @@ Panel-only release: no configuration, API or proxy behavior changes. Measured on
|
||||
- **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
|
||||
|
||||
@@ -224,7 +204,6 @@ Panel-only release: no configuration, API or proxy behavior changes. Measured on
|
||||
- **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
|
||||
|
||||
@@ -293,7 +272,6 @@ Panel-only release: no configuration, API or proxy behavior changes. Measured on
|
||||
- **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
|
||||
@@ -324,7 +302,6 @@ Panel-only release: no configuration, API or proxy behavior changes. Measured on
|
||||
- **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
|
||||
|
||||
@@ -332,7 +309,6 @@ Panel-only release: no configuration, API or proxy behavior changes. Measured on
|
||||
- **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
|
||||
|
||||
@@ -352,7 +328,6 @@ Panel-only release: no configuration, API or proxy behavior changes. Measured on
|
||||
- **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
|
||||
|
||||
@@ -390,8 +365,6 @@ Panel-only release: no configuration, API or proxy behavior changes. Measured on
|
||||
- **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
|
||||
|
||||
@@ -403,7 +376,6 @@ Panel-only release: no configuration, API or proxy behavior changes. Measured on
|
||||
- **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
|
||||
|
||||
@@ -414,7 +386,6 @@ Panel-only release: no configuration, API or proxy behavior changes. Measured on
|
||||
- **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
|
||||
|
||||
@@ -442,7 +413,6 @@ Panel-only release: no configuration, API or proxy behavior changes. Measured on
|
||||
- **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
|
||||
|
||||
@@ -459,7 +429,6 @@ Panel-only release: no configuration, API or proxy behavior changes. Measured on
|
||||
- **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
|
||||
|
||||
@@ -470,7 +439,6 @@ Panel-only release: no configuration, API or proxy behavior changes. Measured on
|
||||
- **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
|
||||
|
||||
|
||||
Reference in new issue
Block a user