reflex-build-sdk Changelog
v0.0.2 (2026-09-18)
Breaking Changes
- The clients are now named
ReflexBuildandAsyncReflexBuild, and the base exceptionReflexBuildError, matching the Reflex Build product they talk to. Rename the imports to upgrade: - The
REFLEX_CLOUD_BACKEND_URLandREFLEX_CLOUD_URLenvironment variables keep working. (#7201)
from reflex_build_sdk import AsyncReflexBuild, ReflexBuild, ReflexBuildErrorFeatures
- The client reads its URLs from
REFLEX_BUILD_BACKEND_URLandREFLEX_BUILD_URL, falling back toREFLEX_CLOUD_BACKEND_URLandREFLEX_CLOUD_URL, whichreflex-hosting-clireads. Set both names when the SDK andreflex deployshould reach the same backend, since the CLI does not read theREFLEX_BUILD_*names. (#7201)
v0.0.1 (2026-09-18)
Features
- Add the
reflex-build-sdkpackage:ReflexCloudandAsyncReflexCloudclients for the Reflex Cloud API, starting withauth.me()and access token management (auth.tokens.create/list/delete), with typed models, typed errors, and retries for requests that are safe to repeat. The async client sends requests with aiohttp and the sync client with httpx; pass a transport fromreflex_build_sdk.transportsto configure or replace the HTTP library. (#7166) - Add app, secret and project management to
reflex-build-sdk:client.apps(list, search, get, create, delete, start, stop, pause, scale, rollback, deployment history, and runtime logs as an iterator),client.apps.secrets, andclient.projectswith its roles and members. (#7169) - Deploy apps with
reflex-build-sdk:client.deployments.createstreams a build's archives to storage and submits the deployment, andclient.deployments.waitfollows it until it is running or awaiting approval, raisingDeploymentFailedErrorwith the failure report if it fails, orDeploymentTimeoutErrorwhen the timeout passes first. The client also reads deployment status, reports and build logs, lists regions and machine sizes, and reserves hostnames withclient.apps.reserve_hostname. (#7172) - Log in and review code with
reflex-build-sdk:client.auth.begin_loginandfinish_loginrun the browser login, and the publicreflex_build_sdk.credentialsmodule loads, saves and deletes the tokenreflex loginshares.client.security_reviewssubmits source code for a security review and waits for the result.client.providersreads Google Cloud deploy status, connected provider accounts and the Cloud Run manifest,client.appssets an app's hosting provider, full deploy and instance bounds,client.deployments.checkvalidates deployment settings before a build, andclient.auth.metakes asourcefor login analytics. (#7175) - Manage more of an app with
reflex-build-sdk:client.appsrenames, describes and moves apps, sets instance persistence, the rollout strategy, the Cloud Run service name and the weekly report, and reads an app's lifecycle status and running deployment.client.apps.domainsadds, checks and removes custom domains. (#7180) - Deploy through environments with
reflex-build-sdk:client.apps.environmentsenables, lists, creates, updates, reorders and deletes an app's environments, promotes a version to the next one and copies missing secrets.client.apps.databasecreates, reads and deletes an app's managed Postgres database. (#7181) - Sign an app's users in with
reflex-build-sdk:client.apps.sign_inenables and disables sign-in with Reflex accounts, sets who may sign in, manages invitations, and lists, exports, blocks and unblocks the app's users. (#7182) - Manage project access with
reflex-build-sdk:client.projectsrenames and deletes projects and reads audit logs,projects.rolescreates, updates, previews and deletes custom roles,projects.membersremoves members and reads a member's effective permissions, andprojects.teamslists, grants and revokes organization teams' roles. (#7183) - Manage an organization's Google Cloud and your tokens with
reflex-build-sdk:client.providersconnects and disconnects Google Cloud and lists the apps blocking removal, andproviders.gcp_connectionsadds, updates, verifies, rotates keys of, sets the default of and removes connections.client.auth.tokensrevokes and refreshes tokens and assigns them to service accounts, andclient.usagereads the plan allowance balance and usage history. (#7184) - Publish the SDK as
reflex-build-sdk, imported asreflex_build_sdk. (#7191) - Call third-party services from an app with
reflex-build-sdk:client.apps.connectionsreads a live credential for the app or for one of its users, lists what is connected, starts a connection and disconnects it, without the app ever holding the provider's key.APIStatusError.codenow carries the condition the API names for a refusal, such asnot_connected. (#7192)