Skip to content

chore(deps): Bump @mdxeditor/editor from 3.55.0 to 4.0.2#559

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/mdxeditor/editor-4.0.1
Closed

chore(deps): Bump @mdxeditor/editor from 3.55.0 to 4.0.2#559
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/mdxeditor/editor-4.0.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 2, 2026

Copy link
Copy Markdown
Contributor

Bumps @mdxeditor/editor from 3.55.0 to 4.0.2.

Release notes

Sourced from @​mdxeditor/editor's releases.

v4.0.2

4.0.2 (2026-06-03)

Bug Fixes

  • preserve blank lines within markdown list items (0886ac9), closes #936

v4.0.1

4.0.1 (2026-05-20)

Bug Fixes

  • fall back to default code block language on import (835ad54), closes #935

v4.0.0

4.0.0 (2026-05-09)

  • feat!: remove Sandpack plugin (982dd5d)

Bug Fixes

  • simplify test scripts and set NODE_ENV in Vite config (e76a7b7)

BREAKING CHANGES

  • The Sandpack integration is no longer included. The sandpackPlugin, SandpackEditor, SandpackConfig, SandpackPreset, insertSandpack$, sandpackConfig$, InsertSandpack, ShowSandpackInfo, and the sandpack icon key have been removed.

Closes #789.

Closes #900.

Refs #933.

Refs #651.

Commits
  • 0886ac9 fix: preserve blank lines within markdown list items
  • 835ad54 fix: fall back to default code block language on import
  • 869f769 Harden GitHub Actions workflows (#934)
  • e289a23 Merge pull request #932 from Shane32/fix-quote-styling-main
  • 9475719 Merge pull request #923 from Shane32/add-test-action
  • 982dd5d feat!: remove Sandpack plugin
  • ed40109 Fix quote theme styling tokens
  • 56770dc ci: harden pull request workflow
  • 761a4d9 Fix quote styling
  • bdbbc33 Apply suggestion from @​Shane32
  • Additional commits viewable in compare view

@dependabot @github

dependabot Bot commented on behalf of github Jun 2, 2026

Copy link
Copy Markdown
Contributor Author

Labels

The following labels could not be found: dependencies. Please create it before Dependabot can add it to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

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>
@dependabot dependabot Bot changed the title chore(deps): Bump @mdxeditor/editor from 3.55.0 to 4.0.1 chore(deps): Bump @mdxeditor/editor from 3.55.0 to 4.0.2 Jun 8, 2026
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/mdxeditor/editor-4.0.1 branch 2 times, most recently from 3f2a848 to 0b12e20 Compare June 8, 2026 20:12
@jmynes jmynes self-assigned this Jun 8, 2026
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>
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/mdxeditor/editor-4.0.1 branch from 0b12e20 to e06e8aa Compare June 8, 2026 21:08
@jmynes jmynes closed this in #565 Jun 8, 2026
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>
@dependabot @github

dependabot Bot commented on behalf of github Jun 8, 2026

Copy link
Copy Markdown
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 @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@github-actions github-actions Bot locked and limited conversation to collaborators Jun 8, 2026
@dependabot dependabot Bot deleted the dependabot/npm_and_yarn/mdxeditor/editor-4.0.1 branch June 8, 2026 22:34
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant