Repository navigation
chore(deps): update dependency @tailor-platform/sdk to v2.46.0 - #235
Open
renovate[bot] wants to merge 1 commit into
Open
renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
renovate
Bot
force-pushed
the
renovate/tailor-platform-sdk-and-erp-kit-packages
branch
from
November 23, 2026 06:08
ef633f3 to
41ac12b
Compare
renovate
Bot
force-pushed
the
renovate/tailor-platform-sdk-and-erp-kit-packages
branch
from
November 23, 2026 12:40
41ac12b to
cc82c09
Compare
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.42.0→2.46.0Release Notes
tailor-platform/sdk (@tailor-platform/sdk)
v2.46.0Compare Source
Minor Changes
96f7917Thanks @mocchira! - Addtailor.sandbox(beta) for running commands and managing files in an isolated sandbox from Functions. Import the typed wrapper from@tailor-platform/sdk/runtime/sandbox(also exported assandboxfrom@tailor-platform/sdk/runtime), or use the ambienttailor.sandboxtypes from@tailor-platform/sdk/runtime/globals. A sandbox created withoutnameis destroyed when the execution ends; passnameto keep it and reopen it later withgetByNameorgetOrCreate. Unit tests can use the in-memorymockSandbox()from@tailor-platform/sdk/vitest.Patch Changes
2cbdd9bThanks @dqn! - Fix the migrationdb.tstypes to match the app's generated Kysely types: inserts can leave out fields that have a default or a create hook (such asdb.fields.timestamps()), and values for serial fields are rejected. A serial field whose existing values the migration script has to fill or deduplicate stays writable. Existingdb.tsfiles are not regenerated.v2.45.0Compare Source
Minor Changes
#3202
8a93054Thanks @dqn! - Breaking change: In non-interactive or JSON mode,tailor deploy(and thedeploy()/apply()exports of@tailor-platform/sdk/cli) no longer picks the only workspace visible to the account on its own, so a first deploy from a fresh clone, CI, or an AI agent cannot land in another project's workspace. When no workspace comes from--workspace-id,TAILOR_PLATFORM_WORKSPACE_ID, the profile, or a saved selection, it now stops withWORKSPACE_SELECTION_REQUIRED. Pass--workspace-idor setTAILOR_PLATFORM_WORKSPACE_IDto keep such runs working. Interactive terminals,--create-workspacereruns, and saved selections are unchanged.#3205
c6072bbThanks @dqn! - Breaking change:configArganddeploymentArgsexported from@tailor-platform/sdk/clino longer defaultconfigto"tailor.config.ts", so a CLI plugin built on them getsundefinedwhen neither--confignorTAILOR_CONFIG_PATHis given. Passargs.configas is toloadConfig(), which then uses the nearesttailor.config.tsin the current or a parent directory, or handleundefinedwhere the plugin needs a path.#3205
c6072bbThanks @dqn! - CLI commands now look fortailor.config.tsin parent directories when neither--confignorTAILOR_CONFIG_PATHis given, so runningtailor generate,tailor show, or another command that reads the config from a subdirectory of your project uses the project's config instead of failing withCONFIG_NOT_FOUND. Atailor.config.tsin the current directory is still used first.tailor deploynow remembers which Secret Manager secrets and Auth Connection client secrets it has applied per config instead of per current directory, so it skips the unchanged ones from any directory. If you have deployed with--configorTAILOR_CONFIG_PATHnaming a config in another directory, the next deploy updates those secrets once.#3203
d4ca31cThanks @dqn! - Leave the number ofmetadataentries to the platform's limit on labels per application instead of capping it in the SDK. A config with more than 17 entries now loads, anddeployno longer counts the application's labels before it changes anything, sodeploy --dry-rundoes not report an overflow. When the platform rejects the labels for their count,deploywrites the SDK's own labels without themetadataentries when those fit, applies the rest of its changes, runs plugins'onDeployedhooks, and then fails withDEPLOY_LABEL_LIMIT_EXCEEDED, naming the entries it did not write.#3205
04ff663Thanks @dqn! - Breaking change (beta):tailor generateresolves relative paths of the files plugins generate, such as a built-in plugin's relativedistPath, against the directory oftailor.config.tsinstead of the current directory, andtailor seed,tailor tailordb migration test, andtailor function scriptread a relative seed or KyselydistPaththe same way. This only changes where files go when the current directory is not the config's directory, for example when--configorTAILOR_CONFIG_PATHnames a config in another directory: generated files now land next to that config. Move the files generated before into that directory and update the imports that point at them. A custom plugin's generation-time hook still runs in the current directory, so a hook that builds paths of its own from a relative path in its options, such as an import between generated files, needs to resolve that path againstpath.dirname(ctx.configPath)first.#3207
d352a28Thanks @dqn! - Add{ create: value }secret values todefineSecretManager().tailor deploycreates such a secret only when it does not exist yet and leaves an existing one unchanged, so a value generated once per environment, such as an encryption key, keeps its value across deploys.#3204
3965bbeThanks @dqn! - Commands that create a single resource, such astailor secret vault createandtailor secret create, and clients frominitOperatorClientnow handle a resource that already exists the same way every time:tailor secret createfor an existing secret could report the secret as created while it kept its old value. The same error now also appears when the first attempt did create the resource but its response was lost; check the resource before creating it again.Deploys (
tailor deploy,tailor tailordb migration test, anddeploy()),tailor tailordb migration sync, andtailor tailordb migration resolvekeep their handling. To give your own client that handling, passcreatesPlannedResources: truetoinitOperatorClient.Patch Changes
#3201
97335d4Thanks @dqn! - Pre-flight validation intailor deploynow also checks TailorDB GraphQL permissions and function uploads. A GraphQL permission policy with no actions, or a resolver, executor, workflow job, or Auth hook bundle over 20 MiB, now fails before deploy applies anything, instead of during apply, where an oversized bundle failed withHTTP 503.#3212
84e4742Thanks @dqn! - Wait for a CLI plugin to stop when Ctrl+C is pressed and exit with its exit code, and pass a SIGTERM sent totailoron to the plugin instead of leaving the plugin running#3183
f42f99aThanks @dqn! - Report moving a relation to another key of the same table as a breaking change intailor tailordb migration generateand scaffold the repair of the stored references inmigrate.ts; the same change on a field insidedb.object()is rejected, as moving it to another table already was#3183
9fd196cThanks @dqn! - Apply a relation that a TailorDB migration moves to another table or key only aftermigrate.tsruns, as for a relation added to an existing field, so a migration step that updates rows still pointing at the old target no longer fails on deploy#3206
c39c53aThanks @dqn! - Internal: the config loader can now parse the upcoming workspace config formats, which are not exported yet. Loading adefineConfig()config, its validation, and its error messages are unchanged.#3183
45fb3f5Thanks @dqn! - List the breaking changes of one TailorDB field intailordb migration generatein the order its generated migration script handles them#3199
dfa1b4dThanks @renovate! - Update@politty/zodto 0.7.5, so a lone-after an option that takes a value, such as--value -, is read as its value instead of being rejected#3208
c4c2e25Thanks @toiroakr! - Fixtailor deployfailing withinternal errorwhen it replays a TailorDB migration history from0000into a workspace without a checkpoint and a later migration removes a table. For example,0000creates tablesAandB(B.aIdreferencesA),0001has amigrate.tsthat runs an UPDATE, and0002removesA: the deploy never createdA, soBkept a foreign key to a table that did not exist and the UPDATE in0001failed. A rename failed the same way, because the generated script of the renaming migration reads the old table.The deploy now creates every table of the
0000schema before the firstmigrate.tsruns, including the ones a later migration removes or renames away, and the migration that removes or renames a table deletes it once its checkpoint is committed. A table that a later migration removes and then adds again is deleted at the removal and created again at the addition.The phases of a migration also write the schema that migration defines to such a table, so a
migrate.tscan read a field that an earlier migration added to a table a later migration removes. A deploy that finds a table whose deletion an earlier deploy left unfinished, and that a later migration adds back, deletes it and creates it again instead of reporting remote schema drift.v2.44.0Compare Source
Minor Changes
#3175
dd55ff2Thanks @k1LoW! - OAuth2 clients can keep refresh tokens for up to 90 days.refreshTokenLifetimeSecondsinoauth2Clientsnow accepts up to7776000seconds (90 days), and the newrefreshTokenIdleLifetimeSeconds(60 seconds to 30 days) expires a refresh token once it has not been used for that long. ArefreshTokenLifetimeSecondsabove 7 days requiresrefreshTokenIdleLifetimeSeconds, which must be betweenaccessTokenLifetimeSecondsandrefreshTokenLifetimeSeconds.#3187
55286e0Thanks @dqn! - Breaking change: Removerelationandasfrom the type of a TailorDB field'smetadata. The SDK never set either key on a TailorDB field, so reading them always returnedundefined; delete any code that reads themPatch Changes
#3175
42245d5Thanks @k1LoW! - Recognize theCANCELINGworkflow execution status, which an execution holds between a cancel request andCANCELED.tailor workflow executions --status CANCELINGfilters by it, and commands that wait for an execution keep waiting through it.#3182
48cc087Thanks @dqn! - Report a configuration change to an Auth connection in thetailor deployplan as an update instead of a replacement. The plan marks it~instead of±,--jsonreports"action": "update"and counts it insummary.updateinstead ofsummary.replace, and pre-flight validation errors label it(update). Deploy still updates the connection in place, as before.#3186
59e8786Thanks @dqn! - FixcreateTailorDBHookso a table-levelcreatehook receives the sameinputas when deployed: theidonly when the data has one, only the fields the data carries or a field hook or default fills, and the dates that field hooks and"now"defaults produce asDateobjects rather than ISO strings. A table hook that computes values from its input, run in unit tests or throughtailor seed validateandtailor seed fill, now gets the same result as when deployed.#3189
f57cd39Thanks @dqn! - Stoptailor deployfrom planning an update on every run for an IdP whosepermissiondenies every operation with empty lists#3177
8137b34Thanks @dqn! - Document theSEED_DATA_NOT_FOUNDandSEED_DATA_INVALIDerror codes oftailor tailordb migration test#3187
6e9e004Thanks @dqn! - Fix webhook executors whoseheadershas anundefinedvalue, which failed to load; that header is now left out of the request#3175
e9b6ca4Thanks @k1LoW! - Follow the Platform API, whose list responses for machine users and OAuth2 clients no longer carry a client secret.tailor deploy,tailor show,tailor machineuser listandtailor oauth2client listbehave as before.#3185
f820cdeThanks @renovate! - fix(deps): update dependency @secretlint/core to v14#3188
824fc17Thanks @dqn! - Show an OAuth2 client thattailor deployreplaces for a client type change under its Auth service in the plan, with that service as itsnamespacein--dry-run --json. Change how these deploy messages name resource types:#3175
5f41199Thanks @k1LoW! - Follow the Platform API for IdP. Its list response for IdP clients no longer carries a client secret, and it now carries the rule thatuserAuthPolicy.allowedEmailDomainsmust be set, whichtailor deployalready checked.tailor deploybehaves as before and still reports a missingallowedEmailDomainsonce.#3187
bdb7a6eThanks @dqn! - Fix resolvers andmachineUserAttributesthat use a TailorDB field defined with.unique(),.index(),.vector(),.serial(), or a decimalscale: they failed to load with an unrecognized key errorConfiguration
📅 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.