@tailor-platform/sdk 1.66.1 → 1.67.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 (89) hide show
  1. package/CHANGELOG.md +49 -0
  2. package/dist/application-Djeezk3m.mjs +4 -0
  3. package/dist/{client-F0a4cWUM.mjs → application-WpWwTyk9.mjs} +5734 -20
  4. package/dist/application-WpWwTyk9.mjs.map +1 -0
  5. package/dist/{authconnection-D8SJGMpj.mjs → authconnection-Ds2Ahpum.mjs} +2 -2
  6. package/dist/{authconnection-D8SJGMpj.mjs.map → authconnection-Ds2Ahpum.mjs.map} +1 -1
  7. package/dist/cli/index.mjs +18 -64
  8. package/dist/cli/index.mjs.map +1 -1
  9. package/dist/cli/lib.d.mts +7 -7
  10. package/dist/cli/lib.mjs +3 -4
  11. package/dist/cli/lib.mjs.map +1 -1
  12. package/dist/completion/zsh-worker.zsh +1 -1
  13. package/dist/configure/index.d.mts +5 -5
  14. package/dist/configure/index.mjs +2 -2
  15. package/dist/configure/index.mjs.map +1 -1
  16. package/dist/{context-s0lxhu8_.mjs → context-CDQqIv4u.mjs} +2 -2
  17. package/dist/{context-s0lxhu8_.mjs.map → context-CDQqIv4u.mjs.map} +1 -1
  18. package/dist/{crashreport-Bf6uT6mf.mjs → crashreport-6jpCceOF.mjs} +1 -1
  19. package/dist/{crashreport-0EHy-ayY.mjs → crashreport-u9y2npiy.mjs} +5 -7
  20. package/dist/{crashreport-0EHy-ayY.mjs.map → crashreport-u9y2npiy.mjs.map} +1 -1
  21. package/dist/enum-constants-C7DaWeQo.mjs.map +1 -1
  22. package/dist/field-C4zdJLW5.mjs.map +1 -1
  23. package/dist/{file-B58Dm-2P.mjs → file-BkxupbYP.mjs} +2 -2
  24. package/dist/{file-B58Dm-2P.mjs.map → file-BkxupbYP.mjs.map} +1 -1
  25. package/dist/file-utils-BHPxPXmn.mjs.map +1 -1
  26. package/dist/{iconv-DreIffeM.mjs → iconv-D1zmPjvi.mjs} +2 -2
  27. package/dist/{iconv-DreIffeM.mjs.map → iconv-D1zmPjvi.mjs.map} +1 -1
  28. package/dist/{idp-Ch95ag8h.mjs → idp-BZPqpcYY.mjs} +2 -2
  29. package/dist/{idp-Ch95ag8h.mjs.map → idp-BZPqpcYY.mjs.map} +1 -1
  30. package/dist/{index-Db2RvnEH.d.mts → index-CklcVeMG.d.mts} +2 -2
  31. package/dist/{index-CZ2r3qiO.d.mts → index-DYhnxXYR.d.mts} +2 -2
  32. package/dist/{index-QpC0TNbH.d.mts → index-DlDRSzFZ.d.mts} +2 -2
  33. package/dist/{index-BdLqzJDu.d.mts → index-DvEUb3pX.d.mts} +15 -9
  34. package/dist/{index-Bhjep8cS.d.mts → index-hXoO-AOC.d.mts} +2 -2
  35. package/dist/job-BpsFXPbi.mjs.map +1 -1
  36. package/dist/kysely-type-D1e0Vwkd.mjs.map +1 -1
  37. package/dist/mock-DMgIygjE.mjs.map +1 -1
  38. package/dist/plugin/builtin/enum-constants/index.d.mts +1 -1
  39. package/dist/plugin/builtin/file-utils/index.d.mts +1 -1
  40. package/dist/plugin/builtin/kysely-type/index.d.mts +1 -1
  41. package/dist/plugin/builtin/seed/index.d.mts +1 -1
  42. package/dist/plugin/builtin/seed/index.mjs +1 -1
  43. package/dist/plugin/index.d.mts +2 -3
  44. package/dist/plugin/index.mjs.map +1 -1
  45. package/dist/registry-D0uB0OrK.mjs.map +1 -1
  46. package/dist/runtime/authconnection.mjs +1 -1
  47. package/dist/runtime/context.mjs +1 -1
  48. package/dist/runtime/file.mjs +1 -1
  49. package/dist/runtime/iconv.mjs +1 -1
  50. package/dist/runtime/idp.mjs +1 -1
  51. package/dist/runtime/index.mjs +7 -7
  52. package/dist/runtime/secretmanager.mjs +1 -1
  53. package/dist/runtime/workflow.mjs +1 -1
  54. package/dist/{runtime-2nzOZCUb.mjs → runtime-BU6KtCvk.mjs} +9 -35
  55. package/dist/runtime-BU6KtCvk.mjs.map +1 -0
  56. package/dist/schema-1msIhXwA.mjs.map +1 -1
  57. package/dist/{secret-file-CWzF8rry.mjs → secret-file-eB3R3Fil.mjs} +27 -2
  58. package/dist/{secret-file-CWzF8rry.mjs.map → secret-file-eB3R3Fil.mjs.map} +1 -1
  59. package/dist/{secretmanager-B9h-U_8U.mjs → secretmanager-h3tBJV8f.mjs} +2 -2
  60. package/dist/{secretmanager-B9h-U_8U.mjs.map → secretmanager-h3tBJV8f.mjs.map} +1 -1
  61. package/dist/{seed-BH2FbrPV.mjs → seed-YAbtMy65.mjs} +2 -2
  62. package/dist/seed-YAbtMy65.mjs.map +1 -0
  63. package/dist/{service-DMohAx8a2.mjs → service-DMohAx8a.mjs} +1 -1
  64. package/dist/service-DMohAx8a.mjs.map +1 -0
  65. package/dist/service-wI3Hvrgx.mjs.map +1 -1
  66. package/dist/{plugin-DylAsA4Z.d.mts → types-Bzr0RQME.d.mts} +342 -36
  67. package/dist/types-CmzfQP_m.mjs.map +1 -1
  68. package/dist/types-DTcZ2Yax.d.mts +74 -0
  69. package/dist/{tailordb-C-ar4XCX.d.mts → types-DZrtN6-H.d.mts} +89 -239
  70. package/dist/utils/test/index.d.mts +3 -3
  71. package/dist/utils/test/index.mjs.map +1 -1
  72. package/dist/vitest/index.d.mts +1 -1
  73. package/dist/{workflow--aPbA8Uq.mjs → workflow-C8I7shjM.mjs} +2 -2
  74. package/dist/{workflow--aPbA8Uq.mjs.map → workflow-C8I7shjM.mjs.map} +1 -1
  75. package/dist/{workflow.generated--1Qc15Et.d.mts → workflow.generated-1S50BhEb.d.mts} +17 -241
  76. package/docs/cli-reference.md +18 -17
  77. package/docs/github-actions.md +2 -2
  78. package/package.json +11 -9
  79. package/dist/actor-D_2aJjYO.d.mts +0 -24
  80. package/dist/application-DGDmL8i_.mjs +0 -5620
  81. package/dist/application-DGDmL8i_.mjs.map +0 -1
  82. package/dist/application-nTydHJm8.mjs +0 -4
  83. package/dist/client-F0a4cWUM.mjs.map +0 -1
  84. package/dist/client-boxXYevx.mjs +0 -4
  85. package/dist/env-B-g-qgE4.d.mts +0 -7
  86. package/dist/runtime-2nzOZCUb.mjs.map +0 -1
  87. package/dist/seed-BH2FbrPV.mjs.map +0 -1
  88. package/dist/service-DMohAx8a2.mjs.map +0 -1
  89. /package/dist/{chunk-BkoGK1jX.mjs → rolldown-runtime-BkoGK1jX.mjs} +0 -0
package/CHANGELOG.md CHANGED
@@ -1,5 +1,54 @@
1
1
  # @tailor-platform/sdk
2
2
 
3
+ ## 1.67.0
4
+ ### Minor Changes
5
+
6
+
7
+
8
+ - [#1488](https://github.com/tailor-platform/sdk/pull/1488) [`7ac8a35`](https://github.com/tailor-platform/sdk/commit/7ac8a35f697088e29d1ccf1c46b603d6ddd030fd) Thanks [@toiroakr](https://github.com/toiroakr)! - Bound the number of concurrent unary platform RPCs during `apply`/`deploy` to
9
+ make fresh-workspace deploys more reliable (streaming requests such as function
10
+ uploads are not gated). Previously every resource was created at
11
+ once, which could overload the platform and surface a flaky
12
+ `already_exists` error on file-bearing TailorDB types (e.g.
13
+ `... ShipmentDocument_file: duplicated key not allowed`). Concurrency now
14
+ defaults to 16 and can be tuned with the `TAILOR_APPLY_CONCURRENCY` environment
15
+ variable. When that error does surface, it is now routed to crash/error
16
+ reporting (previously skipped for this error class) so the otherwise-silent
17
+ race is captured for diagnosis.
18
+
19
+ ### Patch Changes
20
+
21
+
22
+
23
+ - [#1425](https://github.com/tailor-platform/sdk/pull/1425) [`644dca8`](https://github.com/tailor-platform/sdk/commit/644dca8ee631ff18550646d3d82bad76fba6bc33) Thanks [@renovate](https://github.com/apps/renovate)! - fix(deps): update dependency graphql to v16.14.2
24
+
25
+
26
+
27
+ - [#1429](https://github.com/tailor-platform/sdk/pull/1429) [`b933f29`](https://github.com/tailor-platform/sdk/commit/b933f291b99efb3668077cd7870abe979dc3b10b) Thanks [@renovate](https://github.com/apps/renovate)! - fix(deps): update rolldown to v1.1.1
28
+
29
+
30
+
31
+ - [#1433](https://github.com/tailor-platform/sdk/pull/1433) [`4d07f2f`](https://github.com/tailor-platform/sdk/commit/4d07f2fd814bda5886c8f0c9546f21128dcce74b) Thanks [@renovate](https://github.com/apps/renovate)! - fix(deps): update dependency es-toolkit to v1.47.1
32
+
33
+
34
+
35
+ - [#1448](https://github.com/tailor-platform/sdk/pull/1448) [`4ce01dd`](https://github.com/tailor-platform/sdk/commit/4ce01dd851dae7754103a918ba89afe073f942c6) Thanks [@renovate](https://github.com/apps/renovate)! - fix(deps): update @connectrpc to v2.1.2
36
+
37
+
38
+
39
+ - [#1481](https://github.com/tailor-platform/sdk/pull/1481) [`e67f2e4`](https://github.com/tailor-platform/sdk/commit/e67f2e4ae69bbec012afc45c9a15d1cd676a4598) Thanks [@renovate](https://github.com/apps/renovate)! - fix(deps): update dependency @0no-co/graphql.web to v1.3.2
40
+
41
+
42
+
43
+ - [#1390](https://github.com/tailor-platform/sdk/pull/1390) [`388f3d6`](https://github.com/tailor-platform/sdk/commit/388f3d69b722589cd5cca7bbbc3667a849ecaa3b) Thanks [@toiroakr](https://github.com/toiroakr)! - Guarantee that importing the SDK never loads zod in user projects — neither zod runtime code in bundled functions nor zod type computation in tsc. Internal type definitions are reorganized into per-layer pure type modules, and new CI checks verify every user-facing entry point stays zod-free at both the type and runtime level and that the internal module graph has no import cycles.
44
+
45
+
46
+
47
+ - [#1437](https://github.com/tailor-platform/sdk/pull/1437) [`eab679e`](https://github.com/tailor-platform/sdk/commit/eab679e253d0fb0749c1981e30d476fb893afd02) Thanks [@toiroakr](https://github.com/toiroakr)! - `setup github` now generates workflows that call the `tailor-platform/actions`
48
+ composite actions (`setup`, `generate-check`, `tag-guard`) instead of inlining
49
+ the equivalent steps. The generated workflows are smaller and the setup,
50
+ generate-check, and tag-guard behavior is delivered through the pinned actions.
51
+
3
52
  ## 1.66.1
4
53
  ### Patch Changes
5
54
 
@@ -0,0 +1,4 @@
1
+
2
+ import { n as generatePluginFilesIfNeeded, r as loadApplication, t as defineApplication } from "./application-WpWwTyk9.mjs";
3
+
4
+ export { defineApplication, generatePluginFilesIfNeeded };