Version Packages#1232
Closed
tailor-platform-pr-trigger[bot] wants to merge 0 commit into
Closed
Conversation
⚡ pkg.pr.new@tailor-platform/sdk@tailor-platform/create-sdk
|
a9175ab to
82fc786
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.
bcbc89a to
ae23669
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
41c3e2f to
f15385a
Compare
This comment has been minimized.
This comment has been minimized.
Code Metrics Report (packages/sdk)
Details | | main (f15385a) | #1232 (b2afb6e) | +/- |
|--------------------|----------------|-----------------|------|
| Coverage | 63.9% | 63.9% | 0.0% |
| Files | 375 | 375 | 0 |
| Lines | 13016 | 13016 | 0 |
| Covered | 8321 | 8321 | 0 |
| Code to Test Ratio | 1:0.4 | 1:0.4 | 0.0 |
| Code | 86618 | 86618 | 0 |
| Test | 36919 | 36919 | 0 |SDK Configure Bundle Size
Runtime Performance
Type Performance (instantiations)
Reported by octocov |
91cdb32 to
ea042f9
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 main, this PR will be updated.
Releases
@tailor-platform/sdk@1.51.0
Minor Changes
#1131
c62c3b0Thanks @toiroakr! - Add@tailor-platform/sdk/runtime— typed wrappers for the Tailor Platform Function runtime APIs (tailor.iconv,tailor.secretmanager,tailor.authconnection,tailor.idp,tailor.workflow,tailor.context, andtailordb.file). The wrappers and their types are fully self-contained, so you can use them without activating any ambient globals.The SDK no longer depends on the external
@tailor-platform/function-typespackage; its declarations are now vendored inside the SDK. For backwards compatibility the ambienttailor.*/tailordb.*types are still activated automatically when you import from@tailor-platform/sdk, so existing code keeps type-checking with no changes. This implicit activation will be removed in v2.0 — new code is encouraged to use the typed wrappers from@tailor-platform/sdk/runtime, or to opt into the globals explicitly viaimport "@tailor-platform/sdk/runtime/globals"(or by listing the entry intsconfig.json'scompilerOptions.types).The capital-cased
Tailordbambient namespace (Tailordb.QueryResult,Tailordb.CommandType,Tailordb.Client) is preserved as a@deprecatedalias of the new lowercasetailordb.*namespace for source-level compatibility with@tailor-platform/function-types. It will be removed in v2.0; runpnpm dlx @tailor-platform/sdk-codemod v2/tailordb-namespaceto migrate. The@tailor-platform/function-typesdeclarations are vendored inside the SDK and activated automatically, so you can simply remove@tailor-platform/function-typesfrom yourpackage.json(and fromtsconfig.jsoncompilerOptions.typesif listed) once you've upgraded.Other test-mock changes from
@tailor-platform/sdk/vitest:openDownloadStream(ortoFileStream()) call consumes a queued mock result, rawUint8Array/ArrayBufferpayloads are now rejected. Enqueue a structured iterable ofStreamValueitems ({ type: "metadata" },{ type: "chunk", data, position },{ type: "complete" }) so test streams stay aligned with the platform's structured stream contract. The shorthandUint8Arrayenqueue is still accepted bydownload/downloadAsBase64.Patch Changes
#1215
65ffd8aThanks @renovate! - fix(deps): update @opentelemetry#1199
1b6d0d8Thanks @toiroakr! - Fix:tailor-sdk tailordb truncateand theexec.mjsgenerated by the built-inseedPluginno longer touch namespaces declared with{ external: true }.tailor-sdk tailordb truncate --allnow only truncates namespaces the current app actually owns; namespaces declared with{ external: true }are skipped. This also covers the--truncatepath ofseed/exec.mjs, so itsseed:resetno longer wipes a sibling app's data.tailor-sdk tailordb truncate --namespace <name>now rejects an external namespace with a dedicated error pointing the user to the owning app, instead of the generic "not found in config" message.seed/exec.mjsnow starts with an@generatedheader to discourage hand-edits, since the entire file is regenerated on everysdk generate.@tailor-platform/sdk-codemod@0.2.1
Patch Changes
f5d3d38Thanks @toiroakr! - Addv2/tailordb-namespacecodemod for the@tailor-platform/function-types→@tailor-platform/sdkvendoring: rewrite references to the deprecated capital-casedTailordbambient namespace (Tailordb.QueryResult,Tailordb.CommandType,Tailordb.Client,typeof Tailordb.Client) to the new lowercasetailordb.*namespace re-published by the SDK.@tailor-platform/create-sdk@1.51.0