What's new
Monghoul 1.4.18
Tree View
- Persistent column width — The key/value column split in Tree View now persists across query re-runs and app restarts. The width is saved per tab and included when saving or syncing favorite queries.
Sidebar
- Customizable snippets — Collection context menu snippets and the default query opened on double-click are now fully configurable. Open the settings modal via Snippets > Customize in the context menu to add, remove, drag-to-reorder, and edit snippets with a Monaco editor. Changes auto-save and code is auto-formatted with Prettier. Star a snippet to make it the default query. Restore Defaults brings back the built-in set with a confirmation prompt.
Editor
- $lookup field resolution — After a
$lookupstage, autocomplete suggests nested field paths from the foreign collection's schema (e.g.customer.name,customer.address.city). Pipeline-form$lookupnarrows suggestions to the sub-pipeline output. Foreign collections are auto-analyzed in the background when detected. - $replaceRoot / $replaceWith awareness — Subsequent stages see the correct fields after a
$replaceRootwith a field reference or object literal, including through$lookup+$unwind+$replaceRootchains. - $facet sub-pipeline tracking — Each
$facetbranch's output fields are tracked and nested under the branch name (e.g.byCategory._id,byCategory.count). - $group._id sub-fields — Object
_idexpressions like{ year: { $year: "$date" }, month: ... }expose_id.yearand_id.monthin subsequent stages. - $unionWith schema merging — Fields from the other collection appear in autocomplete after
$unionWith, with optional pipeline narrowing. - $sortByCount reshaping — Correctly recognized as producing
_idandcountfields instead of passing through the original document shape. - Stage-aware auto schema analysis — Collections referenced in
$lookup.from,$graphLookup.from,$unionWith,$merge.into, and$outare auto-analyzed for schema, including in the visual aggregation builder.
Query
- Explain result preserved in fullscreen — Clicking the fullscreen button in the result viewer no longer resets an explain result back to the previous query output.
Under the Hood
- AST-based autocomplete engine — Replaced hand-written character-by-character parsers with an acorn-loose AST module. Single parse per keystroke instead of multiple redundant scans. More maintainable and easier to extend.
Downloads for v1.4.18
Installers published with this release. The current version is v1.11.0.