github reflex-dev/reflex reflex-build-sdk-v0.0.3
reflex-build-sdk@0.0.3

3 hours ago

Breaking Changes

  • auth.tokens.create returns a CreatedToken and auth.tokens.refresh a RotatedToken, rather than the bare token value. Read the value from .token:

    token = client.auth.tokens.create("ci").token

    If a refresh returns previous_revoked=False, the old token is still live; revoke it with auth.tokens.revoke. (#7277)

Features

  • Add auth.tokens.revoke_self(), which revokes the client's own token and works with any token, and Me.app_id, the app an app token was provisioned for. (#7277)

Bug Fixes

  • deployments.wait raises the API's UnprocessableEntityError for a malformed deployment id, rather than ValueError. (#7240)
  • auth.tokens.refresh, apps.create and projects.list call the routes Reflex Build serves, and apps.history decodes deployments without a URL. (#7277)

Don't miss a new reflex release

NewReleases is sending notifications on new releases.