Repository navigation
docs: release notes for 0.93 - #10271
nishantmonu51 wants to merge 8 commits into
Conversation
nishantmonu51
left a comment
There was a problem hiding this comment.
Left a few notes on the examples and export behavior.
|
|
||
| - **Measures on rows.** List the measures down the rows, with time or a dimension across the columns, such as several metrics by month. In Explore, drag a measure into **Rows** or switch **Measures on** in the toolbar; on a canvas, set `measures_on: rows`. Links, bookmarks, exports and scheduled reports keep the layout ([Measures on rows](/guide/dashboards/explore/pivot#measures-on-rows)). | ||
| - **Expand rows.** The **Expand** menu in the Explore pivot opens nested rows down to a chosen row dimension in one step, such as **Expand to City**, up to 2,000 rows ([Pivot tables](/guide/dashboards/explore/pivot#using-rills-pivot-view)). | ||
| - **Newest time columns first.** The **Time columns** select, or `time_column_order: desc` on a canvas pivot, puts time columns newest first. Downloads and scheduled reports still list them oldest first ([Time Column Order](/guide/dashboards/explore/pivot#time-column-order)). |
There was a problem hiding this comment.
The Canvas Excel workbook takes its columns from the rendered pivot via CanvasPivotDisplay and flattenPivotData. With time_column_order: desc, its data sheet is newest first too. Could we scope the oldest-first behavior to Explore exports and scheduled reports?
| - **Newest time columns first.** The **Time columns** select, or `time_column_order: desc` on a canvas pivot, puts time columns newest first. Downloads and scheduled reports still list them oldest first ([Time Column Order](/guide/dashboards/explore/pivot#time-column-order)). | |
| - **Newest time columns first.** The **Time columns** select, or `time_column_order: desc` on a canvas pivot, puts time columns newest first. Explore downloads and scheduled reports still list them oldest first. Canvas Excel exports follow the displayed order ([Time Column Order](/guide/dashboards/explore/pivot#time-column-order)). |
|
|
||
| ## 📌 Pinned, Required and Single-Select Filters | ||
|
|
||
| Explore dashboards now have the [pinned, required](/developers/build/dashboards/customization#pinned-and-required-filters) and [default](/developers/build/dashboards/customization#default-filters) filters that canvas dashboards already had, and both dashboard types can limit a dimension to [one value at a time](/developers/build/dashboards/customization#single-select-filters): |
There was a problem hiding this comment.
Can we label this as Explore YAML? The paragraph introduces both dashboard types, so it's easy to paste this into a Canvas file. parse_canvas.go expects defaults.filters to be a map keyed by metrics view name, and rejects the scalar shown here.
| Explore dashboards now have the [pinned, required](/developers/build/dashboards/customization#pinned-and-required-filters) and [default](/developers/build/dashboards/customization#default-filters) filters that canvas dashboards already had, and both dashboard types can limit a dimension to [one value at a time](/developers/build/dashboards/customization#single-select-filters): | |
| Explore dashboards now have the [pinned, required](/developers/build/dashboards/customization#pinned-and-required-filters) and [default](/developers/build/dashboards/customization#default-filters) filters that canvas dashboards already had, and both dashboard types can limit a dimension to [one value at a time](/developers/build/dashboards/customization#single-select-filters). | |
| In an Explore dashboard, use: |
|
|
||
| ## 🤖 AI Alerts, and Creation of Alerts and Reports from the AI Chat | ||
|
|
||
| Alerts can now check a condition written in words. Choose **AI condition** in the alert dialog and describe it, such as "Revenue dropped by more than 10% compared with the previous 7 days". On each check, at most once an hour, the AI analyst investigates with the alert owner's access, and when the condition holds, the alert fires with the analyst's summary and a link to the full analysis. In YAML, use [`data: ai:`](/reference/project-files/alerts#data) with the condition as its `prompt`. |
There was a problem hiding this comment.
Someone setting up their first AI alert in YAML needs more than the prompt. parse_alert.go requires for.user_id and rejects an active alert without refresh.cron. Can we use the nested data.ai.prompt path and point to the full example?
| Alerts can now check a condition written in words. Choose **AI condition** in the alert dialog and describe it, such as "Revenue dropped by more than 10% compared with the previous 7 days". On each check, at most once an hour, the AI analyst investigates with the alert owner's access, and when the condition holds, the alert fires with the analyst's summary and a link to the full analysis. In YAML, use [`data: ai:`](/reference/project-files/alerts#data) with the condition as its `prompt`. | |
| Alerts can now check a condition written in words. Choose **AI condition** in the alert dialog and describe it, such as "Revenue dropped by more than 10% compared with the previous 7 days". On each check, at most once an hour, the AI analyst investigates with the alert owner's access, and when the condition holds, the alert fires with the analyst's summary and a link to the full analysis. To define one in YAML, see the [AI alert example](/reference/project-files/alerts#data), which sets `data.ai.prompt`, `for.user_id` and `refresh.cron`. |
There was a problem hiding this comment.
Fixed. I linked the Examples section instead, since that's where the AI alert example is.
|
|
||
| Alerts can now check a condition written in words. Choose **AI condition** in the alert dialog and describe it, such as "Revenue dropped by more than 10% compared with the previous 7 days". On each check, at most once an hour, the AI analyst investigates with the alert owner's access, and when the condition holds, the alert fires with the analyst's summary and a link to the full analysis. In YAML, use [`data: ai:`](/reference/project-files/alerts#data) with the condition as its `prompt`. | ||
|
|
||
| The AI chat in Rill Cloud can also create, list and delete your alerts and scheduled reports, including CSV, Excel and Parquet exports and AI reports. It sends them to you by default and only to project members, and asks before deleting anything. |
There was a problem hiding this comment.
The chat can also send to Slack channels when Slack is configured, and it previews new alerts and reports before asking for confirmation. confirmBeforeCreating describes both behaviors. Could we make those options visible here?
| The AI chat in Rill Cloud can also create, list and delete your alerts and scheduled reports, including CSV, Excel and Parquet exports and AI reports. It sends them to you by default and only to project members, and asks before deleting anything. | |
| The AI chat in Rill Cloud can also create, list and delete your alerts and scheduled reports, including CSV, Excel and Parquet exports and AI reports. It emails you by default and can send to other project members or to Slack channels when configured. It shows a preview before creating anything and asks for confirmation before creating or deleting. |
There was a problem hiding this comment.
Updated, thanks.
|
|
||
| ## 📤 Exports That Keep Their Formatting | ||
|
|
||
| - **Conditional formatting in Excel.** Excel exports of explore pivots, scheduled reports included, keep the pivot's heatmaps, data bars and rules as Excel conditional formatting ([Exporting from Rill](/guide/reports/exports#exporting-from-rill)). The canvas Excel export (beta, behind the `canvas_excel_export` feature flag) does the same for tables and pivots, and gives each markdown table its own data sheet. |
There was a problem hiding this comment.
The measures-on-rows layout highlighted above drops conditional formatting in Excel. pivotAST.conditionalFormats returns no Excel rules for that layout, and flattenPivotData leaves them out of Canvas workbooks too. Can we call out that exception so users know what to expect from the export?
| - **Conditional formatting in Excel.** Excel exports of explore pivots, scheduled reports included, keep the pivot's heatmaps, data bars and rules as Excel conditional formatting ([Exporting from Rill](/guide/reports/exports#exporting-from-rill)). The canvas Excel export (beta, behind the `canvas_excel_export` feature flag) does the same for tables and pivots, and gives each markdown table its own data sheet. | |
| - **Conditional formatting in Excel.** Excel exports of explore pivots, scheduled reports included, keep heatmaps, data bars and rules as Excel conditional formatting when measures are on columns ([Exporting from Rill](/guide/reports/exports#exporting-from-rill)). The canvas Excel export (beta, behind the `canvas_excel_export` feature flag) also keeps conditional formatting for tables and pivots with measures on columns, and gives each markdown table its own data sheet. |
There was a problem hiding this comment.
Fixed in 6480cf2. I put the exception in one sentence since it applies to both exports.
| ## ⚡ Performance Improvements | ||
|
|
||
| - **Rollups for coarse-grained base tables.** Declare a base table that only holds rows on grain boundaries, such as a Druid datasource ingested by day, with [`base_time_grain`](/developers/build/metrics-view/rollups#base-tables-stored-at-a-coarse-grain), and queries that start or end mid-day, such as an AI agent's "last 30 days", can read a daily rollup instead of the base table, with the same results. | ||
| - **Lighter pivot tables.** With 125 rows expanded, an Explore pivot's memory now grows to 42 MB instead of 90 MB, and scrolling a flat pivot through 91 pages of rows stays under 100 MB, where it used to reach 3.9 GB and crash the tab. |
There was a problem hiding this comment.
Could we frame these as measurements from #10269? They’re JavaScript heap readings after garbage collection in the production benchmark, so the exact footprint will vary with the dashboard and browser.
| - **Lighter pivot tables.** With 125 rows expanded, an Explore pivot's memory now grows to 42 MB instead of 90 MB, and scrolling a flat pivot through 91 pages of rows stays under 100 MB, where it used to reach 3.9 GB and crash the tab. | |
| - **Lighter pivot tables.** In a production benchmark, the Explore pivot used 42 MB of JavaScript heap after expanding 125 rows, down from 90 MB. Scrolling a flat pivot through 91 pages used 85 MB, down from 3.9 GB in the run that crashed the tab. [Benchmark results](https://github.com/rilldata/rill/pull/10269). |
There was a problem hiding this comment.
Makes sense, reworded it as the #10269 benchmark.
| - Fixed alerts and scheduled reports comparing ranges such as "Last 24 hours" to the wrong previous period, which left the change columns of notifications empty or wrong | ||
| - Stopped Rill Developer from running [alerts](/developers/build/alerts), even with `refresh.run_in_dev: true`; like reports, they run only in Rill Cloud | ||
| - Named an alert's comparison, such as the previous month, on its page instead of "previous period" | ||
| - Required embedded alerts to have a notification target |
There was a problem hiding this comment.
Can we spell out that this means an email recipient? alerts.go rejects Slack for embedded alerts and automatically adds the creator’s email when it’s available. That distinction matters to someone setting up an embed without a creator email.
| - Required embedded alerts to have a notification target | |
| - Required embedded alerts to have at least one email recipient. The creator’s email counts when available. |
There was a problem hiding this comment.
Good point, done.
…umbers in the 0.93 notes
pjain1
left a comment
There was a problem hiding this comment.
don't see any release-0.93 branch though
Release notes for 0.93, covering everything on
release-0.93(cut at #10253, plus #10251) that the 0.92 announcement did not include:publicUrlflag, project tags, domain access, personal access tokens), AI alerts and creating alerts and reports from the AI chat, and exports that keep their formattingbase_time_grain) and lighter pivot tables (fix: query observers pin old pivot state through TanStack's unusedresult.promiseError; upgradesvelteto 5.55.10 #10269)rill startlocks the project,lookup_*dimensions fail validation outside ClickHouse, and Markdownmetrics_sqlfollows canvas filterscontrolson widgets, containers and tabs #10138) ship in 0.93 behind thecanvas_controlsflag (off by default) and their docs are published, but the notes leave them out on purpose: we'll announce them in the next releasev0.93.0tagChecklist: