Database Explorer 0.3.0: Masked secrets, estimated counts and its own translations
Database Explorer 0.3.0 makes the PhoenixKit admin table browser safer to hand to staff: passwords, tokens and secret settings no longer show in rows or the activity feed, large tables open faster, and the pages come in Estonian and Russian.
Secrets are masked
Values in columns whose names look like secrets are replaced with •••••• before they reach the page. The names it looks for include password, secret, token, api_key, private_key, credential and salt, names starting with hashed_ or encrypted_, and names ending in _hash. The same goes for keys with such names inside JSON values. In key/value tables such as settings, a row whose key or name reads like a secret has its value columns masked.
This applies to the table’s row view and to the live activity feed. Row search never looks inside a masked value, so a search cannot confirm a guess at it. A secret kept under a neutral column name is not recognised, so grant the db permission with care.
Large tables and odd names
A table with more than 100,000 rows now shows the Postgres planner’s estimate, labelled “about … rows total (estimate)”, instead of counting every row. Tables whose schema or table name has characters other than letters, digits and underscore are left out of every list, and the tables page says how many were left out.
Live updates and fixes
The activity page no longer adds a trigger to the settings table. A table is watched once its row view has been opened, and turning the module off now removes every trigger it installed. A change to a row whose id contains : is no longer lost, and a write with an id too large for a notification still goes through.
Other fixes:
- Row lookup works for uuid, integer and text primary keys, and
citextcolumns are searched. - A search on a table with no searchable column finds nothing, instead of every row.
- A page number past the end is pulled back to the last page.
- A table dropped while open sends you back with a message.
- Clear and filter changes on the activity page throw away events still waiting to show.
- Fold-out sections stay open when the page updates.
Translations
The module now ships its own translations for English, Estonian and Russian.
Upgrading
Database Explorer 0.3 needs PhoenixKit 2.38 or later and below 3.0, and adds a gettext ~> 1.0 dependency. There are no migrations. On a live site, secret-looking values that used to show are masked from now on, and tables with unusual names drop out of the list.
Full release notes: Database Explorer 0.3.0
0.3.0 · 13 October 2026
Changed
- Requires
phoenix_kit >= 2.38.0 and < 3.0.0(the module toggle logs through core’sPhoenixKit.Activity.log/3). Adds agettext ~> 1.0dependency: the module now ships its own backend withen,etandrucatalogues. - The Activity page no longer installs a trigger on
phoenix_kit_settings; it only refreshes the notification function. A table is watched once its Show page has been opened. - Row totals above 100,000 rows show the planner estimate, labelled approximate,
instead of running
COUNT(*). - Tables whose schema or table name is outside
[a-zA-Z0-9_]are left out of every list and counted on the Index page.
Added
- Secret masking: values in secret-named columns, secret-named JSON keys and
value*columns of secret-keyed key/value rows are replaced by a placeholder before they reach the page, on the Show page and the Activity feed. Row search never reads anything that masking hides. - One total value formatter (
PhoenixKitDb.Cells) for every Postgres type. - Trigger DDL runs under a lock timeout;
disable_system/0removes every trigger it installed;remove_all_triggers/0reports leftovers. - The notification function is replaced only when its body is outdated, under an advisory lock. A row id too large for a notification no longer aborts the write (the event is sent without the id).
Fixed
- A row id containing
:no longer drops its notification. - Index and Activity pages load their data once per render pass.
- Row lookup works for uuid, integer and text primary keys, and for primary keys
with
INCLUDEcolumns; citext columns are searched; a search with no searchable column matches nothing instead of everything. - Searching the table list for
1stays in the URL; out-of-range pages are clamped; a table dropped while open redirects with a flash. - Activity Clear and filter changes discard buffered events; Show highlight timers no longer clear a later refresh’s highlights.
- Fold-out sections no longer close whenever the page re-renders.
- Page markers are bounded for very large tables.
Database Explorer 0.3.0. Install or update: {:phoenix_kit_db, "~> 0.3"}, then mix deps.get && mix phoenix_kit.update. Full history: CHANGELOG.