Releases: robinst/autolink-java
Releases · robinst/autolink-java
autolink-0.11.0
Changed
- Modular JAR: Require at least Java 9 and add a module descriptor (module-info),
remove no longer necessaryAutomatic-Module-Name
header
autolink-0.10.1
Changed
- Bump maven plugin versions
autolink-0.10.0
Changed
- Stop URLs at '`' characters too, same as < and >
- Build and test on Java 11
autolink-0.9.0
Added
- Add
extractSpans
method that also returns the text pieces of the
input before, between and after links. This makes it more convenient
to write code that transforms the whole input text without having to
manually keep track of indexes.
Changed
autolink-0.8.0
Changed
- Add
Automatic-Module-Name
manifest entry so that library can be used
nicely in Java 9 modules
autolink-0.7.0
autolink-0.6.0
- New feature to extract links like
www.example.com
as well (no need forhttp://
, but must start withwww.
). This results a link with typeLinkType.WWW
. To opt out of this, specify which link types should be extracted by calling thelinkTypes
method on the builder. Thanks to @MTDdk for contributing this!
autolink-0.5.0
- Stop URLs at more invalid characters, notably '<' and '>' (#7). According to RFC 3987, angle brackets are not allowed in URLs, and other linkers don't seem to allow them either.
autolink-0.4.0
autolink-0.3.0
Changes:
- Stop recognizing "abc://foo" in "1abc://foo". A digit doesn't feel enough like a separator, it's more like an invalid scheme.