Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update dependency @nuxtjs/robots to v5 #93

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Nov 24, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@nuxtjs/robots (source) 4.1.3 -> 5.2.0 age adoption passing confidence

Release Notes

nuxt-modules/robots (@​nuxtjs/robots)

v5.2.0

Compare Source

   🚀 Features
    View changes on GitHub

v5.1.1

Compare Source

   🐞 Bug Fixes
    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 add X-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

    ⚠️ Deprecations
   🚀 Features
   🐞 Bug Fixes
    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.

⚠️ Breaking Features

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 config

The v4 of Nuxt Robots provided a backward compatibility rules config. As it was deprecated, this is no longer supported. If you're using rules, you should migrate to the groups config or use a robots.txt file.

export default defineNuxtConfig({
	robots: {
-    	rules: {},
+    	groups: {}
	}
})
Removed defineRobotMeta composable

This 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.

- defineRobotMeta(true)
+ useRobotsRule(true)
Removed RobotMeta component

This component was a simple wrapper for defineRobotMeta, you should use useRobotsRule() if you wish to control the robots rule.

Removed index, indexable config

When configuring robots using route rules or Nuxt Content you could control the robot's behavior by providing index or indexable rules.

These are no longer supported and you should use robots key.

export default defineNuxtConfig({
  routeRules: {
    // use the `index` shortcut for simple rules
-    '/secret/**': { index: false },
+    '/secret/**': { robots: false },
  }
})

🚀 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.

export default defineNuxtConfig({
  robots: {
    blockAiBots: true
  }
})

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
    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
    View changes on GitHub

v4.1.8

Compare Source

   🐞 Bug Fixes
    View changes on GitHub

v4.1.7

Compare Source

   🐞 Bug Fixes
    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

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.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the renovate label Nov 24, 2024
@renovate renovate bot force-pushed the renovate/nuxtjs-robots-5.x branch from d357add to 9dee593 Compare November 25, 2024 21:38
@renovate renovate bot force-pushed the renovate/nuxtjs-robots-5.x branch 2 times, most recently from 8e9be4f to c09ad27 Compare December 9, 2024 03:27
@renovate renovate bot force-pushed the renovate/nuxtjs-robots-5.x branch 2 times, most recently from 07ae9f6 to 07596c4 Compare December 23, 2024 02:31
@renovate renovate bot force-pushed the renovate/nuxtjs-robots-5.x branch from 07596c4 to 98a3aff Compare December 30, 2024 03:21
@renovate renovate bot force-pushed the renovate/nuxtjs-robots-5.x branch from 98a3aff to 1a028ca Compare January 14, 2025 04:51
@renovate renovate bot force-pushed the renovate/nuxtjs-robots-5.x branch from 1a028ca to 6968177 Compare January 19, 2025 08:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant