This commit is contained in:
Mateusz Gruszczyński committed 2026-11-28 01:18:09 +01:00
1 parent e6176cfce3
commit 9a6c21fa04
4 files changed
+42 -4

No files matched your search

+1
View File
@@ -7,6 +7,7 @@ Release history focused on **features, settings, default behavior, compatibility
- **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.
- **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.
- **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.