Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
17 commits
Select commit Hold shift + click to select a range
c01b191
feat: replace mdx-bundler with @mdx-js/mdx, upgrade to Next.js 16
sergical Mar 17, 2026
d69dc3b
chore: retrigger CI
sergical Mar 17, 2026
8fef117
chore: remove .pi files from git, add to .gitignore
sergical Mar 17, 2026
231dae8
fix: rename mdx cache dir to invalidate stale mdx-bundler cache, fix …
sergical Mar 17, 2026
d5c7797
fix: move remaining MDX imports to global component map
sergical Mar 17, 2026
4f80d8e
fix: use webpack for production build to stay under Vercel 80MB deplo…
sergical Mar 17, 2026
a91f6a1
chore: remove esbuild, mdx-bundler, remark-mdx-images dependencies
sergical Mar 17, 2026
9d9e5db
fix: revert to Next.js 15.5.12 to stay within Vercel deploy limits
sergical Mar 17, 2026
9d2edf4
fix: restore Next.js 16, exclude public/mdx-images and md-exports fro…
sergical Mar 17, 2026
0915bf3
chore: remove stray research.md
sergical Mar 17, 2026
2e81522
fix: revert to Next.js 15.5.12, keep MDX pipeline migration
sergical Mar 17, 2026
562454a
fix: copy images before cache check, make DocsChangelog a client comp…
sergical Mar 17, 2026
c5cbff8
fix: eslint errors — use matchAll instead of while-assign, disable li…
sergical Mar 17, 2026
a8e3d0d
fix: handle bare relative image paths (without ./ prefix)
sergical Mar 17, 2026
dd56e9d
[getsentry/action-github-commit] Auto commit
getsantry[bot] Mar 17, 2026
9e132f2
fix: address bugbot review — remove dead remarkExtractFrontmatter, al…
sergical Mar 17, 2026
77a46df
[getsentry/action-github-commit] Auto commit
getsantry[bot] Mar 17, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -108,3 +108,4 @@ yalc.lock
.claude/settings.local.json
mise.toml
.yarn/install-state.gz
.pi/
3 changes: 0 additions & 3 deletions docs/changelog.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@ sidebar_order: 100
description: Track recent updates to Sentry docs
---

import {DocsChangelog} from 'sentry-docs/components/changelog/docsChangelog';


## Recent Updates

<DocsChangelog />
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { FeatureInfo } from "sentry-docs/components/featureInfo";

<Expandable title="Want to learn more about these features?">

Expand Down
1 change: 0 additions & 1 deletion includes/quick-start-features-expandable.mdx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { FeatureInfo } from "sentry-docs/components/featureInfo";

<Expandable title="Want to learn more about these features?">

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { FeatureInfo } from "sentry-docs/components/featureInfo";

<Expandable title="Need help locating the captured errors in your Sentry project?">

Expand Down
1 change: 0 additions & 1 deletion includes/quick-start-locate-data-expandable.mdx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { FeatureInfo } from "sentry-docs/components/featureInfo";

<Expandable title="Need help locating the captured errors in your Sentry project?">

Expand Down
25 changes: 7 additions & 18 deletions next.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,30 +6,25 @@ import {redirects} from './redirects.js';

// Exclude build-time-only dependencies from serverless function bundles to stay under
// Vercel's 250MB limit. These packages are only needed during build to compile MDX and
// optimize assets. We use a local getMDXComponent (src/getMDXComponent.ts) instead of
// mdx-bundler/client to avoid CJS/ESM compatibility issues at runtime.
// optimize assets.
const sharedExcludes = [
'**/*.map',
'./.git/**/*',
'./apps/**/*',
'./.next/cache/mdx-bundler/**/*',
'./.next/cache/mdx-compile/**/*',
'./.next/cache/md-exports/**/*',
// Heavy build dependencies
'node_modules/@esbuild/**/*',
'node_modules/esbuild/**/*',
// Heavy build/script-only dependencies (not needed at runtime)
'node_modules/@aws-sdk/**/*',
'node_modules/@google-cloud/**/*',
'node_modules/prettier/**/*',
'node_modules/@prettier/**/*',
'node_modules/sharp/**/*',
'node_modules/mermaid/**/*',
// MDX processing dependencies (local getMDXComponent replaces mdx-bundler/client)
'node_modules/mdx-bundler/**/*',
// MDX processing dependencies (only needed at build time for SSG)
'node_modules/rehype-preset-minify/**/*',
'node_modules/rehype-prism-plus/**/*',
'node_modules/rehype-prism-diff/**/*',
'node_modules/remark-gfm/**/*',
'node_modules/remark-mdx-images/**/*',
'node_modules/unified/**/*',
'node_modules/rollup/**/*',
];
Expand All @@ -50,6 +45,9 @@ const outputFileTracingExcludes = process.env.NEXT_PUBLIC_DEVELOPER_DOCS
'node_modules/prettier/plugins',
'node_modules/rollup/dist',
'public/og-images/**/*',
'public/mdx-images/**/*',
'public/md-exports/**/*',
'**/*.pdf',
],
'sitemap.xml': [
'public/mdx-images/**/*',
Expand Down Expand Up @@ -103,19 +101,10 @@ const nextConfig = {
trailingSlash: true,
serverExternalPackages: [
'rehype-preset-minify',
'esbuild',
'@esbuild/darwin-arm64',
'@esbuild/darwin-x64',
'@esbuild/linux-arm64',
'@esbuild/linux-x64',
'@esbuild/win32-x64',
// mdx-bundler fully excluded via outputFileTracingExcludes
'sharp',
'@aws-sdk/client-s3',
'@google-cloud/storage',
'prettier',
'@prettier/plugin-xml',
'mermaid',
],
outputFileTracingExcludes,
outputFileTracingIncludes,
Expand Down
12 changes: 3 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"build": "pnpm enforce-redirects && pnpm generate-og-images && pnpm generate-doctree && next build && pnpm generate-md-exports",
"generate-md-exports": "node scripts/generate-md-exports.mjs",
"generate-og-images": "ts-node scripts/add-og-images.ts",
"generate-doctree": "esbuild scripts/generate-doctree.ts --bundle --platform=node --packages=external --outfile=.next/generate-doctree.mjs --format=esm && node .next/generate-doctree.mjs",
"generate-doctree": "ts-node --transpile-only scripts/generate-doctree.ts",
"vercel:build:developer-docs": "pnpm enforce-redirects && git submodule init && git submodule update && NEXT_PUBLIC_DEVELOPER_DOCS=1 pnpm build",
"start:dev": "NODE_ENV=development pnpm build && pnpm start",
"start": "next start",
Expand Down Expand Up @@ -67,7 +67,6 @@
"algoliasearch": "^4.23.3",
"classnames": "^2.5.1",
"dompurify": "3.2.4",
"esbuild": "^0.25.0",
"framer-motion": "^10.12.16",
"github-slugger": "^2.0.0",
"gray-matter": "^4.0.3",
Expand All @@ -83,10 +82,9 @@
"mdast-util-from-markdown": "^2.0.2",
"mdast-util-to-markdown": "^2.1.2",
"mdast-util-to-string": "^4.0.0",
"mdx-bundler": "^10.0.1",
"mermaid": "^11.11.0",
"micromark": "^4.0.0",
"next": "^15.5.12",
"next": "15.5.12",
"next-plausible": "^3.12.4",
"next-themes": "^0.3.0",
"nextjs-toploader": "^1.6.6",
Expand All @@ -109,7 +107,6 @@
"rehype-stringify": "^10.0.0",
"remark-gfm": "^4.0.1",
"remark-link-rewrite": "^1.0.7",
"remark-mdx-images": "^3.0.0",
"remark-parse": "^11.0.0",
"remark-prism": "^1.3.6",
"remark-rehype": "^11.1.2",
Expand Down Expand Up @@ -171,13 +168,10 @@
"onlyBuiltDependencies": [
"@parcel/watcher",
"@sentry/cli",
"esbuild",
"sharp",
"unrs-resolver"
],
"patchedDependencies": {
"remark-mdx-images@3.0.0": "patches/remark-mdx-images@3.0.0.patch"
}
"patchedDependencies": {}
},
"packageManager": "pnpm@10.30.0",
"volta": {
Expand Down
14 changes: 0 additions & 14 deletions patches/remark-mdx-images@3.0.0.patch

This file was deleted.

Loading
Loading