Repository navigation
Release v0.25.0
Changes since v0.24.3.
This release adds AI-built dashboards and charts, and new tiles and viewer options for dashboards. Select catalog tables, ask a question, and Flowfile builds a dashboard page with KPIs, charts, filters and a summary based on the query results. Dashboards also get table, filter and image tiles, tabs, notes, undo, and a viewer menu to see rows, download data and refresh automatically.
Catalog notebooks can now use Flowfile's Python API: import flowfile as ff reads your catalog tables and runs catalog SQL from a notebook cell, with your own permissions.
Build a dashboard with AI (#920, #922)
- Build with AI. In the Catalog's Visuals tab, click Build with AI beside New dashboard (or in the dashboard editor's toolbar). Pick up to six catalog tables or saved queries, ask a question, and press Build page. Flowfile plans a title, up to four KPIs, up to eight charts and, when your question asks for it ("…that I can filter per month"), up to three filters. It builds the charts, runs their queries, and writes a summary and one finding per chart from the results. Charts that turn out not to answer the question are left off, with the reason listed.
- Text based on query results. The page's text comes from real query results: the highest and lowest groups, the KPI values, and for two number columns their correlation. A relation the data doesn't support is reported as such ("no linear relation (r = 0.04)") instead of being left out. Only aggregated results are read.
- One undo step. On an empty dashboard the page lands on the dashboard itself, otherwise on a new tab. Undo takes the whole page back, charts included.
- AI in the chart builder. Every chart on a catalog table now has a prompt bar above the editor. Describe a chart ("revenue per month, split by region") and press Generate, or describe a change to the chart on screen. The result is one undo step, and nothing is saved until you save (an existing chart autosaves as usual). Charts on a free SQL query don't get the bar.
- Data sent to the model. A new Send data values switch under Settings → AI → Assistant controls whether statistics and example values go to the model. With it off, the model gets only table and column names and types, and the dashboard text describes the charts without claiming what they show. Admins can turn it off for everyone with
FLOWFILE_AI_SEND_DATA=0. - A model per task. The "cheaper model for simple tasks" setting is replaced by a model choice for each task: Charts, Dashboards, Schedules and Settings suggestions. Each defaults to your main model. If you used the old split, your choice carries over.
Flowfile's Python API in Catalog notebooks (#890)
A notebook opened from the Catalog page can now use import flowfile as ff to work with your catalog. Before, the ff catalog functions failed there with "no such table: catalog_namespaces". This will open new possibilities in using the notebooks and smoother transition from creating visual graphs to notebooks.
import flowfile as ff
orders = ff.get_catalog("General").get_schema("sales").read_table("orders")
totals = ff.read_catalog_sql("SELECT region, sum(amount) AS total FROM orders GROUP BY region")
totals.collect()- What works: listing catalogs and schemas, reading tables (virtual tables, SCD2 views and change reads included) and catalog SQL. A SQL query only loads the tables it names.
- Your own permissions: a cell sees the tables you can see in the Catalog, nothing more. The kernel has no catalog database of its own: Flowfile answers its lookups.
- Needs a notebook kernel, the kernel image that ships Flowfile. Plain Python cells keep working on any kernel.
- Not yet supported: cloud-backed tables. Use a flow with a Catalog Reader for those.
Dashboards (#917)
New tiles
- Table: a paged table on a catalog table or a chart's source, with column picking, labels, number formats, a default sort and 10–250 rows per page. Viewers sort by clicking a header.
- Filter: place a filter's control anywhere on the canvas instead of in the filter strip. Drag a chip onto the canvas, or use Place on canvas.
- Image: a logo or a screenshot (PNG, JPEG, WebP, GIF or SVG), dropped on the canvas or picked from a file. Large photos are scaled down to fit.
- KPIs can now read a catalog table directly, and can show a trend sparkline over a date column, per day, week, month, quarter or year.
Editing
- Tabs split a dashboard into pages. Filters still reach tiles on every tab.
- Undo and redo in the editor (Cmd/Ctrl+Z, Shift+Cmd/Ctrl+Z).
- Notes: add a Markdown note to a chart, KPI, table or filter tile. Readers open it from the ⓘ beside the title.
- Format chart: number and date formats and axis titles for one tile, without changing the saved chart, so one chart can read differently on two dashboards.
- Consistent colours: a value keeps the same colour on every chart of a dashboard, also after filtering. Charts everywhere use a new Flowfile palette that works in light and dark mode.
- Tile menus gain Rename, Show/Hide title, Duplicate and Move to . A new dashboard is created on your first edit, so there's no Create dashboard step anymore.
Filters
- Turn off Allow several values to make a filter single-select.
- Long value lists show the first 100 values. Type to search all of them.
- Date filters gain relative presets that follow the calendar: Today, Last 7/30/90 days, This month, Year to date and more.
- A filter can now read from a saved SQL chart, for data that isn't one table.
Viewing
- A ⋯ menu on each tile: Expand, See rows (the rows behind a chart or KPI), Download CSV (up to 50,000 rows) and, for charts, Download image.
- Auto-refresh: the author sets a default (every minute up to once a day). A viewer can pick another interval or pause it for their own session. A hidden browser tab skips refreshes and catches up when you come back.
- Present opens the dashboard full screen.
- The URL keeps the active tab and the filters you changed, so a link opens what you see.
- On a phone, the tiles stack in one column.
Charts that belong to a dashboard (#922). A chart you make from inside a dashboard (with New visualization or Build with AI) now belongs to that dashboard. It stays out of the Charts list unless you turn on Include charts on dashboards, and it's deleted with its dashboard. Keep as a chart makes it a chart of its own. Charts you made in the library work as before.
Flowfile Hub (#908)
- Sign in with your browser. Connecting to a hub now signs you in on the hub's own page, so no password is entered or kept in Flowfile. Use a username and password instead is still there. Browser sign-in isn't offered on multi-user servers, or when the hub doesn't support it.
- Publish as a new flow. For a flow that's already on the hub, Publish as a new flow instead publishes a copy at version 1. The original keeps its versions, schedules and run history, and your tab moves to the new flow. The publish dialog now says Schema where it said Namespace.
- Sessions follow you across tabs. When your sign-in ends, every open tab goes to the sign-in page, which tells you why and brings you back to where you were. Signing out in one tab signs out the others. A server that doesn't answer a renewal no longer logs you out.
- Cloud connections shared from the hub can't be browsed, because their keys never reach your server. Flowfile now says so and lets you type the path, instead of failing.
Fixes
- Connections follow the node's real inputs and outputs (#879). The canvas, the API and the AI now use the same input and output rules for every node. A wire to a port that doesn't exist, or onto an input that already has one, is refused instead of quietly replacing the old wire. Turning off a Filter's split or removing a Random Split group removes its wires in the same undo step. A Run Flow node without named outputs shows its Run summary output.
- Custom nodes no longer lose their output when their schema is calculated just as a run finishes (#879).
- Charts on a new table no longer show cached data from a deleted table that had the same id (#917).
- Previewing a vacuumed Delta version on S3, ADLS or GCS now says the file is missing, as it already did on local disk (#908).
- Worker logs from
flowfile run uion a non-default port now reach the log viewer (#908).
Security
- Kernel containers listen on 127.0.0.1 only, so other machines on your network can no longer reach them (#908).
POST /shutdownneeds the internal token (X-Internal-Token). The desktop app is unaffected (#908).- Disabled or deleted users: their schedules are switched off, with the reason shown, and their published APIs and kernel calls are refused. Deleting a user also removes their APIs, API keys, schedules and notification rules. Their past runs are kept (#908).
Upgrading
- Database migration 043 runs on startup. A SQLite catalog is backed up first.
- Projects: upgrade every machine before you save. A project folder saved from 0.25.0 stores each chart and dashboard in its own file (project format 3). Flowfile 0.24.2 and 0.24.3 refuse such a folder with "written by a newer Flowfile". 0.24.0 and 0.24.1 open it but see no charts or dashboards. Older folders still open in 0.25.0 and are converted on their next save.
- Existing charts may look a little different. The chart editor moves to Graphic Walker 0.6, and charts saved with an older version are now drawn with its default renderer and the new palette. Saved charts aren't rewritten.
- API: connecting onto an occupied input returns 422. Before,
POST /editor/connect_node/silently replaced the existing wire. Remove the old connection first. - Scripts that stop core with
curl -X POST /shutdownneed to sendX-Internal-Token, or stop the process with a signal. - Kernel images move to 0.6.5. They're pulled the next time a kernel starts.
- If you run a remote worker, upgrade it along with core.
Contributors
- @Edwardvaneechoud: dashboards (#917), the AI chart and dashboard builders (#920, #922) and the hub integration (#908).
- @LynxLeuck: Flowfile's Python API in Catalog notebooks (#890) and the shared node ports (#879), each with thorough regression tests. Thanks again!
What's Changed
- Dashboards: table, filter and image tiles, tabs, notes, undo and a viewer menu by @Edwardvaneechoud in #917
- Centralize node connection ports and align canvas, API, and AI validation by @LynxLeuck in #879
- Improve hub integration by @Edwardvaneechoud in #908
- AI chart builder by @Edwardvaneechoud in #920
- AI dashboard builder by @Edwardvaneechoud in #922
- Fix catalog reads in Catalog notebook cells by @LynxLeuck in #890
Full Changelog: v0.24.3...v0.25.0
