NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm · #2865 most downloaded on npm
Find URLs, email addresses, #hashtags and @mentions in plain-text strings, then convert them into HTML <a> links.
Last release 4 months ago
13 May 2026
Release timing varies
gaps range from 1 weeks to 12 months
Nearly every release is documented
notes for 34 of 35 stable releases
Nothing withdrawn
no release was ever pulled
12 years old
55 releases · first in 2015
Fix parsing bugs with some special encoded URLs
Full Changelog: v4.3.2...v4.3.3
Use Object.assign instead of custom assign function by @nfrasser in #518
Full Changelog: v4.3.1...v4.3.2
One column per quarter.
Use correct simple-html-tokenizer version for linkify-html
Full Changelog: v4.3.0...v4.3.1
Fix: allow apostrophe in URL by @patrickReiis in #504
.cjs.js and .es.js extensions to .cjs and .mjs, respectivelyFull Changelog: v4.2.0...v4.3.0
.cjs.js and .es.js extensions to .cjs and .mjs, respectivelyCorrectly sanitize object replacement character by treating as whitespace in #497
Full Changelog: v4.1.4...v4.2.0
Fix hashtag plugin: add support for full width middle dot ・ by @yuiseki in #492
・ in hashtag pluginAdd support for fullwidth parentheses by @weii41392 in #461
Full Changelog: v4.1.2...v4.1.3
& symbol double-encoding in linkify-htmlEnsure linkify.find() respects validate option by @nfrasser in #458
Full Changelog: v4.1.1...v4.1.2
FIx jsdoc in linkify-react by @akiomik in #431
Reduce core bundle file size by ~30%
Fix email address detection with domains containing numbers
Restore nl2br option for linkify-html
Removed deprecated linkifyjs/string, linkifyjs/html, linkifyjs/plugins/* packages. Use linkify-string, linkify-html and linkify-plugin-* instead.
linkifyjs/string, linkifyjs/html, linkifyjs/plugins/*
packages. Use linkify-string, linkify-html and linkify-plugin-* instead.mailto: now have type url instead of emaillinkify-plugin-ip plugin for detecting IPv4 and IPv6 addresseslinkify-plugin-keyword plugin for detecting arbitrary keywordslinkify.find() function accepts an options argument for output formattingrender option to override link renderingoptionalSlashSlash argument for registerCustomProtocol to allow links that don't require // after scheme:toFormattedString(options), toFormattedHref(options) and toFormattedObject(options) that accept a linkify.Options objectlinkify-react: New as property (alias for tagName)truncate)linkify-html: Improved HTML entity parsingNothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Removed deprecated linkifyjs/string, linkifyjs/html, linkifyjs/plugins/* packages
linkifyjs/string, linkifyjs/html, linkifyjs/plugins/* packagesmailto: now have type url instead of emaillinkify.find() function accepts a third options argument for output formattingtoFormattedString(options), toFormattedHref(options) and toFormattedObject(options) that accept a linkify.Options objectrender option to override link renderingoptionalSlashSlash argument for registerCustomProtocol to allow links that don't require // after scheme:linkify-htmltruncate)Fix potential Cross-Site Scripting issue when using linkify-html
linkify-htmlExpose ES6 modules with "module" field in package.json (#363 - thanks @palash2601)
"module" field in package.json (#363 - thanks @palash2601)Add linkifyjs ES6 module build (#356 - thanks @emersion)
Correctly detect hashtags with underscores
linkify-string and linkify-html type declarationsFix React component type declarations
React, jQuery and Element interfaces moved to dedicated packages at linkify-react,linkify-jquery and linkify-element respectively:
linkify-react,linkify-jquery and linkify-element respectively:class="linkified" from all discovered links. Opt back in by setting the className option:linkifyStr(str, { className: 'linkified' })
target="_blank" attribute for discovered URLs. Opt back in by setting the target option:linkifyHtml(str, {
target: (href, type) => type === 'url' && '_blank'
})
<span> tag wrapper in favour of tag-less React.Fragment for React >=16. To opt back-in, set tagName='span':<Linkify tagName='span'>{content}</Linkify>
linkify-string and linkify-html instead of linkifyjs/string and linkifyjs/html. The embedded packages will be removed in v4.0linkify-plugin-[PLUGIN] instead of linkifyjs/plugin/[PLUGIN]. The embedded packages will be removed in v4.0linkify.registerCustomProtocol('protocol')rel option at top level as an alternate way of including it in attributeslinkify.find() output includes start and end indexes for where in the string a link was found// Before
import * as linkify from 'linkifyjs'
import hashtag from 'linkifyjs/plugins/hashtag'
hashtag(linkify)
// After
import * as linkify from 'linkifyjs'
import 'linkifyjs/plugins/hashtag'
Nothing published for this version
Nothing published for this version
Nothing published for this version
Fix npm install displays vulnerabilities.
npm install displays vulnerabilities. (#265)Allow mentions with inner @ sign for federated mentions - thanks @juliushaertl!
- Update dependencies (#243) - Ignore .babelrc file
Fix a bug where unique element IDs aren't unique
React plugin compatibility updates
Drop deprecated babel-preset-es2015-loose dependency (#172) - Thanks @saivann
now works as expected in linkify-html (#184)Links in angle brackets (#166) - Thanks @dbkr!
Single quotes should be treated as punctuation
Detect additional whitespace characters
The deprecated newLine option from linkify 1.x has been completely removed.
dist/jquery.linkify.js 1.x legacy browser files have been permanently
removed from the release bundle.
linkify.js and linkify-jquery.js instead.newLine option from linkify 1.x has been completely removed.
nl2br option instead.linkAttributes option is deprecated in favour of just attributes.linkClass option is deprecated in favour of className..linkified class is deprecated and will be fully removed
in a future release.To maintain compatibility with versions >= 2.1, make sure options objects
include these properties instead of linkAttributes and linkClass
Correct trailing symbol parsing
Optimize class code to reduce file size (#147).
Fixing element interface invalid DOM node error
Nothing published for this version
Updated build system and development dependencies
Anything that begins with a protocol is recognized as a string
var linkify = require('linkifyjs');require('linkifyjs/plugins/hashtag')(linkify);[Feature] Added validate option (function) to be able to selectively filter tokens (#106) - Thanks @fcarreiro
- Add local to tlds.js
local to tlds.js (#101)Fix for nested tags in linkify-html
Mostly correct parsing for links containing or wrapped in brackets
Workaround for Chrome toLowerCase issue. Fixes #87
toLowerCase issue. Fixes #87Parentheses and other symbols are now included as part of the URL. Fixes #52
[Breaks previous beta] Options that take only the link type now take the href as well
v2.0.0-beta.3
href as well ( #69 )Fixes #62, #69
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →