Skip to content

Release - main - #2743

Merged
toiroakr merged 1 commit into
mainfrom
changeset-release/main
Oct 23, 2026
Merged

toiroakr merged 1 commit into
mainfrom
changeset-release/main

Conversation

@tailor-platform-pr-trigger

@tailor-platform-pr-trigger tailor-platform-pr-trigger Bot commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor

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@2.33.0

Minor Changes

  • #2742 4f3f30c Thanks @mocchira! - customDomains entries can now name a destination, moving a domain to another static website — in the same workspace or a different one — without downtime, a new certificate, or a DNS change:

    defineStaticWebSite("my-website", {
      customDomains: [{ domain: "app.example.com", transferTo: { workspaceId: "..." } }],
    });

    Deploying opens the offer; the receiving side accepts it by listing the domain normally and deploying. tailor deploy reports an open offer and says when the domain has moved and the entry can be deleted.

    While an offer is open, tailor deploy and tailor remove refuse to remove the domain or the static website holding it, at plan time and before anything is applied. A plan also fails, rather than quietly doing nothing, when an entry names a domain the site does not hold and no transfer from this workspace accounts for it, or when the domain is still being removed.

    tailor deploy also now takes ownership of a custom domain that already exists but carries no SDK labels, instead of trying to add it again — the recovery path when a previous deploy lost the response, or when the domain was added through the API or console.

  • #2591 59fcb9a Thanks @toiroakr! - Let a TailorDB migration script that exports steps roll back instead of staying in progress when a step fails. Export onFailure = "rollback" next to steps and tailor deploy restores the pre-migration schema, clears the in-progress record, and takes the tables out of maintenance mode. The deploy then fails with the step's error under the code MIGRATION_ROLLED_BACK, and the next deploy runs every step again from the beginning. Nothing is rolled back while the run may still be executing, or when the in-progress record cannot be cleared. If some tables cannot be rolled back, the deploy warns which tables need manual repair. Without onFailure, or with "resume", a failed run stays in progress as before

  • #2700 6eb2033 Thanks @toiroakr! - The db.pglite.ts that tailor tailordb migration generate writes now enforces relations: a row pointing at a parent that does not exist is rejected, as on the platform. Migration tests that stage a row whose parent is missing must create the parent first or stage the row with prepareFixtures. A relation the pre-migration schema cannot satisfy is left unenforced: one whose pending type change leaves the field a different type from its target, or one the migration retargets.

    prepareFixtures from @tailor-platform/sdk/vitest writes a test's starting records with relations unchecked, so a migration test can stage rows that predate a relation, and checks them again before the script runs. The migration PGlite test scaffold uses it.

Patch Changes

  • #2741 6f6ca9f Thanks @mocchira! - tailor staticwebsite domain list and domain get now report a domain being removed as removing instead of unknown, and tailor api can inspect and call the custom domain transfer endpoints (RequestCustomDomainTransfer, CancelCustomDomainTransfer, AcceptCustomDomainTransfer, GetCustomDomainTransfer, ListCustomDomainTransfers).

  • #2736 8595d14 Thanks @toiroakr! - tailor login now shows an HTML page in the browser after authentication instead of raw JSON, telling you to close the tab and return to the terminal. The page follows the system light/dark theme. A failed login shows the reason in the page as well, and tailor authconnection authorize shows the same pages on success and failure.

  • #2740 ef844ff Thanks @renovate! - fix(deps): update dependency @​napi-rs/keyring to v2.1.2

  • #2760 a7d1cb8 Thanks @renovate! - fix(deps): update @​inquirer

  • #2766 15b6f4a Thanks @renovate! - fix(deps): update dependency pkg-types to v2.4.0

  • #2718 8927563 Thanks @toiroakr! - The tailor query REPL now highlights SQL block comments (/* ... */) and GraphQL block strings ("""...""") that span multiple lines, and also colours SQL -- comments and trailing GraphQL # comments.

  • #2731 bbfb9b1 Thanks @dqn! - Fix plugin-generated resolvers being silently ignored. Resolver output from table and namespace hooks is now loaded, bundled, and deployed to the resolver namespace with the same name as the hook's TailorDB namespace. The two are separate namespaces that only share the name; the resolver namespace is created automatically when it is not configured, and its settings apply when it is. Resolvers that your existing plugins already return are deployed on the next deploy; without defaultPermission on their resolver namespace, anonymous callers can reach them.

  • #2747 d52ec40 Thanks @dqn! - Internal refactoring: remove the unused asynchronous variants of the SDK's internal TypeScript loader hooks. Loading .ts config and resource files is unchanged.

  • #2744 559d442 Thanks @dqn! - Reject duplicate generated enum constant names instead of silently overwriting definitions. Duplicates with identical values, which previously generated successfully, now fail too. Rename conflicting tables or fields to give their enum constants unique names.

@tailor-platform/eslint-plugin-sdk@0.3.1

Patch Changes

  • #2730 a0ad6c2 Thanks @dqn! - Fix no-unconditional-permit missing unrestricted permissions on db.table chains

@tailor-platform/sdk-codemod@0.10.3

Patch Changes

  • #2751 4db61d5 Thanks @dqn! - Internal refactor: codemods that carried copies of the same helpers now share one implementation. The codemods rewrite and report the same code as before.

  • #2745 f0abb8b Thanks @dqn! - Internal cleanup: remove unused per-codemod codemod.yaml manifests and the unused language codemod metadata field. No change to codemod behavior.

  • #2760 a7d1cb8 Thanks @renovate! - fix(deps): update @​inquirer

  • #2766 15b6f4a Thanks @renovate! - fix(deps): update dependency pkg-types to v2.4.0

@tailor-platform/sdk-plugin-seed@0.6.1

Patch Changes

@tailor-platform/sdk-plugin-setup@0.13.1

Patch Changes

@tailor-platform/sdk-plugin-tailordb-erd@0.3.2

Patch Changes

@tailor-platform/create-sdk@2.33.0

No changes in this release.

@pkg-pr-new

pkg-pr-new Bot commented Oct 22, 2026 •

Copy link
Copy Markdown

Open in StackBlitz

@tailor-platform/create-sdk

pnpm add https://pkg.pr.new/tailor-platform/sdk/@tailor-platform/create-sdk@369a9a2

@tailor-platform/eslint-plugin-sdk

pnpm add https://pkg.pr.new/tailor-platform/sdk/@tailor-platform/eslint-plugin-sdk@369a9a2

@tailor-platform/sdk

pnpm add https://pkg.pr.new/tailor-platform/sdk/@tailor-platform/sdk@369a9a2

@tailor-platform/sdk-plugin-frontend

pnpm add https://pkg.pr.new/tailor-platform/sdk/@tailor-platform/sdk-plugin-frontend@369a9a2

@tailor-platform/sdk-plugin-seed

pnpm add https://pkg.pr.new/tailor-platform/sdk/@tailor-platform/sdk-plugin-seed@369a9a2

@tailor-platform/sdk-plugin-setup

pnpm add https://pkg.pr.new/tailor-platform/sdk/@tailor-platform/sdk-plugin-setup@369a9a2

@tailor-platform/sdk-plugin-tailordb-erd

pnpm add https://pkg.pr.new/tailor-platform/sdk/@tailor-platform/sdk-plugin-tailordb-erd@369a9a2

commit: 369a9a2

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@tailor-platform-pr-trigger
tailor-platform-pr-trigger Bot force-pushed the changeset-release/main branch 2 times, most recently from e9b808b to dd1ac21 Compare October 23, 2026 00:56
@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

github-actions Bot commented Oct 23, 2026 •

Copy link
Copy Markdown

🗺️ ERD preview

Self-contained ERD viewer HTML built for this run. Each viewer can switch between the current schema and a diff against base branch main.

@tailor-platform-pr-trigger
tailor-platform-pr-trigger Bot force-pushed the changeset-release/main branch 2 times, most recently from 569321e to c333781 Compare October 23, 2026 07:26
@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

Copy link
Copy Markdown

Code Metrics Report (packages/sdk)

main (7ad645e) #2743 (50542da) +/-
Coverage 88.0% 88.0% 0.0%
Code to Test Ratio 1:0.5 1:0.5 0.0
Details
  |                    | main (7ad645e) | #2743 (50542da) | +/-  |
  |--------------------|----------------|-----------------|------|
  | Coverage           |          88.0% |           88.0% | 0.0% |
  |   Files            |            567 |             567 |    0 |
  |   Lines            |          24969 |           24969 |    0 |
  |   Covered          |          21985 |           21985 |    0 |
  | Code to Test Ratio |          1:0.5 |           1:0.5 |  0.0 |
  |   Code             |         204088 |          204088 |    0 |
  |   Test             |         114568 |          114568 |    0 |

SDK Configure Bundle Size

main (7ad645e) #2743 (50542da) +/-
configure-index-size 13.82KB 13.82KB 0KB
dependency-chunks-size 25.81KB 25.81KB 0KB
total-bundle-size 39.63KB 39.63KB 0KB

Runtime Performance

main (7ad645e) #2743 (50542da) +/-
Generate Median 1,896ms 1,896ms 0ms
Generate Max 1,904ms 1,907ms +3ms
Apply Build Median 2,061ms 2,056ms -5ms
Apply Build Max 2,073ms 2,073ms 0ms

Type Performance (instantiations)

main (7ad645e) #2743 (50542da) +/-
tailordb-baseline 947 947 0
resolver-baseline 4,641 4,641 0
executor-baseline 848 848 0
tailordb-basic 2,343 2,343 0
tailordb-optional 1,149 1,149 0
tailordb-relation 3,794 3,794 0
tailordb-validate 186 186 0
tailordb-hooks 981 981 0
tailordb-object 1,890 1,890 0
tailordb-enum 568 568 0
resolver-basic 1,022 1,022 0
resolver-nested 3,405 3,405 0
resolver-array 1,954 1,954 0
executor-schedule 1,388 1,388 0
executor-webhook 47 47 0
executor-record-created 3,219 3,219 0
executor-record-updated 3,219 3,219 0
executor-record-deleted 3,219 3,219 0
executor-resolver 463 463 0
executor-operation-function 30 30 0
executor-operation-gql 43 43 0
executor-operation-webhook 50 50 0
executor-operation-workflow 211 211 0

Reported by octocov

@toiroakr
toiroakr merged commit 4c68b41 into main Oct 23, 2026
53 checks passed
@toiroakr
toiroakr deleted the changeset-release/main branch October 23, 2026 13:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant