DEV Community

Vu xfi for Adminizer

Posted on

Adminizer 4.6

https://github.com/adminization/adminizer
https://www.npmjs.com/package/adminizer/v/4.6.0
https://t.me/talks_adminizer

Five months of work. The release is about observability and automation — knowing what happens to your data, reacting to it, and plugging AI into the routine.


🕓 Change history (audit trail)

The headline feature. Every model now keeps a full log: who, when, what changed, from which value to which.

Under the hood — a pluggable history adapter: you can swap the storage to whatever fits (separate DB, S3, an external audit service).

How to use it

  • Incident investigation
    “Why did order #4821 change status yesterday at 18:40?” — open the record's history, instantly see the user, timestamp, and field diff. No more grepping app logs by timestamp.

  • Manual rollback
    Previous value of every field is right there — restore state without a DB backup and without downtime.

  • Team oversight
    A unified change list across all models, filterable by user — a manager opens it and sees exactly what a specific operator did today.

  • Compliance
    For healthcare, finance, government contracts — covers the baseline requirement that all data edits must be traceable.

  • Integration debugging
    See what an incoming webhook actually changed, instead of “something changed somewhere”.

Included

  • Pagination
  • Sort by date
  • Filter by user
  • Filter by association fields
  • Separate permission for viewing history
  • HistoryDialogStack UI component
  • getModelFieldsHistory export for custom views

History opens right inside the record card — no navigation away.


🔔 Notifications (foundation)

The codebase now ships a base notifications model and the infrastructure around it.

System notifications are off by default (so production doesn’t get spammed), but everything needed for your own alerts is already there.

What you can do today

  • Business events
    “New order from a VIP customer”, “SKU stock dropped below threshold”, “1★ review needs a response” — write a handler, drop a record into the notifications model, the operator sees it in the admin panel.

  • Tech alerts for the team
    “Payment integration token expired”, “nightly cron didn’t run”, “import queue exceeded the limit” — without wiring up an external alerting tool.

  • Workflow reminders
    “Order has been in packing status for over 24h” — a notification automatically lands with the responsible manager.

  • Pair it with history
    Important edit → automatic notification to the owner.

This is the foundation for a full notification system in upcoming releases — for now it’s a clean primitive for your own alerting logic.


🤖 AI agent (base layer)

AbstractAiModelService is now exported — a provider-neutral abstraction for any LLM.

The OpenAI integration was polished, switched to gpt-5-nano (faster and cheaper), and execution debug logs were expanded.

Use cases

  • Your own provider
    Anthropic, a local LLM, a corporate AI gateway — implement the abstract service, register it, everything else works transparently.

  • Field autofill
    From a short product description the agent generates SEO title, meta description, and tags.

  • Summarization
    A long customer message → one-sentence summary in the card + suggested ticket category.

  • Classification & routing
    Incoming lead → segment detection → automatic assignment to a manager.

  • Auditable actions
    Debug logs show exactly what the agent sees and what decision it makes — critical when an agent operates on production data.

gpt-5-nano as the default makes typical agent runs several times cheaper than larger models — this is no longer “AI for the demo”, it’s viable for everyday work.


Everything else, in brief

  • Configurable dashboard widgets (defaultWidgets)
  • Info widget now supports links
  • Password visibility toggle on login
  • Redirect back to the original URL after sign-in
  • Dock improvements
  • versionText
  • GitHub link
  • Main-site link
  • displayName in model config
  • Smart redirect for single-record catalogs
  • Stabilization of Media Manager, Handsontable, JSONEditor
  • adminizer-jwt fixes
  • createdAt / updatedAt typing
  • CI: single npm publish workflow with branch-specific versioning
  • Translation updates

Top comments (0)