Skip to content

Releases: gregjacobs/Autolinker.js

v.3.0.0

23 Jan 05:16
Compare
Choose a tag to compare

Main Changes:

  • Replaced the RegExp-based HTML Parser and EmailMatcher with linear-time state machine parsers (PRs #259 and #260). Closes #257, and improves performance across the board, especially with large strings

Breaking Changes:

  • Removed HtmlParser class, replacing with an internal parseHtml() function

v2.2.2

10 Jan 05:08
Compare
Choose a tag to compare

Use tslib dependency to remove duplicate __extends function in minified file. Saves 3kb

v2.2.1

28 Dec 05:23
Compare
Choose a tag to compare
  • Increase Twitter mention length from 20 to 50 characters (Twitter usernames may now be 50 characters)
  • Fix issue with mentions and hashtags where partial mentions/hashtags could be linked if they were above the prescribed number of allowed characters

v2.2.0

28 Dec 02:45
Compare
Choose a tag to compare
  • Allow unicode combining marks in URLs

v2.1.0

27 Dec 23:22
Compare
Choose a tag to compare
  • Re-add getPhoneNumber() method to PhoneMatch. This method name is a bit more clear than getNumber(). Left getNumber() for backward compatibility

v2.0.0

27 Dec 22:46
Compare
Choose a tag to compare
  • Convert codebase to TypeScript
  • Add type declaration files to output
  • Add commonjs / es2015 output in addition to the UMD output from v1.x
  • Allow Autolinker to be imported using the ES6 import keyword, as well as other entities like Matcher, Match, etc.
  • Allow Autolinker to work within webpack without any shimming
  • Fix issue with minification of unicode escape sequences used in regular expression character classes
  • Upgrade gulp from v3 to v4
  • Update TLD regex
  • Add integration tests for loading with Node.js's require(), ES6/TypeScript import, UMD output file in browsers, and Webpack
  • Move live example to root-level folder
  • Add test to make sure the live example is working

Closes #254

v1.8.3

19 Dec 23:56
Compare
Choose a tag to compare
  • skip parsing the contents of <style> and <script> tags (thanks @examan!)

Accidental tag - ignore

19 Dec 23:55
Compare
Choose a tag to compare
v1.8.2

v1.8.2

v1.8.1

18 Nov 01:53
Compare
Choose a tag to compare

Re-add dist/ folder for bower compatibility

v1.8.0

18 Nov 01:53
Compare
Choose a tag to compare

Add support for soundcloud mentions (thanks @Superjo149)