Skip to content

Release v0.24.2

Choose a tag to compare

@Edwardvaneechoud Edwardvaneechoud released this 16 Nov 07:29
· 37 commits to main since this release
47c1d1a

Changes since v0.24.1.

Flowfile now supports Snowflake ❄️ This release also brings a search across everything in Flowfile, version restore for catalog tables, much faster and safer project saves, and a set of smaller fixes.

Highlights

New

  • ❄️ Snowflake support (#907). Snowflake is now a database type on the Database connections page, and works in the Database Reader and Writer like Postgres or SQL Server. You can sign in three ways. Browser sign-in uses Snowflake's own login page, so Flowfile never sees your password; it works in the desktop app and local installs. An access token or a key pair (.p8) also works on servers and in Docker. Paste your account identifier or a Snowsight link and click Connect, and Flowfile lists the warehouses and databases you can use. The Database Reader and Writer get a Database field, so one connection reaches every database; leave it empty to use the connection's default. The desktop app and the Docker images include the driver; with pip, run pip install "flowfile[snowflake]". From Python, create the connection with ff.create_database_connection(database_type="snowflake", ...) and pass database_name= to read_database or write_database. The connections guide covers each sign-in method.
  • Global search (#909). Press Shift+Cmd/Ctrl+F, or click the search button in the sidebar, to search tables, columns, flows, schedules, notebooks, visualizations, dashboards, artifacts, kernels and custom nodes in one place. Chips filter by kind, Cmd/Ctrl+Enter opens a flow in the designer (or the table a column belongs to), and See all opens the full results page. On a multi-user server you only see what you have access to.
  • Restore a table version (#892). In a catalog table's History, click restore next to a version, or Restore this version while previewing it. Flowfile adds a new version with the data and schema you picked, and the later versions stay in the history, so a restore can itself be undone. You need manage access to the table. A restore counts as a write: table-trigger schedules fire, and Catalog Readers get the restored data on their next run. A version a vacuum removed can't be restored, and neither can one from before change tracking was turned on.
  • Choose where a schedule runs (#877). Schedules have a new Runs on setting: the flow's own setting, the default worker, or a backend you configured. A node's own Compute backend still decides for that node. When the scheduler turns a schedule off, the schedule now shows why.
  • Feedback & community menu (#911). A new sidebar menu links to Report an issue, Request a node, Ask a question, Browse open issues and Flowfile on GitHub. A bug report opened from there, from the About dialog or from the desktop Help menu comes with your Flowfile version and OS already filled in.

Improvements

  • Project save and restore (#906). Flowfile now writes the project folder only when you click Save version, instead of on every flow, secret or connection save, so a large project saves in seconds instead of minutes. Unsaved changes lists only what Flowfile tracks, so a README in the folder no longer shows up. Restore and Reload show a plan of what they will add, change and remove before they touch anything, and remove only what the plan lists. If your database holds work the last version doesn't have, you can keep a recovery point first. Every file is checked up front and the apply runs in one transaction, so a failure leaves your database as it was; SQLite installs also take a backup before applying. Two new CLI commands come with this: flowfile project plan <sha|.> previews a restore or reload, and flowfile project apply reloads the folder.
  • Database connections (#907). Every saved database connection now has a Test button. When the driver for a database type isn't installed, the form shows the command to install it, and schema and table lists no longer get replaced by an older answer when you switch quickly.
  • Catalog loading (#905). Counts, run history, schedules and run details hold their place while they load, so the page no longer jumps or flashes "no runs". A section that fails to load says so and offers Retry. Clicking quickly between runs, schedules or flows always shows the last one you clicked, and each Catalog tab in the sidebar reopens where you left it.
  • Where a run executed (#877, #904). Run details show which server ran the flow. When the log lives on another server, Open the run on takes you there to read it.
  • New folder in the file browser (#906). The file browser has a New folder button, and a name that's taken or not allowed gets a clear message.

Fixes

  • PostgreSQL reads on pip installs (#877). Database reads failed on pip installs because SQLAlchemy 2.1 no longer brings greenlet. Flowfile now depends on it. A postgresql:// connection also falls back to psycopg2 when psycopg isn't installed.
  • Run History on a flow's page (#905). It now shows only that flow's runs, instead of briefly showing the global list or another flow's runs.
  • Project export and import (#906). Flow files now refer to tables, schemas and flows by name instead of this install's ids, so they open the right table on another install. Imports no longer change dashboards, notebooks, table lineage or .json flows that their files didn't touch, and a reload updates schedules in place so their notification rules are kept. Deleting a cloud connection on PostgreSQL works again, two processes saving the same project no longer collide, and secrets.yaml no longer lists secrets Flowfile keeps for itself, such as AI keys.
  • Excel writes on Windows (#893). Writers waiting on the same workbook no longer fail when Windows briefly denies access to the lock file.

Security

  • On Docker and server installs, Flowfile opens, runs, schedules and deletes flow files only inside its flow folders. Before, deleting a flow registration could delete its file wherever it pointed. The desktop app still works with flows anywhere on your machine (#877).
  • The bundled web UI only serves files from its own folder (#877).
  • Snowflake tokens and keys are stored in Flowfile's encrypted secret store and masked in error messages. Browser sign-in is turned off on multi-user servers and can't be shared with a group (#907).

Upgrading

  • Upgrade remote workers together with core. The worker protocol is now version 3, and core and workers on different versions refuse each other.
  • On Docker and server installs, move any flows stored outside the flow folders into them, otherwise they won't open, run or schedule.
  • In a project, your first Save version after upgrading shows a one-time diff: flow files switch from ids to names, and schedules get an id.

If you run into something that doesn't work as expected, use Report an issue in the sidebar or open an issue.

What's Changed

Full Changelog: v0.24.1...v0.24.2