Skip to content

chore: upgrade dependencies, sync markdown-it v15 linkify performance fix - #37

Closed
farnabaz wants to merge 4 commits into
serkodev:mainfrom
farnabaz:chore/upgrade-deps
Closed

farnabaz wants to merge 4 commits into
serkodev:mainfrom
farnabaz:chore/upgrade-deps

Conversation

@farnabaz

@farnabaz farnabaz commented Oct 30, 2026 •

Copy link
Copy Markdown

This PR upgrades all dependencies to their latest versions and brings in the linkify performance fixes from markdown-it v15.

Linkify performance is real deal on markdown-it:

Test Before After
linkify emails separated by softbreaks 2682 ms 128 ms
linkify unregistered schemes 10175 ms 18 ms

Breaking changes

These come from linkify-it v6:

  • Links without a protocol, like www.example.org or google.com, are no longer linkified by default. To get the old behavior back, call md.linkify.set({ fuzzyLink: true }).
  • Unicode punctuation now ends a link, which helps with CJK text.
  • md.linkify.pretest(), .compile() and constructor schemas were removed.

It looks like a big PR, but you can review it commit by commit.

@farnabaz

farnabaz commented Nov 2, 2026

Copy link
Copy Markdown
Author

@serkodev I appreciate if you take a look at this

@serkodev

serkodev commented Nov 3, 2026

Copy link
Copy Markdown
Owner

@farnabaz Thanks for the PR! markdown-exit has just been synced with markdown-it v15.0.3 and released as v2.1.3. Please let me know if I missed anything.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants