@tailor-platform/sdk 1.2.6 → 1.4.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 CHANGED
@@ -1,5 +1,95 @@
1
1
  # @tailor-platform/sdk
2
2
 
3
+ ## 1.4.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#452](https://github.com/tailor-platform/sdk/pull/452) [`2428441`](https://github.com/tailor-platform/sdk/commit/2428441fd9df34428520adc578c6016f448f776c) Thanks [@toiroakr](https://github.com/toiroakr)! - feat(seed): improve exec script with colors and embedded config
8
+
9
+ - Remove yaml package dependency by embedding entity config in exec.mjs
10
+ - Replace entityNamespaces with namespaceEntities (Map<namespace, entities[]>)
11
+ - Add --yes flag to skip confirmation prompts
12
+ - Use node:util styleText for colored output (cyan, green, red, yellow, dim)
13
+ - Remove config.yaml generation (no longer needed)
14
+ - Improve array formatting in namespaceEntities (one element per line)
15
+
16
+ ### Patch Changes
17
+
18
+ - [#453](https://github.com/tailor-platform/sdk/pull/453) [`9589142`](https://github.com/tailor-platform/sdk/commit/95891421eb3bcd645d6a15dbad2935fee9cd7a90) Thanks [@riku99](https://github.com/riku99)! - Updated jsdoc rules and jsdoc comments
19
+
20
+ - [#451](https://github.com/tailor-platform/sdk/pull/451) [`46b42c4`](https://github.com/tailor-platform/sdk/commit/46b42c4e157026b891490e9ebc080dc8bbf05513) Thanks [@k1LoW](https://github.com/k1LoW)! - Add `publishSessionEvents` option to auth configuration
21
+
22
+ - [#446](https://github.com/tailor-platform/sdk/pull/446) [`d57daaa`](https://github.com/tailor-platform/sdk/commit/d57daaaefa48744a0918a409f726564867759955) Thanks [@renovate](https://github.com/apps/renovate)! - chore(deps): update dependency bufbuild/buf to v1.64.0
23
+
24
+ - [#447](https://github.com/tailor-platform/sdk/pull/447) [`58dc5e1`](https://github.com/tailor-platform/sdk/commit/58dc5e1ffefd3c483c4dcd244a45742c01c52918) Thanks [@renovate](https://github.com/apps/renovate)! - chore(deps): update dependency @jackchuka/gql-ingest to v3
25
+
26
+ - [#448](https://github.com/tailor-platform/sdk/pull/448) [`3e27e60`](https://github.com/tailor-platform/sdk/commit/3e27e60a639291b6efe0ceef9ff6321f01ada338) Thanks [@renovate](https://github.com/apps/renovate)! - chore(deps): update dependency turbo to v2.7.5
27
+
28
+ - [#450](https://github.com/tailor-platform/sdk/pull/450) [`89e315c`](https://github.com/tailor-platform/sdk/commit/89e315c49c659790dc9448a90dcd89788ad7134e) Thanks [@renovate](https://github.com/apps/renovate)! - chore(deps): update dependency @typescript/native-preview to v7.0.0-dev.20260117.1
29
+
30
+ - [#454](https://github.com/tailor-platform/sdk/pull/454) [`e6bfac2`](https://github.com/tailor-platform/sdk/commit/e6bfac254900e301def16b8b7f9dbacea70e8fbf) Thanks [@renovate](https://github.com/apps/renovate)! - chore(deps): update dependency aquaproj/aqua to v2.56.5
31
+
32
+ - [#455](https://github.com/tailor-platform/sdk/pull/455) [`386c5bf`](https://github.com/tailor-platform/sdk/commit/386c5bf728a1e9a95febb52468af6921718b22fe) Thanks [@renovate](https://github.com/apps/renovate)! - chore(deps): update dependency aquaproj/aqua-registry to v4.459.0
33
+
34
+ - [#456](https://github.com/tailor-platform/sdk/pull/456) [`77ee396`](https://github.com/tailor-platform/sdk/commit/77ee396d645248dad1f201f7d219b036e66a6f93) Thanks [@renovate](https://github.com/apps/renovate)! - chore(deps): update dependency eslint-plugin-jsdoc to v62.1.0
35
+
36
+ ## 1.3.0
37
+
38
+ ### Minor Changes
39
+
40
+ - [#422](https://github.com/tailor-platform/sdk/pull/422) [`a079415`](https://github.com/tailor-platform/sdk/commit/a079415b50c882312b8a09917d7bd7c521393e2f) Thanks [@remiposo](https://github.com/remiposo)! - Add `--env-file-if-exists` option for optional environment file loading
41
+
42
+ Added a new CLI option `--env-file-if-exists` that loads environment files only if they exist, without throwing an error when the file is missing. This is useful for loading optional local configuration files like `.env.local`.
43
+
44
+ Environment file loading now follows Node.js `--env-file` behavior:
45
+
46
+ - Variables already set in the environment are not overwritten
47
+ - Later files override earlier files when multiple are specified
48
+
49
+ ### Patch Changes
50
+
51
+ - [#427](https://github.com/tailor-platform/sdk/pull/427) [`6ac8385`](https://github.com/tailor-platform/sdk/commit/6ac83855489055ffa01697b9b3781faa29720545) Thanks [@remiposo](https://github.com/remiposo)! - Use pathe for cross-platform path handling
52
+
53
+ Replaced `node:path` with `pathe` across CLI modules to ensure consistent path separator handling on all operating systems. This eliminates the need for manual path separator normalization (e.g., `.replace(/\\/g, "/")`) and improves reliability on Windows.
54
+
55
+ - [#435](https://github.com/tailor-platform/sdk/pull/435) [`79181a1`](https://github.com/tailor-platform/sdk/commit/79181a1e4f5d383e51bf451f97297225889df871) Thanks [@toiroakr](https://github.com/toiroakr)! - Fix workflow job test implementations to match descriptions
56
+
57
+ Updated two test cases in workflow job type tests to properly validate optional field handling:
58
+
59
+ - "allows multiple optional fields in input": now actually tests multiple optional fields in input parameters
60
+ - "allows nested objects with optional fields": now tests nested optional field structures in input parameters
61
+
62
+ This ensures test descriptions accurately reflect what is being tested.
63
+
64
+ - [#440](https://github.com/tailor-platform/sdk/pull/440) [`66b44da`](https://github.com/tailor-platform/sdk/commit/66b44dadf6667eccac324e843c264a9b4d902d3c) Thanks [@riku99](https://github.com/riku99)! - Update CLAUDE.md for oxlint migration
65
+
66
+ - [#421](https://github.com/tailor-platform/sdk/pull/421) [`b3853e0`](https://github.com/tailor-platform/sdk/commit/b3853e024172c1c184501092627afd4e9ad45931) Thanks [@toiroakr](https://github.com/toiroakr)! - docs: improve TailorDB hooks and validation documentation
67
+
68
+ - Add practical examples using function arguments (value, data, user)
69
+ - Split hooks and validation sections into field-level and type-level subsections
70
+ - Clarify that field-level hooks have `data` as `unknown` type
71
+ - Add warnings that field-level and type-level configurations cannot coexist on the same field
72
+
73
+ - [#417](https://github.com/tailor-platform/sdk/pull/417) [`c644157`](https://github.com/tailor-platform/sdk/commit/c6441573f235640eb8336f64d03f132984f51292) Thanks [@renovate](https://github.com/apps/renovate)! - chore(deps): update actions/setup-node action to v6.2.0
74
+
75
+ - [#418](https://github.com/tailor-platform/sdk/pull/418) [`0292001`](https://github.com/tailor-platform/sdk/commit/0292001dff866bda80e1d2fe868ce2d9dc33e239) Thanks [@renovate](https://github.com/apps/renovate)! - chore(deps): update dependency @typescript/native-preview to v7.0.0-dev.20260112.1
76
+
77
+ - [#424](https://github.com/tailor-platform/sdk/pull/424) [`7577497`](https://github.com/tailor-platform/sdk/commit/7577497c1f74e5fdb4db2177f7689958ef4318fb) Thanks [@renovate](https://github.com/apps/renovate)! - chore(deps): update dependency lefthook to v2.0.14
78
+
79
+ - [#428](https://github.com/tailor-platform/sdk/pull/428) [`d4a7f9b`](https://github.com/tailor-platform/sdk/commit/d4a7f9bac1b3dc63af6a089c3ea911bd68765db5) Thanks [@renovate](https://github.com/apps/renovate)! - chore(deps): update dependency aquaproj/aqua-registry to v4.455.0
80
+
81
+ - [#437](https://github.com/tailor-platform/sdk/pull/437) [`908ecae`](https://github.com/tailor-platform/sdk/commit/908ecaef4a4df2e1c373f22773aee95fe19de584) Thanks [@renovate](https://github.com/apps/renovate)! - chore(deps): update dependency aquaproj/aqua to v2.56.4
82
+
83
+ - [#438](https://github.com/tailor-platform/sdk/pull/438) [`bfe4872`](https://github.com/tailor-platform/sdk/commit/bfe4872211d5ac7f3ceb610d5ca53160add3d918) Thanks [@renovate](https://github.com/apps/renovate)! - chore(deps): update dependency oxlint-tsgolint to v0.11.1
84
+
85
+ - [#439](https://github.com/tailor-platform/sdk/pull/439) [`81b086f`](https://github.com/tailor-platform/sdk/commit/81b086fd827fcae7e54e8a53d24d64be62c553a6) Thanks [@renovate](https://github.com/apps/renovate)! - fix(deps): update dependency rolldown to v1.0.0-beta.60
86
+
87
+ - [#443](https://github.com/tailor-platform/sdk/pull/443) [`21ab273`](https://github.com/tailor-platform/sdk/commit/21ab273abf99e436daccd0355439870663f3fee1) Thanks [@renovate](https://github.com/apps/renovate)! - chore(deps): update dependency aquaproj/aqua-registry to v4.458.0
88
+
89
+ - [#444](https://github.com/tailor-platform/sdk/pull/444) [`85f0b8a`](https://github.com/tailor-platform/sdk/commit/85f0b8a49fdd6e20c36395b85d97c2f8ede3a400) Thanks [@renovate](https://github.com/apps/renovate)! - chore(deps): update dependency knip to v5.81.0
90
+
91
+ - [#404](https://github.com/tailor-platform/sdk/pull/404) [`0c48431`](https://github.com/tailor-platform/sdk/commit/0c4843100dbd49a5ef3e84e03dc09a890b8c0405) Thanks [@riku99](https://github.com/riku99)! - Enable deploying and viewing TailorDB ERD static sites via the CLI
92
+
3
93
  ## 1.2.6
4
94
 
5
95
  ### Patch Changes