chore(release): 0.43.0 — Semantic Layer UI + Metastore hardening - #313
Merged
Conversation
…dening - pyproject.toml 0.42.0 → 0.43.0 (auto-synced into plugin.json + marketplace.json via `make version-sync`) - Changelog entry summarises the three lines of work merged via #308: * Full Semantic Layer page in `kbagent serve --ui` — 1:1 mirror of `kbagent semantic-layer` CLI surface (model CRUD, 5-entity CRUD, validate/export/diff/promote/import/build/encrypt-token, all routed through `/api/semantic-layer/*`, zero direct Metastore calls from JS). Relationships ERD ships as `flowchart TB` with hub-and-spoke layout, edge-label minimisation, and Math.min auto-fit so 80-edge overviews shrink to fit (~40%) and 15-edge hub drill-downs land at ~63%. * `_raise_api_error` walks exception/message/description/detail/ errors/json.dumps; rejects int `error` field. Surfaces real Metastore 422 text instead of "API error 422: 422". * Heuristic `build` now maps warehouse-native column types to the metastore's closed lowercase vocabulary before push. Closes the long-standing 422 on legacy untyped Storage tables. make lint / format-check / changelog-check / test: all green (3373 passed, 7 skipped).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
pyproject.toml0.42.0 → 0.43.0;plugin.json+marketplace.jsonauto-synced viamake version-sync.What 0.43.0 ships
kbagent serve --ui— full 1:1 mirror of thekbagent semantic-layerCLI surface. Routes all traffic through/api/semantic-layer/*(zero direct Metastore calls from JS), schema-driven add/edit drawers,flowchart TBERD with hub-and-spoke layout, dedicated dialogs for diff / promote / import / build / encrypt-token._raise_api_errorhardening inBaseHttpClient— walksexception → message → description → detail → errors → json.dumps; rejects interrorfield. Surfaces real Metastore 422 text instead of the old"API error 422: 422"UX. Four regression tests pin the new fallback paths._normalize_field_typein the heuristicbuild— warehouse-native column types (VARCHAR,NUMBER,TIMESTAMP_NTZ, ...) are mapped to the metastore's closed lowercase vocab (string/integer/decimal/...) before push. Closes the long-standing HTTP 422 on legacy untyped Storage tables. ParametrizedTestNormalizeFieldType+ end-to-end assertion in the existing heuristic test.Test plan
make lint✓make format-check✓make changelog-check✓ — 51 releases, all have entriesmake test✓ — 3373 passed, 7 skippedv0.43.0+ GitHub release (handled by release workflow)