Skip to content

RustCMS v0.17.0

Latest

Choose a tag to compare

@irisvn irisvn released this 03 Dec 10:56

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=local and a loopback client, a 500 from
    AppError::Internal or 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 a debug object; 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 (backtrace 0.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=production serve warns that APP_DEBUG is ignored.
  • AppError::internal_error(err) keeps the source() 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; redact cleans the message and the
    causes; From<String>/From<&str>). See upgrade.md "From 0.16.0 to 0.17.0".