Skip to content

Commit 87f849e

Browse files
Version Packages (next)
1 parent 20c2295 commit 87f849e

7 files changed

Lines changed: 153 additions & 4 deletions

File tree

.changeset/pre.json

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,22 @@
44
"initialVersions": {
55
"@tailor-platform/create-sdk": "1.64.0",
66
"@tailor-platform/sdk": "1.64.0",
7-
"@tailor-platform/sdk-codemod": "0.2.7"
7+
"@tailor-platform/sdk-codemod": "0.2.7",
8+
"@tailor-platform/tailor-proto": "0.0.0"
89
},
910
"changesets": [
1011
"apply-deploy-source-strings",
12+
"auth-attributes-rename",
1113
"codemod-llm-review",
1214
"codemod-migration-docs",
1315
"codemod-residual-matching",
1416
"execute-script-json-arg",
1517
"execute-script-review-scope",
18+
"idp-authorization-permission-examples",
19+
"idp-mfa-support",
1620
"invoker-option-rename",
1721
"keyring-default-storage",
22+
"lazy-load-service-pb-startup",
1823
"open-download-review-scope",
1924
"principal-followup-review",
2025
"principal-unify-codemod",
@@ -24,13 +29,23 @@
2429
"remove-open-download-stream",
2530
"remove-runtime-globals-compatibility",
2631
"remove-tailor-sdk-skills-shim",
32+
"remove-tsx",
2733
"remove-v2-cli-aliases",
2834
"remove-workflow-test-env-fallback",
35+
"rename-bin-command",
36+
"rename-tailor-cli-env",
37+
"renovate-1507",
38+
"renovate-1514",
2939
"renovate-1516",
3040
"renovate-1525",
41+
"renovate-1527",
42+
"renovate-1532",
43+
"renovate-1533",
44+
"renovate-1535",
3145
"require-function-log-content-hash",
3246
"runtime-globals-import",
3347
"store-cli-users-by-subject",
48+
"subpath-imports-migration",
3449
"tailor-principal-type",
3550
"timestamps-updated-at-create",
3651
"v2-baseline",

packages/create-sdk/CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,21 @@
11
# @tailor-platform/create-sdk
22

3+
## 2.0.0-next.3
4+
### Patch Changes
5+
6+
7+
8+
- [#1559](https://github.com/tailor-platform/sdk/pull/1559) [`ff8ef1c`](https://github.com/tailor-platform/sdk/commit/ff8ef1c1323daf81812c182e146fd53da20e676e) Thanks [@dqn](https://github.com/dqn)! - Rename auth attribute module augmentation from `AttributeMap` to `Attributes`.
9+
10+
11+
12+
- [#1563](https://github.com/tailor-platform/sdk/pull/1563) [`501e8bf`](https://github.com/tailor-platform/sdk/commit/501e8bfdd2bca7201a1c9b036bf72087476da416) Thanks [@dqn](https://github.com/dqn)! - Standardize SDK-owned environment variables on the `TAILOR_*` namespace.
13+
14+
Replace the removed SDK-specific environment variables with their new names: `TAILOR_CONFIG_PATH`, `TAILOR_DTS_PATH`, `TAILOR_CI_ALLOW_ID_INJECTION`, `TAILOR_DEPLOY_BUILD_ONLY`, `TAILOR_BUILD_OUTPUT_DIR`, `TAILOR_SKILLS_SOURCE`, `TAILOR_TEMPLATE_SDK_VERSION`, `TAILOR_PLATFORM_URL`, `TAILOR_PLATFORM_OAUTH2_CLIENT_ID`, `TAILOR_INLINE_SOURCEMAP`, `TAILOR_QUERY_NEWLINE_ON_ENTER`, and `TAILOR_APP_LOG_LEVEL`. The deprecated `TAILOR_TOKEN` fallback is removed; use `TAILOR_PLATFORM_TOKEN`. The v2 codemod rewrites unambiguous removed SDK environment variable names and flags generic names such as `LOG_LEVEL` and `PLATFORM_URL` for manual review.
15+
16+
17+
- [#1533](https://github.com/tailor-platform/sdk/pull/1533) [`e3bc2ce`](https://github.com/tailor-platform/sdk/commit/e3bc2ce65ab30ee53e5de0eb48ca6c24049fcd1b) Thanks [@renovate](https://github.com/apps/renovate)! - fix(deps): update dependency politty to v0.9.2
18+
319
## 2.0.0-next.2
420
### Major Changes
521

packages/create-sdk/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@tailor-platform/create-sdk",
3-
"version": "2.0.0-next.2",
3+
"version": "2.0.0-next.3",
44
"description": "A CLI tool to quickly create a new Tailor Platform SDK project",
55
"license": "MIT",
66
"repository": {

packages/sdk-codemod/CHANGELOG.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,32 @@
11
# @tailor-platform/sdk-codemod
22

3+
## 0.3.0-next.3
4+
### Patch Changes
5+
6+
7+
8+
- [#1559](https://github.com/tailor-platform/sdk/pull/1559) [`ff8ef1c`](https://github.com/tailor-platform/sdk/commit/ff8ef1c1323daf81812c182e146fd53da20e676e) Thanks [@dqn](https://github.com/dqn)! - Rename auth attribute module augmentation from `AttributeMap` to `Attributes`.
9+
10+
11+
12+
- [#1557](https://github.com/tailor-platform/sdk/pull/1557) [`7ff575f`](https://github.com/tailor-platform/sdk/commit/7ff575fdfa15c00b5fc6282b28c0cb50bfdf927b) Thanks [@toiroakr](https://github.com/toiroakr)! - Rename the CLI binary from `tailor-sdk` to `tailor`.
13+
14+
The output directory default changes from `.tailor-sdk` to `.tailor`, and the GitHub Actions lock file path changes from `.github/tailor-sdk.lock` to `.github/tailor.lock`.
15+
16+
Run the `v2/rename-bin` codemod to migrate `tailor-sdk` invocations in package.json scripts, shell scripts, CI workflows, and documentation:
17+
18+
```sh
19+
npx @tailor-platform/sdk-codemod --from 1.x --to 2.0.0
20+
```
21+
22+
23+
- [#1563](https://github.com/tailor-platform/sdk/pull/1563) [`501e8bf`](https://github.com/tailor-platform/sdk/commit/501e8bfdd2bca7201a1c9b036bf72087476da416) Thanks [@dqn](https://github.com/dqn)! - Standardize SDK-owned environment variables on the `TAILOR_*` namespace.
24+
25+
Replace the removed SDK-specific environment variables with their new names: `TAILOR_CONFIG_PATH`, `TAILOR_DTS_PATH`, `TAILOR_CI_ALLOW_ID_INJECTION`, `TAILOR_DEPLOY_BUILD_ONLY`, `TAILOR_BUILD_OUTPUT_DIR`, `TAILOR_SKILLS_SOURCE`, `TAILOR_TEMPLATE_SDK_VERSION`, `TAILOR_PLATFORM_URL`, `TAILOR_PLATFORM_OAUTH2_CLIENT_ID`, `TAILOR_INLINE_SOURCEMAP`, `TAILOR_QUERY_NEWLINE_ON_ENTER`, and `TAILOR_APP_LOG_LEVEL`. The deprecated `TAILOR_TOKEN` fallback is removed; use `TAILOR_PLATFORM_TOKEN`. The v2 codemod rewrites unambiguous removed SDK environment variable names and flags generic names such as `LOG_LEVEL` and `PLATFORM_URL` for manual review.
26+
27+
28+
- [#1533](https://github.com/tailor-platform/sdk/pull/1533) [`e3bc2ce`](https://github.com/tailor-platform/sdk/commit/e3bc2ce65ab30ee53e5de0eb48ca6c24049fcd1b) Thanks [@renovate](https://github.com/apps/renovate)! - fix(deps): update dependency politty to v0.9.2
29+
330
## 0.3.0-next.2
431
### Minor Changes
532

packages/sdk-codemod/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@tailor-platform/sdk-codemod",
3-
"version": "0.3.0-next.2",
3+
"version": "0.3.0-next.3",
44
"description": "Codemod runner for Tailor Platform SDK upgrades",
55
"license": "MIT",
66
"repository": {

packages/sdk/CHANGELOG.md

Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,96 @@
11
# @tailor-platform/sdk
22

3+
## 2.0.0-next.3
4+
### Major Changes
5+
6+
7+
8+
- [#1559](https://github.com/tailor-platform/sdk/pull/1559) [`ff8ef1c`](https://github.com/tailor-platform/sdk/commit/ff8ef1c1323daf81812c182e146fd53da20e676e) Thanks [@dqn](https://github.com/dqn)! - Rename auth attribute module augmentation from `AttributeMap` to `Attributes`.
9+
10+
11+
12+
- [#1536](https://github.com/tailor-platform/sdk/pull/1536) [`84d9aba`](https://github.com/tailor-platform/sdk/commit/84d9aba843f14e8a7a43f0baff92dfc8afdf2821) Thanks [@toiroakr](https://github.com/toiroakr)! - Minimum Node.js version raised to 22.15.0; TypeScript loading switched from tsx to amaro
13+
14+
Removes `tsx` (which pulled in esbuild's native binaries, ~10.5 MB) from
15+
`dependencies` and replaces it with `amaro` (~3.8 MB, zero transitive deps).
16+
17+
A small `ts-hook.mjs` provides the Node.js module hook with both a resolver
18+
and a load hook (`amaro` for full TypeScript support including enums).
19+
The resolver handles `.ts` extension fallback, directory barrel imports
20+
(`./models``./models/index.ts`), and tsconfig `paths` aliases (reads
21+
`tsconfig.json` following `extends` chains).
22+
Dev-only scripts now use `node --experimental-strip-types` instead.
23+
24+
Raises the minimum Node.js version to 22.15.0 (from >=22) to use
25+
`module.registerHooks()`, which allows synchronous hook registration directly
26+
in the main thread without a worker thread.
27+
28+
29+
- [#1557](https://github.com/tailor-platform/sdk/pull/1557) [`7ff575f`](https://github.com/tailor-platform/sdk/commit/7ff575fdfa15c00b5fc6282b28c0cb50bfdf927b) Thanks [@toiroakr](https://github.com/toiroakr)! - Rename the CLI binary from `tailor-sdk` to `tailor`.
30+
31+
The output directory default changes from `.tailor-sdk` to `.tailor`, and the GitHub Actions lock file path changes from `.github/tailor-sdk.lock` to `.github/tailor.lock`.
32+
33+
Run the `v2/rename-bin` codemod to migrate `tailor-sdk` invocations in package.json scripts, shell scripts, CI workflows, and documentation:
34+
35+
```sh
36+
npx @tailor-platform/sdk-codemod --from 1.x --to 2.0.0
37+
```
38+
39+
40+
- [#1563](https://github.com/tailor-platform/sdk/pull/1563) [`501e8bf`](https://github.com/tailor-platform/sdk/commit/501e8bfdd2bca7201a1c9b036bf72087476da416) Thanks [@dqn](https://github.com/dqn)! - Standardize SDK-owned environment variables on the `TAILOR_*` namespace.
41+
42+
Replace the removed SDK-specific environment variables with their new names: `TAILOR_CONFIG_PATH`, `TAILOR_DTS_PATH`, `TAILOR_CI_ALLOW_ID_INJECTION`, `TAILOR_DEPLOY_BUILD_ONLY`, `TAILOR_BUILD_OUTPUT_DIR`, `TAILOR_SKILLS_SOURCE`, `TAILOR_TEMPLATE_SDK_VERSION`, `TAILOR_PLATFORM_URL`, `TAILOR_PLATFORM_OAUTH2_CLIENT_ID`, `TAILOR_INLINE_SOURCEMAP`, `TAILOR_QUERY_NEWLINE_ON_ENTER`, and `TAILOR_APP_LOG_LEVEL`. The deprecated `TAILOR_TOKEN` fallback is removed; use `TAILOR_PLATFORM_TOKEN`. The v2 codemod rewrites unambiguous removed SDK environment variable names and flags generic names such as `LOG_LEVEL` and `PLATFORM_URL` for manual review.
43+
44+
### Minor Changes
45+
46+
47+
48+
- [#1541](https://github.com/tailor-platform/sdk/pull/1541) [`ca880ef`](https://github.com/tailor-platform/sdk/commit/ca880efcc7b11b14a146d042ab4b1c582d44e780) Thanks [@k1LoW](https://github.com/k1LoW)! - Add MFA support to `defineIdp`. The `userAuthPolicy` now accepts `enableMfa`, `requireMfa`, `allowedReturnOrigins`, and `mfaIssuer` to configure TOTP-based MFA for the Built-in IdP. `permission.unenrollMfa` controls who can unenroll a user's MFA factor. Static-website `:url` placeholders are accepted in `allowedReturnOrigins` and resolved at deploy time.
49+
50+
51+
### Patch Changes
52+
53+
54+
55+
- [#1552](https://github.com/tailor-platform/sdk/pull/1552) [`2dac106`](https://github.com/tailor-platform/sdk/commit/2dac106b113aef8f456fc655397363f9cc342061) Thanks [@k1LoW](https://github.com/k1LoW)! - Update IdP examples in documentation to use `permission` instead of the legacy `authorization` field
56+
57+
58+
59+
- [#1526](https://github.com/tailor-platform/sdk/pull/1526) [`b0d1487`](https://github.com/tailor-platform/sdk/commit/b0d148734a507ed8e2dc77bc034442ec5ee3175e) Thanks [@toiroakr](https://github.com/toiroakr)! - Improve CLI startup time for commands that do not connect to the platform. Commands such as `profile list`, `profile delete`, `login`, and `logout` now start approximately 5x faster (~1.6s instead of ~8s).
60+
61+
62+
63+
- [#1507](https://github.com/tailor-platform/sdk/pull/1507) [`7701823`](https://github.com/tailor-platform/sdk/commit/7701823ceb454509f0b28e09115f36c5508ad8e4) Thanks [@renovate](https://github.com/apps/renovate)! - fix(deps): update dependency @urql/core to v6.0.2
64+
65+
66+
67+
- [#1514](https://github.com/tailor-platform/sdk/pull/1514) [`21ff9fb`](https://github.com/tailor-platform/sdk/commit/21ff9fb0193b35ccdc59ba9e804884f9a5e8640e) Thanks [@renovate](https://github.com/apps/renovate)! - fix(deps): update oxc
68+
69+
70+
71+
- [#1527](https://github.com/tailor-platform/sdk/pull/1527) [`abfc979`](https://github.com/tailor-platform/sdk/commit/abfc9797f496a81c0edb991c37e053092bf87f9e) Thanks [@renovate](https://github.com/apps/renovate)! - fix(deps): update rolldown
72+
73+
74+
75+
- [#1532](https://github.com/tailor-platform/sdk/pull/1532) [`a54f156`](https://github.com/tailor-platform/sdk/commit/a54f156ec2ed43a279aade6fd4e3eb81879659d7) Thanks [@renovate](https://github.com/apps/renovate)! - fix(deps): update dependency @clack/prompts to v1.6.0
76+
77+
78+
79+
- [#1533](https://github.com/tailor-platform/sdk/pull/1533) [`e3bc2ce`](https://github.com/tailor-platform/sdk/commit/e3bc2ce65ab30ee53e5de0eb48ca6c24049fcd1b) Thanks [@renovate](https://github.com/apps/renovate)! - fix(deps): update dependency politty to v0.9.2
80+
81+
82+
83+
- [#1535](https://github.com/tailor-platform/sdk/pull/1535) [`a3b3387`](https://github.com/tailor-platform/sdk/commit/a3b338733081b5d9c7ab5cdb665bd96fbbc143f3) Thanks [@renovate](https://github.com/apps/renovate)! - fix(deps): update dependency graphql to v17
84+
85+
86+
87+
- [#1490](https://github.com/tailor-platform/sdk/pull/1490) [`0639734`](https://github.com/tailor-platform/sdk/commit/0639734531335df884db4b5517d5e5ff6db601c7) Thanks [@toiroakr](https://github.com/toiroakr)! - refactor: migrate internal path aliases to Node subpath imports
88+
89+
Replace the tsconfig `@/*` path alias with the `#/*` subpath import
90+
(`package.json` `imports`), and resolve `@tailor-platform/tailor-proto` as a
91+
regular package dependency instead of a `@tailor-proto/*` path alias. Internal
92+
build/resolution change only — no public API or runtime behavior change.
93+
394
## 2.0.0-next.2
495
### Major Changes
596

packages/sdk/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@tailor-platform/sdk",
3-
"version": "2.0.0-next.2",
3+
"version": "2.0.0-next.3",
44
"description": "Tailor Platform SDK - The SDK to work with Tailor Platform",
55
"license": "MIT",
66
"repository": {

0 commit comments

Comments
 (0)