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 #5206

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

Conversation

openverse-bot
Copy link
Collaborator

@openverse-bot openverse-bot commented Nov 28, 2024

This PR contains the following updates:

Package Type Update Change
@nuxtjs/robots (source) dependencies major ^4.0.2 -> ^5.0.0

Release Notes

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

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 - "* 0-3 1 * *" (UTC), 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 has been generated by Renovate Bot.

@openverse-bot openverse-bot requested a review from a team as a code owner November 28, 2024 15:08
@openverse-bot openverse-bot added the dependencies Pull requests that update a dependency file label Nov 28, 2024
@openverse-bot openverse-bot added 💻 aspect: code Concerns the software code in the repository 🟨 tech: javascript Involves JavaScript 🟩 priority: low Low priority and doesn't need to be rushed 🧰 goal: internal improvement Improvement that benefits maintainers, not users 🧱 stack: frontend Related to the Nuxt frontend labels Nov 28, 2024
Copy link

github-actions bot commented Nov 28, 2024

Latest k6 run output1

     ✓ status was 200

     checks.........................: 100.00% ✓ 6400      ✗ 0   
     data_received..................: 1.5 GB  8.1 MB/s
     data_sent......................: 838 kB  4.6 kB/s
     http_req_blocked...............: avg=20.72µs  min=1.91µs  med=3.62µs   max=8.27ms  p(90)=5.22µs   p(95)=5.65µs  
     http_req_connecting............: avg=15.18µs  min=0s      med=0s       max=8.24ms  p(90)=0s       p(95)=0s      
     http_req_duration..............: avg=637.34ms min=49.51ms med=555.85ms max=2.4s    p(90)=1.14s    p(95)=1.25s   
       { expected_response:true }...: avg=637.34ms min=49.51ms med=555.85ms max=2.4s    p(90)=1.14s    p(95)=1.25s   
   ✓ http_req_failed................: 0.00%   ✓ 0         ✗ 6400
     http_req_receiving.............: avg=146.09µs min=42.74µs med=111.43µs max=22.41ms p(90)=179.61µs p(95)=214.21µs
     http_req_sending...............: avg=23.95µs  min=6.38µs  med=18.54µs  max=19.92ms p(90)=24.59µs  p(95)=26.7µs  
     http_req_tls_handshaking.......: avg=0s       min=0s      med=0s       max=0s      p(90)=0s       p(95)=0s      
     http_req_waiting...............: avg=637.17ms min=49.37ms med=555.71ms max=2.4s    p(90)=1.14s    p(95)=1.25s   
     http_reqs......................: 6400    34.842916/s
     iteration_duration.............: avg=3.4s     min=1.03s   med=2.95s    max=9.11s   p(90)=6.62s    p(95)=7s      
     iterations.....................: 1200    6.533047/s
     vus............................: 10      min=10      max=30
     vus_max........................: 30      min=30      max=30

Footnotes

  1. This comment will automatically update with new output each time k6 runs for this PR

@openverse-bot openverse-bot changed the title Update dependency @nuxtjs/robots to v5 fix(deps): update dependency @nuxtjs/robots to v5 Nov 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💻 aspect: code Concerns the software code in the repository dependencies Pull requests that update a dependency file 🧰 goal: internal improvement Improvement that benefits maintainers, not users 🟩 priority: low Low priority and doesn't need to be rushed 🧱 stack: frontend Related to the Nuxt frontend 🟨 tech: javascript Involves JavaScript
Projects
Status: 👀 Needs Review
Development

Successfully merging this pull request may close these issues.

1 participant