chore(deps): Bump @mdxeditor/editor from 3.55.0 to 4.0.2#559
Closed
dependabot[bot] wants to merge 1 commit into
Closed
chore(deps): Bump @mdxeditor/editor from 3.55.0 to 4.0.2#559dependabot[bot] wants to merge 1 commit into
dependabot[bot] wants to merge 1 commit into
Conversation
Contributor
Author
LabelsThe following labels could not be found: Please fix the above issues or remove invalid values from |
4 tasks
jmynes
added a commit
that referenced
this pull request
Jun 8, 2026
## Summary Combines 3 green Dependabot PRs into a single PR to avoid sequential rebase/CI cycles. ### docs-site (#553) - react 19.2.6 → 19.2.7 ### Production dependencies (#561) - @anthropic-ai/sdk 0.98.0 → 0.102.0 - @tanstack/react-query 5.100.14 → 5.101.0 - date-fns 4.3.0 → 4.4.0 - lucide-react 1.16.0 → 1.17.0 - next 16.2.6 → 16.2.7 - otplib 13.4.0 → 13.4.1 - radix-ui 1.4.3 → 1.5.0 - react/react-dom 19.2.6 → 19.2.7 - zustand 5.0.13 → 5.0.14 - @types/react 19.2.15 → 19.2.17 - @vitest/coverage-v8 + @vitest/ui 4.1.7 → 4.1.8 - tsx 4.22.3 → 4.22.4 (root + mcp) ### Dev dependencies (#555) - @biomejs/biome 2.4.15 → 2.4.16 - vitest 4.1.7 → 4.1.8 ### Held for separate review (major versions) - #525/#526 (Prisma 6 → 7) - #546 (react-day-picker 9 → 10) - #556 (lint-staged 16 → 17) - #557/#558/#560 (@tsparticles/* 3 → 4 — should land as a group) - #559 (@mdxeditor/editor 3 → 4) ## Test plan - [x] \`pnpm install\` succeeds (root + docs-site) - [x] \`pnpm lint\` clean - [x] \`pnpm test\` — 1527 / 1527 pass - [ ] CI passes Closes #553, closes #555, closes #561 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
3f2a848 to
0b12e20
Compare
Bumps [@mdxeditor/editor](https://github.com/mdx-editor/editor) from 3.55.0 to 4.0.2. - [Release notes](https://github.com/mdx-editor/editor/releases) - [Commits](mdx-editor/editor@v3.55.0...v4.0.2) --- updated-dependencies: - dependency-name: "@mdxeditor/editor" dependency-version: 4.0.1 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
0b12e20 to
e06e8aa
Compare
7 tasks
jmynes
added a commit
that referenced
this pull request
Jun 8, 2026
## Summary
Bumps \`@mdxeditor/editor\` from 3.55.0 to 4.0.2.
v4's only stated breaking change is the removal of the Sandpack
integration. We never used any sandpack APIs, so that part is a no-op
for us. But while smoke-testing we found two real issues — one
introduced by v4 and one pre-existing — both addressed in this PR.
## What's in this PR
### 1. Sandpack removal cleanup
- The defensive \`@stitches/core\` mock in \`src/__tests__/setup.ts\`
only existed to keep jsdom happy with v3's transitive
\`@codesandbox/sandpack-react\`. v4 drops that whole transitive chain —
\`@stitches/core\` is no longer in the install tree — so the mock is now
dead code and is removed.
### 2. \`codeBlockLanguages$\` schema migration (the real v4 break)
v4 changed the \`codeBlockLanguages$\` gurx Cell from yielding
\`Record<string, string>\` (legacy) to \`NormalizedCodeBlockLanguages\`
(\`{ items: { value, label }[], keyMap, supportMap }\`). Our code called
\`Object.entries\` on the new shape and crashed at runtime with
\`a.label.localeCompare is not a function\` because each item was
\`[\"0\", { value, label }]\` instead of \`[value, label]\`. Three
readers fixed:
- \`src/components/tickets/custom-codemirror-editor.tsx\`
- \`src/components/tickets/custom-code-language-select.tsx\`
- \`src/components/tickets/readonly-code-block.tsx\`
### 3. \`<InsertCodeBlock />\` toolbar button (UX improvement)
Added next to InsertThematicBreak. mdxeditor's ``` keyboard shortcut has
always been finicky (multi-line transformer, only fires on
paste/import/blur — not while typing); this button gives users a
deterministic insertion path. Follow-up to make ``` typing work:
PUNT-416.
## What's NOT in this PR (and why)
While testing we found that **switching to source mode in dev (\`next
dev --turbopack\`) crashes with \`Cannot access property
Symbol.iterator, tags is undefined\`**, no matter what content is in the
editor. We initially suspected v4 and reverted to v3.55 to bisect — but
the same error reproduces on v3.55 in dev. The Railway demo (which runs
the production build) works fine on v3, so this is a pre-existing
Next.js 16 / Turbopack incompatibility with mdxeditor's CodeMirror-based
source editor — not a regression caused by this PR. We're leaving it for
a separate investigation.
## Test plan
- [x] \`pnpm install\` succeeds (sandpack chain shed, \`-676 / +13\`
lockfile diff)
- [x] \`pnpm lint\` clean (no new errors)
- [x] \`pnpm test\` — 1527 / 1527 pass
- [x] \`tsc --noEmit\` reports no new mdxeditor-related errors
- [x] Manual UI: rich-text editing, code-block insertion via toolbar
button, code-block language selection all work in v4
- [ ] CI passes
- [ ] Manual UI check post-merge: open a ticket, edit description with
various markdown features, save
Closes #559
🤖 Generated with [Claude Code](https://claude.com/claude-code)
---------
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Contributor
Author
|
OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting If you change your mind, just re-open this PR and I'll resolve any conflicts on it. |
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Bumps @mdxeditor/editor from 3.55.0 to 4.0.2.
Release notes
Sourced from @mdxeditor/editor's releases.
Commits
0886ac9fix: preserve blank lines within markdown list items835ad54fix: fall back to default code block language on import869f769Harden GitHub Actions workflows (#934)e289a23Merge pull request #932 from Shane32/fix-quote-styling-main9475719Merge pull request #923 from Shane32/add-test-action982dd5dfeat!: remove Sandpack plugined40109Fix quote theme styling tokens56770dcci: harden pull request workflow761a4d9Fix quote stylingbdbbc33Apply suggestion from@Shane32