v4.0.0
- 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