Skip to content

v0.27.6 — CSV-import guidance + admin redesign

Choose a tag to compare

@abdulwahed-sweden abdulwahed-sweden released this 05 Jun 16:32
· 84 commits to main since this release
v0.27.6
3de8e97

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-run ALTER TABLE migration plus the matching struct / from_row / insert_values snippet — with column types inferred from the column names. Removes the now-unused ParseError::UnknownColumns variant.

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.md rewritten example-first; modeladmin.md gains a worked example; cli.md new description corrected.

Internal

  • examples/ reorganised into two admin projects: the canonical multi-crate reference renamed clinic-adminclinic, the unused axum clinic demo dropped, and a new single-crate shop (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