Skip to content

v0.16.0

Choose a tag to compare

@cliftonc cliftonc released this 02 Dec 21:03
· 16 commits to main since this release
Immutable release. Only release title and notes can be modified.
v0.16.0
acfb976

⚠️ Behaviour changes

Query validation is stricter (#1582). Some requests now return a validation error where the server used to drop the filter silently, compare values that don't fit, or fail with an internal error:

  • An empty in list or a between with one bound is now refused. Supply the operands, or use equals: [] to match no rows.
  • A date operator on a dimension that is not a time dimension, a member named with more than two parts, and runningTotal / rollingWindow measures are refused.
  • Multi-fact queries refuse filters and cross-cube or groups that the merge would drop.
  • Validation errors now carry structured reasons with fixed codes: QueryValidationResult on the server and CubeQueryError on the client.

Server

  • Refuse filters the query plan cannot apply, and fix filter comparisons: string operators apply every operand, contains/startsWith/endsWith match % and _ literally, numeric strings compare as numbers on SQLite/MySQL, and the Unix epoch works in date filters (#1582)
  • Filter measured rows through their own route to a filter-only cube (#1566, merged via #1582)
  • Fix grouped counts, PostgreSQL calculated ratios and to-one filter joins (#1560)
  • Keep individual rows in AI-generated record lists (#1561)
  • Agent: let a host chart pivot a column it shows, and infer each field once (#1571)

Client

  • ChartTypeConfig.oneQueryOnly (#1581)
  • ChartTypeConfig.addedFieldsDropZone: a custom chart can put newly added query fields into a drop zone (#1570)
  • ChartTypeConfig.pairedDropZones: removing a field also removes its paired field (#1592)
  • isAvailable receives the current chart, so a chart can refuse a switch (#1574)
  • ChartProps.title gives the portlet title to the chart (#1569)
  • Chart availability updates when a custom chart registers after the builder renders (#1565)
  • Custom charts stay mounted when another custom chart changes (#1580)
  • A chart's own export stays available in a card that hides its header (#1564)
  • Row columns are sized by their span on the grid (#1559)
  • Unfinished filters are left out of queries, previews and saved portlets

Dependencies

  • mysql2 3.26, TypeScript 7 in the consumer smoke tests, and routine updates.
    Note: mysql2 3.26 no longer fetches MySQL 8's RSA key over non-TLS connections. If you connect to MySQL with caching_sha2_password and no TLS, set allowPublicKeyRetrieval: true or use TLS.