Skip to content

v0.8.0

Choose a tag to compare

@github-actions github-actions released this 30 Oct 10:56
· 7 commits to master since this release
ace96a0

What's Changed

Added

  • Local web interface — run mongo-tui web --open to browse databases and collections,
    execute JavaScript, view Table/Tree/JSON results, edit documents, manage indexes and use
    the AI assistant in a browser. The host listens only on 127.0.0.1 (port 8765 by default).
    Web assets are embedded in the existing executable; no separate frontend deployment is needed.
  • Web sign-in — master-password authentication or a single-use launch link for first setup
    and keyring/local-key-file modes, with expiring browser sessions, sign-out and revocation
    when security settings change.
  • Web user management — database and cluster permissions, user editing, password generation
    and one-time credentials, with localized errors, current-user protection and cancellation.
  • Web transfers and history — JSON array/JSON Lines import, canonical JSON Lines export,
    downloading displayed query results, and reopening saved history entries without executing them.
  • Query deadlines — a shared Settings → Queries timeout for TUI and Web: 30 seconds
    by default, 0 to disable. Web queries can also be cancelled from the workspace.
  • Application logs — a Web log viewer and persisted logging-level settings in both clients,
    with live updates and a diagnostic environment override.
  • Co-author credit — --version and Help → About credit Medvedev Denis (medved91)
    below Copyright in English and Russian.

Changed

  • Creating a database now asks for its first collection and creates it on MongoDB immediately.
    Saved connections stay visible in the explorer after disconnecting.
  • Both clients share document-editing and permission models, connection preparation and
    localization keys. Document text, copied data and default JSON exports use Canonical Extended JSON.
  • Framework-dependent builds now require the ASP.NET Core 10 runtime as well as the .NET 10 runtime;
    self-contained release archives include both. Source builds default to version 0.8.0.

Fixed

  • Nested TUI dialogs apply asynchronous results without hanging on saving/loading or requiring
    another keypress, including connection forms and document/user operations.
  • Opening a document reloads it by its original _id through the driver, preserving numeric
    types lost in shell output. Editing is refused when Extended JSON cannot preserve the loaded BSON.
  • Document actions keep the source of the executed query. Web refresh after saving uses the
    successful query snapshot and preserves an unsubmitted editor draft.
  • Web pagination commits the page only after a successful read, keeps the applied filter while
    preserving a draft, and retains the previous results after errors or cancellation.
  • Reaching the Web tab limit displays an error without ending the browser circuit; editor
    selection remains visible in the active line.
  • Security initialization checks persisted state before creating new key material. Failed Web
    password attempts do not lock an encryption key already unlocked by another session.

Known limitations

  • Saving replaces the complete document without detecting writes made after the editor opened;
    a concurrent update can be overwritten. Driver reads also normalize Double(-0.0) to +0.0,
    which is then persisted on save. See BSON editing limits.
  • Cancelling or timing out a write does not undo changes already accepted by MongoDB.
    Web transfers are capped at 32 MiB and exports at 10,000 documents; SOCKS transfers remain unavailable.

New Contributors

Full Changelog: v0.7.0...v0.8.0