chore(deps): bump docusaurus-openapi-docs to 5.1.3 (DLP Data Profiles crash fix) - #1387
Merged
Conversation
Canary build of docusaurus-openapi-docs that fixes the infinite-recursion crash on Data Profiles API pages (self-referential discriminators). Bumps the plugin and theme to 0.0.0-1371 to validate the fix on a deploy preview before the upstream release lands. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
The docusaurus-openapi-docs canary depends on sass-loader@^17, which requires node >=22.11. Bump deploy-preview and deploy-live from node 20 to 22 (matching the node22 base image already used in .gitlab-ci.yml). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
Visit the preview URL for this PR (updated for commit 310d395): https://pan-dev-f1b58--pr1387-6j9qeie1.web.app (expires Fri, 07 Aug 2026 13:59:41 GMT) 🔥 via Firebase Hosting GitHub Action 🌎 Sign: 9359a9fa100d5fdb082f75280473a90b1f96eb51 |
The Data Profiles infinite-recursion fix validated on the canary is now published in the 5.1.3 release. Repoint the plugin and theme from the 0.0.0-1371 canary to the tagged 5.1.3 version. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Bumps
docusaurus-plugin-openapi-docsanddocusaurus-theme-openapi-docsfrom5.1.2to5.1.3.Why
Fixes the browser-tab crash on the DLP → Data Profiles API pages (
/dlp/api/), caused by infinite recursion in the theme's schema renderer when aoneOf's branches each declare their owndiscriminatoron the same property (every DLP RuleItem variant does).Fixed upstream in PaloAltoNetworks/docusaurus-openapi-docs#1584, released in
5.1.3. Validated on the deploy preview via the0.0.0-1371canary before repointing to the tagged release.Requires the node 22 CI bump from #1388 (already merged), since 5.1.x depends on
sass-loader@^17(node >= 22.11).Testing
Deploy-preview pages to verify render without freezing:
/dlp/api/get-v-2-api-data-profiles/dlp/api/post-v-2-api-data-profiles/dlp/api/get-v-2-api-data-profiles-resourceid/dlp/api/put-v-2-api-data-profiles-resourceid/dlp/api/patch-v-2-api-data-profiles-resourceid🤖 Generated with Claude Code