zuplo 7.15.32 → 7.15.34

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.
Files changed (108) hide show
  1. package/docs/ai-gateway/azure-ai.mdx +2 -6
  2. package/docs/ai-gateway/bedrock-mantle.mdx +2 -6
  3. package/docs/ai-gateway/cookbooks/data-residency.mdx +3 -7
  4. package/docs/ai-gateway/custom-pricing.mdx +54 -0
  5. package/docs/ai-gateway/guardrails.mdx +1 -3
  6. package/docs/ai-gateway/jev.mdx +35 -0
  7. package/docs/ai-gateway/managing-apps.mdx +17 -0
  8. package/docs/ai-gateway/managing-providers.mdx +11 -0
  9. package/docs/ai-gateway/observability/analytics.mdx +2 -2
  10. package/docs/ai-gateway/openrouter.mdx +20 -0
  11. package/docs/ai-gateway/routing.mdx +50 -15
  12. package/docs/ai-gateway/universal-api.mdx +50 -6
  13. package/docs/ai-gateway/user-apps.mdx +44 -2
  14. package/docs/ai-gateway/vertex-ai.mdx +5 -13
  15. package/docs/analytics/shared-controls.md +5 -0
  16. package/docs/analytics/tabs/consumers.md +36 -0
  17. package/docs/articles/api-key-api.mdx +16 -1
  18. package/docs/articles/api-key-buckets.mdx +1 -1
  19. package/docs/articles/api-key-consumer-bucket-portal-ui.mdx +1 -1
  20. package/docs/articles/api-key-self-serve-integration.mdx +1 -1
  21. package/docs/articles/api-lint-configuration.mdx +21 -0
  22. package/docs/articles/api-lint-custom-rules.mdx +6 -0
  23. package/docs/articles/branch-based-deployments.mdx +11 -3
  24. package/docs/articles/ci-cd-azure/multi-stage-deployment.mdx +2 -2
  25. package/docs/articles/ci-cd-azure/pr-preview-environments.mdx +23 -4
  26. package/docs/articles/ci-cd-azure/tag-based-releases.mdx +1 -1
  27. package/docs/articles/ci-cd-bitbucket/multi-stage-deployment.mdx +3 -4
  28. package/docs/articles/ci-cd-bitbucket/pr-preview-environments.mdx +6 -5
  29. package/docs/articles/ci-cd-bitbucket/tag-based-releases.mdx +1 -1
  30. package/docs/articles/ci-cd-circleci/multi-stage-deployment.mdx +2 -3
  31. package/docs/articles/ci-cd-circleci/pr-preview-environments.mdx +6 -5
  32. package/docs/articles/ci-cd-circleci/tag-based-releases.mdx +1 -3
  33. package/docs/articles/ci-cd-github/basic-deployment.mdx +6 -6
  34. package/docs/articles/ci-cd-github/cleanup-on-branch-delete.mdx +8 -20
  35. package/docs/articles/ci-cd-github/deploy-and-test.mdx +3 -3
  36. package/docs/articles/ci-cd-github/local-testing.mdx +1 -1
  37. package/docs/articles/ci-cd-github/multi-stage-deployment.mdx +2 -3
  38. package/docs/articles/ci-cd-github/pr-preview-environments.mdx +20 -31
  39. package/docs/articles/ci-cd-github/tag-based-releases.mdx +5 -3
  40. package/docs/articles/ci-cd-gitlab/mr-preview-environments.mdx +10 -4
  41. package/docs/articles/ci-cd-gitlab/multi-stage-deployment.mdx +3 -3
  42. package/docs/articles/ci-cd-gitlab/tag-based-releases.mdx +1 -1
  43. package/docs/articles/connect-to-aws-alb-with-mtls.mdx +2 -6
  44. package/docs/articles/custom-ci-cd-azure.mdx +2 -2
  45. package/docs/articles/custom-ci-cd-bitbucket.mdx +2 -2
  46. package/docs/articles/custom-ci-cd-circleci.mdx +2 -2
  47. package/docs/articles/custom-ci-cd-github.mdx +10 -11
  48. package/docs/articles/custom-ci-cd-gitlab.mdx +2 -2
  49. package/docs/articles/environment-variables.mdx +55 -0
  50. package/docs/articles/monetization/api-access.mdx +126 -9
  51. package/docs/articles/monetization/meters.mdx +49 -2
  52. package/docs/articles/monetization/subscription-lifecycle.md +117 -19
  53. package/docs/articles/monetization/usage.mdx +58 -0
  54. package/docs/articles/monorepo-deployment.mdx +10 -25
  55. package/docs/articles/openapi.mdx +14 -0
  56. package/docs/articles/proxy-openai-realtime-api.mdx +6 -2
  57. package/docs/articles/secure-tunnel.mdx +3 -7
  58. package/docs/articles/support.mdx +35 -0
  59. package/docs/articles/testing-preview-environments.mdx +1 -1
  60. package/docs/caching/custom-caching-policy.mdx +4 -4
  61. package/docs/caching/dynamic-cache-rules.mdx +3 -3
  62. package/docs/caching/overview.mdx +2 -6
  63. package/docs/cli/delete.mdx +50 -0
  64. package/docs/cli/delete.partial.mdx +52 -0
  65. package/docs/cli/deploy.mdx +35 -18
  66. package/docs/cli/deploy.partial.mdx +35 -18
  67. package/docs/cli/variable-delete.mdx +36 -0
  68. package/docs/cli/variable-delete.partial.mdx +37 -0
  69. package/docs/concepts/source-control-and-deployment.mdx +9 -17
  70. package/docs/concepts/where-zuplo-runs.mdx +4 -12
  71. package/docs/dedicated/akamai/ai-powered-applications.mdx +5 -15
  72. package/docs/dedicated/akamai/architecture.mdx +11 -33
  73. package/docs/dedicated/akamai/hostname-routing.mdx +4 -4
  74. package/docs/dedicated/architecture.mdx +1 -1
  75. package/docs/dedicated/source-control.mdx +1 -1
  76. package/docs/dev-portal/dev-portal-create-consumer-on-auth.mdx +1 -1
  77. package/docs/dev-portal/overview.mdx +23 -0
  78. package/docs/dev-portal/zudoku/components/alert.mdx +1 -1
  79. package/docs/dev-portal/zudoku/configuration/api-reference.md +52 -0
  80. package/docs/dev-portal/zudoku/configuration/authentication-auth0.md +25 -0
  81. package/docs/dev-portal/zudoku/configuration/authentication-azure-ad.md +7 -0
  82. package/docs/dev-portal/zudoku/configuration/authentication-openid.md +48 -2
  83. package/docs/dev-portal/zudoku/configuration/authentication.md +4 -0
  84. package/docs/dev-portal/zudoku/configuration/build-configuration.mdx +4 -0
  85. package/docs/dev-portal/zudoku/configuration/navigation.mdx +15 -1
  86. package/docs/dev-portal/zudoku/configuration/overview.md +3 -0
  87. package/docs/dev-portal/zudoku/custom-plugins.md +38 -1
  88. package/docs/dev-portal/zudoku/guides/server-side-content-protection.md +7 -7
  89. package/docs/dev-portal/zudoku/openapi-extensions/x-enum-descriptions.md +85 -0
  90. package/docs/dev-portal/zudoku-partials/configuration/authentication-auth0.partial.md +24 -0
  91. package/docs/errors/build-error.mdx +58 -0
  92. package/docs/guides/backend-failover.mdx +9 -8
  93. package/docs/mcp-gateway/auth/configuring-entra.mdx +59 -0
  94. package/docs/mcp-gateway/auth/configuring-okta.mdx +30 -6
  95. package/docs/mcp-gateway/auth/configuring-workos.mdx +26 -0
  96. package/docs/mcp-gateway/auth/overview.mdx +2 -2
  97. package/docs/mcp-gateway/auth/upstream-oauth.mdx +1 -1
  98. package/docs/mcp-gateway/overview.mdx +1 -1
  99. package/docs/mcp-server/authorize-tool-calls.mdx +6 -2
  100. package/docs/policies/mcp-entra-oauth-inbound/doc.md +24 -0
  101. package/docs/policies/mcp-entra-oauth-inbound/schema.json +13 -0
  102. package/docs/policies/mcp-okta-oauth-inbound/doc.md +9 -2
  103. package/docs/policies/mcp-okta-oauth-inbound/schema.json +2 -2
  104. package/docs/policies/mcp-workos-oauth-inbound/doc.md +8 -0
  105. package/docs/policies/mcp-workos-oauth-inbound/schema.json +7 -0
  106. package/docs/policies/request-validation-inbound/doc.md +54 -0
  107. package/docs/programmable-api/environment.mdx +10 -2
  108. package/package.json +5 -5
@@ -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.32",
3
+ "version": "7.15.34",
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.32",
36
- "@zuplo/core": "7.15.32",
37
- "@zuplo/runtime": "7.15.32",
38
- "@zuplo/test": "7.15.32"
35
+ "@zuplo/cli": "7.15.34",
36
+ "@zuplo/core": "7.15.34",
37
+ "@zuplo/runtime": "7.15.34",
38
+ "@zuplo/test": "7.15.34"
39
39
  }
40
40
  }