@tailor-platform/sdk 2.19.0 → 2.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 +16 -0
- package/dist/{application-BYlhYQyh.mjs → application-B6NYnrhv.mjs} +32 -32
- package/dist/application-B6NYnrhv.mjs.map +1 -0
- package/dist/application-BlbyGJsd.mjs +1 -0
- package/dist/cli/commands/deploy/application.d.mts +1 -0
- package/dist/cli/commands/deploy/apply-phases.d.mts +1 -1
- package/dist/cli/commands/deploy/deploy.d.mts +1 -1
- package/dist/cli/commands/deploy/deployment-target.d.mts +1 -0
- package/dist/cli/commands/deploy/executor.d.mts +1 -1
- package/dist/cli/commands/deploy/function-registry.d.mts +1 -1
- package/dist/cli/commands/deploy/resolver.d.mts +1 -0
- package/dist/cli/commands/deploy/secret-manager.d.mts +1 -1
- package/dist/cli/commands/deploy/tailordb/migration-validation.d.mts +1 -1
- package/dist/cli/commands/deploy/tailordb/plan.d.mts +1 -1
- package/dist/cli/commands/deploy/types.d.mts +1 -1
- package/dist/cli/commands/deploy/workflow.d.mts +1 -0
- package/dist/cli/commands/tailordb/migrate/schema-checks.d.mts +1 -1
- package/dist/cli/lib.d.mts +1 -1
- package/dist/cli/lib.mjs +1 -1
- package/dist/cli/main.mjs +21 -21
- package/dist/cli/main.mjs.map +1 -1
- package/dist/cli/services/application.d.mts +2 -0
- package/dist/completion/zsh-worker.zsh +1 -1
- package/dist/{register-ts-hook-Djjnj5R8.mjs → register-ts-hook-FsCX38LQ.mjs} +50 -50
- package/dist/register-ts-hook-FsCX38LQ.mjs.map +1 -0
- package/docs/configuration.md +18 -1
- package/docs/services/staticwebsite.md +17 -0
- package/package.json +4 -4
- package/dist/application-BYlhYQyh.mjs.map +0 -1
- package/dist/application-KZRJHv2j.mjs +0 -1
- package/dist/register-ts-hook-Djjnj5R8.mjs.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @tailor-platform/sdk
|
|
2
2
|
|
|
3
|
+
## 2.20.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#2370](https://github.com/tailor-platform/sdk/pull/2370) [`5ecfb0f`](https://github.com/tailor-platform/sdk/commit/5ecfb0fe27e7d72dcea4421c5c8426ca9689284f) Thanks [@toiroakr](https://github.com/toiroakr)! - `defineConfig({ env })` values now accept the `<name>:url` static website placeholder, the same one `cors`, OAuth2 redirect URIs, and IdP return origins already accept. On deploy, the CLI replaces such a value with the deployed website's URL before it reaches resolver, executor, workflow job, auth hook, and TailorDB migration script code, so `env.siteUrl` reads the site's actual deployed URL (e.g. `https://my-site.example.com`) at runtime instead of the literal string `"my-site:url"`. A path suffix works too (`"my-site:url/callback"`).
|
|
8
|
+
|
|
9
|
+
This resolves even when the deploy that resolves `env` is also the one creating the referenced website, so a single `deploy` call still injects the real URL — no second, manually-triggered `deploy` needed. If the referenced website genuinely does not exist, the CLI warns and leaves the pattern in place instead. Any other lookup failure (a permission error, a transient platform error, ...) fails the deploy instead, so a raw pattern never reaches application code unnoticed. If the website's URL still isn't available after this rebuild, the deploy fails with a clear error rather than shipping the unresolved placeholder.
|
|
10
|
+
|
|
11
|
+
TailorDB's pre-deploy migration state check now always runs first, before any resource is created or updated, so a stale migration checkpoint or schema fails the deploy without leaving other resources partially applied.
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- [#2382](https://github.com/tailor-platform/sdk/pull/2382) [`6b0fad4`](https://github.com/tailor-platform/sdk/commit/6b0fad4fa0cbd1140abde7538f334537e2a229e6) Thanks [@renovate](https://github.com/apps/renovate)! - fix(deps): update dependency @clack/prompts to v1.8.1
|
|
16
|
+
|
|
17
|
+
- [#2391](https://github.com/tailor-platform/sdk/pull/2391) [`f92a680`](https://github.com/tailor-platform/sdk/commit/f92a680a86d1eebfdc9d7b1a409f084373ef3067) Thanks [@renovate](https://github.com/apps/renovate)! - fix(deps): update dependency open to v11.0.4
|
|
18
|
+
|
|
3
19
|
## 2.19.0
|
|
4
20
|
|
|
5
21
|
### Minor Changes
|