v0.27.6 — CSV-import guidance + admin redesign
·
84 commits
to main
since this release
All four crates ship 0.27.6 (rustio-admin, rustio-admin-macros, rustio-admin-cli, rio-theme).
rustio-admin = "0.27.6"Fixed
- CSV import no longer dead-ends on an unrecognised column. A header with columns the model doesn't declare used to return a bare
400 Bad request, even though the importer was already built to skip them. The handler now matches that design: unknown columns are skipped, reported on the result page, and turned into a ready-to-runALTER TABLEmigration plus the matchingstruct/from_row/insert_valuessnippet — with column types inferred from the column names. Removes the now-unusedParseError::UnknownColumnsvariant.
Changed
- Admin pages restyled. The framework-docs index, the markdown doc viewer, the API surface, the account-sessions page, the audit log, and the CSV-import result page were redesigned with the shared card / badge / glyph component language (page heads, colored status/method badges, avatar cells, typeset documentation prose). Token-only; secondary accents read
var(--rio-accent2, var(--rio-accent))so a project that defines an amber secondary picks it up while the framework default falls back to its accent.
Documentation
getting-started.mdrewritten example-first;modeladmin.mdgains a worked example;cli.mdnewdescription corrected.
Internal
examples/reorganised into two admin projects: the canonical multi-crate reference renamedclinic-admin→clinic, the unused axumclinicdemo dropped, and a new single-crateshop(e-commerce admin) added.
Built with this release
- shop
v0.1.0— a standalone e-commerce admin example released on this version: nine related models with inline relations, a navy + amber theme, redesigned admin pages, and seeded demo data. See its release notes.
Full changelog: https://github.com/abdulwahed-sweden/rustio-admin/blob/v0.27.6/CHANGELOG.md