Skip to content

Releases: nfrasser/linkifyjs

v4.2.0

04 Dec 06:34
86e977c
Compare
Choose a tag to compare

What's Changed

  • Correctly sanitize object replacement character by treating as whitespace in #497
  • Avoid detecting invalid URLs with numbers around boundaries in #498
  • Prevent delimiter apostrophes from being included in URLs in #499
  • Correctly interpret \r\n as newline character in #500
  • Correctly interpret emoji followed by # sign in #501
  • Fix support for domain names with multiple hyphens in #502
  • Fix parsing for magnet links in #503

Full Changelog: v4.1.4...v4.2.0

v4.1.4

19 Nov 06:29
503a4f8
Compare
Choose a tag to compare

What's Changed

  • Fix hashtag plugin: add support for full width middle dot by @yuiseki in #492
  • Update CI matrices and other chores by @nfrasser in #494

New Contributors

Full Changelog: v4.1.3...v4.1.4

v4.1.3

22 Nov 03:39
cc5c5fa
Compare
Choose a tag to compare

What's Changed

  • Add support for fullwidth parentheses by @weii41392 in #461
  • linkify-html: don't convert & -> & by @nfrasser in #462
  • Bracket parsing refactor and support for 「」『』<> brackets by @nfrasser in #463

New Contributors

Full Changelog: v4.1.2...v4.1.3

v4.1.2

09 Nov 04:43
975696a
Compare
Choose a tag to compare

What's Changed

  • Ensure linkify.find() respects validate option by @nfrasser in #458

Full Changelog: v4.1.1...v4.1.2

v4.1.1

25 Mar 15:09
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v4.1.0...v4.1.1

v4.1.0

04 Jan 01:32
Compare
Choose a tag to compare

What's Changed

  • Drop support for Safari 10 (#425)
  • Reduce core bundle file size by ~30% (#426)
  • Restore support for email address with scheme local part (#417)
  • Allow hashtags with emojis

New Contributors

Full Changelog: v4.0.2...v4.1.0

v4.0.2

02 Oct 20:45
Compare
Choose a tag to compare
  • Fix email address detection with domains containing numbers

v4.0.1

29 Sep 03:46
Compare
Choose a tag to compare
  • Restore nl2br option for linkify-html
  • Fixed duplicate key warning in linkify-react with multiple children

v4.0.0

19 Sep 00:59
Compare
Choose a tag to compare

Breaking Changes

  • Removed deprecated linkifyjs/string, linkifyjs/html, linkifyjs/plugins/*
    packages. Use linkify-string, linkify-html and linkify-plugin-* instead.
  • Refactored scanner internals break custom link plugins created with Linkify v3
  • Links that begin with mailto: now have type url instead of email
  • Drop official IE 11 support

Added

  • linkify-plugin-ip plugin for detecting IPv4 and IPv6 addresses
  • linkify-plugin-keyword plugin for detecting arbitrary keywords
  • linkify.find() function accepts an options argument for output formatting
  • New render option to override link rendering
  • Second optionalSlashSlash argument for registerCustomProtocol to allow links that don't require // after scheme:
  • Link token methods toFormattedString(options), toFormattedHref(options) and toFormattedObject(options) that accept a linkify.Options object
  • More granular scanner tokens for improved plugin flexibility
  • linkify-react: New as property (alias for tagName)

Fixed

  • Improved link detection with mixed languages
  • Consistent option availability across interfaces (including truncate)
  • linkify-html: Improved HTML entity parsing

v4.0.0-beta.1

21 Jan 15:26
Compare
Choose a tag to compare
v4.0.0-beta.1 Pre-release
Pre-release

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 type url instead of email

Added

  • linkify.find() function accepts a third options argument for output formatting
  • Link token methods toFormattedString(options), toFormattedHref(options) and toFormattedObject(options) that accept a linkify.Options object
  • New render option to override link rendering
  • More granular scanner tokens for improved plugin flexibility
  • Second optionalSlashSlash argument for registerCustomProtocol to allow links that don't require // after scheme:

Fixed

  • Improved HTML entity parsing with linkify-html
  • Improved link detection with mixed languages
  • Consistent option availability across interfaces (including truncate)