@redocly/framework 0.140.0-next.1 → 0.140.0-next.10

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 (242) hide show
  1. package/CHANGELOG.md +212 -0
  2. package/dist/api-schemas/mcp-fetch-count.d.ts +2 -18
  3. package/dist/api-schemas/otel-traces.d.ts +7 -1345
  4. package/dist/api-schemas/otel-traces.js +1 -1
  5. package/dist/api-schemas/search-facets.d.ts +3 -31
  6. package/dist/api-schemas/search.d.ts +6 -52
  7. package/dist/cli/build/index.js +1 -1
  8. package/dist/cli/eject/resolveEjectParams.js +1 -1
  9. package/dist/cli/generate/get-schema-template.js +1 -1
  10. package/dist/client/app/hooks/markdown/useMarkdocRenderer.js +1 -1
  11. package/dist/client/app/hooks/markdown/useMarkdownText.js +1 -1
  12. package/dist/client/app/markdoc/custom-components/openapi/openapi-code-sample.d.ts +2 -0
  13. package/dist/client/app/markdoc/custom-components/openapi/openapi-code-sample.js +1 -1
  14. package/dist/client/app/markdoc/custom-components/openapi/use-markdown-adapter.d.ts +1 -33
  15. package/dist/client/app/useGlobalData.d.ts +1 -1
  16. package/dist/client/providers/post-message/use-post-message.d.ts +1 -1
  17. package/dist/compiled/@redocly/pii/index.mjs +1 -0
  18. package/dist/compiled/@redocly/pii/package.json +1 -0
  19. package/dist/compiled/svgo/svgo-node.js +1 -1
  20. package/dist/constants/l10n/langs/ar.js +1 -1
  21. package/dist/constants/l10n/langs/de.js +1 -1
  22. package/dist/constants/l10n/langs/en.js +1 -1
  23. package/dist/constants/l10n/langs/es.js +1 -1
  24. package/dist/constants/l10n/langs/fr.js +1 -1
  25. package/dist/constants/l10n/langs/hi.js +1 -1
  26. package/dist/constants/l10n/langs/it.js +1 -1
  27. package/dist/constants/l10n/langs/ja.js +1 -1
  28. package/dist/constants/l10n/langs/ko.js +1 -1
  29. package/dist/constants/l10n/langs/pl.js +1 -1
  30. package/dist/constants/l10n/langs/pt-BR.js +1 -1
  31. package/dist/constants/l10n/langs/pt.js +1 -1
  32. package/dist/constants/l10n/langs/ru.js +1 -1
  33. package/dist/constants/l10n/langs/uk.js +1 -1
  34. package/dist/constants/l10n/langs/zh.js +1 -1
  35. package/dist/markdoc/attributes/definition-path.d.ts +1 -1
  36. package/dist/markdoc/attributes/json-example-ref.d.ts +1 -1
  37. package/dist/markdoc/attributes/json-schema-ref.d.ts +1 -1
  38. package/dist/markdoc/attributes/parsed-yaml.d.ts +1 -1
  39. package/dist/markdoc/attributes/raw-content.d.ts +1 -1
  40. package/dist/markdoc/attributes/sample-from-json-schema.d.ts +1 -1
  41. package/dist/markdoc/helpers/extract-rbac-from-condition-node.d.ts +1 -1
  42. package/dist/markdoc/helpers/get-inner-text.d.ts +1 -1
  43. package/dist/markdoc/helpers/get-node-attribute.d.ts +1 -1
  44. package/dist/markdoc/helpers/get-variable.d.ts +1 -1
  45. package/dist/markdoc/helpers/guards/is-conditional-node.d.ts +1 -1
  46. package/dist/markdoc/helpers/guards/is-function.d.ts +1 -1
  47. package/dist/markdoc/helpers/guards/is-node.d.ts +1 -1
  48. package/dist/markdoc/helpers/guards/is-prompt-node.d.ts +1 -1
  49. package/dist/markdoc/helpers/guards/is-tag.d.ts +1 -1
  50. package/dist/markdoc/helpers/guards/is-variable.d.ts +1 -1
  51. package/dist/markdoc/helpers/parse-partials.d.ts +1 -1
  52. package/dist/markdoc/helpers/parse-partials.js +1 -1
  53. package/dist/markdoc/helpers/remove-markdoc-tags.js +1 -1
  54. package/dist/markdoc/helpers/set-node-attribute-value.d.ts +1 -1
  55. package/dist/markdoc/nodes/fence/index.d.ts +1 -1
  56. package/dist/markdoc/nodes/fence/index.js +1 -1
  57. package/dist/markdoc/nodes/gfm-list-item.d.ts +1 -1
  58. package/dist/markdoc/nodes/gfm-list-item.js +1 -1
  59. package/dist/markdoc/nodes/heading.d.ts +1 -1
  60. package/dist/markdoc/nodes/heading.js +1 -1
  61. package/dist/markdoc/nodes/index.d.ts +6 -165
  62. package/dist/markdoc/nodes/index.js +1 -1
  63. package/dist/markdoc/nodes/table.d.ts +1 -1
  64. package/dist/markdoc/nodes/table.js +1 -1
  65. package/dist/markdoc/nodes/text.d.ts +1 -1
  66. package/dist/markdoc/tags/json-example.js +1 -1
  67. package/dist/markdoc/tags/openapi-code-sample.js +1 -1
  68. package/dist/server/api-routes/execute-api-route.js +1 -1
  69. package/dist/server/api-routes/run-api-routes-worker.js +1 -1
  70. package/dist/server/config/env-config.d.ts +26 -24
  71. package/dist/server/config/env-schema.d.ts +87 -326
  72. package/dist/server/config/env-schemas/api-urls.d.ts +2 -14
  73. package/dist/server/config/env-schemas/auth.d.ts +10 -32
  74. package/dist/server/config/env-schemas/catalog.d.ts +6 -9
  75. package/dist/server/config/env-schemas/database.d.ts +2 -8
  76. package/dist/server/config/env-schemas/environment-detection.d.ts +20 -18
  77. package/dist/server/config/env-schemas/feature-flags.d.ts +29 -33
  78. package/dist/server/config/env-schemas/feature-flags.js +1 -1
  79. package/dist/server/config/env-schemas/organization-project.d.ts +3 -21
  80. package/dist/server/config/env-schemas/scorecards.d.ts +2 -6
  81. package/dist/server/config/env-schemas/search.d.ts +9 -15
  82. package/dist/server/config/env-schemas/server-config.d.ts +6 -31
  83. package/dist/server/config/env-schemas/site.d.ts +1 -5
  84. package/dist/server/config/env-schemas/ssr.d.ts +7 -12
  85. package/dist/server/config/env-schemas/telemetry.d.ts +1 -7
  86. package/dist/server/constants/common.d.ts +3 -0
  87. package/dist/server/constants/common.js +1 -1
  88. package/dist/server/esbuild/plugins/dependency-resolver.js +1 -1
  89. package/dist/server/esbuild/plugins/themes-resolver.js +3 -3
  90. package/dist/server/external-plugins/resolve-external-plugins.js +1 -1
  91. package/dist/server/node-bundle-entry.js +1 -1
  92. package/dist/server/plugins/api-docs/definition-access.d.ts +22 -0
  93. package/dist/server/plugins/api-docs/definition-access.js +1 -0
  94. package/dist/server/plugins/api-docs/index.js +1 -1
  95. package/dist/server/plugins/api-docs/loader.d.ts +1 -1
  96. package/dist/server/plugins/api-docs/options.js +1 -1
  97. package/dist/server/plugins/api-docs/spec-download.api.js +1 -1
  98. package/dist/server/plugins/config-parser/index.js +1 -1
  99. package/dist/server/plugins/config-parser/loaders/utils/read-and-validate-config.js +1 -1
  100. package/dist/server/plugins/markdown/attribute-resolvers/code-walkthrough/filesets-resolver.d.ts +1 -1
  101. package/dist/server/plugins/markdown/attribute-resolvers/helpers/load-openapi-bundle.d.ts +1 -1
  102. package/dist/server/plugins/markdown/attribute-resolvers/index.d.ts +1 -1
  103. package/dist/server/plugins/markdown/attribute-resolvers/resolve-code-snippet-from-file.d.ts +1 -1
  104. package/dist/server/plugins/markdown/attribute-resolvers/resolve-diagram-from-file.d.ts +1 -1
  105. package/dist/server/plugins/markdown/attribute-resolvers/resolve-html-href.d.ts +1 -1
  106. package/dist/server/plugins/markdown/attribute-resolvers/resolve-html-source-attribute.d.ts +1 -1
  107. package/dist/server/plugins/markdown/attribute-resolvers/resolve-image-gallery.d.ts +1 -1
  108. package/dist/server/plugins/markdown/attribute-resolvers/resolve-image-src-set.d.ts +1 -1
  109. package/dist/server/plugins/markdown/attribute-resolvers/resolve-image-src.d.ts +1 -1
  110. package/dist/server/plugins/markdown/attribute-resolvers/resolve-json-example-ref.d.ts +1 -1
  111. package/dist/server/plugins/markdown/attribute-resolvers/resolve-json-schema-ref.d.ts +1 -1
  112. package/dist/server/plugins/markdown/attribute-resolvers/resolve-link.d.ts +1 -1
  113. package/dist/server/plugins/markdown/attribute-resolvers/resolve-native-md-link.d.ts +1 -1
  114. package/dist/server/plugins/markdown/attribute-resolvers/resolve-nav-links.d.ts +1 -1
  115. package/dist/server/plugins/markdown/attribute-resolvers/resolve-open-api-ref.d.ts +1 -1
  116. package/dist/server/plugins/markdown/attribute-resolvers/resolve-openapi-code-samples.d.ts +1 -1
  117. package/dist/server/plugins/markdown/attribute-resolvers/resolve-openapi-code-samples.js +1 -1
  118. package/dist/server/plugins/markdown/attribute-resolvers/resolve-openapi-response-samples.d.ts +1 -1
  119. package/dist/server/plugins/markdown/attribute-resolvers/resolve-parsed-yaml.d.ts +1 -1
  120. package/dist/server/plugins/markdown/attribute-resolvers/resolve-raw-content.d.ts +1 -1
  121. package/dist/server/plugins/markdown/attribute-resolvers/resolve-relative-or-cdn-icon.d.ts +1 -1
  122. package/dist/server/plugins/markdown/attribute-resolvers/resolve-relative-path.d.ts +1 -1
  123. package/dist/server/plugins/markdown/attribute-resolvers/resolve-sample-from-json-schema.d.ts +1 -1
  124. package/dist/server/plugins/markdown/attribute-resolvers/resolve-svg-content.d.ts +1 -1
  125. package/dist/server/plugins/markdown/attribute-resolvers/resolve-tag-raw-content.d.ts +1 -1
  126. package/dist/server/plugins/markdown/attribute-resolvers/resolve-tag-raw-content.js +2 -2
  127. package/dist/server/plugins/markdown/attribute-resolvers/utils.d.ts +1 -1
  128. package/dist/server/plugins/markdown/compiler.d.ts +1 -1
  129. package/dist/server/plugins/markdown/compiler.js +1 -1
  130. package/dist/server/plugins/markdown/errors.d.ts +1 -1
  131. package/dist/server/plugins/markdown/get-server-props.js +1 -1
  132. package/dist/server/plugins/markdown/html/normalize-html-headings.d.ts +1 -1
  133. package/dist/server/plugins/markdown/html/normalize-html-headings.js +1 -1
  134. package/dist/server/plugins/markdown/markdoc/functions/concat.d.ts +1 -1
  135. package/dist/server/plugins/markdown/markdoc/markdoc-options.d.ts +5 -165
  136. package/dist/server/plugins/markdown/markdoc/markdoc-options.js +1 -1
  137. package/dist/server/plugins/markdown/markdoc/partials.d.ts +1 -1
  138. package/dist/server/plugins/markdown/markdoc/plugins/headings.d.ts +1 -1
  139. package/dist/server/plugins/markdown/markdoc/plugins/utils.d.ts +1 -1
  140. package/dist/server/plugins/markdown/markdoc/reparse-example-fences.d.ts +1 -1
  141. package/dist/server/plugins/markdown/markdoc/reparse-example-fences.js +1 -1
  142. package/dist/server/plugins/markdown/runtime-transform.d.ts +2 -2
  143. package/dist/server/plugins/markdown/runtime-transform.js +1 -1
  144. package/dist/server/plugins/markdown/search/get-ai-search-documents.js +1 -1
  145. package/dist/server/plugins/markdown/search/nodes/section-node.d.ts +1 -1
  146. package/dist/server/plugins/markdown/search/search-resolver.js +1 -1
  147. package/dist/server/plugins/markdown/search/to-markdown.d.ts +1 -1
  148. package/dist/server/plugins/markdown/search/walk-sections.d.ts +1 -1
  149. package/dist/server/plugins/markdown/search/walk-sections.js +1 -1
  150. package/dist/server/plugins/markdown/utils/stringify-tag-children-objects.d.ts +1 -1
  151. package/dist/server/plugins/mcp/codemode/tools/describe-tools.d.ts +1 -1
  152. package/dist/server/plugins/mcp/codemode/tools/describe-tools.js +1 -3
  153. package/dist/server/plugins/mcp/docs-mcp/tools/graphql/get-graphql-type-list.js +1 -1
  154. package/dist/server/plugins/mcp/docs-mcp/tools/graphql/list-graphql-apis.js +1 -1
  155. package/dist/server/plugins/mcp/docs-mcp/tools/graphql/types.d.ts +4 -4
  156. package/dist/server/plugins/mcp/docs-mcp/tools/openapi/list-apis.js +1 -1
  157. package/dist/server/plugins/mcp/docs-mcp/tools/openapi/types.d.ts +2 -2
  158. package/dist/server/plugins/mcp/handlers/docs-mcp-handler.js +1 -1
  159. package/dist/server/plugins/mcp/handlers/errors.d.ts +0 -5
  160. package/dist/server/plugins/mcp/handlers/errors.js +1 -1
  161. package/dist/server/plugins/mcp/handlers/handle-mcp-request.js +1 -1
  162. package/dist/server/plugins/mcp/handlers/mcp-credentials-handler.js +1 -1
  163. package/dist/server/plugins/mcp/servers/docs-server.js +1 -1
  164. package/dist/server/plugins/mcp/servers/mcp-server.js +2 -2
  165. package/dist/server/plugins/mcp/types.d.ts +10 -0
  166. package/dist/server/plugins/mcp/utils/available-tools.d.ts +5 -0
  167. package/dist/server/plugins/mcp/utils/available-tools.js +1 -0
  168. package/dist/server/plugins/mcp/workers/worker-context.d.ts +4 -0
  169. package/dist/server/plugins/mcp/workers/worker-context.js +1 -0
  170. package/dist/server/plugins/scorecard-classic/compute-scorecard.d.ts +2 -2
  171. package/dist/server/plugins/scorecard-classic/compute-scorecard.js +1 -1
  172. package/dist/server/plugins/scorecard-classic/index.js +1 -1
  173. package/dist/server/plugins/scorecard-classic/shared-utils.js +1 -1
  174. package/dist/server/plugins/scorecard-classic/template/Grid/GridHeader.js +3 -3
  175. package/dist/server/plugins/scorecard-classic/template/views.js +1 -1
  176. package/dist/server/plugins/search/engines/typesense/index.js +1 -1
  177. package/dist/server/store-config.d.ts +33 -0
  178. package/dist/server/store-config.js +1 -0
  179. package/dist/server/store.d.ts +11 -16
  180. package/dist/server/store.js +1 -1
  181. package/dist/server/tools/notifiers/formatter.js +3 -3
  182. package/dist/server/tools/notifiers/helpers/colors.d.ts +1 -1
  183. package/dist/server/types/plugins/api-routes.d.ts +4 -1
  184. package/dist/server/types/plugins/common.d.ts +1 -1
  185. package/dist/server/utils/codeframes/codeframes.d.ts +1 -1
  186. package/dist/server/utils/codeframes/yaml-ast.d.ts +1 -1
  187. package/dist/server/utils/decode-request-path.d.ts +2 -0
  188. package/dist/server/utils/decode-request-path.js +1 -0
  189. package/dist/server/utils/envs/env-boolean-string.d.ts +9 -3
  190. package/dist/server/utils/envs/get-api-route-allowed-env-variables.d.ts +2 -0
  191. package/dist/server/utils/envs/get-api-route-allowed-env-variables.js +1 -1
  192. package/dist/server/utils/envs/interpolate-env-variables.d.ts +5 -1
  193. package/dist/server/utils/envs/interpolate-env-variables.js +1 -1
  194. package/dist/server/utils/envs/load-env-variables.js +1 -1
  195. package/dist/server/utils/envs/replace-env-variables-deep.d.ts +17 -9
  196. package/dist/server/utils/envs/replace-env-variables-deep.js +1 -1
  197. package/dist/server/utils/errors.d.ts +3 -0
  198. package/dist/server/utils/errors.js +1 -1
  199. package/dist/server/utils/llmstxt/resolve-llms-txt-md.js +1 -1
  200. package/dist/server/utils/rbac-expand.js +1 -1
  201. package/dist/server/utils/rbac.d.ts +5 -1
  202. package/dist/server/utils/rbac.js +1 -1
  203. package/dist/server/utils/report-all-errors.js +1 -1
  204. package/dist/server/web-server/auth.d.ts +2 -0
  205. package/dist/server/web-server/auth.js +2 -2
  206. package/dist/server/web-server/middleware/jsonValidatorMiddleware.d.ts +5 -325
  207. package/dist/server/web-server/routes/auth.js +1 -1
  208. package/dist/server/web-server/routes/dynamic-route.js +1 -1
  209. package/dist/server/web-server/routes/error.js +1 -1
  210. package/dist/server/web-server/routes/helpers/process-redirects.js +1 -1
  211. package/dist/server/web-server/routes/mcp-routes/mcp-consent-page.d.ts +2 -2
  212. package/dist/server/web-server/routes/mcp-routes/mcp-consent-page.js +18 -18
  213. package/dist/server/web-server/routes/mcp-routes/mcp-oauth.js +1 -1
  214. package/dist/server/web-server/utils/ssrf-safe-lookup.d.ts +2 -1
  215. package/dist/server/web-server/utils/ssrf-safe-lookup.js +1 -1
  216. package/dist/server/workers/mcp-tool-worker-methods.d.ts +7 -0
  217. package/dist/server/workers/mcp-tool-worker-methods.js +1 -0
  218. package/dist/server/workers/mcp-tool-worker-pool.d.ts +0 -1
  219. package/dist/server/workers/mcp-tool-worker-pool.js +1 -1
  220. package/dist/server/workers/mcp-tool-worker.js +1 -1
  221. package/dist/server/workers/types.d.ts +4 -8
  222. package/dist/server/workers/worker-config.d.ts +33 -0
  223. package/dist/server/workers/worker-config.js +1 -0
  224. package/dist/types/errors.d.ts +1 -1
  225. package/dist/types/markdoc.d.ts +1 -1
  226. package/package.json +12 -11
  227. package/dist/server/plugins/markdown/html/html-jsx-attribute-mapping.d.ts +0 -6
  228. package/dist/server/plugins/markdown/html/html-jsx-attribute-mapping.js +0 -1
  229. package/dist/server/plugins/markdown/html/process-html-tokens.d.ts +0 -2
  230. package/dist/server/plugins/markdown/html/process-html-tokens.js +0 -1
  231. package/dist/server/plugins/markdown/source.d.ts +0 -4
  232. package/dist/server/plugins/markdown/source.js +0 -1
  233. package/dist/server/plugins/mcp/utils/available-sandbox-tools.d.ts +0 -4
  234. package/dist/server/plugins/mcp/utils/available-sandbox-tools.js +0 -1
  235. package/dist/server/tools/notifiers/helpers/privacy/mask-email.d.ts +0 -25
  236. package/dist/server/tools/notifiers/helpers/privacy/mask-email.js +0 -1
  237. package/dist/server/tools/notifiers/helpers/privacy/mask-subject.d.ts +0 -13
  238. package/dist/server/tools/notifiers/helpers/privacy/mask-subject.js +0 -1
  239. package/dist/server/tools/notifiers/helpers/privacy/remove-pii-from-url.d.ts +0 -25
  240. package/dist/server/tools/notifiers/helpers/privacy/remove-pii-from-url.js +0 -1
  241. package/dist/server/tools/notifiers/helpers/privacy/remove-pii.d.ts +0 -36
  242. package/dist/server/tools/notifiers/helpers/privacy/remove-pii.js +0 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,186 @@
1
1
  # @redocly/framework
2
2
 
3
+ ## 0.140.0-next.10
4
+
5
+ ### Minor Changes
6
+
7
+ - f2bf486bc39: Improved the design of the `prompt` Markdoc tag: **Copy prompt** is the main button, and its menu lists the `actions` with their icons on the menu button.
8
+ Without a `title` configuration, the prompt text appears in the header.
9
+
10
+ ### Patch Changes
11
+
12
+ - ec14ccb7311: Fixed an issue where the **Try it** console and code samples did not send a parameter declared with `content` and a JSON media type as one JSON value.
13
+ - adab160d5c4: Fixed an issue where an invalid value in an OpenAPI or AsyncAPI description, such as a server without `url` or an empty `required:` in an `allOf` part, crashed the API docs page. The invalid part is skipped, the rest of the page renders, and the error is reported to telemetry.
14
+ - ab7e3992a5a: Fixed an issue where the AI assistant chat was jumping to the end of the conversation while a response was streaming, even after the user scrolled up to read earlier messages.
15
+ - d748a5fec1e: Fixed an issue where OIDC login failed with a misleading `400 Invalid JSON` error when the identity provider returned an error status or a non-JSON response, such as an "Access Denied" page from a firewall.
16
+ The login returns a `502 Bad Gateway` error, and the server logs show the identity provider host and the HTTP status of its response.
17
+ - d4b6b8818c3: Fixed an issue where the **Try it** console and Replay displayed wrong values or did not load when a server, environment, or parameter had a name such as `constructor` or `toString`.
18
+ - ec14ccb7311: Fixed an issue that caused array and object query parameters in the **Try it** console to ignore `style` and `explode` settings.
19
+ - Updated dependencies [ec14ccb7311]
20
+ - Updated dependencies [adab160d5c4]
21
+ - Updated dependencies [f0fb719a80e]
22
+ - Updated dependencies [ab7e3992a5a]
23
+ - Updated dependencies [f2bf486bc39]
24
+ - Updated dependencies [ec14ccb7311]
25
+ - @redocly/api-docs@0.5.0-next.7
26
+ - @redocly/theme@0.72.0-next.6
27
+
28
+ ## 0.140.0-next.9
29
+
30
+ ### Minor Changes
31
+
32
+ - c99079a7487: Renamed the `reunite` option and the `access.rbac.reunite` scope in `redocly.yaml` to `platform` and deprecated the old names.
33
+ Using the old names does not fail the build, but produces warnings in the build log.
34
+
35
+ ## 0.140.0-next.8
36
+
37
+ ### Patch Changes
38
+
39
+ - dc825f9c248: Improved keyboard navigation in catalog entity version history.
40
+ The arrow keys open the version list and move between versions, the `Escape` key closes the list, and the focused version shows a focus ring.
41
+ - fee19712620: Fixed an issue where reaction-specific reasons in page feedback forms did not use the configured labels or components.
42
+ - fee19712620: Fixed an issue where the `rating` and `sentiment` page feedback forms accepted invalid email addresses without prompting users to correct them.
43
+ - fee19712620: Improved page feedback forms so that screen readers announce the comment and email fields with their labels.
44
+ - fee19712620: Fixed the `mood` form to show its reaction-specific default comment label when `comment` is not configured.
45
+ - fee19712620: Fixed an issue where the `sentiment` and `mood` page feedback forms sent the reasons a user selected for one reaction after they switched to another reaction.
46
+ - fee19712620: Fixed the **Cancel** button in the `scale` page feedback form so it uses the same translation key as other feedback forms. If you translated `feedback.settings.comment.cancel` for this button, move that translation to `feedback.cancel`.
47
+ - 5dbc15ee73c: Fixed a security vulnerability that could allow a request to the Docs MCP server to consume excessive memory.
48
+ - Updated dependencies [dc825f9c248]
49
+ - Updated dependencies [fee19712620]
50
+ - Updated dependencies [fee19712620]
51
+ - Updated dependencies [fee19712620]
52
+ - Updated dependencies [fee19712620]
53
+ - Updated dependencies [fee19712620]
54
+ - Updated dependencies [fee19712620]
55
+ - @redocly/theme@0.72.0-next.5
56
+ - @redocly/api-docs@0.5.0-next.6
57
+
58
+ ## 0.140.0-next.7
59
+
60
+ ### Minor Changes
61
+
62
+ - f0bfa578d7f: Added `McpNotAllowed` to the layouts supported by the `eject component` command.
63
+ - 75bed8c0270: Added the `options` attribute to the `openapi-code-sample` Markdoc tag that overrides the API's `openapi` configuration for a single embedded code sample.
64
+ For example, set `codeSamples.skipOptionalParameters` to `true` to leave optional headers, query parameters, and cookies out of the sample.
65
+ - e3bec3465eb: Changed the **Open in Claude** and **Open in ChatGPT** actions of the `prompt` Markdoc tag to open the desktop apps instead of the web chats.
66
+ **Open in Claude** starts a Claude Code session in the Claude desktop app.
67
+ - e0b48b15f34: Added menus for selecting allowed `enum` values and runtime expressions for parameter and form data in the **Try it** console and Replay.
68
+
69
+ ### Patch Changes
70
+
71
+ - 01c4d8c8290: Fixed an issue where `rbac.content` rules for OpenAPI and AsyncAPI description files failed to protect download links with different file extensions.
72
+ - 60f034009a5: Fixed an issue in OpenAPI docs where the page of a schema that other schemas extend through `allOf` never finished rendering when its properties reached schemas that refer back to those extensions.
73
+ - 60f034009a5: Fixed an issue in OpenAPI docs where a page never finished rendering when two discriminator schemas listed the same variants and both declared the properties the variants inherit.
74
+ - ec87f4122da: Fixed keyboard and screen reader issues in the sidebar, Markdoc tabs, switches, select fields, search, and Replay.
75
+ For example, the arrow keys switch Markdoc tabs without a mouse click first, and the `Space` key expands sidebar groups and toggles switches.
76
+ - 7407f93d2c1: Fixed an issue where a banner with empty `content` in `redocly.yaml` displayed the text of the `redocly.yaml` file instead of being hidden.
77
+ - 84e0f03e180: Updated `@redocly/openapi-core` to version `2.72.1`.
78
+ - 1a59532188b: Fixed an issue where the Docs MCP server in projects with large configurations used too much memory and responded slowly.
79
+ - aaa4a966832: Fixed security vulnerabilities `GHSA-jm63-cq47-j5jp`, `GHSA-46jr-4wx8-v453` and `GHSA-rvq5-wwqv-78pq` by upgrading `@modelcontextprotocol/server` to version `2.3.1`.
80
+ - f347d62c028: Fixed an issue where the mock server returned a 500 error for requests with a JSON body when the operation declared its response with the `*/*` media type.
81
+ - ed621036bf9: Fixed an issue that prevented preview from starting.
82
+ - 46defc1dd46: Fixed an issue in the **Try it** request body editor where valid values were flagged as not divisible when the schema's `multipleOf` was a decimal such as `0.01`.
83
+ - 23e2dc60529: Fixed parameter checkboxes in the **Try it** console and Replay so that the keyboard focus is visible.
84
+ - a0fb842a056: Fixed an issue where the project's `@theme` styles and theme overrides did not load when `@redocly/theme` was installed inside the product package instead of the project root.
85
+ - 6d3be784ce5: Fixed keyboard access in select fields: the arrow keys move through the options, `Escape` closes the list, and a click in a searchable select field lets users type a search right away.
86
+ - 60ca654f196: Updated `@redocly/openapi-core` to version `2.71.2`.
87
+ - a411f1866fb: Fixed security vulnerability `GHSA-mrhx-c7xc-m3w5` by upgrading `zod` to version `4.6.6`.
88
+ - Updated dependencies [60f034009a5]
89
+ - Updated dependencies [60f034009a5]
90
+ - Updated dependencies [ec87f4122da]
91
+ - Updated dependencies [84e0f03e180]
92
+ - Updated dependencies [e3bec3465eb]
93
+ - Updated dependencies [e0b48b15f34]
94
+ - Updated dependencies [6d3be784ce5]
95
+ - Updated dependencies [60ca654f196]
96
+ - Updated dependencies [a411f1866fb]
97
+ - @redocly/api-docs@0.5.0-next.5
98
+ - @redocly/theme@0.72.0-next.4
99
+ - @redocly/portal-plugin-mock-server@0.25.0-next.2
100
+
101
+ ## 0.140.0-next.6
102
+
103
+ ### Minor Changes
104
+
105
+ - 5b82f282c92: Deprecated the `mcp.docs` config object and moved its options to `mcp`.
106
+
107
+ ### Patch Changes
108
+
109
+ - bed4a5f394a: Fixed an issue where C# request samples in OpenAPI docs sent number, boolean, and `null` values from the request body example as strings.
110
+ C# request samples also compile when the example contains strings with quotes, backslashes, or line breaks, or empty, nested, or mixed-type arrays.
111
+ - 4e12a3d89f3: Improved server-side rendering performance for OpenAPI reference pages with heavily reused schemas.
112
+ - 185f2658cab: Fixed an issue in OpenAPI docs where request and response samples were empty when a discriminator option's property referenced part of another schema.
113
+ - b4ba4341a95: Updated `@redocly/openapi-core` to version `2.71.1`.
114
+ - ff91adf1e0d: Fixed security vulnerabilities `GHSA-cg2g-xh64-v4q7`, `GHSA-mrv2-3pqr-j5jr` and `GHSA-c6gr-qvv4-5v3f` by upgrading `dompurify` to version `3.4.17`.
115
+ - 725184fbef9: Fixed an issue where the Docs MCP setup snippets gave every site without `mcp.docs.name` the same server name, which caused a name conflict in the MCP client when users connected more than one site.
116
+ If `mcp.docs.name` is not set, the server name is based on the site's domain.
117
+ - 2f973409954: Fixed the `connect-mcp` tag so it no longer displays a connect button on sites that don't serve an MCP server.
118
+ - 22cd58473a8: Fixed an issue in the **Try it** console where the edited request body was replaced with the documented example when the content type changed.
119
+ For example, when users switched from JSON to XML and back.
120
+ - Updated dependencies [bed4a5f394a]
121
+ - Updated dependencies [4e12a3d89f3]
122
+ - Updated dependencies [185f2658cab]
123
+ - Updated dependencies [b4ba4341a95]
124
+ - Updated dependencies [ff91adf1e0d]
125
+ - Updated dependencies [725184fbef9]
126
+ - Updated dependencies [2f973409954]
127
+ - @redocly/api-docs@0.5.0-next.4
128
+ - @redocly/theme@0.72.0-next.3
129
+ - @redocly/portal-plugin-mock-server@0.25.0-next.1
130
+
131
+ ## 0.140.0-next.5
132
+
133
+ ### Minor Changes
134
+
135
+ - 1427a7a148b: Added support for GitHub alert syntax in Markdown pages: `> [!NOTE]`, `> [!TIP]`, `> [!IMPORTANT]`, `> [!WARNING]`, and `> [!CAUTION]` render as admonitions.
136
+ - 1427a7a148b: Switched Markdoc to `@redocly/markdoc`, Redocly's fork of Markdoc.
137
+ Custom tags that import from `@markdoc/markdoc` keep working.
138
+ - fe438812a35: Added the `alt` attribute to the `inline-svg` Markdoc tag, which gives the SVG an accessible name for people who use assistive technologies.
139
+
140
+ ### Patch Changes
141
+
142
+ - 193788e3f12: Fixed an issue in API docs where content shifted on load when users opened a direct link to an operation or a tag.
143
+ - 6ede6bd88ca: Fixed an issue where the mock server returned values from earlier requests in later responses.
144
+ - a879730b94d: Fixed an issue where API docs displayed error on pages translated with the browser translation feature.
145
+ - 1427a7a148b: Fixed raw HTML in Markdown pages and API descriptions: boolean attributes such as `<details open>` take effect, and `style` values that contain semicolons, such as data URLs, are kept.
146
+ - Updated dependencies [193788e3f12]
147
+ - Updated dependencies [1427a7a148b]
148
+ - Updated dependencies [a879730b94d]
149
+ - Updated dependencies [1427a7a148b]
150
+ - Updated dependencies [1427a7a148b]
151
+ - Updated dependencies [abe82fc0fc2]
152
+ - Updated dependencies [fe438812a35]
153
+ - @redocly/api-docs@0.5.0-next.3
154
+ - @redocly/theme@0.72.0-next.2
155
+ - @redocly/portal-plugin-mock-server@0.25.0-next.0
156
+
157
+ ## 0.140.0-next.4
158
+
159
+ ### Patch Changes
160
+
161
+ - c248752dc08: Improved how fast the mobile menu, search, and other dialogs open on touch devices.
162
+ - 83f7857579b: Fixed the AI assistant status lines, such as "Searching documentation..." and "Ran code", that stayed in English on localized sites.
163
+ - Updated dependencies [c248752dc08]
164
+ - Updated dependencies [26d064e0dca]
165
+ - Updated dependencies [255f805d4fa]
166
+ - Updated dependencies [83f7857579b]
167
+ - @redocly/theme@0.72.0-next.1
168
+ - @redocly/api-docs@0.5.0-next.2
169
+
170
+ ## 0.140.0-next.3
171
+
172
+ ### Patch Changes
173
+
174
+ - d7d79acc8df: Extended how long MCP clients stay signed in to the authenticated Docs MCP server from 24 hours to 30 days when the identity provider issues refresh tokens.
175
+ Without refresh tokens, sessions still expire after 24 hours.
176
+
177
+ ## 0.140.0-next.2
178
+
179
+ ### Patch Changes
180
+
181
+ - 29506e7ce41: Fixed an issue where a project built with `@redocly/framework` on the Redocly platform rendered the error `useLocation() may be used only in the context of a <Router> component` instead of its pages.
182
+ - c2de4371f03: Fixed an issue where search with the Typesense engine failed or took several seconds on projects with large API operations.
183
+
3
184
  ## 0.140.0-next.1
4
185
 
5
186
  ### Patch Changes
@@ -17,6 +198,37 @@
17
198
  - Updated dependencies [cc40376e265]
18
199
  - @redocly/api-docs@0.5.0-next.0
19
200
 
201
+ ## 0.139.4
202
+
203
+ ### Patch Changes
204
+
205
+ - 3a1bc71aaf5: Fixed an issue in OpenAPI docs where the page of a schema that other schemas extend through `allOf` never finished rendering when its properties reached schemas that refer back to those extensions.
206
+ - 3a1bc71aaf5: Fixed an issue in OpenAPI docs where a page never finished rendering when two discriminator schemas listed the same variants and both declared the properties the variants inherit.
207
+ - 460fdd452f2: Fixed an issue where the Docs MCP server in projects with large configurations used too much memory and responded slowly.
208
+ - Updated dependencies [3a1bc71aaf5]
209
+ - Updated dependencies [3a1bc71aaf5]
210
+ - @redocly/api-docs@0.4.2
211
+
212
+ ## 0.139.3
213
+
214
+ ### Patch Changes
215
+
216
+ - ff9ea69c647: Fixed an issue where search with the Typesense engine failed or took several seconds on projects with large API operations.
217
+
218
+ ## 0.139.2
219
+
220
+ ### Patch Changes
221
+
222
+ - c0b56b1a139: Fixed an issue where a project built with `@redocly/framework` on the Redocly platform rendered the error `useLocation() may be used only in the context of a <Router> component` instead of its pages.
223
+
224
+ ## 0.139.1
225
+
226
+ ### Patch Changes
227
+
228
+ - e57c8b344f7: Fixed an issue where OpenAPI pages that use `allOf` inheritance with a `oneOf` discriminator caused the server to stop responding.
229
+ - Updated dependencies [e57c8b344f7]
230
+ - @redocly/api-docs@0.4.1
231
+
20
232
  ## 0.139.0
21
233
 
22
234
  ### Minor Changes
@@ -3,22 +3,6 @@ export declare const mcpFetchCountRequestSchema: z.ZodObject<{
3
3
  caller: z.ZodObject<{
4
4
  subject: z.ZodOptional<z.ZodString>;
5
5
  ip: z.ZodOptional<z.ZodString>;
6
- }, "strip", z.ZodTypeAny, {
7
- subject?: string | undefined;
8
- ip?: string | undefined;
9
- }, {
10
- subject?: string | undefined;
11
- ip?: string | undefined;
12
- }>;
13
- }, "strip", z.ZodTypeAny, {
14
- caller: {
15
- subject?: string | undefined;
16
- ip?: string | undefined;
17
- };
18
- }, {
19
- caller: {
20
- subject?: string | undefined;
21
- ip?: string | undefined;
22
- };
23
- }>;
6
+ }, z.core.$strip>;
7
+ }, z.core.$strip>;
24
8
  //# sourceMappingURL=mcp-fetch-count.d.ts.map