@tailor-platform/sdk 1.4.2 → 1.5.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 +34 -0
- package/dist/auth-CZPUwA1p.mjs +801 -0
- package/dist/auth-CZPUwA1p.mjs.map +1 -0
- package/dist/cli/index.mjs +3 -2
- package/dist/cli/index.mjs.map +1 -1
- package/dist/cli/lib.d.mts +7 -8
- package/dist/cli/lib.mjs +3 -2
- package/dist/cli/lib.mjs.map +1 -1
- package/dist/configure/index.d.mts +3 -3
- package/dist/configure/index.mjs +29 -5
- package/dist/configure/index.mjs.map +1 -1
- package/dist/{types-BWzDv7TK.d.mts → index-D40SiXpf.d.mts} +897 -865
- package/dist/{index-lDsl6VDv.d.mts → index-bRPODqag.d.mts} +45 -3
- package/dist/{jiti-31_Wx1yz.mjs → jiti-BUw4tcVQ.mjs} +1 -1
- package/dist/{jiti-31_Wx1yz.mjs.map → jiti-BUw4tcVQ.mjs.map} +1 -1
- package/dist/job-CX4l7Myn.mjs +28 -0
- package/dist/job-CX4l7Myn.mjs.map +1 -0
- package/dist/{list-QT92XcP3.mjs → list-Dr8070QZ.mjs} +1567 -1562
- package/dist/list-Dr8070QZ.mjs.map +1 -0
- package/dist/{src-Bhwd-tei.mjs → src-Bu0051gO.mjs} +1 -1
- package/dist/{src-Bhwd-tei.mjs.map → src-Bu0051gO.mjs.map} +1 -1
- package/dist/utils/test/index.d.mts +4 -3
- package/dist/utils/test/index.mjs +3 -1
- package/dist/utils/test/index.mjs.map +1 -1
- package/docs/services/auth.md +35 -1
- package/docs/testing.md +81 -0
- package/package.json +1 -1
- package/dist/config-CBpYlVa-.mjs +0 -664
- package/dist/config-CBpYlVa-.mjs.map +0 -1
- package/dist/list-QT92XcP3.mjs.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,39 @@
|
|
|
1
1
|
# @tailor-platform/sdk
|
|
2
2
|
|
|
3
|
+
## 1.5.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#479](https://github.com/tailor-platform/sdk/pull/479) [`bb984f5`](https://github.com/tailor-platform/sdk/commit/bb984f59421999709be389febc23bbadfc5d91e5) Thanks [@r253hmdryou](https://github.com/r253hmdryou)! - Support machine users without userProfile via new machineUserAttributes field
|
|
8
|
+
|
|
9
|
+
Adds machineUserAttributes configuration option for defining type-safe machine-user-only authentication without requiring a userProfile.
|
|
10
|
+
|
|
11
|
+
- [#478](https://github.com/tailor-platform/sdk/pull/478) [`dce0040`](https://github.com/tailor-platform/sdk/commit/dce0040f0477c2603b604ab3aac17383ec03f3e7) Thanks [@toiroakr](https://github.com/toiroakr)! - Add local testing support for workflows
|
|
12
|
+
|
|
13
|
+
- `createWorkflowJob`: `.trigger()` now executes body directly for local testing
|
|
14
|
+
- `createWorkflow`: `.trigger()` now calls `mainJob.trigger()` for local testing
|
|
15
|
+
- Export `WORKFLOW_TEST_ENV_KEY` from `@tailor-platform/sdk/test` for env configuration
|
|
16
|
+
- Add workflow trigger test examples to testing template
|
|
17
|
+
|
|
18
|
+
### Patch Changes
|
|
19
|
+
|
|
20
|
+
- [#474](https://github.com/tailor-platform/sdk/pull/474) [`a41a320`](https://github.com/tailor-platform/sdk/commit/a41a3205d093a5ae6e864d96687fe87f1af81bf4) Thanks [@riku99](https://github.com/riku99)! - Moved AppConfig into packages/sdk/src/parser/\*\* and imports in cli'
|
|
21
|
+
|
|
22
|
+
- [#482](https://github.com/tailor-platform/sdk/pull/482) [`43afdae`](https://github.com/tailor-platform/sdk/commit/43afdaeccd6a68500721cfe17e27149fe6a44c43) Thanks [@k1LoW](https://github.com/k1LoW)! - Add `publishUserEvents` option for IdP configuration
|
|
23
|
+
|
|
24
|
+
When enabled, user lifecycle events (created, updated, deleted) are published to the dataplane event topic.
|
|
25
|
+
|
|
26
|
+
- [#471](https://github.com/tailor-platform/sdk/pull/471) [`e2c5e83`](https://github.com/tailor-platform/sdk/commit/e2c5e83b85fb835652e06d78290a41a9fc06fb3e) Thanks [@dqn](https://github.com/dqn)! - Refactor class-based implementations to factory functions
|
|
27
|
+
|
|
28
|
+
- Convert service classes (AuthService, ExecutorService, ResolverService, TailorDBService) to factory functions
|
|
29
|
+
- Convert Application class to factory function
|
|
30
|
+
- Convert generator classes to factory functions
|
|
31
|
+
- Convert TailorField, TailorDBField, TailorDBType classes to interfaces with factory functions
|
|
32
|
+
- Introduce Symbol branding for reliable type identification
|
|
33
|
+
- Normalize undefined to null for optional fields
|
|
34
|
+
|
|
35
|
+
- [#483](https://github.com/tailor-platform/sdk/pull/483) [`fe8d1c5`](https://github.com/tailor-platform/sdk/commit/fe8d1c5a940855be935bac4d02115317ce0edf88) Thanks [@riku99](https://github.com/riku99)! - Moved getDistDir to cli utils and updated imports
|
|
36
|
+
|
|
3
37
|
## 1.4.2
|
|
4
38
|
|
|
5
39
|
### Patch Changes
|