Since Nuxt 1, Nuxt Robots has been powering sites /robots.txt through simple minimal config. As robots have changed over the years, there are new requirements on how we generate these rules and talk to robots.
The v4 of Nuxt Robots is here and it's a merge of the popular nuxt-simple-robots module that was made for Nuxt v3 as is part of Nuxt SEO. It brings powerful new DX to managing the robots crawling your site, including interactive DevTools, powerful Nuxt and Nitro composables and integration with Nuxt Content and Nuxt I18n.
Migrating from nuxt-simple-robots
Please remove the dependency from your package.json and Nuxt config and then follow the Installation guide. No other breaking changes exist.
Migrating from @nuxtjs/robots v3
If you're only using the rules config, a best effort has been made for a seamless migration where no config changes are required. It's recommended you familiarizing yourself with How Nuxt Robots Works.
The configPath config is no longer supported. For custom runtime config you should use Nitro Hooks.
The rules config is deprecated but will continue to work. Any BlankLine or Comment rules will no longer work.
Using CleanParam, CrawlDelay and Disavow requires targeting the Yandex user agent.
This version was pushed to npm by harlan_zw, a new releaser for @nuxtjs/robots since your current version.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps @nuxtjs/robots from 2.5.0 to 4.0.0.
Release notes
Sourced from
@nuxtjs/robots
's releases.... (truncated)
Commits
01016a3
chore: release v4.0.04aa3938
chore: release v4.0.0-rc.236dd0464
chore: bump depsaa80eb9
chore: Nuxt Simple Robots -> Nuxt Robotscbdac3b
fix(devtools): avoid infinite recursion1566dd9
chore: release v4.0.0-rc.22ef5f77a
chore(deps): update all non-major dependencies801fb09
chore: release v4.0.0-rc.21a4d15b7
chore: bump deps36e23da
fix: stub in mock composables when module disabledMaintainer changes
This version was pushed to npm by harlan_zw, a new releaser for
@nuxtjs/robots
since your current version.Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show