Skip to content

v4.0.0

Compare
Choose a tag to compare
@gregjacobs gregjacobs released this 07 Sep 22:31
· 101 commits to master since this release
  • 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