Skip to content

Upgrade Prism to v1.8.0 - #1067

Merged
marcoroth merged 2 commits into
mainfrom
prism-1.8.0
Jan 17, 2026
Merged

Upgrade Prism to v1.8.0#1067
marcoroth merged 2 commits into
mainfrom
prism-1.8.0

Conversation

@marcoroth

@marcoroth marcoroth commented Jan 16, 2026

Copy link
Copy Markdown
Owner

Prism 1.8.0 (ruby/prism#3827) changed how the closing_loc is populated for unclosed blocks. Previously it was NULL for unclosed blocks, but now it's always set (pointing to body content). This broke our detection logic that relied on checking if closing_loc was empty.

https://github.com/ruby/prism/releases/tag/v1.8.0

@github-actions github-actions Bot added documentation Improvements or additions to documentation typescript node node-wasm rust browser labels Jan 16, 2026
@marcoroth

Copy link
Copy Markdown
Owner Author

Quite a few interesting failures 🤔

Gonna let this sit for a second and come back later

@marcoroth
marcoroth marked this pull request as draft January 16, 2026 12:00
@pkg-pr-new

pkg-pr-new Bot commented Jan 17, 2026

Copy link
Copy Markdown
npx https://pkg.pr.new/@herb-tools/formatter@1067
npx https://pkg.pr.new/@herb-tools/language-server@1067
npx https://pkg.pr.new/@herb-tools/linter@1067

commit: 3787183

@github-actions

github-actions Bot commented Jan 17, 2026

Copy link
Copy Markdown

🌿 Interactive Playground and Documentation Preview

A preview deployment has been built for this pull request. Try out the changes live in the interactive playground:


🌱 Grown from commit 3787183


✅ Preview deployment has been cleaned up.

@marcoroth
marcoroth merged commit ee64cce into main Jan 17, 2026
32 checks passed
@marcoroth
marcoroth deleted the prism-1.8.0 branch January 17, 2026 09:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant