Skip to content

Version Packages#1206

Open
tailor-platform-pr-trigger[bot] wants to merge 1 commit into
mainfrom
changeset-release/main
Open

Version Packages#1206
tailor-platform-pr-trigger[bot] wants to merge 1 commit into
mainfrom
changeset-release/main

Conversation

@tailor-platform-pr-trigger
Copy link
Copy Markdown
Contributor

@tailor-platform-pr-trigger tailor-platform-pr-trigger Bot commented May 20, 2026

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@tailor-platform/sdk@1.49.0

Minor Changes

  • #1147 f0de80a Thanks @dqn! - Add --permission <write|read> flag to profile create, profile update, and workspace create (when --profile-name is given) so editor users can use a viewer-style profile by default. Profiles created with --permission read block platform-state mutations driven by the operator's bearer token (apply, remove, workspace create/delete/restore, secret create/update/delete, tailordb migrate set, tailordb truncate, tailordb erd deploy, executor trigger, staticwebsite deploy, authconnection authorize/revoke, organization / folder / PAT / workspace-user mutations, and direct api <endpoint> calls) with a PROFILE_READONLY error. Application-data operations executed under a machine user (query, workflow start/resume, function test-run) are not gated because the machine user's own permissions already govern those mutations. Switch profile or run profile update <name> --permission write to lift the restriction. Profile management itself stays available so the flag can always be cleared. profile update skips remote user / workspace validation when only --permission is changing, so the flag can be cleared offline or with an expired token.

    The guard activates only when a profile is in scope: pass --profile <name> or set TAILOR_PLATFORM_PROFILE. TAILOR_PLATFORM_TOKEN and --workspace-id direct access bypass the guard by design; they are intended for machine-user / CI flows where the platform token already encodes the permitted scope.

Patch Changes

@tailor-platform/create-sdk@1.49.0

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 20, 2026

⚡ pkg.pr.new

@tailor-platform/sdk

pnpm add https://pkg.pr.new/@tailor-platform/sdk@1364e3c
pnpm dlx https://pkg.pr.new/@tailor-platform/sdk@1364e3c --help

@tailor-platform/create-sdk

pnpm add https://pkg.pr.new/@tailor-platform/create-sdk@1364e3c
pnpm dlx https://pkg.pr.new/@tailor-platform/create-sdk@1364e3c my-app

commit: 1364e3c

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions
Copy link
Copy Markdown

Code Metrics Report (packages/sdk)

main (d6c4959) #1206 (6dcea98) +/-
Coverage 62.6% 62.6% 0.0%
Code to Test Ratio 1:0.4 1:0.4 0.0
Details
  |                    | main (d6c4959) | #1206 (6dcea98) | +/-  |
  |--------------------|----------------|-----------------|------|
  | Coverage           |          62.6% |           62.6% | 0.0% |
  |   Files            |            365 |             365 |    0 |
  |   Lines            |          12812 |           12812 |    0 |
  |   Covered          |           8033 |            8033 |    0 |
  | Code to Test Ratio |          1:0.4 |           1:0.4 |  0.0 |
  |   Code             |          84491 |           84491 |    0 |
  |   Test             |          35612 |           35612 |    0 |

SDK Configure Bundle Size

main (d6c4959) #1206 (6dcea98) +/-
configure-index-size 18KB 18KB 0KB
dependency-chunks-size 33.52KB 33.52KB 0KB
total-bundle-size 51.51KB 51.51KB 0KB

Runtime Performance

main (d6c4959) #1206 (6dcea98) +/-
Generate Median 2,398ms 2,713ms 315ms
Generate Max 2,511ms 2,873ms 362ms
Apply Build Median 2,403ms 2,748ms 345ms
Apply Build Max 2,460ms 2,787ms 327ms

Type Performance (instantiations)

main (d6c4959) #1206 (6dcea98) +/-
tailordb-basic 35,130 35,130 0
tailordb-optional 3,841 3,841 0
tailordb-relation 7,428 7,428 0
tailordb-validate 2,566 2,566 0
tailordb-hooks 5,767 5,767 0
tailordb-object 12,136 12,136 0
tailordb-enum 2,462 2,462 0
resolver-basic 9,424 9,424 0
resolver-nested 26,111 26,111 0
resolver-array 18,187 18,187 0
executor-schedule 4,234 4,234 0
executor-webhook 873 873 0
executor-record 8,166 8,166 0
executor-resolver 4,369 4,369 0
executor-operation-function 869 869 0
executor-operation-gql 869 869 0
executor-operation-webhook 888 888 0
executor-operation-workflow 1,714 1,714 0

Reported by octocov

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants