Breaking Changes
- Removed deprecated
linkifyjs/string
,linkifyjs/html
,linkifyjs/plugins/*
packages - Refactored scanner internals break plugins created with Linkify v3
- Links that begin with
mailto:
now have typeurl
instead ofemail
Added
linkify.find()
function accepts a thirdoptions
argument for output formatting- Link token methods
toFormattedString(options)
,toFormattedHref(options)
andtoFormattedObject(options)
that accept alinkify.Options
object - New
render
option to override link rendering - More granular scanner tokens for improved plugin flexibility
- Second
optionalSlashSlash
argument forregisterCustomProtocol
to allow links that don't require//
afterscheme:
Fixed
- Improved HTML entity parsing with
linkify-html
- Improved link detection with mixed languages
- Consistent option availability across interfaces (including
truncate
)