@tailor-platform/sdk 2.12.0 → 2.13.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,29 @@
1
1
  # @tailor-platform/sdk
2
2
 
3
+ ## 2.13.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#2249](https://github.com/tailor-platform/sdk/pull/2249) [`ab26f98`](https://github.com/tailor-platform/sdk/commit/ab26f98c19b85eac31d0dd84d889fa313ad72c58) Thanks [@dqn](https://github.com/dqn)! - Fix the generated migration `db.ts` for an enum field whose allowed values change in the same migration as its required-ness: the write slots now follow the post-migration schema, so making the field required rejects `null` in `migrate.ts`, and making it optional accepts `null`. When an emptied enum becomes optional, the scaffolded `migrate.ts` writes `null` for the removed values instead of a `"NEW_VALUE"` placeholder.
8
+
9
+ - [#2256](https://github.com/tailor-platform/sdk/pull/2256) [`915f35d`](https://github.com/tailor-platform/sdk/commit/915f35d5148144940721cc115fd0eb961eb5a851) Thanks [@tailor-bobbin](https://github.com/apps/tailor-bobbin)! - Fix `seed apply --upsert` rejecting rows that omit fields the platform fills in on create, such as the `createdAt` / `updatedAt` fields from `db.fields.timestamps()` or any field declared with `.default()`
10
+
11
+ - [#2260](https://github.com/tailor-platform/sdk/pull/2260) [`1f1bd6f`](https://github.com/tailor-platform/sdk/commit/1f1bd6f13f4000a355c4fab61d46ddd71d508845) Thanks [@renovate](https://github.com/apps/renovate)! - fix(deps): update oxc to v0.148.0
12
+
13
+ ## 2.13.0
14
+
15
+ ### Minor Changes
16
+
17
+ - [#2232](https://github.com/tailor-platform/sdk/pull/2232) [`5f3e015`](https://github.com/tailor-platform/sdk/commit/5f3e015954a32b52ac17a3f59dfd91eb4bd75392) Thanks [@tailor-bobbin](https://github.com/apps/tailor-bobbin)! - Apply the selected profile consistently to user and personal access token commands
18
+
19
+ ### Patch Changes
20
+
21
+ - [#2250](https://github.com/tailor-platform/sdk/pull/2250) [`65086db`](https://github.com/tailor-platform/sdk/commit/65086dbd2c780db74d8e113f28d663cb06236c77) Thanks [@dqn](https://github.com/dqn)! - Fix multi-config deploys when one config imports another during automatic app ID generation
22
+
23
+ - [#2242](https://github.com/tailor-platform/sdk/pull/2242) [`9928f66`](https://github.com/tailor-platform/sdk/commit/9928f668274ec9967ef87aa1fad76e75f5059492) Thanks [@renovate](https://github.com/apps/renovate)! - fix(deps): update dependency type-fest to v5.9.0
24
+
25
+ - [#2253](https://github.com/tailor-platform/sdk/pull/2253) [`5f7d334`](https://github.com/tailor-platform/sdk/commit/5f7d334f52d9489b1344ad55b6a45ffdc104421e) Thanks [@renovate](https://github.com/apps/renovate)! - fix(deps): update dependency p-limit to v7.3.2
26
+
3
27
  ## 2.12.0
4
28
 
5
29
  ### Minor Changes
package/dist/cli/lib.mjs CHANGED
@@ -1,2 +1,2 @@
1
- import{n as ee,r as e}from"../logger-CCjs1DuH.mjs";import{A as t,Ar as n,At as r,B as i,Bn as a,Bt as o,Cn as s,Cr as c,D as l,Et as u,F as d,Fn as f,G as p,Gr as m,Gt as h,H as g,Hn as _,It as v,J as y,Jn as b,Jr as x,Jt as S,Kn as C,Lr as w,Lt as T,M as E,N as D,Ot as O,P as k,Pt as A,Q as j,Qn as M,Qr as N,Qt as P,Rn as F,Rt as I,S as L,St as R,T as z,Tr as B,Tt as V,U as H,Un as U,Ut as W,Vn as G,Vt as K,Xn as q,Xr as J,Y,Yn as X,Yr as Z,Zn as Q,Zr as te,Zt as ne,_ as $,b as re,ct as ie,d as ae,dn as oe,et as se,fr as ce,ft as le,h as ue,ht as de,i as fe,ii as pe,it as me,jt as he,k as ge,kn as _e,l as ve,mr as ye,mt as be,n as xe,nr as Se,nt as Ce,on as we,or as Te,ot as Ee,p as De,pn as Oe,pr as ke,qt as Ae,r as je,rn as Me,s as Ne,sr as Pe,t as Fe,un as Ie,ut as Le,vt as Re,wr as ze,wt as Be,xr as Ve,y as He,yt as Ue,zn as We}from"../register-ts-hook-rBH346V_.mjs";import{Q as Ge}from"../application-D3HlhR3i.mjs";import{t as Ke}from"../type-source--ZNcV8RJ.mjs";import{arg as qe,defineCommand as Je,runCommand as Ye,runMain as Xe}from"politty";await Fe(new URL(`./ts-hook.mjs`,import.meta.url));export{We as DB_TYPES_FILE_NAME,a as DIFF_FILE_NAME,G as INITIAL_SCHEMA_NUMBER,_ as MIGRATE_FILE_NAME,U as MIGRATE_TEST_FILE_NAME,Se as MIGRATION_LABEL_KEY,C as SCHEMA_FILE_NAME,c as apiCall,P as apply,P as deploy,qe as arg,ze as assertWritable,s as bundleMigrationScript,k as bundleSeedScript,D as chunkSeedData,Te as compareLocalTypesWithSnapshot,Pe as compareSnapshots,x as configArg,Z as confirmationArgs,J as createCommonArgs,Le as createFolder,f as createSnapshotFromLocalTypes,we as createWorkspace,m as defineAppCommand,Je as defineCommand,ie as deleteFolder,He as deleteWorkspace,g as deployStaticWebsite,te as deploymentArgs,oe as ensureConfigId,xe as errorToJson,V as executeScript,Be as extractOwnedNamespaces,ce as formatDiffSummary,ke as formatMigrationDiff,Ue as generate,Oe as generateUserTypes,L as getAppHealth,ne as getExecutor,T as getExecutorJob,I as getExecutorWaitFailureMessage,Ee as getFolder,r as getFunctionRegistry,b as getLatestMigrationNumber,de as getMachineUserToken,X as getMigrationDirPath,q as getMigrationFilePath,Q as getMigrationFiles,_e as getNamespacesWithMigrations,M as getNextMigrationNumber,be as getOAuth2Client,se as getOrganization,h as getWorkflow,Ae as getWorkflowExecution,$ as getWorkspace,ye as hasChanges,Ge as initOperatorClient,De as inviteUser,Ke as isPluginGeneratedTable,re as listApps,o as listExecutorJobs,v as listExecutors,me as listFolders,O as listFunctionRegistries,Re as listMachineUsers,le as listOAuth2Clients,j as listOrganizations,ae as listUsers,he as listWebhookExecutors,S as listWorkflowExecutions,ge as listWorkflows,Me as listWorkspaces,n as loadAccessToken,B as loadConfig,N as loadEnvFiles,E as loadSeedContext,R as loadTailorDBNamespaces,w as loadWorkspaceId,i as logBetaWarning,ee as logger,d as migrateGenerate,Y as organizationTree,Ve as prompt,fe as query,F as reconstructSnapshotFromMigrations,p as remove,ve as removeUser,ue as restoreWorkspace,l as resumeWorkflow,Ye as runCommand,Xe as runMain,je as serializeError,H as show,W as startWorkflow,e as styles,A as triggerExecutor,t as truncate,Ce as updateFolder,y as updateOrganization,Ne as updateUser,u as waitForExecution,z as waitWorkflowExecution,K as watchExecutorJob,pe as workspaceArgs,Ie as workspaceNameSchema};
1
+ import{n as ee,r as e}from"../logger-CCjs1DuH.mjs";import{A as t,Ar as n,At as r,B as i,Bn as a,Bt as o,Cn as s,Cr as c,D as l,Et as u,F as d,Fn as f,G as p,Gr as m,Gt as h,H as g,Hn as _,It as v,J as y,Jn as b,Jr as x,Jt as S,Kn as C,Lr as w,Lt as T,M as E,N as D,Ot as O,P as k,Pt as A,Q as j,Qn as M,Qr as N,Qt as P,Rn as F,Rt as I,S as L,St as R,T as z,Tr as B,Tt as V,U as H,Un as U,Ut as W,Vn as G,Vt as K,Xn as q,Xr as J,Y,Yn as X,Yr as Z,Zn as Q,Zr as te,Zt as ne,_ as $,b as re,ct as ie,d as ae,dn as oe,et as se,fr as ce,ft as le,h as ue,ht as de,i as fe,ii as pe,it as me,jt as he,k as ge,kn as _e,l as ve,mr as ye,mt as be,n as xe,nr as Se,nt as Ce,on as we,or as Te,ot as Ee,p as De,pn as Oe,pr as ke,qt as Ae,r as je,rn as Me,s as Ne,sr as Pe,t as Fe,un as Ie,ut as Le,vt as Re,wr as ze,wt as Be,xr as Ve,y as He,yt as Ue,zn as We}from"../register-ts-hook-BJmGCQAA.mjs";import{Q as Ge}from"../application-D3HlhR3i.mjs";import{t as Ke}from"../type-source--ZNcV8RJ.mjs";import{arg as qe,defineCommand as Je,runCommand as Ye,runMain as Xe}from"politty";await Fe(new URL(`./ts-hook.mjs`,import.meta.url));export{We as DB_TYPES_FILE_NAME,a as DIFF_FILE_NAME,G as INITIAL_SCHEMA_NUMBER,_ as MIGRATE_FILE_NAME,U as MIGRATE_TEST_FILE_NAME,Se as MIGRATION_LABEL_KEY,C as SCHEMA_FILE_NAME,c as apiCall,P as apply,P as deploy,qe as arg,ze as assertWritable,s as bundleMigrationScript,k as bundleSeedScript,D as chunkSeedData,Te as compareLocalTypesWithSnapshot,Pe as compareSnapshots,x as configArg,Z as confirmationArgs,J as createCommonArgs,Le as createFolder,f as createSnapshotFromLocalTypes,we as createWorkspace,m as defineAppCommand,Je as defineCommand,ie as deleteFolder,He as deleteWorkspace,g as deployStaticWebsite,te as deploymentArgs,oe as ensureConfigId,xe as errorToJson,V as executeScript,Be as extractOwnedNamespaces,ce as formatDiffSummary,ke as formatMigrationDiff,Ue as generate,Oe as generateUserTypes,L as getAppHealth,ne as getExecutor,T as getExecutorJob,I as getExecutorWaitFailureMessage,Ee as getFolder,r as getFunctionRegistry,b as getLatestMigrationNumber,de as getMachineUserToken,X as getMigrationDirPath,q as getMigrationFilePath,Q as getMigrationFiles,_e as getNamespacesWithMigrations,M as getNextMigrationNumber,be as getOAuth2Client,se as getOrganization,h as getWorkflow,Ae as getWorkflowExecution,$ as getWorkspace,ye as hasChanges,Ge as initOperatorClient,De as inviteUser,Ke as isPluginGeneratedTable,re as listApps,o as listExecutorJobs,v as listExecutors,me as listFolders,O as listFunctionRegistries,Re as listMachineUsers,le as listOAuth2Clients,j as listOrganizations,ae as listUsers,he as listWebhookExecutors,S as listWorkflowExecutions,ge as listWorkflows,Me as listWorkspaces,n as loadAccessToken,B as loadConfig,N as loadEnvFiles,E as loadSeedContext,R as loadTailorDBNamespaces,w as loadWorkspaceId,i as logBetaWarning,ee as logger,d as migrateGenerate,Y as organizationTree,Ve as prompt,fe as query,F as reconstructSnapshotFromMigrations,p as remove,ve as removeUser,ue as restoreWorkspace,l as resumeWorkflow,Ye as runCommand,Xe as runMain,je as serializeError,H as show,W as startWorkflow,e as styles,A as triggerExecutor,t as truncate,Ce as updateFolder,y as updateOrganization,Ne as updateUser,u as waitForExecution,z as waitWorkflowExecution,K as watchExecutorJob,pe as workspaceArgs,Ie as workspaceNameSchema};
2
2
  //# sourceMappingURL=lib.mjs.map