Skip to content

Releases: gregjacobs/Autolinker.js

v4.1.5

01 May 04:06
Compare
Choose a tag to compare
  • Various performance enhancements

v4.1.4

01 May 04:03
Compare
Choose a tag to compare
  • Various performance enhancements

v4.1.3

01 May 04:03
Compare
Choose a tag to compare
  • Various performance enhancements

v4.1.2

29 Apr 02:37
Compare
Choose a tag to compare
  • Performance enhancement: lift nested functions in parse-matches.ts to allow for better JIT compilation. Adds ~250 ops/sec in benchmark
  • Use const (integer) enums in place of strings

v4.1.1

28 Apr 01:07
Compare
Choose a tag to compare
  • Fix for if a slash is found inside what looks to be an HTML tag (e.g. <something / else>), which is probably not an actual HTML tag and should be treated like data rather than an element
  • Fix to handle immediately-closed comment tags in HTML parsing (i.e. <!---->)
  • Fix to handle <!DOCTYPE> tags with no attributes in HTML parsing (whereas correctly formed !DOCTYPE tags should at least be <!DOCTYPE html>, or have some other quirks/almost-standards mode attributes)

v4.1.0

26 Dec 00:37
Compare
Choose a tag to compare
  • Add support for YouTube hashtags (#397)
  • Add support for YouTube mentions (#398)

v4.0.2

26 Dec 00:27
Compare
Choose a tag to compare
  • Enable inlineSources to embed source files' contents in source maps (fixes #404 and #396)

v4.0.1

17 Dec 00:16
Compare
Choose a tag to compare

Fix where characters preceding a scheme URL could prevent proper autolinking. Fixes:

v4.0.0

07 Sep 22:31
Compare
Choose a tag to compare
  • URL parser rewritten from using regular expressions to be a finite state machine. Greatly improves performance by guaranteeing linear time parsing and fixes long parse times in Safari in particular (which seems to have a slow regex backtracking implementation). Benchmarks show a 3x performance improvement over Autolinker 3.x.x.
  • IP addresses are now linked without a scheme (such as 'http://') prefixed to it. urls.ipV4Matches option controls this behavior.

Breaking Changes:

See https://github.com/gregjacobs/Autolinker.js#upgrading-from-v3x---v4x-breaking-changes

v3.16.2

07 Sep 20:18
Compare
Choose a tag to compare
  • Reverted attempted fix for RTLO characters splitting links into two (from #377 / #386) because it prevents use of any RTLO characters with Autolinker. Will have to come up with a new way of fixing this issue.