Releases: tailor-platform/sdk
Release list
@tailor-platform/sdk@2.0.0-next.6
Major Changes
-
#1776
7338457Thanks @dqn! - Remove the built-intailordb erdcommands. They are now provided by the@tailor-platform/sdk-tailordb-erd-pluginCLI plugin: install it withnpm install -D @tailor-platform/sdk-tailordb-erd-pluginand keep runningtailor tailordb erd <command>as before — the CLI dispatches to the plugin automatically and suggests the install command when the plugin is missing. TheerdSiteTailorDB setting is unchanged. -
#1789
36ad006Thanks @toiroakr! - Remove thegenerate --watch(-W) flag.tailor generatenow always runs a single generation pass; re-run the command after making changes instead of relying on the watcher to regenerate automatically. -
#1733
09f5691Thanks @dqn! - Require workflow executorargswhen the target workflow input is required, and accept primitive and array static JSON inputs during configuration parsing. Existing workflow executor configurations that omit required input must addargs.
Minor Changes
-
#1776
7338457Thanks @dqn! - AddloadTailorDBNamespaces,deployStaticWebsite,assertWritable, andisPluginGeneratedType(with their related types) to@tailor-platform/sdk/cli, so CLI plugins and scripts can load local TailorDB schema data and deploy static websites through the public API. -
#1768
813f86eThanks @k1LoW! - Add canonicaltailor.workflow.*names that mirror the publictailor.v1RPC vocabulary. ThestartWorkflow,startJobFunction, andresumeWorkflowExecutionmethods are now available ontailor.workflow, alongsideworkflow.startWorkflow/workflow.startJobFunction/workflow.resumeWorkflowExecutionfrom@tailor-platform/sdk/runtime. The pre-alignment names (triggerWorkflow,triggerJobFunction,resumeWorkflow) continue to work as frozen aliases, but are now marked@deprecatedso IDEs surface a hint to migrate to the canonical names.
Patch Changes
-
#1769
9837182Thanks @dqn! - Fixtailor function test-runcrashing withTypeError: Cannot convert undefined or null to objectwhen--argis a non-object JSON value such asnull. The argument is now forwarded to the server, which reports the validation error. Local input validation also runs the same logic as deployed resolvers. -
#1780
1316447Thanks @toiroakr! - Fix a spuriousTS2719type error when adb.table()type built with custom fields is passed across module boundaries (e.g. into another package's factory function) and its.validate()callback'sissues()field parameter is compared for assignability. Theissues()field argument type no longer uses a self-generic parameter, so structurally-equalTailorDBTypeinstances derived through different generic instantiation paths are recognized as compatible. -
#1781
000db7eThanks @dqn! - Prevent concurrent multi-config deployments from mixing resolver, executor, workflow, Auth hook, HTTP adapter, and TailorDB hook or validator bundles -
#1777
322b69cThanks @toiroakr! - Fail fast atgenerate/deploytime when a TailorDB type is missing.permission(), or missing.gqlPermission()while GraphQL operations are enabled for it (.gqlPermission()is not required when GraphQL exposure is fully disabled viagqlOperations). Previously these omissions deployed silently and only surfaced later as an opaqueinternal erroron insert.
@tailor-platform/sdk-tailordb-erd-plugin@0.1.0-next.0
@tailor-platform/sdk-plugin-tailordb-erd@0.1.0-next.0
@tailor-platform/sdk-codemod@0.3.0-next.6
@tailor-platform/create-sdk@2.0.0-next.6
Merge pull request #1779 from tailor-platform/changeset-release/v2 Version Packages (next)
@tailor-platform/sdk@1.79.0
Minor Changes
- #1768
813f86eThanks @k1LoW! - Add canonicaltailor.workflow.*names that mirror the publictailor.v1RPC vocabulary. ThestartWorkflow,startJobFunction, andresumeWorkflowExecutionmethods are now available ontailor.workflow, alongsideworkflow.startWorkflow/workflow.startJobFunction/workflow.resumeWorkflowExecutionfrom@tailor-platform/sdk/runtime. The pre-alignment names (triggerWorkflow,triggerJobFunction,resumeWorkflow) continue to work as frozen aliases, but are now marked@deprecatedso IDEs surface a hint to migrate to the canonical names.
Patch Changes
-
#1769
9837182Thanks @dqn! - Fixtailor function test-runcrashing withTypeError: Cannot convert undefined or null to objectwhen--argis a non-object JSON value such asnull. The argument is now forwarded to the server, which reports the validation error. Local input validation also runs the same logic as deployed resolvers. -
#1777
322b69cThanks @toiroakr! - Fail fast atgenerate/deploytime when a TailorDB type is missing.permission(), or missing.gqlPermission()while GraphQL operations are enabled for it (.gqlPermission()is not required when GraphQL exposure is fully disabled viagqlOperations). Previously these omissions deployed silently and only surfaced later as an opaqueinternal erroron insert.
@tailor-platform/sdk-tailordb-erd-plugin@0.0.0
What's Changed
- perf: share pnpm dependencies across worktrees by @dqn in #1752
- docs(tailordb): document gqlOperations feature and namespace default by @toiroakr in #1770
- feat(vitest): add typed runtime mock controls by @dqn in #1753
- feat(cli): guide workspace setup during deploy by @dqn in #1754
- chore(deps): update dependency aquaproj/aqua-registry to v4.538.0 by @renovate[bot] in #1773
- chore(deps): update dependency tsdown to v0.22.5 by @renovate[bot] in #1772
- chore(deps): update anthropics/claude-code-action action to v1.0.174 - autoclosed by @renovate[bot] in #1771
- Version Packages by @tailor-platform-pr-trigger[bot] in #1765
- feat(runtime): mirror tailor.v1 RPC names on tailor.workflow by @k1LoW in #1768
- fix(tailordb): require .permission()/.gqlPermission() to be configured by @toiroakr in #1777
- refactor(sdk): move field value validation into the runtime layer by @dqn in #1769
- fix(tailordb): make issues() field param non-generic by @toiroakr in #1780
- fix(executor): align workflow argument contracts by @dqn in #1733
- feat(sdk)!: extract tailordb erd into a CLI plugin package by @dqn in #1776
Full Changelog: https://github.com/tailor-platform/sdk/compare/@tailor-platform/create-sdk@2.0.0-next.5...@tailor-platform/sdk-tailordb-erd-plugin@0.0.0
@tailor-platform/eslint-plugin-sdk@0.0.0
What's Changed
- fix(cli): isolate concurrent deployment bundles by @dqn in #1781
- test(sdk): speed up unit test runs by narrowing vitest typecheck by @dqn in #1790
- test(e2e): add per-attempt deadline and retry to operator client by @dqn in #1791
- feat(lint): add Tailor SDK application rules by @dqn in #1737
Full Changelog: https://github.com/tailor-platform/sdk/compare/@tailor-platform/create-sdk@1.79.0...@tailor-platform/eslint-plugin-sdk@0.0.0
@tailor-platform/create-sdk@1.79.0
Merge pull request #1778 from tailor-platform/changeset-release/main Version Packages
@tailor-platform/sdk@1.78.0
Minor Changes
-
#1753
6bff945Thanks @dqn! - Add typed, service-specific Vitest mock controls for runtime APIs and update generated project tests to use them. -
#1754
10392ffThanks @dqn! - Guide workspace selection and optional creation during deploy when no workspace is configured, with machine-readable recovery actions that preserve environment and profile settings
Patch Changes
-
#1763
2abbe40Thanks @dqn! - Reduce duplicated schema-derived type declarations. -
#1770
9ca5eaaThanks @toiroakr! - Document the type-levelgqlOperationsfeature (.features({ gqlOperations }), including the"query"read-only alias) and the namespace-leveldb.tailordb.gqlOperationsdefault intailor.config.ts, clarifying that the namespace default also updates types that already exist on the platform. -
#1764
7895ed6Thanks @k1LoW! - Correct the execution policy matching semantics in the workflow docs: overlapping policies now stack (every matching cap is enforced independently and the tightest blocks), not longest-prefix-wins.