Skip to content

Commit e5e1b7e

Browse files
committed
Release v4.1.0
1 parent 6ee1d63 commit e5e1b7e

File tree

3 files changed

+20
-1
lines changed

3 files changed

+20
-1
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
1+
## [4.1.0] - 2021-08-02
2+
3+
- Fix loose URL not being parsed if the text have a non loose URL ([#42](https://github.com/Cretezy/linkify/pull/42), thanks [@EsteveAguilera](https://github.com/EsteveAguilera)!)
4+
- User Tagging Linkifier ([#38](https://github.com/Cretezy/linkify/pull/38), thanks [@HSCOGT](https://github.com/HSCOGT)!)
5+
16
## [4.0.0] - 2021-03-04
27

38
- Add null-safety support. Now required Dart >=2.12
49

10+
511
## [3.0.0] - 2020-11-05
612

713
- Expand parsing to `www.` URLs ([#21](https://github.com/Cretezy/linkify/pull/21), thanks [@SpencerLindemuth](https://github.com/SpencerLindemuth)!)

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,19 @@ linkify("https://cretezy.com", options: LinkifyOptions(humanize: false));
4444
- `defaultToHttps`: When used with [looseUrl], default to `https` instead of `http`
4545
- `excludeLastPeriod`: Excludes `.` at end of URLs
4646

47+
### Linkifiers
48+
49+
You can pass linkifiers to `linkify` as such:
50+
51+
```dart
52+
linkify("@cretezy", linkifiers: [UserTagLinkifier()]);
53+
```
54+
55+
Available linkifiers:
56+
- `EmailLinkifier`
57+
- `UrlLinkifier`
58+
- `UserTagLinkifier`
59+
4760

4861
## Custom Linkifier
4962

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: linkify
22
description: Low-level link (text, URLs, emails, user tagging) parsing library in Dart.
3-
version: 4.0.0
3+
version: 4.1.0
44
homepage: https://github.com/Cretezy/linkify
55

66
environment:

0 commit comments

Comments
 (0)