Repository navigation
v0.17.0
Changelog
⚠ BREAKING CHANGES
- sdk: QueryError, PermissionError and TransportError are
gone. Branch on err.code and err.scope instead of err.name:
PermissionError is code forbidden or unauthenticated, TransportError
is scope server, QueryError is query_invalid or query_failed.
ValidationError stays for declarations, with code
declaration_invalid. A plugin refuses a malformed call with
invalidRequest() rather than ValidationError. - cli: include repo info in anfra status
Features
- add --schema flag and revamp check to subcommands (afa0b65)
- appserve: draw the sidebar and header as anfra Cloud does (101dd83)
- appserve: install the view-underlying-data plugin (42e2ed9)
- appserve: search apps and commands in a command dialog (9594c18)
- appserve: set up tailwind and shadcn-vue (45ecf15)
- appserve: show the anfra logomark, as anfra Cloud does (d90e593)
- cli: built-in jq (108dfb8)
- cli: formalize CLI error codes (a4dfe8f)
- cli: include repo info in anfra status (56b147d)
- cli: pretty and structured output for anfra update (bc84320)
- cli: publish --list to leave room for publish --check later on (e7aa866)
- cli: structured output for agent setup (69c480e)
- cli: structured output for auth (8ffd3dc)
- cli: structured output for init (87509d6)
- cli: structured output for publish (98cc6d1)
- cli: support json output format for commands (9cc0695)
- design: add a small tab list, with a 2px track (bd6dee4)
- design: add the class layer and lucide icons for core (61ed549)
- design: add the kbd group, and the shortcut and casing rules (ebfd813)
- design: draw an app as Cloud does, and add the open folder (5bb4774)
- design: edge inputs as buttons, and menus with a ring shadow (6907169)
- design: give controls under 32px the md corner (ecc8581)
- more version mismatch warnings (74d39a8)
- revamp log msg to event for anfra-node (e6b7212)
- sdk.common: log an error the bridge hides where it was raised (c5dad57)
- sdk: add the view-underlying-data plugin, a point's rows in a modal (4e2a246)
- sdk: carry a failed request's id on the SDK's errors (59f250c)
- sdk: draw plugin tabs with anfra's class layer and lucide icons (ac4129c)
- sdk: drop the measure column from underlying data, and title it by the point's value (4843668)
- sdk: give a Data App's errors the API's shape (3988fd6)
- sdk: name a point's measure in query.menu, and give plugins a query's request (a634edb)
- sdk: show the point's value in the underlying data's title (b4ac707)
- shared: make httpkit.Serve drain configurable (7dd7206)
- shared: when otel exporter is disabled, still generate local traces (53fa5aa)
- skills: minor updates (2b096ca)
- skills: name a relationship in with_relationships (64c884f)
- skills: name the point's measure in query.menu (4100913)
- skills: read a filter's value, guard late libraries, find server errors (0cc1220)
- skills: say what requestId and a throwing subscribe() listener do (03af9b2)
- skills: teach a Data App's errors by code and scope (92a98b9)
- turn log
msgintoevent, leavingmsgfor readable messages (4585e02)
Bug Fixes
- appserve: colour the logomark from a design token (f1a0f94)
- appserve: let an open menu take escape, and leave the panel open (a40e13d)
- design: give a tab list in a well the pressed layer for its track (53198c6)
- design: give a wrapping field its input's read-only and disabled looks (eb3376f)
- design: give dark mode its own fills, lighter than their ground (a8d4341)
- design: keep a tab's corner concentric with its list's (c56e68a)
- design: make a badge holding one icon square (2e5198a)
- design: make every nested corner concentric, and even the tab track (3311bb2)
- design: pick Cloud's icons for pick, inspect and a table (880e500)
- design: size a button and a tab by their border box, and disable a tab by aria too (c6cd07e)
- engine.query: run queries in UTC or GMT (88d29a1)
- sdk.api: fail a stream line that is not an event as a transport error (e2cc170)
- sdk.app: keep a throwing subscribe() listener out of the queries (846c382)
- sdk.app: log a query's error the app is not shown (ed0d8af)
- sdk.common: recognise the SDK's errors by one check, a subclass's and another copy's too (161f0cc)
- sdk: give the tabs' tooltip their colours (3ce6be5)
- sdk: hide load more once every row is in, and say so (7b1d398)
- sdk: keep a host's failure to save a rendering as it is (b1cb3bf)
- sdk: keep a query's own declarations in its underlying data (c63d156)
- sdk: keep a query's own filters in its underlying data (0a75c3c)
- sdk: name the kernel's request call queryRequest (af92d88)
- sdk: offer to try again when underlying data fails to load (ea3c57f)
- sdk: send a point's condition on a query-declared field as AQL (ba1a013)
- sdk: sort underlying rows by every dimension, so pages don't repeat (8538dfa)
- sdk: warn of every dimension a point has no condition on (b844cad)
- sdk: wrap a long cross-link, and keep a section's count on one line (34e7d23)
- skills: clarify wording in the feedback corrections (9caa1c8)
- skills: find anfra serve's log with anfra status (6f5b4ca)
- skills: fix knowledge and examples for filters on aliases (c34cfcf)
- skills: say an inactive relationship is off, not optional (ef4e55f)
Build
- deps: keep one lightningcss, the version vite already brings (ea8a68e)
Security
- bump fast-uri to 3.1.9, drop its stale override (W45) (80c41f3)
- bump Go to 1.27.3 for the eMudhra CA compromise (DSO-1415) (7538f45)
Pull requests
- fix(engine.query): run queries in UTC or GMT by @nkhdo in #106
- feat(appserve): show the anfra logomark, as anfra Cloud does by @hungdofyi in #93
- Cli/repo info by @datbth in #109
- feat(design): add the class layer and lucide icons for the SDK's plugin panel by @hungdofyi in #94
- feat(appserve): draw the sidebar, header and panel with shadcn-vue and lucide by @hungdofyi in #95
- feat(sdk): draw plugin tabs with anfra's class layer and lucide icons by @hungdofyi in #96
- feat(appserve): search apps and commands in a shadcn-vue command dialog by @hungdofyi in #97
- security: bump fast-uri to 3.1.9, drop its stale override (W45) by @uyennm in #111
- feat(sdk)!: give a Data App's errors the API's shape by @nkhdo in #107
- feat(sdk): view underlying data for a chart point by @nkhdo in #112
- fix(skills): corrections from an agent's end-to-end build by @nkhdo in #108
- ci: run CI in the merge queue by @datbth in #116
- Skills/fix filter on measures by @datbth in #117
- security: bump Go to 1.27.3 (eMudhra CA, DSO-1415) by @trietphm in #113
- Cli/json by @datbth in #118
- Logs/revamp msg by @datbth in #119
New Contributors
Full Changelog: v0.16.0...v0.17.0