Version Packages#1157
Merged
Merged
Conversation
⚡ pkg.pr.new@tailor-platform/sdk@tailor-platform/create-sdk
|
e7f3862 to
796b68e
Compare
ec03bbd to
7e90e6d
Compare
da0af1d to
d7f1826
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
adacbb4 to
7a4967c
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
f2baf63 to
d5e8dca
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
92fce49 to
1ea7bf5
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
241769b to
6c3a2cb
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
380a6f7 to
2463f36
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
4bdb6df to
ebfd66c
Compare
This comment has been minimized.
This comment has been minimized.
Code Metrics Report (packages/sdk)
Details | | main (ebfd66c) | #1157 (a03a3b6) | +/- |
|--------------------|----------------|-----------------|------|
| Coverage | 61.8% | 61.8% | 0.0% |
| Files | 362 | 362 | 0 |
| Lines | 12647 | 12647 | 0 |
| Covered | 7827 | 7827 | 0 |
| Code to Test Ratio | 1:0.4 | 1:0.4 | 0.0 |
| Code | 82684 | 82684 | 0 |
| Test | 34422 | 34422 | 0 |SDK Configure Bundle Size
Runtime Performance
Type Performance (instantiations)
Reported by octocov |
toiroakr
approved these changes
May 14, 2026
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 main, this PR will be updated.
Releases
@tailor-platform/sdk@1.47.0
Minor Changes
#1115
8dd619eThanks @toiroakr! - Add@tailor-platform/sdk/vitest(beta) — a Vitest plugin and environment that emulates the Tailor Platform function runtime locally. Catchesnode:*imports and Node.js globals usage that would fail at deploy time, and provides mock control objects (tailordbMock,workflowMock,secretmanagerMock,authconnectionMock,idpMock,fileMock,iconvMock) for all platform APIs with response configuration and call recording.Revamp
packages/sdk/docs/testing.mdinto a 2-layer model (Unit Tests / E2E Tests). The previous structure split Unit, Bundled, and Workflow tests across overlapping sections and contained broken vitest imports and references to a non-existent--template testing. The new docs cover testing resolvers (simple, with TailorDB mocks, with DI, and with wait points) and workflow jobs (simple, withtriggerJobFunctionmocks, with wait-point mocks, and full-workflow integration), all anchored on the actualresolverandworkflowtemplates.Mark
createImportMainandsetupInvokerMockfrom@tailor-platform/sdk/testas@deprecated.createImportMainis an SDK-internal helper for verifying bundled output; applications should test their TypeScript source directly (unit) and verify deployed behavior via E2E.setupInvokerMockis superseded by thetailor-runtimeVitest environment, where bundled tests can drive the invoker viavi.spyOn(globalThis.tailor.context, "getInvoker").mockReturnValue(...)and unit tests can passinvokerdirectly to.body(). Both exports remain in place for now to avoid a breaking change and will be removed in a future release.Remove the broken
tests/bundled.test.tsfrom theresolverandworkflowtemplates along with the relatedbundledvitest project andtest:bundled/test:bundled:preparescripts. These tests were not exercised by CI and had drifted out of sync with the SDK, producing failures on a fresh scaffold.Fix a broken anchor in
docs/services/workflow.mdthat pointed at the removed#testing-wait-pointsheading; it now links to../testing.md#jobs-that-wait-on-approvalto match the new testing docs structure.Patch Changes
#1155
fd70f8cThanks @toiroakr! - Fix false-positive remote schema drift ondecimalfields without an explicitscale. The platform stores decimal fields with a default scale of 6, but thesnapshot generated by
tailor-sdk tailordb migration generate --initdid notrecord this default, so
tailor-sdk deploy(formerlyapply) reported drift asscale: remote=6, expected=undefinedand blocked the deploy.Migration drift detection now treats an unset
scaleon adecimalfield asequivalent to the platform default (6). No regeneration of existing snapshots
is required; users no longer need
--no-schema-checkto work around this case.#1164
b1e8f5aThanks @toiroakr! - Eliminate the parser-layer exception that allowedparser/service/tailordb/runtime.tsto re-export runtime helpers from the configure module. Plugin attachment processing for a TailorDB type now lives inPluginManager.processAttachmentsForTypeand returns plain data (extended type, generated types, render events), so the cli layer applies state and renders progress without depending onTailorAnyDBType. Internal refactor with no public API change.#1134
02e12f6Thanks @renovate! - fix(deps): update @opentelemetry#1135
8f53196Thanks @renovate! - fix(deps): update dependency @clack/prompts to v1.3.0#1137
aef3653Thanks @renovate! - fix(deps): update dependency @napi-rs/keyring to v1.3.0#1047
aa6ec4aThanks @toiroakr! - chore(setup github): bump bundledtailor-platform/actionsref to v1.1.0 and let Renovate keep it up to date going forward.@tailor-platform/create-sdk@1.47.0
Patch Changes
#1115
8dd619eThanks @toiroakr! - Add@tailor-platform/sdk/vitest(beta) — a Vitest plugin and environment that emulates the Tailor Platform function runtime locally. Catchesnode:*imports and Node.js globals usage that would fail at deploy time, and provides mock control objects (tailordbMock,workflowMock,secretmanagerMock,authconnectionMock,idpMock,fileMock,iconvMock) for all platform APIs with response configuration and call recording.Revamp
packages/sdk/docs/testing.mdinto a 2-layer model (Unit Tests / E2E Tests). The previous structure split Unit, Bundled, and Workflow tests across overlapping sections and contained broken vitest imports and references to a non-existent--template testing. The new docs cover testing resolvers (simple, with TailorDB mocks, with DI, and with wait points) and workflow jobs (simple, withtriggerJobFunctionmocks, with wait-point mocks, and full-workflow integration), all anchored on the actualresolverandworkflowtemplates.Mark
createImportMainandsetupInvokerMockfrom@tailor-platform/sdk/testas@deprecated.createImportMainis an SDK-internal helper for verifying bundled output; applications should test their TypeScript source directly (unit) and verify deployed behavior via E2E.setupInvokerMockis superseded by thetailor-runtimeVitest environment, where bundled tests can drive the invoker viavi.spyOn(globalThis.tailor.context, "getInvoker").mockReturnValue(...)and unit tests can passinvokerdirectly to.body(). Both exports remain in place for now to avoid a breaking change and will be removed in a future release.Remove the broken
tests/bundled.test.tsfrom theresolverandworkflowtemplates along with the relatedbundledvitest project andtest:bundled/test:bundled:preparescripts. These tests were not exercised by CI and had drifted out of sync with the SDK, producing failures on a fresh scaffold.Fix a broken anchor in
docs/services/workflow.mdthat pointed at the removed#testing-wait-pointsheading; it now links to../testing.md#jobs-that-wait-on-approvalto match the new testing docs structure.