Breaking Changes
- Removed deprecated
linkifyjs/string
,linkifyjs/html
,linkifyjs/plugins/*
packages. Uselinkify-string
,linkify-html
andlinkify-plugin-*
instead. - Refactored scanner internals break custom link plugins created with Linkify v3
- Links that begin with
mailto:
now have typeurl
instead ofemail
- Drop official IE 11 support
Added
linkify-plugin-ip
plugin for detecting IPv4 and IPv6 addresseslinkify-plugin-keyword
plugin for detecting arbitrary keywordslinkify.find()
function accepts anoptions
argument for output formatting- New
render
option to override link rendering - Second
optionalSlashSlash
argument forregisterCustomProtocol
to allow links that don't require//
afterscheme:
- Link token methods
toFormattedString(options)
,toFormattedHref(options)
andtoFormattedObject(options)
that accept alinkify.Options
object - More granular scanner tokens for improved plugin flexibility
linkify-react
: Newas
property (alias fortagName
)
Fixed
- Improved link detection with mixed languages
- Consistent option availability across interfaces (including
truncate
) linkify-html
: Improved HTML entity parsing