Skip to content

Commit 3b6bda3

Browse files
akoclaude
andcommitted
docs(changelog): note show context type-casing fix
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 3e41c9c commit 3b6bda3

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
2121

2222
### Fixed
2323

24+
- **`show context` now resolves its relationship sections** — the sections filtered the refs table on `TargetType`/`SourceType` using lowercase literals (`'entity'`, `'microflow'`, `'page'`) while those values are stored uppercase, so in case-sensitive SQLite "Entities Used", "Microflows Using This Entity", "Pages Displaying This Entity", "Related Entities" and the workflow context sections silently rendered empty. Now matched correctly. (`show callers|callees|references|impact` were unaffected and already pick up the expanded refs automatically.)
2425
- **`catalog.refs` captures far more references** — the cross-reference index that powers `show callers|callees|references|impact` was missing whole categories (#663). Now added: nanoflow calls, consumed-REST-operation calls, and association-based retrieves from microflow actions; **nanoflows as reference sources** (previously only microflows were walked); **association references** (each association now links to both its FROM and TO entity — was an explicit `// Skipping for now` TODO); and **page→layout references** (the emission was dead code gated behind an always-nil `LayoutCall`). On `MxGraphStudioDemo` this took `associate` 0→104, `layout` 0→22, `retrieve` 1→5, `call` 13→20. Re-run `refresh catalog full` to pick them up. (Widget-level datasource/action refs remain a follow-up — they need a parsed page widget tree that no reader yet exposes.)
2526
- **`catalog.activities` labels REST and other actions correctly instead of a generic `MicroflowAction`** — the `ActionType` column came from a hand-maintained type switch that only knew ~17 action types; every other parser-modelled action (REST call, REST operation call, web-service call, nanoflow call, JavaScript-action call, execute-database-query, transform-JSON, XML import/export, show-home-page, delete-object) silently collapsed into `ActionType = 'MicroflowAction'`, so e.g. `select … from CATALOG.activities where ActionType = 'RestCallAction'` returned nothing. The label is now derived from the concrete action type, so it stays correct for every action the parser models (including ones added later), and an action the parser doesn't model yet surfaces its real Mendix storage name rather than a generic bucket. On `MxGraphStudioDemo` the generic bucket dropped from 33 rows to 0, exposing RestCallAction/RestOperationCallAction/JavaScriptActionCallAction/NanoflowCallAction/DeleteObjectAction that were previously hidden. Re-run `refresh catalog full` to pick up the corrected labels.
2627
- **`SHOW CATALOG TABLES` lists every catalog view** — the table list was hand-maintained and had drifted: the newly-cataloged document-type views (image collections, JavaScript actions, data transformers, agents, AI models, knowledge bases, consumed MCP services) and the pre-existing `navigation_profiles` view were all built and queryable but never shown. They are now listed, and a drift-guard test (`TestTables_CoversAllViews`) asserts every catalog VIEW appears in the list, so a future document type can't be silently omitted again.

0 commit comments

Comments
 (0)