Skip to content

Quite Admin v0.7.0

Choose a tag to compare

@github-actions github-actions released this 04 Nov 18:48
· 37 commits to master since this release
  • Automatically attach service-storage cleanup to FastAPI and Litestar lifespans;
    expose Admin.lifespan() / Admin.aclose() for other integrations. Dispose only
    storage-owned engines and preserve application-owned engines and lifespan state.

  • Accept SQLAlchemy engine options directly with a storage URL, including bounded
    pools, without requiring application code to create and dispose a separate engine.

  • Redirect the bare FastAPI mount path before a later catch-all route, preserving
    query parameters, parent mounts and reverse-proxy prefixes.

  • Keep activity history for 90 days by default (history_retention_days); support
    another positive period or None for indefinite retention. On admin requests,
    clean one bounded batch per five minutes, including details and unused actors.

  • Add Admin.purge_history(), the optional HistoryRetentionStore capability and
    python -m quite_admin cleanup-history for explicit batched maintenance.

  • Migration / переход: existing history older than 90 days is now deleted when
    the admin is used. Set history_retention_days=None / задайте None to preserve
    all events or use an application-managed retention policy. Custom stores need the
    optional purge capability for automatic cleanup; their required API is unchanged.

  • Add page-local bulk deletion and opt-in RecordAction(bulk=True) using existing
    handlers/hooks. Confirm up to 100 signed, session-bound keys, recheck permissions
    and revisions, then show per-record partial results and record individual history.
    ModelOptions(bulk_delete=False) disables the built-in bulk delete command.

  • Add optional URL/JSON/multiline value displays with escaped output, safe HTTP(S)
    links, clipboard/manual-copy fallback and no-script disclosure. Build short links
    with FieldOptions(url_template=...) without changing stored/exported/history values.
    Keep rich cells synchronized after service-driven inline updates.