Repository navigation
Update dependency @tailor-platform/sdk to v2.32.0 - #135
Merged
Merged
Conversation
renovate
Bot
force-pushed
the
renovate/tailor-platform-sdk-2.x
branch
from
October 19, 2026 08:33
51e2472 to
f17b164
Compare
renovate
Bot
force-pushed
the
renovate/tailor-platform-sdk-2.x
branch
from
October 20, 2026 18:46
f17b164 to
19923ac
Compare
renovate
Bot
force-pushed
the
renovate/tailor-platform-sdk-2.x
branch
from
October 22, 2026 15:48
19923ac to
bea9af4
Compare
anukiransolur
approved these changes
Oct 22, 2026
anukiransolur
left a comment
Contributor
There was a problem hiding this comment.
@tailor-platform/sdk 2.28.0 → 2.32.0 (2.29.0–2.29.2, 2.30.0, 2.32.0). Behavior changes reviewed against the tutorial steps, none apply: CLI usage errors now exit 2; deploy --dry-run --json resourceType values; machineuser list drops clientSecret; kyselyTypePlugin pgliteSchemaPath relation enforcement (steps only set distPath). Remaining changes are bug fixes, secret-masking hardening, smaller bundles, and opt-in features. CI (generate, typecheck, lint, format:check) passes on all steps. Safe to merge.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
2.28.0→2.32.0Release Notes
tailor-platform/sdk (@tailor-platform/sdk)
v2.32.0Compare Source
Minor Changes
#2697
8706209Thanks @dqn! - Add a provider-independent System One client for boolean, choice, and ordered score decisions through AI Gateway.#2727
cc8a577Thanks @toiroakr! -tailordb migration testnow records a 24-hour expiry on every temporary workspace it creates, right after creating it. If the run is interrupted (for example, a cancelled CI job), the workspace stays andtailor workspace prune --expireddeletes it once the expiry has passed. A workspace given with--target-workspace-idgets no expiry, and--keepwithout--keep-ttlstill records none.#2696
dc605c2Thanks @toiroakr! -kyselyTypePlugin'spgliteSchemaPathscript now enforces relations: a row pointing at a parent that does not exist is rejected, as on the platform. Tests that insert child rows before their parents must create the parents first.A relation to a field other than
idthat is not unique, or whose type differs from the referencing field, fails generation, as the platform rejects it on deploy.Patch Changes
#2725
c85d2d8Thanks @dqn! - Fix migration detection and Pre-phase relaxation for nested required and enum constraints, and reject unsupported nested shape changes and rename combinations.#2724
6152316Thanks @dqn! -tailor deployandtailor removeno longer fail when deleting an IdP client whose Secret Manager vault (idp-<namespace>-<client>) has already been deleted.127454dThanks @haru0017! - Re-apply rolldown 1.2.14rolldown's output was fine; the crash came from another platform dependency, which has been fixed, so the temporary downgrade to 1.2.13 is no longer needed.
#2685
3b21d1cThanks @dqn! - Split howtailor deployapplies TailorDB changes and migrations into smaller steps. No observable behavior change.#2707
ab7cb70Thanks @renovate! - fix(deps): update dependency kysely to v0.29.7#2716
698343bThanks @renovate! - fix(deps): update dependency execa to v10.2.0#2726
bfea8a3Thanks @dqn! - Fix migration templates to replace removed enum values within array fields while preserving other elements.v2.30.0Compare Source
Minor Changes
#2686
b77ebddThanks @toiroakr! -tailor machineuser listno longer outputsclientSecret, andMachineUserInfo.clientSecretreturned bylistMachineUsersis now an optional property that is never set and is marked@deprecated. The Platform is moving to return a machine user's secret only from the single-user get call, so that a read-only credential can list machine users. TypeScript code that readsMachineUserInfo.clientSecretkeeps compiling but receivesundefined; scripts that readclientSecretfrom the JSON output ofmachineuser listno longer find the key. Usetailor machineuser token <name>to obtain an access token for a machine user instead.#2647
e45ca2bThanks @toiroakr! - The password of IdP users (_User) can now come from theSEED_USER_PASSWORDenvironment variable. A_Userrow without apasswordgets it from the variable: a plain string is used for every such user, and a JSON object such as{"alice@example.com":"..."}sets it per user name. A password written in_User.jsonlis kept, and with--upsertthe variable only sets the password of users that do not exist yet.tailor seed validateandtailor seed applyboth apply it, and the generated_User.schema.tscalls it from itshook, so runtailor generateto update existing projects. The workflowstailor setup cigenerates pass theSEED_USER_PASSWORDsecret to the seed steps; runtailor setup updateto regenerate them.Patch Changes
#2683
2905c85Thanks @dqn! - Hide secrets that contain a line break or a quote in CLI errors and suggested commands. Values the CLI masks as<redacted>, such as client secrets and access tokens, appeared unmasked in multi-line error details and suggestions, in suggested commands, and in the matching GitHub Actions annotation.#2668
ad679faThanks @dqn! - Hide secrets in CLI log output and--jsonerror output when only part of the value is highlighted, and in progress spinner lines. Values the CLI masks as<redacted>, such as client secrets and access tokens, appeared unmasked in these cases.--jsonerror output no longer includes color codes in its string values.#2689
9bffa6eThanks @renovate! - fix(deps): update dependency lines-db to v0.18.0#2699
ae44247Thanks @haru0017! - Revert "fix(deps): update dependency rolldown to v1.2.14"rolldown 1.2.14 can emit a malformed source map (a negative source line) for bundled functions, which can crash the platform runtime on debug builds while source-mapping a thrown error's stack trace. Downgrade to 1.2.13 as a temporary measure until the rolldown regression is resolved.
#2693
373dafdThanks @toiroakr! - Stoptailor deployfrom reportingTable '<name>' scripts differ between remote and snapshotwhen machines with different system locales deploy the same schema. The TailorDB script hash ordered field names by the machine's default locale (for example, Czech sortschafterh), so the same schema could hash differently and fail the deploy with remote schema drift. Hashes from en-US, ja-JP and C locales are unchanged. A table with scripts that was last deployed from a locale that orders its field names differently from English (for example cs-CZ, sk-SK, lt-LT or et-EE) may report this drift after upgrading, because the hash stored on the remote was computed in that locale's order.v2.29.2Compare Source
Patch Changes
#2639
48377b3Thanks @renovate! - fix(deps): update dependency execa to v10.1.1#2675
4c63cf3Thanks @renovate! - fix(deps): update dependency @politty/zod to v0.5.2#2676
d1479d8Thanks @renovate! - fix(deps): update dependency @toiroakr/read-multiline to v0.4.3#2677
5fd1e48Thanks @renovate! - fix(deps): update dependency rolldown to v1.2.14#2678
80d7b54Thanks @renovate! - fix(deps): update dependency temporal-polyfill to v1.0.6#2663
587fd77Thanks @dqn! - Report invalid configs and SDK definitions with specific error codes that list each offending field, instead ofUNEXPECTED_ERRORcarrying the raw validation output:CONFIG_INVALID:tailor.config.tsfails validation, in its top-level fields, itspluginsexport, or a TailorDB, IdP, Auth, static website, AI Gateway, or secret manager config. Each field is named by its path in the failing export, such asauth.machineUserAttributes.roleor apluginsitem's index. Under--json,error.contextcarriesfile,exportName, andissues(pathandmessageper field), plusconfigKeyandnamefor a service.DEFINITION_INVALID: a resolver, executor, TailorDB type, HTTP adapter, workflow, or workflow job fails validation.error.contextcarrieskind,file,exportName, andissues.OPTIONS_INVALID: options passed to an SDK function such aslistWorkspaces()fail validation. The message is unchanged, anderror.context.issueslists each field.MIGRATION_FILE_INVALID: an invalid schema snapshot or migration diff now lists its fields in the same format, witherror.context.issues.DEFINITION_EXPORT_INVALID: a workflow or HTTP adapter is exported under a name, or a workflow job is the default export. A misplaced workflow or job was previously reported with validation errors that did not apply to it.v2.29.1Compare Source
Patch Changes
98d8d01Thanks @toiroakr! - Move the TailorDB guides underdocs/services/tailordb/: the service guide is nowdocs/services/tailordb/index.mdand the migration guidedocs/services/tailordb/migration.md. Add adocs/data-clone.mdguide fortailor data clone, and note thattailor tailordb migration test --data clonecopies TailorDB records only, without the--copy-filesand--copy-idp-usersoptions ofdata clone.v2.29.0Compare Source
Minor Changes
#2631
9f617faThanks @toiroakr! - AddbuildOptions.treeshaketodefineConfigto control how unused code is removed from bundled functions. SetpropertyReadSideEffects: falseto drop calls whose arguments only read properties, which keeps modules a function never reaches out of its bundle.moduleSideEffects,annotations, andunknownGlobalSideEffectsoverride the SDK's defaults. Nothing changes unless you set it.#2584
78acf8dThanks @toiroakr! - Addtailor tailordb migration resolveto settle a migration that a failed deploy left in progress.--rollbackreturns the namespace to the schema before the failed migration and leaves the checkpoint where it was, so the next deploy runs that migration again from its first step.--completeapplies the schema of the failed migration, moves the checkpoint to it without running itsmigrate.tsagain, and is meant for use after you repaired the data by hand. Both options clear the in-progress record, take the namespace's tables out of maintenance mode, and remove the temporary resources of the failed run, sodeployand the other migration commands work again.#2635
9fb24beThanks @toiroakr! - Leave the source text of installed packages (everything undernode_modules) out of the inline sourcemap in bundled resolvers, executors, workflow jobs, and auth hooks. The sourcemap makes up most of a bundled function's size, so this makes the bundles much smaller: in one project's resolver bundles the median dropped from 5.7 MB to 3.1 MB. Error positions in stack traces still resolve to the original files and lines, and your own source text is still embedded.tailor function runandtailor function logsshow the code snippet for a frame inside an installed package from the package's file in your localnode_modules.tailor function logsalso no longer prints the paths of a deployed function's files one folder too high (../src/handler.tsinstead of./src/handler.ts). SetbuildOptions.inlineSourcemapDependencySources: trueto embed the source text of installed packages as before, or list package names (for example["kysely"]) to embed only those.#2660
df71b44Thanks @dqn! - ThetailorCLI, the setup, seed, and TailorDB ERD plugins,create-sdk, and the codemod CLI now exit with code 2 when they reject the command line itself, such as an unknown option or subcommand, an unexpected argument, or an option value that fails validation, so scripts and agents can tell a mistyped command from one that failed while running, which still exits with 1. A command that only warns about an unknown option or an extra argument, such ascreate-sdk, keeps running as before. A script that checks for exactly 1 after a mistyped command needs to accept 2.runMainandrunCommandfrom@tailor-platform/sdk/clifollow the same rule, so a CLI plugin built on them exits with 2 for these errors, andrunCommandreports them withexitCode2.Patch Changes
#2649
e0fb7c0Thanks @dqn! - Fixtailor deploy --dry-run --jsonreportingresourceTypeinwarningsandconflictsas the display name from the human-readable plan, such asExecutororTailorDB service. It now reports a stable identifier such asexecutorortailordb.service, and the human-readable plan is unchanged. The values change as follows:ApplicationapplicationAIGatewayaigatewayAuth connectionauth.connectionAuth serviceauth.serviceExecutorexecutorFunction registryfunction_registryIdP serviceidp.servicePipeline servicepipeline.serviceSecret Manager vaultsecret.vaultStaticWebsitestaticwebsiteTailorDB servicetailordb.serviceWorkflowworkflowWorkflow execution policyworkflow_job_function_execution_policysecret(skipped secrets)secret.secret#2652
ac872f3Thanks @dqn! - Guard theresourceTypevalues intailor deploy --dry-run --jsonoutput against accidental changes. No observable behavior change.#2640
4b626ceThanks @dqn! - Whentailor deployis given multiple configs that define the same resource name, theDEPLOY_DUPLICATE_RESOURCE_NAMEerror now lists every duplicate in one run, each with its resource type, name, and the config files that define it, instead of stopping at the first one. With--json, the duplicates are also available inerror.context.duplicates.#2659
3accb07Thanks @dqn! - Hide secrets in the GitHub Actions::error::annotation a failed command writes. Values the CLI already masks as<redacted>in its log output, such as client secrets and access tokens, appeared unmasked in the annotation when they were part of the error.#2646
76d4f9cThanks @toiroakr! - fix(deps): migrate from @toiroakr/lines-db to lines-db#2626
c97c8f3Thanks @dqn! - Keeptailor deploymigrations within their own TailorDB namespace when a table name exists in more than one, such as after moving a table between namespaces. A migration in one namespace could write its own schema over another namespace's table of the same name, fail the deploy by creating that table a second time, delete that table before the other namespace's migration script read it, or skip writing that table's metadata.#2627
9cc6efbThanks @dqn! - Find tables in TailorDB namespaces with more than 50 tables intailor tailordb truncate <tables...>, and intailor query --engine sqlfor apps with more than one TailorDB namespace. Tables created after the first 50 in a namespace were reported asThe following tables were not found in any namespaceorCould not find namespace for tables in query. When listing a namespace's tables fails, both commands now stop with that error instead of skipping that namespace and continuing with the others.#2621
1108cb3Thanks @renovate! - fix(deps): update @opentelemetry#2638
55c8466Thanks @renovate! - fix(deps): update dependency zod to v4.6.7#2641
5dd5e9cThanks @renovate! - fix(deps): update oxc#2601
00c5613Thanks @dqn! - The workflowstailor setup cigenerates now run on GitHub Enterprise Server: the plan comment, change detection, preview deployment, and ERD preview comment call the GitHub API of the server the workflow runs on instead of github.com. Runtailor setup updateto regenerate existing workflows.GitHub Enterprise Server does not support the artifact upload the ERD preview uses, so pass
--gheswith--erd-previewtotailor setup ci branchthere: each ERD viewer is then uploaded as a zip file, and the pull request comment links to the workflow run. The GitHub Actions guide lists the runner and action setup GitHub Enterprise Server needs.#2643
f5c304fThanks @dqn! - Addtailor setup ci env --check, which reads GitHub withghand reports which secrets and variables each GitHub Environment used by the generated workflows still lacks. It fails when a required entry is missing, only reports missing optional ones, and prints theghcommands that set the missing entries together with where each value comes from. Entries set on the repository or organization count as registered, and an entry registered as the wrong kind (a secret where the workflow reads a variable) is pointed out. Whenghis not installed, not logged in, or cannot read the repository's secrets and variables, the check says so instead of reporting entries as missing. The next steps printed aftertailor setup ci branch,tag, andpreviewnow suggest running it.When the
originremote is not on github.com,tailor setup ci envnow names the repository thatgh repo viewreports, with its host on GitHub Enterprise Server, instead of leaving it toghat run time: the printedghcommands pass that host, and the Terraform output setsGITHUB_BASE_URLto it.--checkprints its commands for the host it checked. Whenghcannot tell the repository, the output says how to pointghand Terraform at a GitHub Enterprise Server host.#2645
c12410dThanks @toiroakr! - FixCannot find package '@/...'from commands that loadtailor.config.ts(for exampletailor generate) when the project uses tsconfigpathsaliases together with pnpm 11.23.0 or later andenableGlobalVirtualStore: true. pnpm'sNODE_PATHresolve hook retries a failed import with a differentparentURLand leaves it on the hook's context, so the TypeScript loader looked fortsconfig.jsonfromnode_modulesinstead of from the importing file. The loader now reads the importer before resolving and uses that value afterwards.Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.