@redocly/redoc-reef 0.140.0-next.5 → 0.140.0-next.7
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 +72 -0
- package/dist/api-schemas/mcp-fetch-count.d.ts +2 -18
- package/dist/api-schemas/otel-traces.d.ts +7 -1345
- package/dist/api-schemas/otel-traces.js +1 -1
- package/dist/api-schemas/search-facets.d.ts +3 -31
- package/dist/api-schemas/search.d.ts +6 -52
- package/dist/cli/build/index.js +1 -1
- package/dist/cli/eject/resolveEjectParams.js +1 -1
- package/dist/client/app/markdoc/custom-components/openapi/openapi-code-sample.d.ts +2 -0
- package/dist/client/app/markdoc/custom-components/openapi/openapi-code-sample.js +1 -1
- package/dist/compiled/@redocly/pii/index.mjs +1 -0
- package/dist/compiled/@redocly/pii/package.json +1 -0
- package/dist/markdoc/tags/openapi-code-sample.js +1 -1
- package/dist/server/api-routes/execute-api-route.js +1 -1
- package/dist/server/api-routes/run-api-routes-worker.js +1 -1
- package/dist/server/config/env-config.d.ts +24 -24
- package/dist/server/config/env-schema.d.ts +83 -326
- package/dist/server/config/env-schemas/api-urls.d.ts +2 -14
- package/dist/server/config/env-schemas/auth.d.ts +10 -32
- package/dist/server/config/env-schemas/catalog.d.ts +6 -9
- package/dist/server/config/env-schemas/database.d.ts +2 -8
- package/dist/server/config/env-schemas/environment-detection.d.ts +20 -18
- package/dist/server/config/env-schemas/feature-flags.d.ts +25 -33
- package/dist/server/config/env-schemas/organization-project.d.ts +3 -21
- package/dist/server/config/env-schemas/scorecards.d.ts +2 -6
- package/dist/server/config/env-schemas/search.d.ts +9 -15
- package/dist/server/config/env-schemas/server-config.d.ts +6 -31
- package/dist/server/config/env-schemas/site.d.ts +1 -5
- package/dist/server/config/env-schemas/ssr.d.ts +7 -12
- package/dist/server/config/env-schemas/telemetry.d.ts +1 -7
- package/dist/server/esbuild/plugins/themes-resolver.js +3 -3
- package/dist/server/external-plugins/resolve-external-plugins.js +1 -1
- package/dist/server/node-bundle-entry.js +1 -1
- package/dist/server/plugins/api-docs/index.js +1 -1
- package/dist/server/plugins/api-docs/spec-download.api.js +1 -1
- package/dist/server/plugins/api-docs/store-definition-bundles.d.ts +6 -0
- package/dist/server/plugins/api-docs/store-definition-bundles.js +1 -1
- package/dist/server/plugins/config-parser/index.js +1 -1
- package/dist/server/plugins/config-parser/loaders/utils/read-and-validate-config.js +1 -1
- package/dist/server/plugins/markdown/attribute-resolvers/resolve-openapi-code-samples.js +1 -1
- package/dist/server/plugins/mcp/codemode/tools/describe-tools.d.ts +1 -1
- package/dist/server/plugins/mcp/codemode/tools/describe-tools.js +1 -3
- package/dist/server/plugins/mcp/docs-mcp/tools/graphql/get-graphql-type-list.js +1 -1
- package/dist/server/plugins/mcp/docs-mcp/tools/graphql/list-graphql-apis.js +1 -1
- package/dist/server/plugins/mcp/docs-mcp/tools/graphql/types.d.ts +4 -4
- package/dist/server/plugins/mcp/docs-mcp/tools/openapi/list-apis.js +1 -1
- package/dist/server/plugins/mcp/docs-mcp/tools/openapi/types.d.ts +2 -2
- package/dist/server/plugins/mcp/handlers/docs-mcp-handler.js +1 -1
- package/dist/server/plugins/mcp/handlers/handle-mcp-request.js +1 -1
- package/dist/server/plugins/mcp/servers/docs-server.js +1 -1
- package/dist/server/plugins/mcp/servers/mcp-server.js +2 -2
- package/dist/server/plugins/mcp/types.d.ts +10 -0
- package/dist/server/plugins/mcp/utils/available-tools.d.ts +5 -0
- package/dist/server/plugins/mcp/utils/available-tools.js +1 -0
- package/dist/server/plugins/mcp/workers/worker-context.d.ts +4 -0
- package/dist/server/plugins/mcp/workers/worker-context.js +1 -0
- package/dist/server/plugins/scorecard-classic/template/Grid/GridHeader.js +3 -3
- package/dist/server/store-config.d.ts +33 -0
- package/dist/server/store-config.js +1 -0
- package/dist/server/store.d.ts +10 -15
- package/dist/server/store.js +1 -1
- package/dist/server/tools/notifiers/formatter.js +3 -3
- package/dist/server/types/plugins/api-routes.d.ts +4 -1
- package/dist/server/utils/envs/env-boolean-string.d.ts +9 -3
- package/dist/server/utils/envs/get-api-route-allowed-env-variables.d.ts +2 -0
- package/dist/server/utils/envs/get-api-route-allowed-env-variables.js +1 -1
- package/dist/server/utils/envs/interpolate-env-variables.d.ts +5 -1
- package/dist/server/utils/envs/interpolate-env-variables.js +1 -1
- package/dist/server/utils/envs/replace-env-variables-deep.d.ts +17 -9
- package/dist/server/utils/envs/replace-env-variables-deep.js +1 -1
- package/dist/server/web-server/middleware/jsonValidatorMiddleware.d.ts +556 -287
- package/dist/server/workers/mcp-tool-worker-methods.d.ts +7 -0
- package/dist/server/workers/mcp-tool-worker-methods.js +1 -0
- package/dist/server/workers/mcp-tool-worker-pool.d.ts +0 -1
- package/dist/server/workers/mcp-tool-worker-pool.js +1 -1
- package/dist/server/workers/mcp-tool-worker.js +1 -1
- package/dist/server/workers/types.d.ts +4 -8
- package/dist/server/workers/worker-config.d.ts +33 -0
- package/dist/server/workers/worker-config.js +1 -0
- package/package.json +8 -8
- package/dist/server/plugins/mcp/utils/available-sandbox-tools.d.ts +0 -4
- package/dist/server/plugins/mcp/utils/available-sandbox-tools.js +0 -1
- package/dist/server/tools/notifiers/helpers/privacy/mask-email.d.ts +0 -25
- package/dist/server/tools/notifiers/helpers/privacy/mask-email.js +0 -1
- package/dist/server/tools/notifiers/helpers/privacy/mask-subject.d.ts +0 -13
- package/dist/server/tools/notifiers/helpers/privacy/mask-subject.js +0 -1
- package/dist/server/tools/notifiers/helpers/privacy/remove-pii-from-url.d.ts +0 -25
- package/dist/server/tools/notifiers/helpers/privacy/remove-pii-from-url.js +0 -1
- package/dist/server/tools/notifiers/helpers/privacy/remove-pii.d.ts +0 -36
- package/dist/server/tools/notifiers/helpers/privacy/remove-pii.js +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,77 @@
|
|
|
1
1
|
# @redocly/redoc-reef
|
|
2
2
|
|
|
3
|
+
## 0.140.0-next.7
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- f0bfa578d7f: Added `McpNotAllowed` to the layouts supported by the `eject component` command.
|
|
8
|
+
- 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.
|
|
9
|
+
For example, set `codeSamples.skipOptionalParameters` to `true` to leave optional headers, query parameters, and cookies out of the sample.
|
|
10
|
+
- 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.
|
|
11
|
+
**Open in Claude** starts a Claude Code session in the Claude desktop app.
|
|
12
|
+
- e0b48b15f34: Added menus for selecting allowed `enum` values and runtime expressions for parameter and form data in the **Try it** console and Replay.
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- 01c4d8c8290: Fixed an issue where `rbac.content` rules for OpenAPI and AsyncAPI description files failed to protect download links with different file extensions.
|
|
17
|
+
- 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.
|
|
18
|
+
- 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.
|
|
19
|
+
- ec87f4122da: Fixed keyboard and screen reader issues in the sidebar, Markdoc tabs, switches, select fields, search, and Replay.
|
|
20
|
+
For example, the arrow keys switch Markdoc tabs without a mouse click first, and the `Space` key expands sidebar groups and toggles switches.
|
|
21
|
+
- 84e0f03e180: Updated `@redocly/openapi-core` to version `2.72.1`.
|
|
22
|
+
- 1a59532188b: Fixed an issue where the Docs MCP server in projects with large configurations used too much memory and responded slowly.
|
|
23
|
+
- 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`.
|
|
24
|
+
- 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.
|
|
25
|
+
- ed621036bf9: Fixed an issue that prevented preview from starting.
|
|
26
|
+
- 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`.
|
|
27
|
+
- 23e2dc60529: Fixed parameter checkboxes in the **Try it** console and Replay so that the keyboard focus is visible.
|
|
28
|
+
- 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.
|
|
29
|
+
- 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.
|
|
30
|
+
- 60ca654f196: Updated `@redocly/openapi-core` to version `2.71.2`.
|
|
31
|
+
- a411f1866fb: Fixed security vulnerability `GHSA-mrhx-c7xc-m3w5` by upgrading `zod` to version `4.6.6`.
|
|
32
|
+
- Updated dependencies [60f034009a5]
|
|
33
|
+
- Updated dependencies [60f034009a5]
|
|
34
|
+
- Updated dependencies [ec87f4122da]
|
|
35
|
+
- Updated dependencies [84e0f03e180]
|
|
36
|
+
- Updated dependencies [e3bec3465eb]
|
|
37
|
+
- Updated dependencies [e0b48b15f34]
|
|
38
|
+
- Updated dependencies [6d3be784ce5]
|
|
39
|
+
- Updated dependencies [60ca654f196]
|
|
40
|
+
- Updated dependencies [a411f1866fb]
|
|
41
|
+
- @redocly/api-docs@0.5.0-next.5
|
|
42
|
+
- @redocly/theme@0.72.0-next.4
|
|
43
|
+
- @redocly/portal-plugin-mock-server@0.25.0-next.2
|
|
44
|
+
|
|
45
|
+
## 0.140.0-next.6
|
|
46
|
+
|
|
47
|
+
### Minor Changes
|
|
48
|
+
|
|
49
|
+
- 5b82f282c92: Deprecated the `mcp.docs` config object and moved its options to `mcp`.
|
|
50
|
+
|
|
51
|
+
### Patch Changes
|
|
52
|
+
|
|
53
|
+
- bed4a5f394a: Fixed an issue where C# request samples in OpenAPI docs sent number, boolean, and `null` values from the request body example as strings.
|
|
54
|
+
C# request samples also compile when the example contains strings with quotes, backslashes, or line breaks, or empty, nested, or mixed-type arrays.
|
|
55
|
+
- 4e12a3d89f3: Improved server-side rendering performance for OpenAPI reference pages with heavily reused schemas.
|
|
56
|
+
- 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.
|
|
57
|
+
- b4ba4341a95: Updated `@redocly/openapi-core` to version `2.71.1`.
|
|
58
|
+
- 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`.
|
|
59
|
+
- 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.
|
|
60
|
+
If `mcp.docs.name` is not set, the server name is based on the site's domain.
|
|
61
|
+
- 2f973409954: Fixed the `connect-mcp` tag so it no longer displays a connect button on sites that don't serve an MCP server.
|
|
62
|
+
- 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.
|
|
63
|
+
For example, when users switched from JSON to XML and back.
|
|
64
|
+
- Updated dependencies [bed4a5f394a]
|
|
65
|
+
- Updated dependencies [4e12a3d89f3]
|
|
66
|
+
- Updated dependencies [185f2658cab]
|
|
67
|
+
- Updated dependencies [b4ba4341a95]
|
|
68
|
+
- Updated dependencies [ff91adf1e0d]
|
|
69
|
+
- Updated dependencies [725184fbef9]
|
|
70
|
+
- Updated dependencies [2f973409954]
|
|
71
|
+
- @redocly/api-docs@0.5.0-next.4
|
|
72
|
+
- @redocly/theme@0.72.0-next.3
|
|
73
|
+
- @redocly/portal-plugin-mock-server@0.25.0-next.1
|
|
74
|
+
|
|
3
75
|
## 0.140.0-next.5
|
|
4
76
|
|
|
5
77
|
### 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
|
-
},
|
|
7
|
-
|
|
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
|