- Upgrade to Dart 3
- Merge Add Origin Text (#47)
- Merge Support UserTagLinkifier on Safari (#48)
- Merge Add quotation marks to loose url regex (#50)
- Merge Remove
pubspec.lock
from.gitignore
(#51) - Merge Support UserTagLinkifier on Safari (#52)
- Fix loose URL not being parsed if the text have a non loose URL (#42, thanks @EsteveAguilera!)
- User Tagging Linkifier (#38, thanks @HSCOGT!)
- Add null-safety support. Now required Dart >=2.12
- Expand parsing to
www.
URLs (#21, thanks @SpencerLindemuth!) - Add
\r
parsing, requires Dart >=2.4 (#26, thanks @hpoul!) - Update loose URL regex to make it more reliable (thanks for the suggestion @olestole!)
Major version has been bumped:
- Minimum Dart version was upgraded
- Loose URL regex update may change behavior for some use-cases. Please open an issue if you find more issues!
- Non-loose will now parse URLs starting with
www.
, changing behavior
- Add loose URL option (
looseUrl
)- Parses any URL containing
.
- Defaults to
http
URLs. Can usehttps
by enabling thedefaultToHttps
option
- Parses any URL containing
- Added
www.
removal (removeWww
)- Removes URLs prefixed with
www.
- Removes URLs prefixed with
- Added exclusion of last period (
excludeLastPeriod
, enabled by default)- Parses
https://example.com.
ashttps://example.com
- Parses
- Fix more minor lint issues
- Remove extra
print
- Fix minor lint issues
- Export
defaultLinkifiers
- Change
LinkTypes
toLinkifier
- Supports custom linkifiers
- Change
LinkElement
toUrlElement
to better reflectUrlLinkifier
(link != URL) - Change
humanize
option toLinkifyOptions
- Enabled
humanize
by default
- Republish to fix maintenance score
- Initial release