@tailor-platform/sdk 1.57.0 → 1.58.0

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.
Files changed (32) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/dist/{application-CdkoGX27.mjs → application-B59TaTk_.mjs} +4 -3
  3. package/dist/{application-CdkoGX27.mjs.map → application-B59TaTk_.mjs.map} +1 -1
  4. package/dist/application-gO_pa5BO.mjs +4 -0
  5. package/dist/cli/index.mjs +164 -13
  6. package/dist/cli/index.mjs.map +1 -1
  7. package/dist/cli/lib.d.mts +581 -2
  8. package/dist/cli/lib.mjs +3 -3
  9. package/dist/{client-DLPEPJ_s.mjs → client-62B-r3MN.mjs} +39 -10
  10. package/dist/client-62B-r3MN.mjs.map +1 -0
  11. package/dist/{client-DrzwCD1W.mjs → client-BWl3f1XS.mjs} +1 -1
  12. package/dist/configure/index.d.mts +2 -2
  13. package/dist/{crashreport-Bm2mN5tg.mjs → crashreport-CCGpLUlP.mjs} +2 -2
  14. package/dist/{crashreport-Bm2mN5tg.mjs.map → crashreport-CCGpLUlP.mjs.map} +1 -1
  15. package/dist/{crashreport-C5oHvHUC.mjs → crashreport-CXD_Kjk-.mjs} +1 -1
  16. package/dist/{index-B61gFI9a.d.mts → index-BWoHfE-i.d.mts} +3 -2
  17. package/dist/{runtime-1YuaoNr8.mjs → runtime-BC-FbQkg.mjs} +149 -133
  18. package/dist/runtime-BC-FbQkg.mjs.map +1 -0
  19. package/dist/utils/test/index.d.mts +2 -2
  20. package/dist/{workflow.generated-Kz-nQrTf.d.mts → workflow.generated-CV77NlFp.d.mts} +3 -2
  21. package/docs/cli/application.md +5 -5
  22. package/docs/cli/auth.md +55 -6
  23. package/docs/cli/function.md +2 -2
  24. package/docs/cli/staticwebsite.md +137 -0
  25. package/docs/cli-reference.md +17 -14
  26. package/docs/generator/builtin.md +1 -1
  27. package/docs/services/auth.md +0 -11
  28. package/docs/services/staticwebsite.md +13 -0
  29. package/package.json +4 -4
  30. package/dist/application-x_mURdR0.mjs +0 -4
  31. package/dist/client-DLPEPJ_s.mjs.map +0 -1
  32. package/dist/runtime-1YuaoNr8.mjs.map +0 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,25 @@
1
1
  # @tailor-platform/sdk
2
2
 
3
+ ## 1.58.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#1310](https://github.com/tailor-platform/sdk/pull/1310) [`228b244`](https://github.com/tailor-platform/sdk/commit/228b244c9d2c617ac0ca7d2a354cc1cd6606327c) Thanks [@toiroakr](https://github.com/toiroakr)! - feat(cli): add `authconnection delete` and use it during deploy
8
+
9
+ `tailor-sdk authconnection delete` removes an auth connection entirely (configuration, secret, and tokens), complementing `tailor-sdk authconnection revoke`, which only invalidates the active session and keeps the connection so it can be re-authorized. `deploy` now uses delete when it replaces or removes the auth connections it manages.
10
+
11
+ - [#1367](https://github.com/tailor-platform/sdk/pull/1367) [`545f74b`](https://github.com/tailor-platform/sdk/commit/545f74b6af26fbc5d8b4c9e147af9b09fe2e4644) Thanks [@haru0017](https://github.com/haru0017)! - Add `customDomains` option to `defineStaticWebSite()` for associating custom domains with static websites, and `staticwebsite domain get` / `staticwebsite domain list` CLI commands for checking domain status and DNS CNAME targets.
12
+
13
+ ### Patch Changes
14
+
15
+ - [#1368](https://github.com/tailor-platform/sdk/pull/1368) [`6c143bf`](https://github.com/tailor-platform/sdk/commit/6c143bfb913d8d866442edd6c8f60c02e818e6ba) Thanks [@dqn](https://github.com/dqn)! - Internal refactoring: consolidate the per-resource TRN builder functions and inline `${trnPrefix(...)}:<kind>:<name>` template literals scattered across the deploy commands into a single typed `resourceTrn(workspaceId, kind, name)` helper. No user-facing behavior change.
16
+
17
+ - [#1376](https://github.com/tailor-platform/sdk/pull/1376) [`cf1d87c`](https://github.com/tailor-platform/sdk/commit/cf1d87cfb6a379bbf1d0448ea0ec306c0dae4611) Thanks [@toiroakr](https://github.com/toiroakr)! - Reword CLI `--help` text and the bundled documentation to describe user-facing behavior instead of internal implementation details. The `api` and `function logs` command notes no longer expose internal terms such as proto/RPC names, the `TestExecScript` API, or bundle sourcemap/content-hash mechanics, and the auth docs drop the internal "SDK vs Platform Naming" note. No runtime behavior changes.
18
+
19
+ - [#1352](https://github.com/tailor-platform/sdk/pull/1352) [`a3bf971`](https://github.com/tailor-platform/sdk/commit/a3bf9710b337e44b505f0acd6d814821849f4c60) Thanks [@renovate](https://github.com/apps/renovate)! - fix(deps): update dependency @clack/prompts to v1.5.1
20
+
21
+ - [#1353](https://github.com/tailor-platform/sdk/pull/1353) [`f0cfb61`](https://github.com/tailor-platform/sdk/commit/f0cfb61dcadb47819a8916da9bcf9b63a4ff5706) Thanks [@renovate](https://github.com/apps/renovate)! - fix(deps): update dependency semver to v7.8.2
22
+
3
23
  ## 1.57.0
4
24
 
5
25
  ### Minor Changes
@@ -1,6 +1,6 @@
1
1
 
2
2
  import { n as isSdkBranded } from "./brand-DlnJ375c.mjs";
3
- import { u as initOAuth2Client } from "./client-DLPEPJ_s.mjs";
3
+ import { u as initOAuth2Client } from "./client-62B-r3MN.mjs";
4
4
  import { a as parseBoolean, n as logger, r as styles } from "./logger-DpJyJvNz.mjs";
5
5
  import { n as enumConstantsPlugin, t as EnumConstantsGeneratorID } from "./enum-constants-C7DaWeQo.mjs";
6
6
  import { t as multiline } from "./multiline-Cf9ODpr1.mjs";
@@ -5502,7 +5502,8 @@ const SecretsSchema = z.object({
5502
5502
  const StaticWebsiteSchema = z.object({
5503
5503
  name: z.string().describe("Static website name"),
5504
5504
  description: z.string().optional().describe("Static website description"),
5505
- allowedIpAddresses: z.array(z.string()).optional().describe("IP addresses allowed to access the website")
5505
+ allowedIpAddresses: z.array(z.string()).optional().describe("IP addresses allowed to access the website"),
5506
+ customDomains: z.array(z.string()).optional().describe("Custom domains for the static website")
5506
5507
  }).brand("StaticWebsiteConfig");
5507
5508
 
5508
5509
  //#endregion
@@ -5839,4 +5840,4 @@ async function loadApplication(params) {
5839
5840
 
5840
5841
  //#endregion
5841
5842
  export { resolveTokens as A, loadConfig as C, loadConfigPath as D, loadAccessToken as E, writePlatformConfig as M, loadWorkspaceId as O, hashFile as S, fetchLatestToken as T, createLogLevelTreeshakeOptions as _, WorkflowJobSchema as a, getDistDir as b, createExecutorService as c, buildExecutorArgsExpr as d, buildResolverOperationHookExpr as f, composeFunctionTreeshakeOptions as g, loadFilesWithIgnores as h, resolveInlineSourcemap as i, saveUserTokens as j, readPlatformConfig as k, ExecutorSchema as l, stringifyFunction as m, generatePluginFilesIfNeeded as n, ResolverSchema as o, TailorDBTypeSchema as p, loadApplication as r, HTTP_METHODS as s, defineApplication as t, INVOKER_EXPR as u, resolveBundleLogLevel as v, deleteUserTokens as w, hashContent as x, createBundleCache as y };
5842
- //# sourceMappingURL=application-CdkoGX27.mjs.map
5843
+ //# sourceMappingURL=application-B59TaTk_.mjs.map