github windmill-labs/windmill v1.890.0

one hour ago

Behaviour changes

Tokens and scopes

  • A token scoped to only variables or only resources can no longer delete or rename the other half of a variable/resource pair at the same path. Use a token with both variables:write and resources:write, or a full token.
  • Job import (jobs/queue/import) and batch job creation require jobs:run.
  • Saving a Postgres capture configuration requires postgres_triggers:write on its resource.
  • $res: sources in the data table and database import routes require the token's resources:read scope for that path.
  • When a scope-restricted token mints a token with MCP scopes, the new token must include every scope the caller holds. Create the token from your session for a narrower grant.
  • MCP tokens limited to specific scripts or flows can run Hub tools only for apps listed in mcp:hub:<app> (for example mcp:hub:slack). mcp:all tokens are unchanged.
  • MCP endpoint calls no longer follow redirects returned by a job; the redirect is returned to the client.
  • Scope errors now explain when a path-scoped token cannot cover a request that spans every path.

Running scripts, flows and apps

  • Workflow-as-code tasks run at the script version their parent job runs, even if the task's path is redeployed meanwhile.
  • Running a script by path resolves to the deployed version for every caller. A caller who can see only an older version of that path gets a "not authorized" error instead of running the older version.
  • Redeploying a script or flow no longer repoints a schedule at that path that runs something else.
  • When a perpetual script is redeployed by someone other than its run-as identity and the new version sets no "run on behalf of", the running loop keeps its current version. The job log says so. Redeploy with the same run-on-behalf-of identity, have that user deploy it, or cancel and restart the run.
  • Resumed suspended trigger jobs run as the trigger's identity, not as the user who resumes them.
  • AI chat and MCP edits of schedules and triggers keep the identity the item runs as when an admin or deployer saves them, as the editors do.
  • Deploying identical script content as a different user or run-as identity creates a new version instead of being refused as a duplicate.
  • An app run that names a runnable the deployed app version no longer contains now returns 409 with "reload the app".
  • CUSTOM_INSTANCE_DB/<db> is resolved only when a superadmin requests it directly. It cannot be used as an app input or referenced from another resource; create a postgresql resource with those credentials instead.
  • flow_input.<name> reads an argument literally only when flow_input.<name> is not itself a JavaScript expression. For argument names containing operators, use flow_input["name"]; the error message suggests this when it applies.
  • Flows ending in an approval or sleep step now stop at it even when the flow's version was saved without its lightweight copy (for example in some forks).

Arguments holding $var: / $res: references

  • Re-running another user's job fails for that job if one of its arguments holds a $var:, $res:, $encrypted: or $WM_ reference that the re-run does not replace. Re-running your own jobs is unchanged.
  • Approver names, AI eval case values and resume payloads cannot hold such references.
  • Captured trigger payloads store references as text, the way the deployed trigger delivers them.
  • $var: and $res: paths containing . or .. segments are refused.

Apps and the CLI

  • Raw app server builds use only the [install] registry settings of bunfig.toml (registry, scopes, cafile, …), install dependencies without lifecycle scripts, and run without the job's WM_* variables. .npmrc is still used. Build locally with wmill app bundle for anything else.
  • wmill app bundle and wmill app dev install dependencies with --ignore-scripts. Pass --run-install-scripts when a package needs its install script.
  • dbt bundles pushed by the CLI leave out resource and fileset files stored inside the dbt project folder.

Integrations

  • Nextcloud connections whose baseUrl is on a private network must use the server configured for the Nextcloud integration (workspace settings → Integration triggers, or instance settings → OAuth), or be listed in the new ALLOW_PRIVATE_NEXTCLOUD_URLS environment variable (comma-separated hosts, host:port or CIDR ranges). Redirects from such servers are not followed.
  • GitHub webhook payloads no longer include the hook's delivery URL.
  • The Database Manager refuses column and type names containing line breaks or %%WM_.

Forks and workspaces

  • A fork creator can add or remove members of the fork only while they are a developer or admin in it, and can remove only developers.
  • Retrying a deleted fork's leftover cleanup checks fork rights first and reports details in the server logs.

1.890.0 (2026-11-29)

Features

  • show what a token loses without its owner's admin rights (#12749) (3ee1d6a)

Bug Fixes

  • clearer refusal messages and an install-scripts opt-in for app bundling (#12750) (6ca1820)
  • cli: accept the cwd's spelling of the checkout in wmill dev path checks (#12736) (76ac275)
  • consistent argument reference handling across captures, re-runs, approvals and evals (#12745) (86612a0)
  • consistent writes for linked resource/variable pairs and instance database resolution (#12746) (09202d4)
  • copy data tables whose database uses extensions (#12716) (2a53334)
  • leave draining workers out of the autoscaling count (#12739) (dd206df)
  • resolve runnables and run-as identities consistently across tasks, deploys and triggers (#12744) (8fac722)
  • tighten generated SQL names, flow input lookup and app install steps (#12748) (65d567f)
  • tighten token scope consistency across MCP, job import and capture paths (#12743) (3ee0d88)
  • workspace and fork lifecycle consistency (#12747) (0f2f8aa)

Don't miss a new windmill release

NewReleases is sending notifications on new releases.