Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update module github.com/mvdan/xurls to v2 #16

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Oct 24, 2023

Mend Renovate

This PR contains the following updates:

Package Type Update Change
github.com/mvdan/xurls require major v1.1.0 -> v2.5.0

Release Notes

mvdan/xurls (github.com/mvdan/xurls)

v2.5.0

Compare Source

  • Add xurls -fix=all to replace URLs with temporary redirects as well
  • xurls -fix now shows more detailed info on broken URLs
  • xurls -fix now uses the method HEAD before falling back to GET
  • xurls -fix now provides a meaningful User-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

Compare Source

  • Optimize regular expressions, such as by using non-capturing groups
  • Add more unofficial schemes: gemini and moz-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 redirects
  • xurls -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

Compare Source

  • 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, and zoommtg
  • 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

Compare Source

  • 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

Compare Source

  • Allow Relaxed to match punycode TLDs
  • Support URLs in between * and _ markdown syntax
  • Don't allow | as part of a URL's path
  • Fix a crash with cmd/xurls and large inputs
  • Update lists of TLDs and schemes

Binaries built on go version go1.13 linux/amd64.

v2.0.0

Compare Source

  • Convert to a Go module, now mvdan.cc/xurls/v2
  • Convert Strict and Regexp to functions
  • Make Strict only accept well known schemes
  • Add AnyScheme to get the old Strict behavior
  • Allow all \p{Po} (other punctuation) chars in URLs

Binaries built on go version go1.11.1 linux/amd64.


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate
Copy link
Contributor Author

renovate bot commented Oct 24, 2023

⚠ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: go.sum
Command failed: docker run --rm --name=renovate_a_sidecar --label=renovate_a_child --memory=3584m -v "/tmp/worker/70cd93/6c7545/repos/github/tyzbit/go-discord-archiver":"/tmp/worker/70cd93/6c7545/repos/github/tyzbit/go-discord-archiver" -v "/tmp/worker/70cd93/6c7545/cache":"/tmp/worker/70cd93/6c7545/cache" -e GOPATH -e GOPROXY -e GOSUMDB -e GOFLAGS -e CGO_ENABLED -e GIT_CONFIG_KEY_0 -e GIT_CONFIG_VALUE_0 -e GIT_CONFIG_KEY_1 -e GIT_CONFIG_VALUE_1 -e GIT_CONFIG_KEY_2 -e GIT_CONFIG_VALUE_2 -e GIT_CONFIG_COUNT -e CONTAINERBASE_CACHE_DIR -w "/tmp/worker/70cd93/6c7545/repos/github/tyzbit/go-discord-archiver" ghcr.io/containerbase/sidecar:9.23.5 bash -l -c "install-tool golang 1.21.3 && go get -d -t ./... && go mod vendor"
go: github.com/mvdan/xurls/[email protected]: parsing go.mod:
	module declares its path as: mvdan.cc/xurls/v2
	        but was required as: github.com/mvdan/xurls/v2

@tyzbit tyzbit closed this Oct 24, 2023
@renovate
Copy link
Contributor Author

renovate bot commented Oct 24, 2023

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future 2.x releases. But if you manually upgrade to 2.x then Renovate will re-enable minor and patch updates automatically.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

@renovate renovate bot deleted the renovate/github.com-mvdan-xurls-2.x branch October 24, 2023 14:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant