@redocly/redoc 0.133.0-next.6 → 0.133.1
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
CHANGED
|
@@ -1,5 +1,77 @@
|
|
|
1
1
|
# @redocly/redoc
|
|
2
2
|
|
|
3
|
+
## 0.133.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- e69c304a76: Fixed an issue where in rare cases, clicking on a link on a Markdown page, could trigger navigation twice, taking the user to the first link on the target page.
|
|
8
|
+
- Updated dependencies [3aa79f51c8]
|
|
9
|
+
- @redocly/realm-asyncapi-sdk@0.11.1
|
|
10
|
+
- @redocly/theme@0.65.0
|
|
11
|
+
|
|
12
|
+
## 0.133.0
|
|
13
|
+
|
|
14
|
+
### Minor Changes
|
|
15
|
+
|
|
16
|
+
- 0f097a8536: Added multi-version API support for Docs MCP tools.
|
|
17
|
+
- e2b2f2e27f: Improved visibility and accessibility of Markdown links by adding an underline.
|
|
18
|
+
- 76cad3a2f3: Updated styles for page navigation buttons.
|
|
19
|
+
- b5906fb936: Updated the icon displayed alongside hyperlinks in the project.
|
|
20
|
+
- 0858f54ae5: Added Client ID Metadata Document (CIMD) support to the MCP OAuth flow.
|
|
21
|
+
- f2f525c850: Added support for callback URLs in `developerOnboarding`.
|
|
22
|
+
- 7e407eeb7c: Added `hreflang` alternate links for translated pages.
|
|
23
|
+
- 7e407eeb7c: Improved language picker accessibility by converting menu options to links.
|
|
24
|
+
|
|
25
|
+
### Patch Changes
|
|
26
|
+
|
|
27
|
+
- e271a42c40: Prevented search engines from indexing Markdown pages generated by the `llms.txt` feature.
|
|
28
|
+
- ba76c06785: Fixed unauthenticated callback execution in the MCP docs server.
|
|
29
|
+
- 3367a23fae: Fixed an issue in OpenAPI docs route resolution where lines not tied to an operation generated incorrect URLs by duplicating the base slug.
|
|
30
|
+
- e13c79eb30: Fixed an issue where searching in projects without searchable content caused a server error.
|
|
31
|
+
- 36c67eafc2: Fixed rendering of non-Latin characters by enforcing UTF-8 encoding.
|
|
32
|
+
- f7725b9cc7: Fixed an issue where login and logout redirects caused 404 and URI mismatch errors in projects with path prefix.
|
|
33
|
+
- eeb767e9b4: Fixed an issue where preview login redirects failed when the branch hostname contained double hyphens.
|
|
34
|
+
- fac8607a7b: Fixed an issue where closing the search dialog modal locked page scrolling.
|
|
35
|
+
- 7cd2d9f19e: Fixed an issue in Realm Markdown image handling where inline `data:` image URLs were incorrectly treated as broken local routes.
|
|
36
|
+
- 84838a59f0: Excluded buttons and links from heading content to improve accessibility.
|
|
37
|
+
- 4d93e20695: Fixed an issue where MCP connect actions were hidden for OpenAPI pages excluded from search (`openapi.excludeFromSearch`).
|
|
38
|
+
- c9c36d6ac3: Fixed curation in Typesense search.
|
|
39
|
+
- 7447d30745: Fixed security vulnerabilities `CVE-2026-44455`, `CVE-2026-44456`, `CVE-2026-44457`, `CVE-2026-44458` and `CVE-2026-44459` by upgrading `hono` to version `4.12.18`.
|
|
40
|
+
- a1bb760b29: Fixed an issue where the tooltips in API docs and Replay might partially render outside the viewport.
|
|
41
|
+
- c768a98d39: Fixed an issue where operation-level `x-rbac` rules removed the OpenAPI definition link from `llms.txt`.
|
|
42
|
+
- ba76c06785: Fixed an issue where MCP auth URLs were displayed after MCP docs had been disabled.
|
|
43
|
+
- 46f103f0c4: Updated `@redocly/openapi-core` to version `2.30.5`.
|
|
44
|
+
- Updated dependencies [e2b2f2e27f]
|
|
45
|
+
- Updated dependencies [76cad3a2f3]
|
|
46
|
+
- Updated dependencies [3367a23fae]
|
|
47
|
+
- Updated dependencies [b5906fb936]
|
|
48
|
+
- Updated dependencies [36c67eafc2]
|
|
49
|
+
- Updated dependencies [f2f525c850]
|
|
50
|
+
- Updated dependencies [49d39a0486]
|
|
51
|
+
- Updated dependencies [f2a18386e5]
|
|
52
|
+
- Updated dependencies [7e407eeb7c]
|
|
53
|
+
- Updated dependencies [fac8607a7b]
|
|
54
|
+
- Updated dependencies [5e5d990eac]
|
|
55
|
+
- Updated dependencies [84838a59f0]
|
|
56
|
+
- Updated dependencies [4d93e20695]
|
|
57
|
+
- Updated dependencies [7e407eeb7c]
|
|
58
|
+
- Updated dependencies [a1bb760b29]
|
|
59
|
+
- Updated dependencies [ab8c509bb9]
|
|
60
|
+
- Updated dependencies [e5a4a33708]
|
|
61
|
+
- Updated dependencies [4a857b489d]
|
|
62
|
+
- Updated dependencies [46f103f0c4]
|
|
63
|
+
- Updated dependencies [59198fb803]
|
|
64
|
+
- Updated dependencies [9f60402b86]
|
|
65
|
+
- Updated dependencies [4002f20f63]
|
|
66
|
+
- Updated dependencies [62ea0748ec]
|
|
67
|
+
- @redocly/theme@0.65.0
|
|
68
|
+
- @redocly/openapi-docs@3.21.0
|
|
69
|
+
- @redocly/asyncapi-docs@1.10.0
|
|
70
|
+
- @redocly/graphql-docs@1.10.0
|
|
71
|
+
- @redocly/realm-asyncapi-sdk@0.11.0
|
|
72
|
+
- @redocly/portal-plugin-mock-server@0.18.0
|
|
73
|
+
- @redocly/portal-legacy-ui@0.16.0
|
|
74
|
+
|
|
3
75
|
## 0.133.0-next.6
|
|
4
76
|
|
|
5
77
|
### Patch Changes
|
|
@@ -191,7 +263,7 @@
|
|
|
191
263
|
### Minor Changes
|
|
192
264
|
|
|
193
265
|
- ae3272861b: Added support for `x-badges` in OpenAPI and AsyncAPI parameters and schema properties.
|
|
194
|
-
Badges can
|
|
266
|
+
Badges can be rendered before and after field names.
|
|
195
267
|
- ce5a165177: Added support for `or` functions in RBAC conditions within Markdoc content.
|
|
196
268
|
|
|
197
269
|
### Patch Changes
|
|
@@ -383,7 +455,7 @@
|
|
|
383
455
|
|
|
384
456
|
- 60b9b77bc39: Fixed a bug that caused search result highlighting to break in Flexsearch when the query contained duplicate words.
|
|
385
457
|
- ae3272861b4: Added support for `x-badges` in OpenAPI and AsyncAPI parameters and schema properties.
|
|
386
|
-
Badges can
|
|
458
|
+
Badges can be rendered before and after field names.
|
|
387
459
|
- 87a97521127: Fixed an issue where `partial` Markdoc tags in OpenAPI and AsyncAPI `description` fields did not resolve when path separators differed.
|
|
388
460
|
- Updated dependencies [4003b73d9ca]
|
|
389
461
|
- Updated dependencies [ae3272861b4]
|
|
@@ -476,14 +548,14 @@
|
|
|
476
548
|
- f7b6c52055: Improved appearance and deep linking for the `tabs` Markdoc tag.
|
|
477
549
|
- d0b99c0768: Fixed URL fragment duplication when opening docs for endpoints with path parameters (e.g. `/foo/{id}/bar`).
|
|
478
550
|
- 2d305eec36: Fixed the built-in CORS proxy failing with "fetch failed" for certain URLs.
|
|
479
|
-
|
|
551
|
+
The browser's `accept-encoding` header isn't forwarded and the error message surfaces the underlying cause.
|
|
480
552
|
- 1eb287db9f: Fixed code sample generation when path parameter examples contain integer values.
|
|
481
553
|
- 807547ecbd: Improved build memory usage for large projects.
|
|
482
554
|
- 7276b4e5d6: Fixed an issue in AI Search where clearing the product tag would still include the product in the search request.
|
|
483
555
|
- a9a1ee0fe1: Fixed an issue where page actions remained visible even though `search` was disabled.
|
|
484
556
|
- 9b9b43a1b4: Improved the accessibility of AsyncAPI docs.
|
|
485
557
|
- 1cc1909566: Fixed an issue where optional properties of API operations were inconsistently displayed between API docs and Replay.
|
|
486
|
-
The optional properties
|
|
558
|
+
The optional properties respect the configuration in `redocly.yaml`.
|
|
487
559
|
- 130c111688: Fixed security vulnerability `CVE-2026-26996` by upgrading `minimatch` to version `10.2.1`.
|
|
488
560
|
- 7e3400d4a8: Fixed page actions overlapping the navbar.
|
|
489
561
|
- d264713872: Fixed an issue where `rbac` configuration ignored versioned content folder paths with leading slashes.
|
|
@@ -545,7 +617,7 @@
|
|
|
545
617
|
### Patch Changes
|
|
546
618
|
|
|
547
619
|
- 2d305eec36a: Fixed the built-in CORS proxy failing with "fetch failed" for certain URLs.
|
|
548
|
-
|
|
620
|
+
The browser's `accept-encoding` header isn't forwarded and the error message surfaces the underlying cause.
|
|
549
621
|
|
|
550
622
|
## 0.131.0-next.13
|
|
551
623
|
|
|
@@ -575,7 +647,7 @@
|
|
|
575
647
|
- 43955ab32fd: Improved the accessibility of OpenAPI and GraphQL docs.
|
|
576
648
|
- 7276b4e5d63: Fixed an issue in AI Search where clearing the product tag would still include the product in the search request.
|
|
577
649
|
- 1cc1909566f: Fixed an issue where optional properties of API operations were inconsistently displayed between API docs and Replay.
|
|
578
|
-
The optional properties are
|
|
650
|
+
The optional properties are displayed or hidden according to configuration in `redocly.yaml`.
|
|
579
651
|
- d59b5669cea: Updated `@redocly/openapi-core` to version `2.20.4`.
|
|
580
652
|
- Updated dependencies [43955ab32fd]
|
|
581
653
|
- Updated dependencies [7276b4e5d63]
|
|
@@ -829,7 +901,7 @@
|
|
|
829
901
|
|
|
830
902
|
- 85818157d8: Added bundling support for OpenAPI 3.2 `components/mediaTypes` references used in request and response content.
|
|
831
903
|
- 1ff6da217d: Added support for branch-specific configuration in `redocly.yaml`.
|
|
832
|
-
- 12fd642835: Transitioned AI Search to agent mode,
|
|
904
|
+
- 12fd642835: Transitioned AI Search to agent mode, featuring expanded search capabilities and direct integration with the Docs MCP.
|
|
833
905
|
- c585ce5de8: Improved tooltip positioning and performance.
|
|
834
906
|
- 053051e82f: Added `rbac` support for banners to allow conditional visibility based on user team membership.
|
|
835
907
|
|
|
@@ -893,7 +965,7 @@
|
|
|
893
965
|
|
|
894
966
|
### Minor Changes
|
|
895
967
|
|
|
896
|
-
- 12fd642835: Transitioned AI Search to agent mode,
|
|
968
|
+
- 12fd642835: Transitioned AI Search to agent mode, featuring expanded search capabilities and direct integration with the Docs MCP.
|
|
897
969
|
- 053051e82f: Added `rbac` support for banners to allow conditional visibility based on user team membership.
|
|
898
970
|
|
|
899
971
|
### Patch Changes
|
|
@@ -3662,7 +3734,7 @@
|
|
|
3662
3734
|
### Minor Changes
|
|
3663
3735
|
|
|
3664
3736
|
- ec9eff8ad9: Added support for partial loading of items included in large OpenAPI descriptions to improve performance.
|
|
3665
|
-
|
|
3737
|
+
If a `tag` has more than 15 operations, the items are loaded quicker.
|
|
3666
3738
|
- 86f7780631: Added AI conversations UI with follow up questions.
|
|
3667
3739
|
Added configurable suggestions to AI search.
|
|
3668
3740
|
|
|
@@ -3673,11 +3745,11 @@
|
|
|
3673
3745
|
- 9e76b1f148: Updated version of the `@markdoc/markdoc` from `0.4.0` to `0.5.1`
|
|
3674
3746
|
- 03608f2a01: Fixed AI search error handling for Unauthorized and Forbidden errors.
|
|
3675
3747
|
- a85ddf0b86: Resolved an issue with AI search resource styles being overridden by custom styles for `<Tag>` component.
|
|
3676
|
-
- 6b9933d961: Fixed script handling in single page application (SPA) mode. Inline scripts are
|
|
3748
|
+
- 6b9933d961: Fixed script handling in single page application (SPA) mode. Inline scripts are executed on navigation.
|
|
3677
3749
|
- c34c0da390: Fixed an issue where in development mode updates to `redocly.yaml` config were processed much longer than updates to other files.
|
|
3678
3750
|
- 463b9fb93e: Fixed an issue where the `navigation.nextButton.text` and `navigation.previousButton.text` config properties did not change the text of the navigation buttons.
|
|
3679
3751
|
- b74163612d: Resolved an issue where active operation items were incorrectly rendered on the server side.
|
|
3680
|
-
- 074dc10262: Improved the check for the `Complex` badge in `openapi-docs`. The badge
|
|
3752
|
+
- 074dc10262: Improved the check for the `Complex` badge in `openapi-docs`. The badge appears only when the nesting of `allOf` exceeds 5 levels.
|
|
3681
3753
|
- bcb712fe03: Resolved an issue where the discriminator did not update the property type.
|
|
3682
3754
|
- 328b992074: Resolved an issue where an additional slash was incorrectly added to the URL in code samples when using server variables.
|
|
3683
3755
|
|
|
@@ -3746,7 +3818,7 @@
|
|
|
3746
3818
|
### Patch Changes
|
|
3747
3819
|
|
|
3748
3820
|
- 99358a34e5: Resolved an issue where switching to a product opened a non-priority page instead of an index page.
|
|
3749
|
-
|
|
3821
|
+
If a product has an index page, it is displayed first.
|
|
3750
3822
|
- Updated dependencies [bcb712fe03]
|
|
3751
3823
|
- Updated dependencies [ec9eff8ad9]
|
|
3752
3824
|
- @redocly/openapi-docs@3.7.0-next.2
|
|
@@ -3850,7 +3922,7 @@
|
|
|
3850
3922
|
### Minor Changes
|
|
3851
3923
|
|
|
3852
3924
|
- bc13399880: Enhanced development mode error handling showing compilation errors instead of `Internal Server Error` page.
|
|
3853
|
-
CSS errors
|
|
3925
|
+
CSS errors display in an a toast message.
|
|
3854
3926
|
Pages automatically rebuild after fixing errors without server restart.
|
|
3855
3927
|
|
|
3856
3928
|
## 0.115.1
|
|
@@ -3943,8 +4015,8 @@
|
|
|
3943
4015
|
### Patch Changes
|
|
3944
4016
|
|
|
3945
4017
|
- a058d3103e: Improved the OpenAPI definition bundling error message by including the path to the file, making it easier to identify the location of the error.
|
|
3946
|
-
- f08b1cfdd2: Headers are
|
|
3947
|
-
- 7a285f0828: Improved AI search dialog:
|
|
4018
|
+
- f08b1cfdd2: Headers are excluded from page data for anonymous users to prevent potential cache deception attacks.
|
|
4019
|
+
- 7a285f0828: Improved AI search dialog: links open in new tabs, the search button is always enabled, and the search field label is updated.
|
|
3948
4020
|
- 44110c4c7c: Changed the text color in the total page counter to improve readability in light mode.
|
|
3949
4021
|
- 698f536b5c: Updated version of the `@redocly/openapi-core` dependency to `1.26.1`.
|
|
3950
4022
|
- Updated dependencies [44110c4c7c]
|
|
@@ -4013,7 +4085,7 @@
|
|
|
4013
4085
|
### Patch Changes
|
|
4014
4086
|
|
|
4015
4087
|
- 5ffc1db4e8: Updated version of the `@redocly/openapi-core` dependency to `1.26.0`.
|
|
4016
|
-
- 001406d157: Improved error handling in the project: project pages that display an error message are
|
|
4088
|
+
- 001406d157: Improved error handling in the project: project pages that display an error message are automatically refreshed after the user resolves the error in the editor.
|
|
4017
4089
|
This occurs both for Reunite and local projects.
|
|
4018
4090
|
- Updated dependencies [5ffc1db4e8]
|
|
4019
4091
|
- Updated dependencies [b6b91308d6]
|
|
@@ -4201,7 +4273,7 @@
|
|
|
4201
4273
|
|
|
4202
4274
|
### Patch Changes
|
|
4203
4275
|
|
|
4204
|
-
- ae03d1fc71: Improved the `output` property for `apis` configuration. The property
|
|
4276
|
+
- ae03d1fc71: Improved the `output` property for `apis` configuration. The property works as a reference from `openapi` Markdoc tags.
|
|
4205
4277
|
- be7d2e6286: Fixed an issue where if you set `REDOCLY_PREFIX_PATHS` in the environment variables for a project, the Reunite Webview would stop updating based on the page selected in the editor.
|
|
4206
4278
|
- Updated dependencies [9574a87b33]
|
|
4207
4279
|
- Updated dependencies [47065856c6]
|
|
@@ -4391,7 +4463,7 @@
|
|
|
4391
4463
|
|
|
4392
4464
|
### Patch Changes
|
|
4393
4465
|
|
|
4394
|
-
- 5e5916b415: Resolved an issue that caused the page to crash when using the OpenAPI Code Sample Markdoc tags if the `descriptionFile` value was an incorrect path.
|
|
4466
|
+
- 5e5916b415: Resolved an issue that caused the page to crash when using the OpenAPI Code Sample Markdoc tags if the `descriptionFile` value was an incorrect path. If the path is invalid, users are presented with an error directing them to correct it.
|
|
4395
4467
|
|
|
4396
4468
|
## 0.104.3
|
|
4397
4469
|
|
|
@@ -4720,8 +4792,8 @@
|
|
|
4720
4792
|
|
|
4721
4793
|
### Minor Changes
|
|
4722
4794
|
|
|
4723
|
-
- 176b280257: Deprecated the `theme.imports` property. Themes and plugins must
|
|
4724
|
-
- 7e71bf855b: Deprecated the `theme` property of `redocly.yaml` config. All of the configuration properties under `theme`
|
|
4795
|
+
- 176b280257: Deprecated the `theme.imports` property. Themes and plugins must be enabled through the `plugins` configuration property. Using the `theme.imports` does not fail the build, but produces warnings in the build log.
|
|
4796
|
+
- 7e71bf855b: Deprecated the `theme` property of `redocly.yaml` config. All of the configuration properties under `theme` reside in the root of the config.
|
|
4725
4797
|
|
|
4726
4798
|
### Patch Changes
|
|
4727
4799
|
|
|
@@ -4814,13 +4886,13 @@
|
|
|
4814
4886
|
|
|
4815
4887
|
### Patch Changes
|
|
4816
4888
|
|
|
4817
|
-
- ed391e8607: Resolved an issue with audience verification. Users without access permissions to the project are
|
|
4889
|
+
- ed391e8607: Resolved an issue with audience verification. Users without access permissions to the project are redirected to the sign up page.
|
|
4818
4890
|
|
|
4819
4891
|
## 0.92.2
|
|
4820
4892
|
|
|
4821
4893
|
### Patch Changes
|
|
4822
4894
|
|
|
4823
|
-
- 8b3aa69af2: Each error in the `redocly.yaml` file is
|
|
4895
|
+
- 8b3aa69af2: Each error in the `redocly.yaml` file is reported separately. Previously, all validation errors from `redocly.yaml` were bundled and reported as one error.
|
|
4824
4896
|
- Updated dependencies [ac665b40f7]
|
|
4825
4897
|
- Updated dependencies [a0e2645687]
|
|
4826
4898
|
- Updated dependencies [c848158ee4]
|
|
@@ -4838,7 +4910,7 @@
|
|
|
4838
4910
|
|
|
4839
4911
|
### Minor Changes
|
|
4840
4912
|
|
|
4841
|
-
- 2ad34ae141: **IMPORTANT**: Markdoc errors
|
|
4913
|
+
- 2ad34ae141: **IMPORTANT**: Markdoc errors fail production builds.\
|
|
4842
4914
|
To make Realm ignore Markdoc errors during production builds, set the `reunite.ignoreMarkdocErrors` property in `redocly.yaml` to `true`.
|
|
4843
4915
|
|
|
4844
4916
|
### Patch Changes
|
|
@@ -5009,7 +5081,7 @@
|
|
|
5009
5081
|
### Patch Changes
|
|
5010
5082
|
|
|
5011
5083
|
- e50e90b554: Fixed an issue when versioned content had a separate sidebars.yaml defined for each version, the navbar groups and separators were displayed for all versions of the content.
|
|
5012
|
-
|
|
5084
|
+
The navbar groups and separators are displayed only for the corresponding version chosen in the version picker.
|
|
5013
5085
|
|
|
5014
5086
|
## 0.88.2
|
|
5015
5087
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{useEffect as c,useState as s}from"react";import{useNavigate as l}from"react-router-dom";import{isLocalLink as
|
|
1
|
+
import{useEffect as c,useState as s}from"react";import{useNavigate as l}from"react-router-dom";import{isLocalLink as u}from"../../utils/path/is-local-link.js";import{isJsProtocolLink as a}from"../../utils/path/is-js-protocol-link.js";import{isAssetsLink as m}from"../../utils/path/is-assets-link.js";import{isHostnameOnDomain as f}from"../app/utils/isHostnameOnDomain.js";import{loadAndNavigate as d}from"../app/utils/loadAndNavigate.js";import{isForcedNavigationLinkClick as p}from"../utils/utils.js";export*from"./page-data/hooks.js";function E(){const o=l();c(()=>{const r=t=>{if(t.defaultPrevented)return;const i=t.target;if(i.tagName!=="A"||p(t,i.getAttribute("target")||""))return;const n=i.getAttribute("href");!u(n)||m(n)||a(n)||(t.preventDefault(),d({navigate:o,to:n||""}))};return document.addEventListener("click",r),()=>{document.removeEventListener("click",r)}},[o])}function b(){const[o,r]=s(null);return c(()=>{if(process.env.NODE_ENV==="development"&&typeof window<"u"&&!e("localhost")&&!e("127.0.0.1")&&!e("")&&!e("redocly-local.com")&&!e("editor.redocly.xyz")&&!e("apps.codespaces.githubusercontent.com")&&!e("blueharvest.cloud")&&!e("bhstage.cloud")&&!e("cloud.redocly.com")&&!e("cloud.eu.redocly.com")&&!e("cba.au.redocly.com"))return r("Development mode is only allowed in localhost")},[typeof window]),o}function e(o){return f(window.location.hostname,o)}export{E as useRouterForLocalLinks,b as useRunningEnvironmentCheck};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import*as p from"workerpool";import{withPathPrefix as f}from"@redocly/theme/core/utils";import{envConfig as
|
|
1
|
+
import*as p from"workerpool";import{withPathPrefix as f}from"@redocly/theme/core/utils";import{envConfig as l}from"../config/env-config.js";import{telemetry as a}from"../telemetry/index.js";import{TimeoutExceededError as E}from"./errors/timeout-exceeded.js";import{serializeRequest as _}from"./helpers/serialize-request.js";import{apiRoutesWorkers as A,API_ROUTES_WORKER_KEY as T}from"../workers/api-routes-worker-pool.js";import{API_FUNCTIONS_REQUEST_HANDLER_ID as u}from"../plugins/api-functions/index.js";const g=1e4,h=15;async function U(e,r,t){a.initialize();const s=r.get("auth"),i=await t.resolveRouteStaticData(e)||{},n=f(e.slug);try{const{status:o,headers:d,body:c}=await A.exec(T,[{serverOutDir:t.serverOutDir,slug:n,requestHandlerId:e.requestHandlerId,maxResponseSizeMB:h,ctxData:{user:{teams:s.teams,email:s.claims.email,claims:s.claims,idpAccessToken:s.idpAccessToken,idpId:s.claims.idpId,isAuthenticated:s.isAuthenticated},config:t.config,outdir:t.outdir,baseUrl:new URL(r.req.url).origin},staticData:{...i,props:{...i.props,routeSlug:n,outdir:t.outdir}},req:await _(r.req.raw),sqldRemoteDatabaseUrl:l.SQLD_REMOTE_DATABASE_URL,sqldRemoteDatabaseAuthToken:l.SQLD_REMOTE_DATABASE_AUTH_TOKEN}],{timeout:g});R({requestHandlerId:e.requestHandlerId,status:o,ctx:r});const m=c.data?Buffer.from(c.data):null;return new Response(m,{status:o,headers:d})}catch(o){throw M({requestHandlerId:e.requestHandlerId,error:o}),o instanceof p.Promise.TimeoutError?new E("Timeout exceeded"):o}}function R({requestHandlerId:e,status:r,ctx:t}){e.startsWith(u)?a.sendApiFunctionCalledMessage([{object:"api_function",error:null,handler:e,status:r}]):a.sendMockServerCalledMessage([{object:"mock_server",error:null,handler:e,headers:{"user-agent":t.req.header("user-agent")??null},status:r}])}function M({requestHandlerId:e,error:r}){const t={handler:e,message:r?.message??null,stack:r?.stack??null};e.startsWith(u)?a.sendApiFunctionErrorMessage([{object:"api_function",...t}]):a.sendMockServerErrorMessage([{object:"mock_server",...t}])}export{U as runApiRoutesWorker,M as sendTelemetryErrorMessage};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@redocly/redoc",
|
|
3
|
-
"version": "0.133.
|
|
3
|
+
"version": "0.133.1",
|
|
4
4
|
"description": "",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -90,14 +90,14 @@
|
|
|
90
90
|
"xpath": "0.0.34",
|
|
91
91
|
"yaml-ast-parser": "0.0.43",
|
|
92
92
|
"zod": "^3.25.76",
|
|
93
|
-
"@redocly/
|
|
93
|
+
"@redocly/graphql-docs": "1.10.0",
|
|
94
|
+
"@redocly/asyncapi-docs": "1.10.0",
|
|
95
|
+
"@redocly/openapi-docs": "3.21.0",
|
|
96
|
+
"@redocly/portal-plugin-mock-server": "0.18.0",
|
|
97
|
+
"@redocly/realm-asyncapi-sdk": "0.11.1",
|
|
94
98
|
"@redocly/config": "0.48.1",
|
|
95
|
-
"@redocly/
|
|
96
|
-
"@redocly/
|
|
97
|
-
"@redocly/portal-legacy-ui": "0.16.0-next.0",
|
|
98
|
-
"@redocly/portal-plugin-mock-server": "0.18.0-next.6",
|
|
99
|
-
"@redocly/realm-asyncapi-sdk": "0.11.0-next.4",
|
|
100
|
-
"@redocly/theme": "0.65.0-next.5"
|
|
99
|
+
"@redocly/theme": "0.65.0",
|
|
100
|
+
"@redocly/portal-legacy-ui": "0.16.0"
|
|
101
101
|
},
|
|
102
102
|
"peerDependencies": {
|
|
103
103
|
"react": "^19.2.4",
|