Skip to content

upgrade: migrate docs from nextra v2 to v3 to fix CVE-2026-0969 - #17

Merged
PabloPardoGarcia merged 3 commits into
mainfrom
upgrade/nextra-v3
Mar 20, 2026
Merged

PabloPardoGarcia merged 3 commits into
mainfrom
upgrade/nextra-v3

Conversation

@PabloPardoGarcia

Copy link
Copy Markdown
Member

Nextra v2 depended on next-mdx-remote 4.4.1 (vulnerable). Nextra v3
removes that dependency entirely.

Migration changes:

  • Bump nextra and nextra-theme-docs to ^3.0.0
  • Convert next.config.js (CJS) to next.config.mjs (ESM, required by nextra v3)
  • Remove staticImage and flexsearch options (no longer needed in v3)
  • Replace _meta.json files with _meta.js (required by nextra v3)
  • Add required pages/_app.jsx with style import
  • Replace removed useNextSeoProps with titleSuffix in theme config

   Nextra v2 depended on next-mdx-remote 4.4.1 (vulnerable). Nextra v3
   removes that dependency entirely.

   Migration changes:
   - Bump nextra and nextra-theme-docs to ^3.0.0
   - Convert next.config.js (CJS) to next.config.mjs (ESM, required by nextra v3)
   - Remove staticImage and flexsearch options (no longer needed in v3)
   - Replace _meta.json files with _meta.js (required by nextra v3)
   - Add required pages/_app.jsx with style import
   - Replace removed useNextSeoProps with titleSuffix in theme config
@vercel

vercel Bot commented Mar 20, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
glassgen Ready Ready Preview, Comment Mar 20, 2026 4:54pm

Request Review

@github-actions

Copy link
Copy Markdown
Contributor

Coverage

Test Coverage Report
FileStmtsMissCoverMissing
__init__.py60100% 
config.py701184%84–86, 88–89, 91–93, 95, 105–106
interface.py49883%12–14, 38–42
generator
   __init__.py50100% 
   batch_controller.py39392%16, 21–22
   duplication.py641379%26, 34, 38–39, 41–43, 45–46, 48–50, 52
   generator.py671971%40, 53, 86–90, 92–97, 99–100, 102, 106–108
   generators.py1032476%61, 118, 147–149, 151–154, 156–157, 159–161, 163, 170, 172–173, 176, 188, 191, 205, 258, 263
schema
   __init__.py40100% 
   base.py70100% 
   schema.py92792%50, 66, 76–77, 106–107, 132
   user_schema.py16193%30
sinks
   __init__.py130100% 
   base.py90100% 
   csv_sink.py47197%41
   kafka_sink.py281353%20–23, 27–28, 33, 36–38, 43–44, 47
   webhook_sink.py260100% 
   yield_sink.py100100% 
TOTAL65510084% 

@PabloPardoGarcia
PabloPardoGarcia merged commit 1e41856 into main Mar 20, 2026
7 checks passed

This branch was successfully deployed

1 active deployment
Preview — 5826dcd3 Deployed Mar 20, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant