Releases: nuxt-modules/robots
v4.1.2
🐞 Bug Fixes
- Avoid breaking change in `getPathRobotConfix: incorrect robot meta tag - by @harlan-zw (2801b)
- Show debug in meta tag if debug is enabled - by @harlan-zw (0b672)
- Fast path for when group is not indexable - by @harlan-zw (f5829)
View changes on GitHub
v4.1.1
🐞 Bug Fixes
- Avoid breaking change in
getPathRobotConfig
- by @harlan-zw (be5f7)
View changes on GitHub
v4.1.0
In this release, we introduce a new Nuxt config header
which allows you to control whether or not the X-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
🐞 Bug Fixes
- Improved robots.txt matching - by @harlan-zw in #136 (e5b91)
View changes on GitHub
v4.0.2
v4.0.1
No significant changes
View changes on GitHub
v4.0.0
🎉 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
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. AnyBlankLine
orComment
rules will no longer work. - Using
CleanParam
,CrawlDelay
andDisavow
requires targeting the Yandex user agent.
🚨 Breaking Changes
- Merge with nuxt-simple-robots - by @harlan-zw in #124 (13856)
🐞 Bug Fixes
- Stub in mock composables when module disabled - by @harlan-zw (36e23)
- devtools: Avoid infinite recursion - by @harlan-zw (cbdac)
View changes on GitHub
v4.0.0-rc.23
v4.0.0-rc.22
No significant changes
View changes on GitHub
v4.0.0-rc.21
🚨 Breaking Changes
- Merge with nuxt-simple-robots - by @harlan-zw in #124 (13856)
🚀 Features
🐞 Bug Fixes
- Stub in mock composables when module disabled - by @harlan-zw (36e23)
View changes on GitHub
v3.0.0
🩹 Fixes
- Only prerender for static target (#75)
🏡 Chore
- Update deps (49654ab)
❤️ Contributors
- Ricardo Gobbo De Souza [email protected]
- Jonas Thelemann [email protected]