Repository navigation
RustCMS v0.11.0
RustCMS v0.11.0. Install: https://irisvn.github.io/RustCMS/ (guide, install scripts).
Built from irisvn/RustCMS-Core v0.11.0.
— 2026-10-28
Changed
- The guide moved from mdBook to VitePress (search, dark mode, phone layout).
Page paths (x.html) and heading anchors are kept.rustcms docsopens the
online guide of its version (https://irisvn.github.io/RustCMS/v/X.Y.Z/);
release builds no longer embed it (RUSTCMS_DOCS_DIR,RUSTCMS_RELEASE
are gone). The guide ofmainis published to/dev/. - Release and the new Docs workflow read
DIST_TOKENfrom thepages
environment and writegh-pagesone at a time (scripts/pages-publish.sh). - A panic in a handler, a guard or app middleware answers the standard 500
(internal_error), logged with a fixed message in the request's span, the
payload never sent nor logged there (tower-httpcatch-panic); the
connection was dropped before. - The auth cleanup (sessions, JWT sign-ins, reset and invitation links,
audit retention) and the idempotency cleanup are framework schedules
(rustcms.auth-prune,rustcms.idempotency-prune, hourly, timeout 30 min)
instead oftokio::spawnloops inboot: run only byservewith the
scheduler, slots claimed once (no Redis lease), listed on System → Schedules
with a summary; each part of the auth cleanup runs even when another fails
(prune_failed).Schedule::framework()(hidden) lets the framework use the
reservedrustcms.prefix. Media and exports/imports cleanups unchanged. - Static options of
SelectInputandCheckboxListbound client writes to
resources (API create and update, relation creates, CSV imports): a select
takes one option (not_option), a checkbox list a JSON list of options,
each once (invalid,not_option,given_twice). Select values compare
in canonical wire form, column-aware ("0012"/"12"oni64, decimals at
the column's scale, instants in UTC, UUIDs lowercase), and the schema shows
the options canonical. Hooks, action handlers, pivot columns and
belongs_tokeep their own rules; omitted fields keep stored values. Boot
refuses an option that is not a value of its column or would be stored or
read back as another (scale, decimal precision,f32, sub-microsecond
timestamps), options on encrypted inputs, aCheckboxListon a non-JSON
column, and a field in inputs with different options (or one without). A
matched select value is stored as its option ("10.505"→"10.50"). Before, any value of the column's type
was stored. - A background export over its limits fails with its own reason,
too_many_to_export(more than 10,000 rows) ortoo_many_matches(more
than 10,000 candidates checked by a per-record policy), mapped from the form
issue codes ofexport_keys; it wasrevoked. Other refusals stay
revoked.ExportView.errordocuments the codes; the panel translates them. - The browser's socket send limit follows
[realtime] max_message_bytes: the
panel page carriesrealtime.maxMessageBytes(the value as applied, 1 B to
1 MiB; static and runtime branding renders), the SPA'sApiClientkeeps it
andopenSocketuses it unless the caller passesmaxMessageBytes(64 KiB
without either).Realtime::max_message_bytes()(read-only). A tab keeps the
limit it loaded.
Fixed
GET {admin}/api/exportsanswered 500 on MySQL once an export held
thousands of keys: the list sorted rows carrying thekeysJSON and MySQL
ran out of sort memory. It now reads only the columns it shows.- Export and import pruning only touches its own disk: it deleted the
metadata of expired exports and imports stored on another disk while their
files stayed. A pass now deletes this disk's files, then their records; an
export with a run's object on another disk keeps its row until that disk's
pass has deleted it. Marking abandoned exports and importsunfinished
is per disk too.