Skip to content

v5.11.0

Choose a tag to compare

@SerDIDG SerDIDG released this 30 May 09:58
· 225 commits to main since this release
6267916

What's Changed

✨ New

  • Manually marked lines. You can now mark any element as an Instant Diffs line by adding the data-instantdiffs-line attribute. Such elements get line detection (mwLine selector/closestTo) and the highlight transition styling, alongside the existing automatic detection of changelists, contributions and page history.
  • Arrow-link detection. Added an endsWith matching rule to link detection. Next/previous edit links are now recognized by their trailing arrow characters (→, ←), improving prepend handling.

🔧 Improvements

  • Removed the redundant changelist processing in Page-ChangeLists that added the instantDiffs-line class to .mw-changeslist-line elements — this is now covered by the unified line detection config.
  • Simplified node id matching in isMWLink() to use Array.includes().
  • Cleaned up the mwLinkPrepend config and minor comment wording.

Full Changelog: v5.10.0...v5.11.0