Title: chore(deps): bump tiptap to 3.32.2 and keep headings that open a list item by waleedlatif1 · Pull Request #9898 · simstudioai/sim · GitHub
Open Graph Title: chore(deps): bump tiptap to 3.32.2 and keep headings that open a list item by waleedlatif1 · Pull Request #9898 · simstudioai/sim
X Title: chore(deps): bump tiptap to 3.32.2 and keep headings that open a list item by waleedlatif1 · Pull Request #9898 · simstudioai/sim
Description: Summary Bumps every @tiptap/* package in apps/sim from 3.31.4 to 3.32.2. Raises the root prosemirror-transform override from 1.12.0 to 1.12.4, since @tiptap/pm 3.32 requires ^1.12.2. 1.12.1 through 1.12.4 are bug fixes only, and 1.12.4 fixes a step-deserialization bug introduced in 1.12.3. The other prosemirror overrides already satisfy 3.32.2. Transitive prosemirror-commands/-history/-dropcursor/-changeset patch bumps come in through @tiptap/pm. Sim fix (list-item.ts): @tiptap/extension-list 3.32 now turns a heading at the start of a list item into the item's paragraph and drops its level. With that change, opening a file containing - # Title and saving it rewrote it as - Title. CommonMark reads - # Title as a heading inside the list item, and Sim's schema already supports that: MarkdownListItem puts an empty paragraph first. The override now parses that case as blocks itself, so the output is the same as on 3.31.4. @tiptap/y-tiptap stays on 3.0.7 on purpose. From 3.0.8 on, a new reconcile path pairs the unanchored children by position. When one transaction merges a block into the list after it (for example, typing - above a list, or toggleBulletList joining the list below), y-tiptap deletes the list's Y.XmlElement and recreates it. Edits a peer made inside that list at the same time are lost on every client, and the clients still converge, so nothing reports an error. The same code is still in the latest release (3.3.0). It has the same root cause as the open upstream issue ueberdosis/tiptap#8735. @tiptap/extension-collaboration 3.32.2 accepts ^3.0.7. Type of Change Other: dependency upgrade (plus a markdown-fidelity fix the upgrade requires) Testing rich-markdown-editor/ folder in one vitest run: 716/716 pass. With y-tiptap 3.0.9, 5 tests fail (list-collaboration join and undo tests, plus 2 image-collaboration tests). Reverting the list-item.ts fix makes heading-image (- # Before  after) fail again. lib/collab-doc/ (the converter, seed, merge, and persist tests that use tiptap): 82/82 pass. Ran parse and serialize on headings in list items, setext items, blockquotes, ordered items, and the 3.32 !-before-link escape. Every case gives the same output on 3.31.4 and on 3.32.2 with the fix. y-tiptap: a two-editor StarterKit + Collaboration repro (B types in a list item while A runs toggleBulletList on the paragraph above). On 3.0.7 both clients keep B's text. On 3.0.9 both clients converge without it. bun install --frozen-lockfile is clean. The lockfile only changes @tiptap/* and the prosemirror packages. Checklist Code follows project style guidelines Self-reviewed my changes Tests added/updated and passing No new warnings introduced I confirm that I have read and agree to the terms outlined in the Contributor License Agreement (CLA) 🤖 Generated with Claude Code
Open Graph Description: Summary Bumps every @tiptap/* package in apps/sim from 3.31.4 to 3.32.2. Raises the root prosemirror-transform override from 1.12.0 to 1.12.4, since @tiptap/pm 3.32 requires ^1.12.2. 1.12.1 throug...
X Description: Summary Bumps every @tiptap/* package in apps/sim from 3.31.4 to 3.32.2. Raises the root prosemirror-transform override from 1.12.0 to 1.12.4, since @tiptap/pm 3.32 requires ^1.12.2. 1.12.1 throug...
Opengraph URL: https://github.com/simstudioai/sim/pull/9898
X: @github
Domain: github.com
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf |
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:4967e470-d222-cdfb-70f8-24b9dc1b8c9a |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | A354:BB648:15D8D95:1DD56D2:6AFB79CC |
| html-safe-nonce | 2310d0c38a995c129316f36e74d7e3fb7b3cb6688dfcf13290f118d340a05af5 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMzU0OkJCNjQ4OjE1RDhEOTU6MURENTZEMjo2QUZCNzlDQyIsInZpc2l0b3JfaWQiOiI4NTQ4NjQzNjk3MzM0MTIyOTU2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 25744fa5727f67b58f1cfafaca97b7f5cd19ed9054520f4916a4d762567cd293 |
| hovercard-subject-tag | pull_request:5266924993 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/simstudioai/sim/pull/9898/files |
| twitter:image | https://avatars.githubusercontent.com/u/40672544?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/40672544?s=400&v=4 |
| og:image:alt | Summary Bumps every @tiptap/* package in apps/sim from 3.31.4 to 3.32.2. Raises the root prosemirror-transform override from 1.12.0 to 1.12.4, since @tiptap/pm 3.32 requires ^1.12.2. 1.12.1 throug... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 0e29e7974fdda2feeaf5c891efd4b23b0734b23480232b62c7bdef13f40b5b48 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/simstudioai/sim git https://github.com/simstudioai/sim.git |
| octolytics-dimension-user_id | 199344406 |
| octolytics-dimension-user_login | simstudioai |
| octolytics-dimension-repository_id | 912559512 |
| octolytics-dimension-repository_nwo | simstudioai/sim |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 912559512 |
| octolytics-dimension-repository_network_root_nwo | simstudioai/sim |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 2e8872b770cc4d5d0cc1f2026afab747a268e2ce |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width