Update dependency @nuxtjs/robots to v5 #58
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^3.0.0
->^5.2.2
Release Notes
nuxt-modules/robots (@nuxtjs/robots)
v5.2.2
Compare Source
🐞 Bug Fixes
View changes on GitHub
v5.2.1
Compare Source
🐞 Bug Fixes
@nuxtjs/robots/content
- by @harlan-zw (d632b)View changes on GitHub
v5.2.0
Compare Source
🚀 Features
View changes on GitHub
v5.1.1
Compare Source
🐞 Bug Fixes
useRobotsRule()
- by @harlan-zw (29992)View changes on GitHub
v5.1.0
Compare Source
✨ v5.1.0
🤖 No Index Build Directory
This minor version introduces improvements around your nuxt asset build directory getting indexed (
/_nuxt/*
). It will now addX-Robots-Tag
to these files and make sure they don't end up on Google.If you have these paths ignored for your robots.txt the module will warn you as they need to be accessible by robots to crawl your pages correctly.
To accommodate this feature the
disallowNonIndexableRoutes
config has been deprecated and set to false by default (previously true). You may notice your robots.txt has different output but your site indexing will remain the same.Changelog
disallowNonIndexableRoutes
- by @harlan-zw in https://github.com/nuxt-modules/robots/issues/173 (53928)🚀 Features
noindex
header for build asset dir/_nuxt
- by @harlan-zw in https://github.com/nuxt-modules/robots/issues/174 (1253c)🐞 Bug Fixes
/_nuxt
or/api
paths in robots.txt - by @harlan-zw (1293a)View changes on GitHub
v5.0.1
Compare Source
🐞 Bug Fixes
View changes on GitHub
v5.0.0
Compare Source
Introduction
The v5 major of Nuxt Robots is a simple release to remove deprecations and add support for the Nuxt SEO v2 stable.
Site Config v3
Nuxt Site Config is a module used internally by Nuxt Robots.
The major update to v3.0.0 shouldn't have any direct effect on your site, however, you may want to double-check
the breaking changes.
Removed
rules
configThe v4 of Nuxt Robots provided a backward compatibility
rules
config. As it was deprecated, this is no longer supported. If you're usingrules
, you should migrate to thegroups
config or use a robots.txt file.Removed
defineRobotMeta
composableThis composable didn't do anything in v4 as the robots meta tag is enabled by default. If you'd like to control the robot meta tag rule, use the
useRobotsRule()
composable.Removed
RobotMeta
componentThis component was a simple wrapper for
defineRobotMeta
, you should useuseRobotsRule()
if you wish to control the robots rule.Removed
index
,indexable
configWhen configuring robots using route rules or Nuxt Content you could control the robot's behavior by providing
index
orindexable
rules.These are no longer supported and you should use
robots
key.🚀 Features
Config
blockAiBots
AI crawlers can be beneficial as they can help users finding your site, but for some educational sites or those not
interested in being indexed by AI crawlers, you can block them using the
blockAIBots
option.This will block the following AI crawlers:
GPTBot
,ChatGPT-User
,Claude-Web
,anthropic-ai
,Applebot-Extended
,Bytespider
,CCBot
,cohere-ai
,Diffbot
,FacebookBot
,Google-Extended
,ImagesiftBot
,PerplexityBot
,OmigiliBot
,Omigili
Changelog
🚨 Breaking Changes
🚀 Features
blockAiBots
config - by @harlan-zw in https://github.com/nuxt-modules/robots/issues/166 (aa827)View changes on GitHub
v4.1.11
Compare Source
No significant changes
View changes on GitHub
v4.1.10
Compare Source
🐞 Bug Fixes
View changes on GitHub
v4.1.9
Compare Source
🐞 Bug Fixes
/robots.txt
when using baseURL - by @harlan-zw (c8958)View changes on GitHub
v4.1.8
Compare Source
🐞 Bug Fixes
View changes on GitHub
v4.1.7
Compare Source
🐞 Bug Fixes
/robots.txt
- by @harlan-zw (6e7fd)View changes on GitHub
v4.1.6
Compare Source
No significant changes
View changes on GitHub
v4.1.5
Compare Source
No significant changes
View changes on GitHub
v4.1.4
Compare Source
🐞 Bug Fixes
View changes on GitHub
v4.1.3
Compare Source
🐞 Bug Fixes
View changes on GitHub
v4.1.2
Compare Source
🐞 Bug Fixes
View changes on GitHub
v4.1.1
Compare Source
🐞 Bug Fixes
getPathRobotConfig
- by @harlan-zw (be5f7)View changes on GitHub
v4.1.0
Compare Source
In this release, we introduce a new Nuxt config
header
which allows you to control whether or not theX-Robots-Tag
header will be added.We also made improvements around matching the robots.txt rules to add the meta tag and header automatically. Previously only limited path matching was done, leading to issues when using query params or wildcards. This now also gives us the ability to see exactly which robots.txt rule is blocking the page from being crawled.
🚀 Features
header
, disable settingX-Robots-Tag
header - by @HADB in https://github.com/nuxt-modules/robots/issues/134 (40bc6)🐞 Bug Fixes
View changes on GitHub
v4.0.3
Compare Source
v4.0.2
Compare Source
🐞 Bug Fixes
@nuxt/content
integration - by @harlan-zw (50506)View changes on GitHub
v4.0.1
Compare Source
No significant changes
View changes on GitHub
v4.0.0
Compare Source
🎉 v4: Merge with Nuxt Simple Robots
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
v3If 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.configPath
config is no longer supported. For custom runtime config you should use Nitro Hooks.rules
config is deprecated but will continue to work. AnyBlankLine
orComment
rules will no longer work.CleanParam
,CrawlDelay
andDisavow
requires targeting the Yandex user agent.🚨 Breaking Changes
🐞 Bug Fixes
View changes on GitHub
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.
This PR was generated by Mend Renovate. View the repository job log.