Version Packages (next)#1545
Merged
Merged
Conversation
commit: |
This comment has been minimized.
This comment has been minimized.
ade2e33 to
488ca0c
Compare
This comment has been minimized.
This comment has been minimized.
0f47af8 to
908a690
Compare
This comment has been minimized.
This comment has been minimized.
908a690 to
6062567
Compare
This comment has been minimized.
This comment has been minimized.
6062567 to
cca748b
Compare
This comment has been minimized.
This comment has been minimized.
cca748b to
cc035bd
Compare
This comment has been minimized.
This comment has been minimized.
cc035bd to
87f849e
Compare
This comment has been minimized.
This comment has been minimized.
87f849e to
4dbb49c
Compare
This comment has been minimized.
This comment has been minimized.
4dbb49c to
1149869
Compare
This comment has been minimized.
This comment has been minimized.
1149869 to
0e2d74e
Compare
This comment has been minimized.
This comment has been minimized.
0e2d74e to
4e2861d
Compare
This comment has been minimized.
This comment has been minimized.
4e2861d to
04bd46f
Compare
This comment has been minimized.
This comment has been minimized.
04bd46f to
9328421
Compare
This comment has been minimized.
This comment has been minimized.
9328421 to
ece9c95
Compare
This comment has been minimized.
This comment has been minimized.
65c6614 to
74e5631
Compare
This comment has been minimized.
This comment has been minimized.
74e5631 to
5c6299b
Compare
This comment has been minimized.
This comment has been minimized.
5c6299b to
e296781
Compare
This comment has been minimized.
This comment has been minimized.
e296781 to
c253e90
Compare
This comment has been minimized.
This comment has been minimized.
c253e90 to
7c4e9de
Compare
This comment has been minimized.
This comment has been minimized.
7c4e9de to
169a402
Compare
This comment has been minimized.
This comment has been minimized.
169a402 to
29ff79a
Compare
This comment has been minimized.
This comment has been minimized.
29ff79a to
281850a
Compare
This comment has been minimized.
This comment has been minimized.
281850a to
d5ba96e
Compare
This comment has been minimized.
This comment has been minimized.
d5ba96e to
9b27415
Compare
This comment has been minimized.
This comment has been minimized.
0f98c53 to
49b665c
Compare
49b665c to
ad83d8f
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 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 v2, this PR will be updated.
v2is currently in pre mode so this branch has prereleases rather than normal releases. If you want to exit prereleases, runchangeset pre exitonv2.Releases
@tailor-platform/create-sdk@2.0.0-next.3
Major Changes
#1684
de3ef5eThanks @dqn! - Restore Tailor field outputs for UUID, date, datetime, time, and decimal fields to plain string-compatible types and remove the strict scalar string migration guidance.#1556
645949eThanks @toiroakr! - RenamedefineWaitPointanddefineWaitPointstocreateWaitPointandcreateWaitPoints.These functions create runtime instances with
.wait()and.resolve()methods that call the platform API at runtime, so thecreate*prefix is more accurate. Update any usages:Patch Changes
#1559
ff8ef1cThanks @dqn! - Rename auth attribute module augmentation fromAttributeMaptoAttributes.#1563
501e8bfThanks @dqn! - Standardize SDK-owned environment variables on theTAILOR_*namespace.Replace the removed SDK-specific environment variables with their new names:
TAILOR_CONFIG_PATH,TAILOR_DTS_PATH,TAILOR_CI_ALLOW_ID_INJECTION,TAILOR_DEPLOY_BUILD_ONLY,TAILOR_BUILD_OUTPUT_DIR,TAILOR_SKILLS_SOURCE,TAILOR_TEMPLATE_SDK_VERSION,TAILOR_PLATFORM_URL,TAILOR_PLATFORM_OAUTH2_CLIENT_ID,TAILOR_INLINE_SOURCEMAP,TAILOR_QUERY_NEWLINE_ON_ENTER, andTAILOR_APP_LOG_LEVEL. The deprecatedTAILOR_TOKENfallback is removed; useTAILOR_PLATFORM_TOKEN. The v2 codemod rewrites unambiguous removed SDK environment variable names and flags generic names such asLOG_LEVELandPLATFORM_URLfor manual review.@tailor-platform/sdk@2.0.0-next.3
Major Changes
#1559
ff8ef1cThanks @dqn! - Rename auth attribute module augmentation fromAttributeMaptoAttributes.#1529
9ecb380Thanks @dqn! - Reject unknown keys in SDK parser schemas instead of silently dropping them from application definitions.#1686
aecaf8cThanks @dqn! - Replacetailor skills installwith project-localtailor skills add,list,remove, andsynccommands for bundled Tailor SDK agent skills.#1622
0fe8badThanks @dqn! - Remove the deprecatedauth.getConnectionToken()helper from values returned bydefineAuth(). Useauthconnection.getConnectionToken(...)from@tailor-platform/sdk/runtimein resolvers, executors, and workflows instead. The v2 codemod rewrites directauth.getConnectionToken(...)calls when theauthbinding is imported fromtailor.config.#1620
1d71a52Thanks @dqn! - Stop importing credentials and profiles from legacy~/.tailorctl/configwhen the platform config is missing. New CLI configs now start empty in the current platform config format.#1536
84d9abaThanks @toiroakr! - Minimum Node.js version raised to 22.15.0; TypeScript loading switched from tsx to amaroRemoves
tsx(which pulled in esbuild's native binaries, ~10.5 MB) fromdependenciesand replaces it withamaro(~3.8 MB, zero transitive deps).A small
ts-hook.mjsprovides the Node.js module hook with both a resolverand a load hook (
amarofor full TypeScript support including enums).The resolver handles
.tsextension fallback, directory barrel imports(
./models→./models/index.ts), and tsconfigpathsaliases (readstsconfig.jsonfollowingextendschains).Dev-only scripts now use
node --experimental-strip-typesinstead.Raises the minimum Node.js version to 22.15.0 (from >=22) to use
module.registerHooks(), which allows synchronous hook registration directlyin the main thread without a worker thread.
#1557
7ff575fThanks @toiroakr! - Rename the CLI binary fromtailor-sdktotailor.The output directory default changes from
.tailor-sdkto.tailor, and the GitHub Actions lock file path changes from.github/tailor-sdk.lockto.github/tailor.lock.Run the
v2/rename-bincodemod to migratetailor-sdkinvocations in package.json scripts, shell scripts, CI workflows, and documentation:#1563
501e8bfThanks @dqn! - Standardize SDK-owned environment variables on theTAILOR_*namespace.Replace the removed SDK-specific environment variables with their new names:
TAILOR_CONFIG_PATH,TAILOR_DTS_PATH,TAILOR_CI_ALLOW_ID_INJECTION,TAILOR_DEPLOY_BUILD_ONLY,TAILOR_BUILD_OUTPUT_DIR,TAILOR_SKILLS_SOURCE,TAILOR_TEMPLATE_SDK_VERSION,TAILOR_PLATFORM_URL,TAILOR_PLATFORM_OAUTH2_CLIENT_ID,TAILOR_INLINE_SOURCEMAP,TAILOR_QUERY_NEWLINE_ON_ENTER, andTAILOR_APP_LOG_LEVEL. The deprecatedTAILOR_TOKENfallback is removed; useTAILOR_PLATFORM_TOKEN. The v2 codemod rewrites unambiguous removed SDK environment variable names and flags generic names such asLOG_LEVELandPLATFORM_URLfor manual review.#1684
de3ef5eThanks @dqn! - Restore Tailor field outputs for UUID, date, datetime, time, and decimal fields to plain string-compatible types and remove the strict scalar string migration guidance.#1556
645949eThanks @toiroakr! - RenamedefineWaitPointanddefineWaitPointstocreateWaitPointandcreateWaitPoints.These functions create runtime instances with
.wait()and.resolve()methods that call the platform API at runtime, so thecreate*prefix is more accurate. Update any usages:Minor Changes
#1501
1e34d7aThanks @toiroakr! - Add CLI plugin support (beta). Runningtailor <name>for an unknown subcommand now executes an externaltailor-<name>executable found on your PATH or innode_modules/.bin(project-local takes precedence), forwarding all following arguments. This also works for unknown subcommands nested under a known command — e.g.tailor tailordb erddispatches totailor-tailordb-erd. Builtins always take precedence, matching stops at the first unknown segment, and a command that takes its own arguments is never replaced by a plugin. The plugin receives the current Tailor Platform context via environment variables (TAILOR_PLATFORM_TOKEN,TAILOR_PLATFORM_URL,TAILOR_PLATFORM_OAUTH2_CLIENT_ID,TAILOR_PLATFORM_WORKSPACE_ID,TAILOR_PLATFORM_USER,TAILOR_CONFIG_PATH,TAILOR_VERSION,TAILOR_BIN); token, workspace, and user are best-effort, so auth-free plugins still run when you are not logged in.Also adds:
tailor auth token— print a valid access token (refreshing it if expired) for use by plugins and scripts.tailor plugin list— list discovered plugins and their executable paths.Patch Changes
ee35251Thanks @toiroakr! - Remove theopenDownloadStreammethod frommockFile()(@tailor-platform/sdk/vitest), matching the runtime file API, which no longer exposes it. UsedownloadStreaminstead.#1629
a0bc8e7Thanks @dqn! - Validate auth user profile TailorDB types with the strict TailorDB parser schema.@tailor-platform/sdk-codemod@0.3.0-next.3
Patch Changes
#1559
ff8ef1cThanks @dqn! - Rename auth attribute module augmentation fromAttributeMaptoAttributes.#1584
7faff07Thanks @dqn! - Report the codemod runner identity in the JSON summary, including the source checkout commit and local build command when run from a branch build, so prerelease migration validation can distinguish exact npm packages from branch-head behavior.#1599
b88f6a2Thanks @dqn! - Apply the v2rename-bincodemod to SDK CLI command strings in TypeScript and JavaScript source files.#1578
579cb47Thanks @dqn! - Run v2 codemods when the target version is a v2 prerelease.#1686
aecaf8cThanks @dqn! - Replacetailor skills installwith project-localtailor skills add,list,remove, andsynccommands for bundled Tailor SDK agent skills.#1585
1c1ca49Thanks @dqn! - Report precise file-local findings forprincipal-unifyreview follow-ups, including nullable caller call sites andcontext.userhelper adapters.#1601
144f3e3Thanks @dqn! - Fixv2/principal-unifyreview findings for nested SDK field parser invoker values and destructured context helper messages.#1622
0fe8badThanks @dqn! - Remove the deprecatedauth.getConnectionToken()helper from values returned bydefineAuth(). Useauthconnection.getConnectionToken(...)from@tailor-platform/sdk/runtimein resolvers, executors, and workflows instead. The v2 codemod rewrites directauth.getConnectionToken(...)calls when theauthbinding is imported fromtailor.config.#1557
7ff575fThanks @toiroakr! - Rename the CLI binary fromtailor-sdktotailor.The output directory default changes from
.tailor-sdkto.tailor, and the GitHub Actions lock file path changes from.github/tailor-sdk.lockto.github/tailor.lock.Run the
v2/rename-bincodemod to migratetailor-sdkinvocations in package.json scripts, shell scripts, CI workflows, and documentation:#1563
501e8bfThanks @dqn! - Standardize SDK-owned environment variables on theTAILOR_*namespace.Replace the removed SDK-specific environment variables with their new names:
TAILOR_CONFIG_PATH,TAILOR_DTS_PATH,TAILOR_CI_ALLOW_ID_INJECTION,TAILOR_DEPLOY_BUILD_ONLY,TAILOR_BUILD_OUTPUT_DIR,TAILOR_SKILLS_SOURCE,TAILOR_TEMPLATE_SDK_VERSION,TAILOR_PLATFORM_URL,TAILOR_PLATFORM_OAUTH2_CLIENT_ID,TAILOR_INLINE_SOURCEMAP,TAILOR_QUERY_NEWLINE_ON_ENTER, andTAILOR_APP_LOG_LEVEL. The deprecatedTAILOR_TOKENfallback is removed; useTAILOR_PLATFORM_TOKEN. The v2 codemod rewrites unambiguous removed SDK environment variable names and flags generic names such asLOG_LEVELandPLATFORM_URLfor manual review.#1684
de3ef5eThanks @dqn! - Restore Tailor field outputs for UUID, date, datetime, time, and decimal fields to plain string-compatible types and remove the strict scalar string migration guidance.#1582
b8b48a3Thanks @dqn! - Flag JavaScript files and embedded code strings that still reference ambient Tailor runtime globals during v2 migration review.#1583
006a588Thanks @dqn! - Automatically migrate simple directtailor.idp.Clientruntime global usage to the typedidp.Clientwrapper during v2 upgrades.#1639
6616674Thanks @dqn! - Keep v2 codemods from reusing type-only runtime helper imports when adding runtime value imports.#1581
79780bcThanks @dqn! - Add thev2/tailor-output-ignore-dircodemod so SDK upgrades rewrite exact.tailor-sdk/ignore-file entries to.tailor/while leaving other.tailor-sdkpaths unchanged.#1556
645949eThanks @toiroakr! - RenamedefineWaitPointanddefineWaitPointstocreateWaitPointandcreateWaitPoints.These functions create runtime instances with
.wait()and.resolve()methods that call the platform API at runtime, so thecreate*prefix is more accurate. Update any usages: