@tailor-platform/sdk 1.18.0 → 1.20.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.
- package/CHANGELOG.md +53 -0
- package/dist/{application-gWUyKuzv.mjs → application-Bli2ieqY.mjs} +2704 -2394
- package/dist/application-Bli2ieqY.mjs.map +1 -0
- package/dist/application-CZdieD3K.mjs +9 -0
- package/dist/cli/index.mjs +121 -64
- package/dist/cli/index.mjs.map +1 -1
- package/dist/cli/lib.d.mts +122 -58
- package/dist/cli/lib.mjs +11 -9
- package/dist/cli/lib.mjs.map +1 -1
- package/dist/cli/skills.mjs +1 -1
- package/dist/cli/skills.mjs.map +1 -1
- package/dist/configure/index.d.mts +4 -4
- package/dist/configure/index.mjs +1 -1
- package/dist/configure/index.mjs.map +1 -1
- package/dist/{enum-constants-Cwd4qdpa.mjs → enum-constants-CGVvu3dd.mjs} +1 -1
- package/dist/{enum-constants-Cwd4qdpa.mjs.map → enum-constants-CGVvu3dd.mjs.map} +1 -1
- package/dist/{file-utils-cqcpFk87.mjs → file-utils-GX_tGWl4.mjs} +1 -1
- package/dist/{file-utils-cqcpFk87.mjs.map → file-utils-GX_tGWl4.mjs.map} +1 -1
- package/dist/{index-sSDpuVQY.d.mts → index-B86CIKCW.d.mts} +2 -2
- package/dist/{index-SqWgrTnF.d.mts → index-CGjiOz_W.d.mts} +2 -2
- package/dist/{index-BKXch-td.d.mts → index-CIXOwe6g.d.mts} +2 -2
- package/dist/{index-DP8EB9FK.d.mts → index-DcY0e3S5.d.mts} +10 -43
- package/dist/{index-C3Ib7pFc.d.mts → index-i6QUsr5p.d.mts} +2 -2
- package/dist/interceptor-D8MeZOxX.mjs +33 -0
- package/dist/interceptor-D8MeZOxX.mjs.map +1 -0
- package/dist/{jiti-DHlauMCo.mjs → jiti-DfS9jItj.mjs} +1 -1
- package/dist/{jiti-DHlauMCo.mjs.map → jiti-DfS9jItj.mjs.map} +1 -1
- package/dist/{kysely-type-DtUUoAi3.mjs → kysely-type-Cpq5TNGY.mjs} +2 -1
- package/dist/kysely-type-Cpq5TNGY.mjs.map +1 -0
- package/dist/package-json-3H5gfhA4.mjs +17 -0
- package/dist/package-json-3H5gfhA4.mjs.map +1 -0
- package/dist/package-json-DTDAqRRJ.mjs +3 -0
- package/dist/plugin/builtin/enum-constants/index.d.mts +2 -2
- package/dist/plugin/builtin/enum-constants/index.mjs +1 -1
- package/dist/plugin/builtin/file-utils/index.d.mts +2 -2
- package/dist/plugin/builtin/file-utils/index.mjs +1 -1
- package/dist/plugin/builtin/kysely-type/index.d.mts +2 -2
- package/dist/plugin/builtin/kysely-type/index.mjs +1 -1
- package/dist/plugin/builtin/seed/index.d.mts +2 -2
- package/dist/plugin/builtin/seed/index.mjs +1 -1
- package/dist/plugin/index.d.mts +1 -1
- package/dist/{schema-WDvc7Zel.mjs → schema-D5Cpd8fQ.mjs} +45 -3
- package/dist/schema-D5Cpd8fQ.mjs.map +1 -0
- package/dist/{seed-Dm7lrGZ3.mjs → seed-CeUEANfQ.mjs} +1 -1
- package/dist/{seed-Dm7lrGZ3.mjs.map → seed-CeUEANfQ.mjs.map} +1 -1
- package/dist/{src-i4uqS1G4.mjs → src-Bb1UVstT.mjs} +1 -1
- package/dist/{src-i4uqS1G4.mjs.map → src-Bb1UVstT.mjs.map} +1 -1
- package/dist/telemetry-Dhzj9Ncm.mjs +3 -0
- package/dist/telemetry-DuBhnd0X.mjs +84 -0
- package/dist/telemetry-DuBhnd0X.mjs.map +1 -0
- package/dist/{types-Bhl_wAM2.d.mts → types-C14GuyPI.d.mts} +94 -3
- package/dist/{types-DdvTxFiD.d.mts → types-CNw4p8V7.d.mts} +34 -10
- package/dist/types-ClK_HJ0G.mjs.map +1 -1
- package/dist/{update-BoNKMti-.mjs → update-DkpWgrzL.mjs} +548 -300
- package/dist/update-DkpWgrzL.mjs.map +1 -0
- package/dist/utils/test/index.d.mts +3 -3
- package/docs/cli/application.md +2 -0
- package/package.json +7 -1
- package/dist/application-Csj7Ow5Q.mjs +0 -8
- package/dist/application-gWUyKuzv.mjs.map +0 -1
- package/dist/kysely-type-DtUUoAi3.mjs.map +0 -1
- package/dist/schema-WDvc7Zel.mjs.map +0 -1
- package/dist/update-BoNKMti-.mjs.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,58 @@
|
|
|
1
1
|
# @tailor-platform/sdk
|
|
2
2
|
|
|
3
|
+
## 1.20.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#644](https://github.com/tailor-platform/sdk/pull/644) [`e7ac6ae`](https://github.com/tailor-platform/sdk/commit/e7ac6aeabeb85786fff2e71629377a55c9a45bb3) Thanks [@dqn](https://github.com/dqn)! - Add bundle caching to accelerate apply command
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- [#648](https://github.com/tailor-platform/sdk/pull/648) [`484cd98`](https://github.com/tailor-platform/sdk/commit/484cd989163b441385dd2794a9580716825de658) Thanks [@k1LoW](https://github.com/k1LoW)! - Add `gqlOperations` option for IdP configuration
|
|
12
|
+
|
|
13
|
+
Configure which GraphQL operations are enabled for IdP users. All operations are enabled by default (set `false` to disable):
|
|
14
|
+
|
|
15
|
+
- `create`: Enable \_createUser mutation (default: true)
|
|
16
|
+
- `update`: Enable \_updateUser mutation (default: true)
|
|
17
|
+
- `delete`: Enable \_deleteUser mutation (default: true)
|
|
18
|
+
- `read`: Enable \_users and \_user queries (default: true)
|
|
19
|
+
- `sendPasswordResetEmail`: Enable \_sendPasswordResetEmail mutation (default: true)
|
|
20
|
+
|
|
21
|
+
Supports `"query"` alias for read-only mode (disables all mutations):
|
|
22
|
+
|
|
23
|
+
```typescript
|
|
24
|
+
defineIdp("my-idp", {
|
|
25
|
+
authorization: "loggedIn",
|
|
26
|
+
clients: ["my-client"],
|
|
27
|
+
gqlOperations: "query", // Equivalent to { create: false, update: false, delete: false, read: true, sendPasswordResetEmail: false }
|
|
28
|
+
});
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
- [#639](https://github.com/tailor-platform/sdk/pull/639) [`2d25e53`](https://github.com/tailor-platform/sdk/commit/2d25e534c34bc0297f95ead6f163e02b1567e93a) Thanks [@dqn](https://github.com/dqn)! - Refactor CLI internal directory layout to align with package-by-feature boundaries, colocating apply/generate command logic under commands and consolidating shared CLI helpers.
|
|
32
|
+
|
|
33
|
+
- [#650](https://github.com/tailor-platform/sdk/pull/650) [`55fb921`](https://github.com/tailor-platform/sdk/commit/55fb9210e4a0bd45a4d82d3f91df3930b4273d49) Thanks [@toiroakr](https://github.com/toiroakr)! - Add GitHub Actions workflow for automated dependency review on Renovate PRs using Claude
|
|
34
|
+
|
|
35
|
+
## 1.19.0
|
|
36
|
+
|
|
37
|
+
### Minor Changes
|
|
38
|
+
|
|
39
|
+
- [#633](https://github.com/tailor-platform/sdk/pull/633) [`5f0b84b`](https://github.com/tailor-platform/sdk/commit/5f0b84bea403f9d15a9802e9a1fd7b07e0c2a9d2) Thanks [@ikawaha](https://github.com/ikawaha)! - Add decimal field type support with optional scale parameter (0-12) for fixed-point precision
|
|
40
|
+
|
|
41
|
+
- [#631](https://github.com/tailor-platform/sdk/pull/631) [`9aded63`](https://github.com/tailor-platform/sdk/commit/9aded634276ad51786b2b1119c89be23d1ed26ff) Thanks [@toiroakr](https://github.com/toiroakr)! - Add OpenTelemetry tracing to CLI apply process for performance profiling
|
|
42
|
+
|
|
43
|
+
- Implement opt-in OTLP tracing activated via `OTEL_EXPORTER_OTLP_ENDPOINT` environment variable
|
|
44
|
+
- Use `@opentelemetry/api` built-in noop spans for zero overhead when tracing is disabled
|
|
45
|
+
- Instrument all apply phases (build, plan, confirm, create/update, delete) with hierarchical spans
|
|
46
|
+
- Add Connect-RPC interceptor for automatic RPC call tracing
|
|
47
|
+
- Parallelize plan phase service calls and internal RPC calls for ~60% faster plan execution
|
|
48
|
+
- Fix race condition in parallel plan phase with Promise-based memoization for loadTypes/loadExecutors
|
|
49
|
+
|
|
50
|
+
### Patch Changes
|
|
51
|
+
|
|
52
|
+
- [#642](https://github.com/tailor-platform/sdk/pull/642) [`7ca52a5`](https://github.com/tailor-platform/sdk/commit/7ca52a56f3dcf4b41cf9c495bfa9ca3f279c00f1) Thanks [@riku99](https://github.com/riku99)! - Remove NPM_TOKEN from .github/workflows/release.yml
|
|
53
|
+
|
|
54
|
+
- [#641](https://github.com/tailor-platform/sdk/pull/641) [`86d382c`](https://github.com/tailor-platform/sdk/commit/86d382ce261b7abd71c7d27b3d50cc83c9df3430) Thanks [@riku99](https://github.com/riku99)! - Allow configuring inline sourcemaps via `inlineSourcemap` in defineConfig
|
|
55
|
+
|
|
3
56
|
## 1.18.0
|
|
4
57
|
|
|
5
58
|
### Minor Changes
|