v0.2.1 — 27 Oct 2026
This batch is a security and correctness release. It moves the image to Node 22, closes a memory leak that could stop a worker, makes Settings and the extension and service write actions administrator-only, and carries a batch of Studio fixes.
Security — the image is built on Node 22
Who is affected: Every deployment that builds or pulls the Studio image.
Node 20 is end of life and receives no fix for the Node security releases of 21 October 2026:
- a remote-code-execution flaw in the Brotli decoder,
- two bypasses of TLS hostname verification,
- a NUL truncation in
dns.resolve.
Every stage of the build now uses node:22-alpine.
Added — Replace File works for a file over 10 MB
Who is affected: Anyone replacing the bytes of a stored file.
Replace File sends the new bytes straight to storage through a signed URL,
the way an upload already did. The bytes used to go as multipart through the
application’s own route, where the proxy’s 10 MB buffer cut an 11 MB file off
and the request answered 500.
POST /api/files/signed-urltakesreplace: <file id>and mints a URL for new bytes of that file. It needs the update permission ondaas_files, and the update filter of the caller must reach the file.PATCH /api/files/:idwithupload_tokenthen points the file at those bytes, reads the size and type from the stored object, and removes the previous one.- A token is single use, and it is accepted only for its own file and its own user.
See Files.
Changed — Settings, extensions and service tests are administrator-only
A behaviour change for delegated access. A non-administrator who could previously open these tabs, or who was offered these buttons, no longer sees them. The routes already refused them, so nothing that worked stops working.
Who is affected: Deployments that grant daas_settings, daas_extensions
or daas_services to non-administrators.
- Settings. The AI / MCP, CORS and SMTP routes, and saving General, already
refused everyone but an administrator. The Studio offered those tabs to anyone
holding a read grant on
daas_settings, and answered the refusal with a silent redirect. It also showed General’s Save to an update-grant holder, whose save then failed. The tab strip now offers those three to administrators only, and General stays readable with a read grant while its Save is offered to administrators only. - Extensions and services. The write controls of an extension, and Run Tests on a service, are offered to administrators only, which is what their routes already required. The stored code runs on the server with the service-role client.
See Settings.
Changed — the image holds the compiled application only
Who is affected: Self-hosted deployments.
Earlier images also held the source (app/, lib/, components/, the
docs-site sources), source maps and repository files, because the build traced
the whole project. The image now holds the standalone server and its build
output, public/ with the docs site, the MCP tool prompts, the Supabase
migrations and their runner, LICENSE and THIRD_PARTY_NOTICES.
scripts/verify-studio-image.shfails an image that holds source, a source map or a repository file, and prints the image’s size.- The image’s built-in health check, and the one in
docker-compose.yml, poll/api/server/ping(liveness) instead of the deprecated/api/health, which on Supabase tests the database. - The image has OCI
title,description,vendor,urlandlicenseslabels. TheLICENSEfile is a placeholder until the licence terms are chosen, anddocs/THIRD_PARTY_LICENSES.mdlists the production dependencies’ licences.
Fixed — a Bearer-token request no longer leaks its client
Worth an upgrade on its own for any deployment whose API is called with a Bearer token rather than a browser session.
Who is affected: Deployments whose API is called with a Bearer token.
Since 0.1.0 the Supabase client built for each such request used Supabase’s
default auth options, which on a server start a 30-second token refresh timer
that is never stopped and keeps the client alive. Every Bearer request
therefore added one client to the worker’s heap until the worker stopped with
JavaScript heap out of memory and was restarted, or, with no heap limit set,
until the host ran out of memory. A project whose worker polled the API every
2 seconds grew by about 80 MB an hour.
The client now has auto refresh and session storage off.
Fixed — the Studio
- Users. A user who holds no update grant on
daas_userscan edit their own profile again. The route has always accepted the self-service fields of a person’s own record, but the page read the permissions answer alone and drew the form read-only. The form now receives an access override for the signed-in user’s own record, limited to exactly the fields the route accepts from them. - Content.
Is emptyon ajsonfield matchesNULL,{}and[], and no longer fails the list. The item form checksmeta.requiredandmeta.validationbefore it saves. A failed permissions load shows a load error with a Retry instead of reading as “no grants”. The create form is/content/<collection>/+, so a row whose key is the wordnewopens for editing rather than opening the create form. - Files. Without read access to folders, the Folder field is a locked “no access” placeholder rather than showing Root, which was not where the file sat.
- Data model. Only the built-in fields of a system collection are locked,
and the server refuses an edit to them, so a field an operator added to a
system collection is editable again. A collection counts as a system one when
the server says so, not because its name begins with
daas_. - Scopes. An active scope that no longer exists is dropped, and the Studio
falls back to root. Before, the header showed the raw URI and every scope
request answered
400. - Services. Renaming a service that other services depend on is refused, and the refusal names them.
- Activity. A collection set to the
activitylevel is audited without writing revisions. - Module Access Keys. The children of a node that itself holds a key stay grantable in the policy editor.
- Logs.
system:logsis a global key, so the Logs page opens under any scope the API allows, instead of disagreeing with the API under a sibling scope.
Fixed — CORS is not offered inside a tenant (Buildpad Engine backend)
Who is affected: A Studio on the Buildpad Engine backend, acting inside a tenant.
Settings no longer offers CORS, whose every save the Engine refused with
403. The tab is hidden, and /settings/cors says the rules are set in the
host.
Documentation
- Filter Rules now describes how each dynamic variable
resolves on the Buildpad Engine (permission rules only;
$CURRENT_ROLESand$CURRENT_POLICIESas_in/_ninlists; up to three relations;$NOWadjustments; the scope-only roles; the null root scope; the save-time refusal) and on Supabase ($CURRENT_ROLES,$CURRENT_ROLE.fieldand an adjusted$NOWmatch asnull), and why a copied rule can match more rows on the Engine. - New page File Storage on S3: the Engine’s S3 settings, credentials on EC2, ECS and EKS or with an access key, MinIO and Cloudflare R2, the IAM policy limited to a prefix, the bucket, the checks, and moving from local storage.
- New page Move to the Buildpad Engine
for moving a Supabase project to the Buildpad Engine, on BuildPad Cloud and
self-hosted. The Quick Start health check now polls
/api/server/health, and its Engine sign-in steps explain when to name the tenant.