Releases: mvdan/xurls
Releases · mvdan/xurls
v2.5.0
Add xurls -fix=all
to replace URLs with temporary redirects as wellxurls -fix
now shows more detailed info on broken URLsxurls -fix
now uses the methodHEAD
before falling back toGET
xurls -fix
now provides a meaningfulUser-Agent
header- Add a
xurls -version
flag - Update lists of TLDs and schemes
Binaries built on go version go1.20.3 linux/amd64
with:
CGO_ENABLED=0 go build -trimpath -ldflags="-w -s -X=main.version=v2.5.0"
Consider becoming a sponsor if you benefit from the work that went into this release!
v2.4.0
- Optimize regular expressions, such as by using non-capturing groups
- Add more unofficial schemes:
gemini
andmoz-extension
- Fix false negatives with trailing symbols and bracketed IPs
- Fix a bug where
xurls -fix
could corrupt an input file xurls -fix
now only rewrites permanent redirectsxurls -fix
now checks URLs concurrently within each file- Update lists of TLDs and schemes
A special thanks to @gibson042, @raphaelreyna, @Seirdy and @dnkl for their contributions!
Binaries built on go version go1.17.7 linux/amd64
via a shell script.
Consider becoming a sponsor if you benefit from the work that went into this release!
v2.3.0
- Allow
Relaxed
to match email addresses once again - ASCII TLDs require a word break once again
- Double quotes are no longer allowed in URLs to avoid false positives
- Add more unofficial schemes such as
cid
,mid
, andzoommtg
- Update lists of TLDs and schemes
Binaries built on go version go1.16.6 linux/amd64
via a shell script.
Consider becoming a sponsor if you benefit from the work that went into this release!
v2.2.0
- Improve support for matching non-ASCII TLDs
- Allow underscores to end a URL, which is possible on sites like Youtube
- Add
xurls -fix
to fix HTTP URLs in plaintext files which redirect or can't be reached - Update lists of TLDs and schemes
Binaries built on go version go1.14.2 linux/amd64
.
v2.1.0
v2.0.0
- Convert to a Go module, now
mvdan.cc/xurls/v2
- Convert
Strict
andRegexp
to functions - Make
Strict
only accept well known schemes - Add
AnyScheme
to get the oldStrict
behavior - Allow all
\p{Po}
(other punctuation) chars in URLs
Binaries built on go version go1.11.1 linux/amd64
.