v0.43.0
This commit is contained in:
1 parent
9a6c21fa04
commit
5b6d4a7903
41 files changed
+3299
-677
No files matched your search
+26
-1
@@ -5,13 +5,38 @@ Release history focused on **features, settings, default behavior, compatibility
|
||||
## 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.
|
||||
- **Docker Vhosts:** "Diagnostic headers" becomes **Headers**. It contains the diagnostic header switches and, collapsed inside it, **HTTP policies** (previously a separately styled box below). The section summary shows which diagnostic headers are on and how many policy rules exist. Stored assignment fields (`timing_headers`, `backend_header`, `backend_timing_header`, `policy`) are unchanged.
|
||||
- **Docker Vhosts:** **HTTP policies** is an ordinary service section with the same row style as Security, Cache or Proxy timeouts (previously a separately styled box). Its summary shows the number of rules; the Diagnostic headers summary shows which headers are on. Stored assignment fields (`timing_headers`, `backend_header`, `backend_timing_header`, `policy`) are unchanged.
|
||||
- **Custom locations redesign:** the location list is now a routing table — collapsed rows show order, state, ID, match, path/conditions, action and chips for settings that differ from the Vhost (access, headers, cache, balancing, HTTP policies, error fallback). An expanded location is split into **When** (match), **What** (action; only the fields of the selected action are shown) and **Options** tabs (Access, Headers, Cache, Errors, Backends & balancing, HTTP policies) with per-tab state. **Add location** offers starting points (backend path, Web Service, redirect, fixed response, internal `error_page` location, whole-host rule, empty). Existing locations open collapsed; a validation error opens the location and the tab that holds the field. No field, setting or behavior was removed: an unchanged save produces the same JSON as 0.42.4, and the same edit sequence (internal fallback location proxied to a dedicated backend, backend change, cache/method/rewrite changes, reordering, deletion) produced identical configuration and identical proxy responses in 0.42.4 and 0.43.0.
|
||||
- **Vhost editor layout:** the heading, status line and tabs stay at the top, only the fields area scrolls, and the save bar is a fixed footer of the dialog instead of a sticky element inside the scrolled content (expanded Custom Locations could leave the bar floating over the form). Switching tabs starts the new tab at the top. Verified in Chromium and Firefox.
|
||||
- **Web Server panel redesign:** service cards follow the Vhost card layout — usage and backend labels (Static files, PHP-FPM, PHP-FPM: profile), ID and document root, Edit/**Copy**/Delete, and one detail strip per area (FastCGI backend, index/try_files, .htaccess with warning count, delivery, Cache-Control, hardening, used by). The editor opens with a **service type** choice (static files, SPA, PHP application with the existing WordPress/Drupal/Laravel/Symfony/Joomla/PrestaShop/generic presets, downloads, custom) that drives the existing presets, a General settings section, and the FastCGI / PHP tab moved next to Routing. The FastCGI tab chooses between **a shared FastCGI profile** (read-only summary, Edit profile, Manage profiles) and **settings of this service** (the local fields, shown only in that mode). **FastCGI profiles** show handler, usage and endpoint in the collapsed row, group the fields into Profile and connection / Timeouts and capacity / Custom parameters / PHP-FPM options, and can be copied. All controls follow the Appearance corner style, switch and interface-icon settings. Saving an unchanged service or profile, and the same edit sequence in 0.42.4 and 0.43.0, produce identical configuration.
|
||||
- **Translations:** ACL default/rule actions use "Deny / Zablokuj" instead of the X-Frame-Options value "DENY"; translated remaining English labels in Polish (proxy timeouts, active health checks, sticky sessions, document root).
|
||||
- **Vhost / Custom location error fallback:** "Intercepted status codes" is replaced by a status picker (403, 404, 500, 502, 503, 504) labelled "Run the fallback for these upstream statuses", with clearer help that explains `error_page` semantics and scope (main route vs. one location). The target field suggests the IDs of enabled internal locations. Saved `error_fallback` JSON is unchanged; at least one status always stays selected, and statuses are inactive until a target is set.
|
||||
- **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