Conversation
Update code samples in getting-started/guides/tutorials/administration/ reference to match the SDK v2 API ahead of tailor-platform/sdk#1808 (v2 release line merge into main). docs/sdk/ and docs/app-shell/ are auto-synced and untouched. - db.type() -> db.table() - CLI binary tailor-sdk -> tailor - tailor.workflow.triggerWorkflow/triggerJobFunction -> startWorkflow/startJobFunction - tailor.workflow.resumeWorkflow -> resumeWorkflowExecution - resolver context.user -> context.caller; executor context.user -> context.invoker (TailorUser/TailorActor/TailorInvoker unified into TailorPrincipal) - TailorDB hooks/validators: {value,data,user} -> {input,invoker,now,oldValue}; type-level hooks take a single object instead of a per-field map; validators return string | void instead of boolean/tuple - Wait/Resolve guide rewritten around createWaitPoint/createWaitPoints - Removed references to the deleted openDownloadStream API - Noted the new @tailor-platform/sdk/runtime/globals opt-in import
# Conflicts: # docs/guides/function/builtin-interfaces.md # docs/guides/workflow/creating-workflows.md # docs/guides/workflow/index.md # docs/guides/workflow/monitoring-executions.md # docs/guides/workflow/wait-resolve.md
toiroakr
marked this pull request as ready for review
July 31, 2026 13:07
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.
Summary
getting-started,guides,tutorials,administration, andreferenceahead of the SDK v2 release line merging intomain(a breaking major version bump).docs/sdk/anddocs/app-shell/are auto-synced from their source repos and are not touched here.db.type()->db.table(), CLI binarytailor-sdk->tailor,tailor.workflow.triggerWorkflow/triggerJobFunction->startWorkflow/startJobFunction,tailor.workflow.resumeWorkflow->resumeWorkflowExecution.user->caller, executor contextuser->invoker(TailorUser/TailorActor/TailorInvokerunified intoTailorPrincipal).{value,data,user}->{input,invoker,now,oldValue}), type-level hooks changed from a per-field map to a single object, and validators now returnstring | voidinstead ofboolean/tuple.createWaitPoint/createWaitPoints, and removed references to the deletedopenDownloadStreamAPI.@tailor-platform/sdk/runtime/globalsopt-in import for ambienttailor.*/tailordb.*globals.Notes
tailor-platform/templates(docs/build-from-scratch/sdk) still need the sametailor-sdk->tailorupdate; tracked separately.