Skip to content

v2.0.0

Compare
Choose a tag to compare
@zerodevx zerodevx released this 06 Feb 14:47
· 24 commits to main since this release

V2 has landed, and it's on steroids! 🥳

Here are the changes.

BREAKING:

  • Detecting noindex meta is now more performant and is enabled by default - thanks @davwheat for the first implementation! 🥂
  • Save the files sitemap.xml and sitemap.txt into the --root directory directly by default.
  • Base URL is now passed with the -b, --base <url> option.
  • New programmatic API and module is now ESM only.
  • Options can be set externally.
  • A bunch of option changes:
    • --match is deprecated; use -i, --ignore <glob...> instead.
    • --no-clean and --slash aliases removed.
    • --save and --output-dir are deprecated.
    • --text is deprecated; use -f, --format <xml|txt|both> instead.
    • Use -o, --stdout to output to stdout instead of saving directly.
    • glob-[*] pairs are now comma-separated.

TOOLING:

  • CLI migrated from oclif to commander.
  • Linting changed from standard to prettier.
  • Testing uses ava.