Skip to content

Releases: gregjacobs/Autolinker.js

v1.3.1

21 Nov 04:58
Compare
Choose a tag to compare
  • Fix for Array.prototype.push encountering a "Maximum Call Stack Exceeded" error when the input is a large number of HTML character entities

v1.3.0

21 Nov 04:13
Compare
Choose a tag to compare
  • Fix ReDos issue for input that resembled html but wasn't (#172)

v1.2.2

21 Nov 01:51
Compare
Choose a tag to compare
  • Fix issue with possibly autolinking a domain name with multiple consecutive dots (Thanks @olafleur!)

v1.2.1

26 Oct 02:39
Compare
Choose a tag to compare

Move gulp-header dependency from dependencies to devDependencies

v1.2.0

01 Oct 22:57
Compare
Choose a tag to compare
  • Add static parse() method as a convenience for the instance-level parse() method

v1.1.1

01 Oct 22:58
Compare
Choose a tag to compare
  • Include checkmarks in parsed URLs (thanks @olafleur)

v1.1.0

06 Sep 03:55
Compare
Choose a tag to compare
  • Add stripTrailingSlash option to decided whether or not to remove a trailing slash from URL matches
  • Add individual scheme and www options to stripPrefix to decide to strip the scheme, the 'www', or both from URL matches

v1.0.0

06 Sep 00:55
Compare
Choose a tag to compare

Long awaited 1.0 release which adds the mention feature to replace the twitter option, and change the replaceFn to be passed only one argument (the Match object).

Breaking Changes from 0.x -> 1.x

  1. twitter option removed, replaced with mention (which accepts 'twitter'
    and 'instagram' values)
  2. Matching mentions (previously the twitter option) now defaults to
    being turned off. Previously, Twitter handle matching was on by
    default.
  3. replaceFn option now called with just one argument: the Match
    object (previously was called with two arguments: autolinker and
    match)
  4. (Used inside the replaceFn) TwitterMatch replaced with
    MentionMatch, and MentionMatch.getType() now returns 'mention'
    instead of 'twitter'
  5. (Used inside the replaceFn) TwitterMatch.getTwitterHandle() ->
    MentionMatch.getMention()

v0.28.1

06 Sep 00:53
Compare
Choose a tag to compare
  • Fix for IP address linking which could possibly link an invalid IP address. Thanks @olafleur!

v0.28.0

25 Aug 01:14
Compare
Choose a tag to compare
  • Add support for autolinking IP addresses which start with a protocol. Thanks @olafleur!