zuplo 7.15.30 → 7.15.33
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/docs/ai-gateway/custom-pricing.mdx +54 -0
- package/docs/ai-gateway/jev.mdx +35 -0
- package/docs/ai-gateway/managing-apps.mdx +17 -0
- package/docs/ai-gateway/managing-providers.mdx +11 -0
- package/docs/ai-gateway/observability/analytics.mdx +2 -2
- package/docs/ai-gateway/openrouter.mdx +20 -0
- package/docs/ai-gateway/routing.mdx +40 -1
- package/docs/ai-gateway/universal-api.mdx +50 -6
- package/docs/ai-gateway/user-apps.mdx +44 -2
- package/docs/analytics/shared-controls.md +5 -0
- package/docs/analytics/tabs/consumers.md +36 -0
- package/docs/articles/api-key-api.mdx +16 -1
- package/docs/articles/api-key-buckets.mdx +1 -1
- package/docs/articles/api-key-consumer-bucket-portal-ui.mdx +1 -1
- package/docs/articles/api-key-self-serve-integration.mdx +1 -1
- package/docs/articles/api-lint-configuration.mdx +21 -0
- package/docs/articles/api-lint-custom-rules.mdx +6 -0
- package/docs/articles/branch-based-deployments.mdx +11 -3
- package/docs/articles/ci-cd-azure/multi-stage-deployment.mdx +2 -2
- package/docs/articles/ci-cd-azure/pr-preview-environments.mdx +23 -4
- package/docs/articles/ci-cd-azure/tag-based-releases.mdx +1 -1
- package/docs/articles/ci-cd-bitbucket/multi-stage-deployment.mdx +3 -4
- package/docs/articles/ci-cd-bitbucket/pr-preview-environments.mdx +6 -5
- package/docs/articles/ci-cd-bitbucket/tag-based-releases.mdx +1 -1
- package/docs/articles/ci-cd-circleci/multi-stage-deployment.mdx +2 -3
- package/docs/articles/ci-cd-circleci/pr-preview-environments.mdx +6 -5
- package/docs/articles/ci-cd-circleci/tag-based-releases.mdx +1 -3
- package/docs/articles/ci-cd-github/basic-deployment.mdx +6 -6
- package/docs/articles/ci-cd-github/cleanup-on-branch-delete.mdx +8 -20
- package/docs/articles/ci-cd-github/deploy-and-test.mdx +3 -3
- package/docs/articles/ci-cd-github/local-testing.mdx +1 -1
- package/docs/articles/ci-cd-github/multi-stage-deployment.mdx +2 -3
- package/docs/articles/ci-cd-github/pr-preview-environments.mdx +20 -31
- package/docs/articles/ci-cd-github/tag-based-releases.mdx +5 -3
- package/docs/articles/ci-cd-gitlab/mr-preview-environments.mdx +10 -4
- package/docs/articles/ci-cd-gitlab/multi-stage-deployment.mdx +3 -3
- package/docs/articles/ci-cd-gitlab/tag-based-releases.mdx +1 -1
- package/docs/articles/custom-ci-cd-azure.mdx +2 -2
- package/docs/articles/custom-ci-cd-bitbucket.mdx +2 -2
- package/docs/articles/custom-ci-cd-circleci.mdx +2 -2
- package/docs/articles/custom-ci-cd-github.mdx +10 -11
- package/docs/articles/custom-ci-cd-gitlab.mdx +2 -2
- package/docs/articles/environment-variables.mdx +55 -0
- package/docs/articles/monetization/api-access.mdx +126 -9
- package/docs/articles/monetization/meters.mdx +49 -2
- package/docs/articles/monetization/subscription-lifecycle.md +117 -19
- package/docs/articles/monetization/usage.mdx +58 -0
- package/docs/articles/monorepo-deployment.mdx +10 -25
- package/docs/articles/openapi.mdx +14 -0
- package/docs/articles/support.mdx +35 -0
- package/docs/articles/testing-preview-environments.mdx +1 -1
- package/docs/cli/delete.mdx +50 -0
- package/docs/cli/delete.partial.mdx +52 -0
- package/docs/cli/deploy.mdx +35 -18
- package/docs/cli/deploy.partial.mdx +35 -18
- package/docs/cli/variable-delete.mdx +36 -0
- package/docs/cli/variable-delete.partial.mdx +37 -0
- package/docs/concepts/source-control-and-deployment.mdx +5 -5
- package/docs/dedicated/source-control.mdx +1 -1
- package/docs/dev-portal/dev-portal-create-consumer-on-auth.mdx +1 -1
- package/docs/dev-portal/overview.mdx +23 -0
- package/docs/dev-portal/zudoku/components/alert.mdx +1 -1
- package/docs/dev-portal/zudoku/configuration/api-reference.md +52 -0
- package/docs/dev-portal/zudoku/configuration/authentication-auth0.md +25 -0
- package/docs/dev-portal/zudoku/configuration/authentication-azure-ad.md +7 -0
- package/docs/dev-portal/zudoku/configuration/authentication-openid.md +48 -2
- package/docs/dev-portal/zudoku/configuration/authentication.md +4 -0
- package/docs/dev-portal/zudoku/configuration/build-configuration.mdx +4 -0
- package/docs/dev-portal/zudoku/configuration/navigation.mdx +15 -1
- package/docs/dev-portal/zudoku/configuration/overview.md +3 -0
- package/docs/dev-portal/zudoku/custom-plugins.md +38 -1
- package/docs/dev-portal/zudoku/guides/server-side-content-protection.md +7 -7
- package/docs/dev-portal/zudoku/openapi-extensions/x-enum-descriptions.md +85 -0
- package/docs/dev-portal/zudoku-partials/configuration/authentication-auth0.partial.md +24 -0
- package/docs/errors/build-error.mdx +58 -0
- package/docs/mcp-gateway/auth/configuring-entra.mdx +59 -0
- package/docs/mcp-gateway/auth/configuring-okta.mdx +30 -6
- package/docs/mcp-gateway/auth/configuring-workos.mdx +26 -0
- package/docs/mcp-gateway/auth/overview.mdx +2 -2
- package/docs/policies/request-validation-inbound/doc.md +54 -0
- package/docs/programmable-api/environment.mdx +10 -2
- package/package.json +5 -5
|
@@ -70,3 +70,57 @@ including:
|
|
|
70
70
|
- Required properties
|
|
71
71
|
- Enum values
|
|
72
72
|
- Complex schemas with allOf, anyOf, oneOf, and not
|
|
73
|
+
|
|
74
|
+
## Compatibility date 2026-11-06
|
|
75
|
+
|
|
76
|
+
From compatibility date `2026-11-06`, the policy validates requests against the
|
|
77
|
+
rules your OpenAPI document declares. For how to adopt the date in an existing
|
|
78
|
+
project, see
|
|
79
|
+
[Compatibility dates](https://zuplo.com/docs/programmable-api/compatibility-dates).
|
|
80
|
+
|
|
81
|
+
- **JSON Schema dialect**: Validation follows the dialect a schema declares in
|
|
82
|
+
`$schema` or `jsonSchemaDialect`. It supports JSON Schema 2020-12, 2019-09,
|
|
83
|
+
draft-07, and draft-06. In draft-07 and draft-06, keywords next to a `$ref`
|
|
84
|
+
other than annotations are ignored, as those dialects specify.
|
|
85
|
+
- **Formats**: Standard formats such as `date-time`, `email`, `hostname`,
|
|
86
|
+
`ipv4`, `ipv6`, `uri`, `uuid`, and the OpenAPI numeric formats are checked as
|
|
87
|
+
their specifications define them. `url`, `binary`, `password`, and unknown
|
|
88
|
+
formats aren't checked, so `format: "url"` doesn't reject an invalid URL. Use
|
|
89
|
+
`format: "uri"` or a `pattern` instead.
|
|
90
|
+
- **Patterns**: A `pattern` is a Unicode regular expression. A pattern such as
|
|
91
|
+
`^\p{L}+$` matches `café`.
|
|
92
|
+
- **Own properties only**: `required` and `properties` look only at properties
|
|
93
|
+
the request sets, so `{}` doesn't satisfy `"required": ["constructor"]`.
|
|
94
|
+
- **Parameter coercion**: Query, path, and header values arrive as strings, and
|
|
95
|
+
the policy still coerces them to the declared type. A query string `?limit=5`
|
|
96
|
+
is valid for `{ "type": "integer" }`.
|
|
97
|
+
- **Path item parameters**: Parameters declared on a path item, rather than on
|
|
98
|
+
an operation, are validated in every location the policy checks. An operation
|
|
99
|
+
parameter with the same `name` and `in` overrides the path item's.
|
|
100
|
+
|
|
101
|
+
Before this date, a request that carried a parameter declared on the path item
|
|
102
|
+
failed with `Validator not found` when the policy validated that location. From
|
|
103
|
+
this date, that error no longer occurs for those parameters. A request that
|
|
104
|
+
breaks the parameter's schema is handled like any other validation failure: a
|
|
105
|
+
`400` response with `reject-only` or `reject-and-log`, and a log entry without
|
|
106
|
+
rejecting the request with `log-only`.
|
|
107
|
+
|
|
108
|
+
```json
|
|
109
|
+
"/users/{id}": {
|
|
110
|
+
"parameters": [
|
|
111
|
+
{
|
|
112
|
+
"name": "id",
|
|
113
|
+
"in": "path",
|
|
114
|
+
"required": true,
|
|
115
|
+
"schema": { "type": "integer", "minimum": 1 }
|
|
116
|
+
}
|
|
117
|
+
],
|
|
118
|
+
"post": { "…": "…" }
|
|
119
|
+
}
|
|
120
|
+
```
|
|
121
|
+
|
|
122
|
+
With `validatePathParameters` set to `reject-only`, `POST /users/3` succeeds and
|
|
123
|
+
`POST /users/0` returns a `400` because `id` is below the minimum.
|
|
124
|
+
|
|
125
|
+
A schema that declares a dialect other than those four fails the build and names
|
|
126
|
+
where the dialect is declared.
|
|
@@ -117,12 +117,20 @@ deployed.
|
|
|
117
117
|
|
|
118
118
|
`$env()` is **not** allowed in other locations such as policy `name`,
|
|
119
119
|
`policyType`, `module`, route paths, or top-level OpenAPI fields. Using it
|
|
120
|
-
elsewhere produces a build error
|
|
120
|
+
elsewhere produces a build error that quotes the value and names the file and
|
|
121
|
+
the [JSON pointer](https://datatracker.ietf.org/doc/html/rfc6901) of the
|
|
122
|
+
location:
|
|
121
123
|
|
|
122
124
|
```text
|
|
123
|
-
An $env() statement is not expected at this location.
|
|
125
|
+
An $env() statement is not expected at this location. Found "$env(PROMPT_NAME)"
|
|
126
|
+
at /paths/~1greeting/post/x-zuplo-route/mcp/name in ./config/routes.oas.json.
|
|
127
|
+
$env() is only allowed in route handler options (x-zuplo-route.handler.options),
|
|
128
|
+
policy handler options (policies[].handler.options in policies.json), and CORS
|
|
129
|
+
policy settings (corsPolicies[] in policies.json).
|
|
124
130
|
```
|
|
125
131
|
|
|
132
|
+
Errors in `policies.json` are reported against `/config/policies.json`.
|
|
133
|
+
|
|
126
134
|
### Standalone substitution
|
|
127
135
|
|
|
128
136
|
When the value is _only_ an `$env()` expression, the variable's value is
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "zuplo",
|
|
3
|
-
"version": "7.15.
|
|
3
|
+
"version": "7.15.33",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "The official Zuplo CLI for local development and platform management",
|
|
6
6
|
"homepage": "https://zuplo.com/docs/cli/overview",
|
|
@@ -32,9 +32,9 @@
|
|
|
32
32
|
"zuplo": "zuplo.js"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@zuplo/cli": "7.15.
|
|
36
|
-
"@zuplo/core": "7.15.
|
|
37
|
-
"@zuplo/runtime": "7.15.
|
|
38
|
-
"@zuplo/test": "7.15.
|
|
35
|
+
"@zuplo/cli": "7.15.33",
|
|
36
|
+
"@zuplo/core": "7.15.33",
|
|
37
|
+
"@zuplo/runtime": "7.15.33",
|
|
38
|
+
"@zuplo/test": "7.15.33"
|
|
39
39
|
}
|
|
40
40
|
}
|