Repository navigation
RustCMS v0.17.0. Install: https://irisvn.github.io/RustCMS/ (guide, install scripts).
Built from irisvn/RustCMS-Core v0.17.0.
— 2026-12-03
Added
- The local debug page (ADR 0048, after Laravel for Rust's): with
APP_DEBUG=true,APP_ENV=localand a loopback client, a 500 from
AppError::Internalor a caught panic answers a page (browser navigations)
with the error's type, message, location, the source around it, its causes
and the request (allowlisted headers, query values hidden, matched route),
or the usual JSON with adebugobject; the admin panel shows it after the
message. Both copy the error as Markdown (for an AI assistant). Its own
CSP (style and its one script by hash),no-store. Locations come
from#[track_caller](?,AppError::internal) and, while on, a
backtrace (backtrace0.3.77) that finds the application's frame; a panic
hook keeps the panic's line. Off everywhere else, byte for byte; with
APP_ENV=productionservewarns thatAPP_DEBUGis ignored. AppError::internal_error(err)keeps thesource()chain as causes;
internal errors are logged with their location.- Agent kit: rule 11, internal details stay internal.
Changed
- Breaking:
AppError::Internal(String)→AppError::Internal(InternalError)
(message, type, location, causes;redactcleans the message and the
causes;From<String>/From<&str>). See upgrade.md "From 0.16.0 to 0.17.0".