Repository navigation
Update dependency @tailor-platform/sdk to v2.33.0 - #138
Merged
Merged
Conversation
anukiransolur
approved these changes
Oct 23, 2026
anukiransolur
left a comment
Contributor
There was a problem hiding this comment.
@tailor-platform/sdk 2.32.0 → 2.33.0 (minor). New opt-in features (customDomains transferTo, migration onFailure rollback) plus fixes. Behavior changes checked against the tutorial steps, none apply: duplicate enum constant names now fail generate (Project/Task status constants are distinct); plugin-generated resolvers are now deployed (kyselyTypePlugin generates types only); db.pglite.ts relation enforcement (no migration tests here). CI passes on all steps, and generate + tsc also pass on 2.33.0 for the code in #137. Only package.json/package-lock.json change, so no overlap with #137. Safe to merge.
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 contains the following updates:
2.32.0→2.33.0Release Notes
tailor-platform/sdk (@tailor-platform/sdk)
v2.33.0Compare Source
Minor Changes
#2742
4f3f30cThanks @mocchira! -customDomainsentries 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:Deploying opens the offer; the receiving side accepts it by listing the domain normally and deploying.
tailor deployreports an open offer and says when the domain has moved and the entry can be deleted.While an offer is open,
tailor deployandtailor removerefuse 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 deployalso 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
59fcb9aThanks @toiroakr! - Let a TailorDB migration script that exportsstepsroll back instead of staying in progress when a step fails. ExportonFailure = "rollback"next tostepsandtailor deployrestores 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 codeMIGRATION_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. WithoutonFailure, or with"resume", a failed run stays in progress as before#2700
6eb2033Thanks @toiroakr! - Thedb.pglite.tsthattailor tailordb migration generatewrites 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 withprepareFixtures. 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.prepareFixturesfrom@tailor-platform/sdk/vitestwrites 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
6f6ca9fThanks @mocchira! -tailor staticwebsite domain listanddomain getnow report a domain being removed asremovinginstead ofunknown, andtailor apican inspect and call the custom domain transfer endpoints (RequestCustomDomainTransfer,CancelCustomDomainTransfer,AcceptCustomDomainTransfer,GetCustomDomainTransfer,ListCustomDomainTransfers).#2736
8595d14Thanks @toiroakr! -tailor loginnow 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, andtailor authconnection authorizeshows the same pages on success and failure.#2740
ef844ffThanks @renovate! - fix(deps): update dependency @napi-rs/keyring to v2.1.2#2760
a7d1cb8Thanks @renovate! - fix(deps): update @inquirer#2766
15b6f4aThanks @renovate! - fix(deps): update dependency pkg-types to v2.4.0#2718
8927563Thanks @toiroakr! - Thetailor queryREPL now highlights SQL block comments (/* ... */) and GraphQL block strings ("""...""") that span multiple lines, and also colours SQL--comments and trailing GraphQL#comments.#2731
bbfb9b1Thanks @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 nextdeploy; withoutdefaultPermissionon their resolver namespace, anonymous callers can reach them.#2747
d52ec40Thanks @dqn! - Internal refactoring: remove the unused asynchronous variants of the SDK's internal TypeScript loader hooks. Loading.tsconfig and resource files is unchanged.#2744
559d442Thanks @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.Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.