✨ New
-
A password generator where you actually need one. Creating a database user meant leaving MongoBench, generating a password somewhere else, and pasting it back. The password field in the create/edit user dialog now has a wand next to it: click it and — if the field is still empty — a password is there immediately, along with a panel to shape it. Length is a slider from 8 to 128, 24 by default, and the four character classes (lowercase, uppercase, digits, symbols) toggle independently, with the last enabled class held so you can't generate from an empty alphabet. Regenerate and copy sit next to the result.
Every character comes from
crypto.getRandomValues, drawn with rejection sampling rather than% length— the modulo shortcut quietly biases the low end of the alphabet, which is not a property you want in a credential. The generator also guarantees at least one character from each enabled class and then Fisher-Yates shuffles the whole string, so those guaranteed characters don't land at predictable positions the way "first character is always uppercase" schemes do. -
The index editor knows your field names. Creating an index used to mean typing
field.pathfrom memory and finding out you'd misspelled it only once the index came back describing a field nothing uses. The key-field input now completes against the collection itself: it samples up to 50 documents, walks them up to five path segments deep, and offers the distinct dot-notation paths it finds. Tab or Enter accepts the highlighted suggestion, the arrow keys move through the list, and Escape closes the list without closing the dialog behind it. Typing filters by substring, with prefix matches sorted first.Two details the walk gets right, because indexes do too: array elements share their parent's path rather than inventing
tags.0, and relaxed-EJSON type wrappers —{ $oid },{ $date }and friends — are recognised as values instead of being descended into as though they were subdocuments. Sampling is best-effort; an empty collection or a failed read just means no suggestions, never a blocked dialog.
🔧 Maintenance
- Lockfile caught up with the declared ranges. Around 160 packages moved to their current releases — Electron 42.8.1 → 42.9.0, the MongoDB driver 7.2.0 → 7.5.0,
bson7.2.0 → 7.3.2,@tanstack/react-query5.100.9 → 5.101.4, the Radix UI primitives, Rollup 4.60.3 → 4.62.4, Vitest 4.1.5 → 4.1.10, typescript-eslint 8.59.2 → 8.67.0. Nothing inpackage.jsonchanged: no dependency was added, removed, or re-pinned, and every move stayed inside the ranges it already declared. - Formatting churn from Prettier 3.9. That refresh included Prettier 3.8.3 → 3.9.6, which breaks long union types differently than 3.8 did. Seven files appear in the diff for that reason alone. No behaviour changes hide in there.
📦 Downloads
| Platform | File |
|---|---|
| Windows (x64) | MongoBench-Setup-1.5.0-x64.exe — NSIS installer, per-user, no admin |
| Linux (x64) | MongoBench-1.5.0-x86_64.AppImage — chmod +x and run |
| Arch | paru -S mongobench-git / yay -S mongobench-git, or the PKGBUILD in packaging/arch/ |
Builds are unsigned. On first launch on Windows you'll see SmartScreen — click "More info → Run anyway".
🔄 Updating
Coming from 1.4.0, MongoBench offers this release itself — a toast on start, one click to download, Restart now when it's finished. Otherwise download the installer above and run it over your existing installation; your saved connections and settings are preserved.
Full Changelog: v1.4.0...v1.5.0