v0.43.1
This commit is contained in:
1 parent
5b6d4a7903
commit
4d1087e357
160 files changed
+2407
-1933
No files matched your search
+38
-23
@@ -2,6 +2,44 @@
|
||||
|
||||
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.43.1 — Panel redesign: Settings, redirects, 404 hosts, streams, default responses, security
|
||||
|
||||
- **Appearance corner style everywhere:** 37 more bordered elements now follow Settings → Appearance → corners (previously always square): ACL policy cards, builder and preview with their condition/step tags, listener cards and active-listener summary, chip editors (hostnames, Prometheus CIDRs, stream sockets) and their chips, Vhost card charts, detail strips and live metrics, the "www" panel and the enable switch row, load-balancing simulator and HAProxy equivalent, route tester, header cards, previews and empty states, HTTP policy empty state, Docker service rows and agent summary, Settings shortcuts and the chart palette swatches. With the default corner style the panel looks exactly as before.
|
||||
- **Language switch without reload:** TLS policy presets and help, the backend details toggle, the Docker "Live view" tooltip, the traffic chart legend ("Total"), and the Settings / Rules & headers tab labels for screen readers now follow a language change immediately. Polish: corrected missing diacritics in the diagnostic headers help, translated the OVH key fields, the ACME terms-of-service error and "Cold cache".
|
||||
- **Narrow screens:** the Backends "Columns" menu on the Overview stays inside the screen on phones (it extended beyond the right edge at 390 px).
|
||||
- **Redirects redesign:** tabs Details / Frontend / Rules · N. Rules are a rule table (order, state, match, path, status → target, chips for scheme, path and query handling and cache); an expanded rule shows **When** and **Where** with the target type as choice cards and a label that follows the type, plus Copy and Remove. **Add rule** offers five starting points. A URL tester evaluates the unsaved rules exactly like the proxy (verified against live responses for exact/prefix, strip/append/replace, query preserve/drop, percent-encoded and repeated slashes). Cards show state, rule count, listeners, certificate, protocols and the rule table, and can be enabled/disabled directly (disabling asks for confirmation).
|
||||
- **404 hosts redesign:** tabs Details / Frontend / Response. The response type is chosen with cards (placeholder, application status page, Cloudflare style with variant, status only, custom HTML) and shown in a sandboxed preview with **Open in a new tab**. New endpoint `GET /api/pages/preview` renders local pages for the panel session with a `sandbox` CSP (scripts in custom HTML do not run); custom HTML is previewed from the saved host. Cards show state, status, listeners, certificate, protocols, Preview and an enable/disable action.
|
||||
- **Streams redesign:** tabs Details / Listener & upstream / Backends · N / Health / Limits. Backends are table rows with live health and sessions, Copy and Remove; health checks of all backends are in the Health tab. Cards show the state, protocol, backend count and balancing, health summary, limits, per-backend health with colored state and the existing live metrics and chart; streams can be enabled/disabled from the card.
|
||||
- **Fixed:** stream cards showed “Pending restart” for running streams because the status JSON (sorted keys) was compared as text with the configuration; structures are now compared. Hidden switch rows (`.check[hidden]`) stayed visible: the RFC2136-only “Sign SOA discovery query” option on other certificate sources, HSTS sub-options while HSTS is off and the passive health counters while passive health is off now hide as intended (their values were already ignored). The certificate source hint could show the raw key `providerHint_http01` until the language pack loaded.
|
||||
- **Corner style:** location rows and their headers, header rows, policy builders, www domain pairs, Docker label help, agent security notes, HTTP listener rows, sparklines (clipped to the box) and the new editors follow the Appearance corner setting; the audit with all Vhost/Docker/Settings/Certificate tabs and sections expanded finds no bordered or filled element left out.
|
||||
- Saving unchanged redirects, 404 hosts and streams produces the same configuration in 0.42.4 and 0.43.1; scripted edit sequences produce exactly the expected configuration.
|
||||
- **Settings redesign:** search and the Security / Vhosts shortcuts share one toolbar; the tab list is grouped (Panel, Network & input, Traffic & responses, Observability, Administration, TLS & certificates) with the active tab marked like the other editors, and the search also hides empty groups. Sub-tabs inside settings pages and the certificate views (Installed / Renewal / Generate) use the underlined tabs of the Vhost editor. Documentation links are styled as links.
|
||||
- **Docker agents (Settings):** each agent is a row (state, name and ID, endpoint, transport security, connection status, Enabled); expanded, it shows the provisioning code, diagnostics and four sections — Connection, Authentication & TLS, Domains & certificates, Default publishing (listeners, default backend IP, ACL profiles, Docker label publishing) — with Test connection and Remove. Every field and action of 0.42.4 remains; expanded rows stay open across live refreshes, and a validation error opens the row that holds the field. Help texts use the regular help style; the Agent ID field is aligned with the name.
|
||||
- **Listeners (Settings):** an expanded listener is split into Identity & addresses and Protocols (with the HTTP/2 and HTTP/3 settings links). A validation error in a collapsed listener or any closed section now opens it before focusing the field.
|
||||
- Saving every Settings form without changes produces the same configuration in 0.42.4 and 0.43.1; Docker agent and listener edit sequences produce exactly the expected configuration.
|
||||
- **Default responses (Settings and Vhost → Pages):** every slot (direct IP, unknown host, static/maintenance host, unmatched path, each error code) is one compact row with when it is used and its current response; the selected row opens its response-type chips, Cloudflare variant, status and custom HTML. One shared, sandboxed preview shows the selected row (built-in pages are rendered live; custom HTML is shown in its saved version). Custom error pages show how many codes are set. All previous options and the "Switch all to Cloudflare style" switch are unchanged.
|
||||
- **Admin API:** `GET /api/pages/preview` also accepts `slot` (`direct_ip`, `unknown_host`, `response`, `fallback`, `error-<code>`) and optional `vhost` to preview saved custom HTML of global and Vhost default responses; the response stays sandboxed (`Content-Security-Policy: sandbox`) and same-origin framable only.
|
||||
- **Cache settings:** a request flow (Client → Rules → HOT → COLD → Backend) built from the current form values — rules and bypass prefixes, memory and entry limits, cold cache, grace and stale-if-error — with HIT/MISS/BYPASS legend; each step opens its tab. The Resilience tab starts with a freshness timeline (stored → proactive refresh → TTL expired/grace → backend failing). No statistics are shown there.
|
||||
- **Response transformation settings:** a flow (Backend → Decompress → Transform → Cache → Compress → Client) with the enabled operations and size limit, and a before/after example per type (CSS, JSON, HTML, SVG, JS) that shows what the built-in minifiers really produce. Each operation switch describes what it changes.
|
||||
- **Security settings:** summary tiles (administrator and session, API tokens RO/RW, host access policies) that jump to their sections; the account section comes first. The host policy default decision is chosen with two cards, and a simulator tests client IPs against the policy being edited with the same rules as the proxy (deny wins, then allow, otherwise default; IPv4-mapped IPv6 as IPv4; hostname rules are not simulated).
|
||||
- **Corner style, nested blocks:** a block inside a dialog, card, Settings page or floating panel (drafts dock, menus, popovers) uses a smaller radius than its container (subtle 3 px, rounded 6 px, extra 8 px) instead of the full surface radius, and a dialog body is no longer drawn as a second framed block inside the dialog. Draft rows in the drafts dock are flat list rows. Square style is unchanged.
|
||||
- **Settings → Rules & headers:** the tabs and their pages are one card, like HTTP connections (previously the tab bar was a separate card above each page's own card); the section headings sit below the tabs.
|
||||
- **Settings → Response transformation:** each operation is a small tile with its switch, name and a description below it (the description no longer squeezes in next to the switch).
|
||||
- **Editor dialogs (Vhost, Redirect, 404 host, Stream):** the tabs follow the title row directly. The line between them moved: the backend health summary (or "save the vhost to start observing backends") is at the top of the Backend health tab, stream live metrics (sessions, RX/TX, errors) at the top of the Backends tab; the redirect/404 "ID · hostnames" line is dropped because the ID is in the title pill and hostnames are in the Frontend tab.
|
||||
- **Certificates redesign:**
|
||||
- **Installed:** summary tiles (certificates by type, expiring soon, assignments, ACME environment) and a searchable list with filters (all / expiring / unassigned). Each row shows state, ID and type, domains, days left with a bar, and how many places use it.
|
||||
- **Expanded row:** "Where it is used" groups vhosts, redirects, 404 hosts and Docker agents with their hostnames, shows whether the certificate covers each hostname, and opens the item's editor. It also shows details, renewal status and files. All previous actions remain: Assign vhosts, Reload, Edit, Delete (blocked while in use).
|
||||
- **Assign vhosts dialog:** search; filters for vhosts matching the certificate's domains, assigned vhosts or all; coverage per vhost; the certificate each vhost has now; a summary of the changes before applying. A vhost whose hostnames the certificate does not cover can be selected only if it already accepts a certificate mismatch, the same rule the configuration enforces.
|
||||
- **Renewal:** one row per ACME certificate with last check → next check → expiry and all actions (check now, dry run, force, enable/disable automatic renewal).
|
||||
- **Generate / import:** the source is chosen in three steps: mode (ACME / import PEM / existing files), validation (HTTP-01 / DNS-01) and a searchable DNS provider list, so more providers fit without a longer form. The ACME runtime status is a one-line strip in Generate, and a summary tile elsewhere; it is shown on every tab when the runtime is unavailable.
|
||||
- **Traffic redesign:**
|
||||
- **Header and tabs:** scope selector with recently used scopes, refresh, auto and "Collected dimensions…" in one bar; underlined tabs like the rest of the panel.
|
||||
- **Overview:** five tiles (requests, errors with share, response/request bytes, mean latency, dropped samples) and a strip with the collected dimensions and a link to the logging settings. Methods, status classes and cache outcomes are 100 % stacked bars with counts and shares instead of donuts. Top paths and top client IPs come with shares and an "other" row.
|
||||
- **Clients / Requests / Delivery:** the same lists as before (countries, User-Agents, client IPs, paths, routes, methods, statuses, cache, volume) as ranked lists with shares. Clicking a value still copies it.
|
||||
- **Missing data:** when country collection is off or GeoIP is missing, the panel shows one sentence with a settings link instead of an empty chart.
|
||||
- **Admin panel internals:** vhosts, redirects and 404 hosts expose `edit(id)` so other views (Certificates → Where it is used) can open their editors.
|
||||
- **Debian 13 install/update script:** the build user's home (Cargo registry and Rust toolchain) moved from `/var/tmp/rustproxy-build` to `/var/lib/rustproxy-build`. systemd-tmpfiles removes files older than 30 days from `/var/tmp`, which left the Cargo registry incomplete and broke updates from source with errors such as "can't find `example` bin at `src/bin/example.rs`" (alloc-stdlib). Existing installations are moved automatically, and the extracted registry sources are refreshed before each build.
|
||||
|
||||
## 0.43.0 — Unified info tooltips, Docker Headers section, FastCGI I/O buffering
|
||||
|
||||
- **Information icons and bubbles:** every "i" information icon in the panel (Overview widgets, Cache settings, FastCGI profiles) and the Docker label help "?" button now share one look that follows Settings → Appearance (corner style, theme colors, UI scale). The "?" button still opens the label help dialog. Information bubbles open next to their icon, stay inside the visible area (horizontal shift, open upwards near the bottom), close on Escape or a click elsewhere, and only one is open at a time. Long help text inside a bubble is no longer collapsed to two lines in Settings.
|
||||
@@ -14,29 +52,6 @@ Release history focused on **features, settings, default behavior, compatibility
|
||||
- **FastCGI / PHP-FPM:** TCP connections to the responder use `TCP_NODELAY`; request records are buffered (one write for requests without a body), responses are read through a buffer, and already-received `STDOUT` records are merged into larger body chunks without delaying streamed output. Measured on a local PHP-FPM 8.3 pool: about 5 instead of 15 read/write system calls per small PHP request and 13 instead of 27 for a 200 KB page; throughput on the 2-core test machine stayed within measurement noise. Timeouts, limits, error handling and truncation behavior are unchanged; new regression tests cover many small records with interleaved stderr and a 200 KB upload, prompt delivery of flushed output, and a truncated stream.
|
||||
- **Panel stylesheet cleanup:** removed rules for classes that no element uses (`cache-reason`, `runtime-information-grid`, `overview-layout-hidden-item`), 20 declarations that a later rule with the same selector always overrides, an empty rule, and two references to undefined custom properties (replaced by their effective fallback). Removed `app/dashboard-layout-editor.js`, which has not been part of the panel bundle since 0.33.7 and targeted elements that no longer exist. Rendering is unchanged.
|
||||
- Fixed the label of the selected-backend diagnostic header: it is `X-RustProxy-Backend`.
|
||||
- **Appearance corner style everywhere:** 37 more bordered elements now follow Settings → Appearance → corners (previously always square): ACL policy cards, builder and preview with their condition/step tags, listener cards and active-listener summary, chip editors (hostnames, Prometheus CIDRs, stream sockets) and their chips, Vhost card charts, detail strips and live metrics, the "www" panel and the enable switch row, load-balancing simulator and HAProxy equivalent, route tester, header cards, previews and empty states, HTTP policy empty state, Docker service rows and agent summary, Settings shortcuts and the chart palette swatches. With the default corner style the panel looks exactly as before.
|
||||
- **Language switch without reload:** TLS policy presets and help, the backend details toggle, the Docker "Live view" tooltip, the traffic chart legend ("Total"), and the Settings / Rules & headers tab labels for screen readers now follow a language change immediately. Polish: corrected missing diacritics in the diagnostic headers help, translated the OVH key fields, the ACME terms-of-service error and "Cold cache".
|
||||
- **Narrow screens:** the Backends "Columns" menu on the Overview stays inside the screen on phones (it extended beyond the right edge at 390 px).
|
||||
- **Redirects redesign:** tabs Details / Frontend / Rules · N. Rules are a rule table (order, state, match, path, status → target, chips for scheme, path and query handling and cache); an expanded rule shows **When** and **Where** with the target type as choice cards and a label that follows the type, plus Copy and Remove. **Add rule** offers five starting points. A URL tester evaluates the unsaved rules exactly like the proxy (verified against live responses for exact/prefix, strip/append/replace, query preserve/drop, percent-encoded and repeated slashes). Cards show state, rule count, listeners, certificate, protocols and the rule table, and can be enabled/disabled directly (disabling asks for confirmation).
|
||||
- **404 hosts redesign:** tabs Details / Frontend / Response. The response type is chosen with cards (placeholder, application status page, Cloudflare style with variant, status only, custom HTML) and shown in a sandboxed preview with **Open in a new tab**. New endpoint `GET /api/pages/preview` renders local pages for the panel session with a `sandbox` CSP (scripts in custom HTML do not run); custom HTML is previewed from the saved host. Cards show state, status, listeners, certificate, protocols, Preview and an enable/disable action.
|
||||
- **Streams redesign:** tabs Details / Listener & upstream / Backends · N / Health / Limits. Backends are table rows with live health and sessions, Copy and Remove; health checks of all backends are in the Health tab. Cards show the state, protocol, backend count and balancing, health summary, limits, per-backend health with colored state and the existing live metrics and chart; streams can be enabled/disabled from the card.
|
||||
- **Fixed:** stream cards showed “Pending restart” for running streams because the status JSON (sorted keys) was compared as text with the configuration; structures are now compared. Hidden switch rows (`.check[hidden]`) stayed visible: the RFC2136-only “Sign SOA discovery query” option on other certificate sources, HSTS sub-options while HSTS is off and the passive health counters while passive health is off now hide as intended (their values were already ignored). The certificate source hint could show the raw key `providerHint_http01` until the language pack loaded.
|
||||
- **Corner style:** location rows and their headers, header rows, policy builders, www domain pairs, Docker label help, agent security notes, HTTP listener rows, sparklines (clipped to the box) and the new editors follow the Appearance corner setting; the audit with all Vhost/Docker/Settings/Certificate tabs and sections expanded finds no bordered or filled element left out.
|
||||
- Saving unchanged redirects, 404 hosts and streams produces the same configuration in 0.42.4 and 0.43.0; scripted edit sequences produce exactly the expected configuration.
|
||||
- **Settings redesign:** search and the Security / Vhosts shortcuts share one toolbar; the tab list is grouped (Panel, Network & input, Traffic & responses, Observability, Administration, TLS & certificates) with the active tab marked like the other editors, and the search also hides empty groups. Sub-tabs inside settings pages and the certificate views (Installed / Renewal / Generate) use the underlined tabs of the Vhost editor. Documentation links are styled as links.
|
||||
- **Docker agents (Settings):** each agent is a row (state, name and ID, endpoint, transport security, connection status, Enabled); expanded, it shows the provisioning code, diagnostics and four sections — Connection, Authentication & TLS, Domains & certificates, Default publishing (listeners, default backend IP, ACL profiles, Docker label publishing) — with Test connection and Remove. Every field and action of 0.42.4 remains; expanded rows stay open across live refreshes, and a validation error opens the row that holds the field. Help texts use the regular help style; the Agent ID field is aligned with the name.
|
||||
- **Listeners (Settings):** an expanded listener is split into Identity & addresses and Protocols (with the HTTP/2 and HTTP/3 settings links). A validation error in a collapsed listener or any closed section now opens it before focusing the field.
|
||||
- Saving every Settings form without changes produces the same configuration in 0.42.4 and 0.43.0; Docker agent and listener edit sequences produce exactly the expected configuration.
|
||||
- **Default responses (Settings and Vhost → Pages):** every slot (direct IP, unknown host, static/maintenance host, unmatched path, each error code) is one compact row with when it is used and its current response; the selected row opens its response-type chips, Cloudflare variant, status and custom HTML. One shared, sandboxed preview shows the selected row (built-in pages are rendered live; custom HTML is shown in its saved version). Custom error pages show how many codes are set. All previous options and the "Switch all to Cloudflare style" switch are unchanged.
|
||||
- **Admin API:** `GET /api/pages/preview` also accepts `slot` (`direct_ip`, `unknown_host`, `response`, `fallback`, `error-<code>`) and optional `vhost` to preview saved custom HTML of global and Vhost default responses; the response stays sandboxed (`Content-Security-Policy: sandbox`) and same-origin framable only.
|
||||
- **Cache settings:** a request flow (Client → Rules → HOT → COLD → Backend) built from the current form values — rules and bypass prefixes, memory and entry limits, cold cache, grace and stale-if-error — with HIT/MISS/BYPASS legend; each step opens its tab. The Resilience tab starts with a freshness timeline (stored → proactive refresh → TTL expired/grace → backend failing). No statistics are shown there.
|
||||
- **Response transformation settings:** a flow (Backend → Decompress → Transform → Cache → Compress → Client) with the enabled operations and size limit, and a before/after example per type (CSS, JSON, HTML, SVG, JS) that shows what the built-in minifiers really produce. Each operation switch describes what it changes.
|
||||
- **Security settings:** summary tiles (administrator and session, API tokens RO/RW, host access policies) that jump to their sections; the account section comes first. The host policy default decision is chosen with two cards, and a simulator tests client IPs against the policy being edited with the same rules as the proxy (deny wins, then allow, otherwise default; IPv4-mapped IPv6 as IPv4; hostname rules are not simulated).
|
||||
- **Corner style, nested blocks:** a block inside a dialog, card, Settings page or floating panel (drafts dock, menus, popovers) uses a smaller radius than its container (subtle 3 px, rounded 6 px, extra 8 px) instead of the full surface radius, and a dialog body is no longer drawn as a second framed block inside the dialog. Draft rows in the drafts dock are flat list rows. Square style is unchanged.
|
||||
- **Settings → Rules & headers:** the tabs and their pages are one card, like HTTP connections (previously the tab bar was a separate card above each page's own card); the section headings sit below the tabs.
|
||||
- **Settings → Response transformation:** each operation is a small tile with its switch, name and a description below it (the description no longer squeezes in next to the switch).
|
||||
- **Editor dialogs (Vhost, Redirect, 404 host, Stream):** the tabs follow the title row directly. The line between them moved: the backend health summary (or "save the vhost to start observing backends") is at the top of the Backend health tab, stream live metrics (sessions, RX/TX, errors) at the top of the Backends tab; the redirect/404 "ID · hostnames" line is dropped because the ID is in the title pill and hostnames are in the Frontend tab.
|
||||
- **Debian 13 install/update script:** the build user's home (Cargo registry and Rust toolchain) moved from `/var/tmp/rustproxy-build` to `/var/lib/rustproxy-build`. systemd-tmpfiles removes files older than 30 days from `/var/tmp`, which left the Cargo registry incomplete and broke updates from source with errors such as "can't find `example` bin at `src/bin/example.rs`" (alloc-stdlib). Existing installations are moved automatically, and the extracted registry sources are refreshed before each build.
|
||||
|
||||
## 0.42.4 — Vhost/global error pages for generated Web Server and Basic Auth failures
|
||||
|
||||
|
||||
Reference in new issue
Block a user