Skip to content

v0.2.1

Compare
Choose a tag to compare
@dcastro dcastro released this 24 Sep 08:16
· 178 commits to master since this release
08dd61b

New features

  • Add support for FTP / FTPS.
  • Handle "429 Too Many Requests" - backoff and retry.
  • Ignore localhost links by default.
    • This can be disabled by editing the option ignoreRefs.
  • Add the option ignoreAuthFailures.
    • When enabled, it assumes links that return "401 Unauthorized" or "403 Forbidden" are valid.
    • Enabled by default.
  • Add support for the id attribute in anchors tags inside headers.
  • The ignored and notScanned options now accept glob patterns.

Bug fixes and improvements

  • All config options are now optional.
  • Handle links with non-encoded [ and ] in the query string.
  • Ensure --root is a directory and not a file.
  • Fix bug when prefixing --ignored and --root paths with ./.
  • Fix bug when suffixing --root paths with /.
  • Improve parsing of anchor html tags inside headers.
  • Cache verification results, avoid verifying the same link twice.
  • Instead of stopping when a scanning error is encountered, continue and print all scanning errors to stdout.

Migrating from 0.2

  • You can now delete all config fields that you're not using from .xrefcheck.yaml / xrefcheck.yaml. Their default values will be used.
  • If you were using the ignored / notScanned config options or the --ignored CLI option, please replace their arguments with glob patterns.
    • E.g., to ignore a directory, replace --ignored dir with --ignored dir/**/*