build(deps): bump unhead + @unhead/vue to v3.0.0#3948
build(deps): bump unhead + @unhead/vue to v3.0.0#3948PierreBrisorgueil merged 3 commits intomasterfrom
Conversation
Bumps both packages to v3.0.2 together — @unhead/vue depends on unhead and both must share the same major version. Supersedes #3934 and #3937. No code migration required: - createHead still imported from '@unhead/vue/client' (supported path) - useHead calls only use standard properties (title, meta, link, script, htmlAttrs) — no deprecated children/hid/vmid/body/mode props - No useServerHead* usage - No Vite unhead plugin in use Verified: lint, 897 unit tests (coverage 99%+), production build.
|
Warning Rate limit exceeded
Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 20 minutes and 13 seconds. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (1)
WalkthroughThe PR updates Unhead-related dependencies to major version 3.0.0. Both Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes 🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #3948 +/- ##
=======================================
Coverage 99.46% 99.46%
=======================================
Files 29 29
Lines 940 940
Branches 252 252
=======================================
Hits 935 935
Misses 5 5 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Pull request overview
Updates the project’s head management stack by upgrading @unhead/vue and unhead to the v3 major line to keep the framework wrapper and core package aligned.
Changes:
- Bump
@unhead/vuefrom^2.1.13to^3.0.0. - Bump
unheadfrom^2.1.13to^3.0.0. - Regenerate
package-lock.jsonto resolve to v3.0.2 and capture updated transitive dependencies.
Reviewed changes
Copilot reviewed 1 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| package.json | Updates @unhead/vue and unhead dependency ranges to v3. |
| package-lock.json | Locks resolved versions (notably @unhead/vue@3.0.2 / unhead@3.0.2) and updates the dependency graph accordingly. |
|
@coderabbitai review |
✅ Actions performedReview triggered.
|
Per Copilot review: unhead is not imported directly anywhere in the codebase (only @unhead/vue and @unhead/vue/client are). It remains installed transitively via @unhead/vue, still resolved to 3.0.2.
Summary
unheadand@unhead/vuefrom^2.1.13to^3.0.0(resolved to 3.0.2) in a single coordinated PR.@unhead/vuedepends onunheadand both must share the same major version — mixing v2/v3 will break. Supersedes and replaces the two separate Dependabot PRs build(deps): bump @unhead/vue from 2.1.13 to 3.0.0 #3934 and build(deps): bump unhead from 2.1.13 to 3.0.0 #3937.Scope
src/main.js,src/modules/app/app.vue,src/modules/home/components/home.faq.component.vue(runtime usage — no code changes required)nonelowv3 breaking changes audit
@unhead/vue/legacydeprecated@unhead/vue/clientuseServerHead*removedchildren/hid/vmid/body: true/moderemovedtitle,htmlAttrs,meta,link,script.innerHTMLNo downstream-visible behavioral change — no
MIGRATION.mdentry required.Validation
npm run lintnpm run test:unit— 897/897 passing, coverage 99.07% stmts / 93.93% branches / 98.72% funcs / 99.49% linesnpm run buildsrc/for all deprecated v3 properties — none foundGuardrails check
useHeadcall shape)Optional: Infra/Stack alignment details
Before vs After (key changes only)
unhead@unhead/vueNotes for reviewers
Summary by CodeRabbit