Skip to content

Releases: mvdan/xurls

v0.8.0

14 Sep 03:47
Compare
Choose a tag to compare
v0.8.0 Pre-release
Pre-release
  • Renamed StrictMatching to StrictMatchingScheme
  • Add # as valid end character (empty fragment)
  • Add = as valid end character (for base64)
  • Wrap exported regexes in parenthesis
  • Add IANA special use domain names to PseudoTLDs
  • Update TLDs

v0.7.0

12 Aug 06:26
Compare
Choose a tag to compare
v0.7.0 Pre-release
Pre-release
  • Add file: as a valid scheme
  • Make StrictMatching be case insensitive
  • Add support for matching brackets, just like parenthesis
  • Export SchemesNoAuthority
  • Update TLDs

v0.6.0

10 Jul 00:33
Compare
Choose a tag to compare
v0.6.0 Pre-release
Pre-release
  • Improve support for well-parenthesized urls
  • Properly ignore non-letter characters like non-breaking space
  • Better support for numbers and symbols via regex unicode character classes
  • Add | and remove " as valid characters
  • Remove #, = and @ as valid ending characters

v0.5.1

20 Jun 21:03
Compare
Choose a tag to compare
v0.5.1 Pre-release
Pre-release
  • cmd/xurls
    • Improve help text to explain file arguments
    • Abort if we cannot open a file

v0.5.0

15 Jun 16:43
Compare
Choose a tag to compare
v0.5.0 Pre-release
Pre-release
  • Add .gnu and .zkey as pseudo-TLDs
  • Add go test benchmarks
  • cmd/xurls
    • Allow passing of files as arguments

v0.4.1

03 May 21:41
Compare
Choose a tag to compare
v0.4.1 Pre-release
Pre-release
  • Don't panic if the scheme regexp given to StrictMatching fails to compile
  • cmd/xurls
    • -m followed by an invalid regexp would panic due to the bug above

v0.4.0

23 Apr 22:41
Compare
Choose a tag to compare
v0.4.0 Pre-release
Pre-release
  • Rename AllStrict to Strict and All to Relaxed
  • Add StrictMatching(string) for creating a strict regex with a custom scheme regular expression
  • cmd/xurls
    • Use Strict by default, replace -s for "strict" with -r for "relaxed"
    • Add -m for specifying a scheme matching regex
    • Better usage/help output

v0.3.0

19 Apr 13:43
Compare
Choose a tag to compare
v0.3.0 Pre-release
Pre-release
  • Add support for arbitrary protocols with schemes
  • Remove -e flag (to be reworked into a better flag soon)
  • Add -s flag for only matching URLs with schemes
  • Update known TLD list
  • Drop chars like .,:;!?'" if at the end of the URL
  • Drop ) if at the end of the URL and not well parenthesized
  • Fix false positives like :: or randomxmpp:foo

v0.2.1

09 Mar 14:38
Compare
Choose a tag to compare
v0.2.1 Pre-release
Pre-release
  • Add pseudo-tlds (.onion, .i2p, ...)
  • Remove ascii-encoded internationalized tlds from tlds.go
  • Better and easier go generate code generation
  • cmd/xurls: Read input by words instead of lines

v0.2

07 Feb 03:18
Compare
Choose a tag to compare
v0.2 Pre-release
Pre-release
  • Update TLD list via golang and go generate
  • Make go generate also build regex strings