This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| @unhead/vue (source) | ^1.11.20 -> ^2.0.0 | ||||
| unhead (source) | ^1.11.20 -> ^2.0.0 |
Release Notes
unjs/unhead (@​unhead/vue)
v2.0.0
Unhead v2 🎉
The latest major is now stable! Check out the v2 release notes and the Vue migration guide or TypeScript migration guide.
🚨 Breaking Changes
- Only handle promise input when opted in - by @harlan-zw in https://github.com/unjs/unhead/issues/445 <samp>(af0af)</samp>
- Client / server subpaths - by @harlan-zw in https://github.com/unjs/unhead/issues/448 <samp>(49634)</samp>
- Drop implicit context - by @harlan-zw in https://github.com/unjs/unhead/issues/459 <samp>(7fc77)</samp>
- Property debounce dom updates - by @harlan-zw <samp>(c97ec)</samp>
- Properly debounce dom updates - by @harlan-zw in https://github.com/unjs/unhead/issues/475 <samp>(3141d)</samp>
- Drop
CJSexports - by @harlan-zw in https://github.com/unjs/unhead/issues/482 <samp>(0f14f)</samp> - V2 core rewrite - by @harlan-zw in https://github.com/unjs/unhead/issues/488 <samp>(2f85b)</samp>
- core:
- Remove
HashHydrationPlugin- by @harlan-zw in https://github.com/unjs/unhead/issues/444 <samp>(fa511)</samp> unctxfallback context - by @harlan-zw in https://github.com/unjs/unhead/issues/437 <samp>(eb6ff)</samp>- Default capo sorting - by @harlan-zw in https://github.com/unjs/unhead/issues/440 <samp>(889e6)</samp>
- Drop
vmid,hid,childrenbodykeys - by @harlan-zw in https://github.com/unjs/unhead/issues/447 <samp>(e1f44)</samp> - Make
TemplateParamsPluginopt-in - by @harlan-zw in https://github.com/unjs/unhead/issues/493 <samp>(85c19)</samp>
- Remove
- scripts:
useScriptoverhaul,@unhead/scripts- by @harlan-zw in https://github.com/unjs/unhead/issues/436 <samp>(c234e)</samp>
- vue:
- Drop Vue 2 support - by @harlan-zw in https://github.com/unjs/unhead/issues/439 <samp>(838a7)</samp>
🚀 Features
- Vanilla function resolves - by @harlan-zw in https://github.com/unjs/unhead/issues/443 <samp>(b2ed4)</samp>
- Angular support - by @harlan-zw <samp>(0e5c2)</samp>
- Angular support - by @harlan-zw <samp>(671fd)</samp>
@unhead/react- by @harlan-zw in https://github.com/unjs/unhead/issues/477 <samp>(4b0e0)</samp>- Default important head tags - by @harlan-zw in https://github.com/unjs/unhead/issues/479 <samp>(8bd16)</samp>
@unhead/svelte- by @harlan-zw in https://github.com/unjs/unhead/issues/452 <samp>(9c9b0)</samp>- Solid.js support - by @harlan-zw in https://github.com/unjs/unhead/issues/500 <samp>(a796d)</samp>
@unhead/angular- by @harlan-zw in https://github.com/unjs/unhead/issues/467 <samp>(92f3f)</samp>- core:
- Whitelist styles with
useHeadSafe()- by @harlan-zw in https://github.com/unjs/unhead/issues/490 <samp>(e2d4e)</samp> - Whitelist styles with
useHeadSafe()- by @harlan-zw in https://github.com/unjs/unhead/issues/491 <samp>(e4b1f)</samp> - Canonical plugin - by @harlan-zw in https://github.com/unjs/unhead/issues/492 <samp>(b1fd5)</samp>
- Whitelist styles with
- react:
- Simplified API,
useScript()- by @harlan-zw <samp>(4eafe)</samp>
- Simplified API,
- schema:
- Support
blockingattributes - by @harlan-zw in https://github.com/unjs/unhead/issues/489 <samp>(eb1b0)</samp>
- Support
- schemaOrg,react:
@unhead/schema-org/react- by @harlan-zw <samp>(04ce9)</samp>
- ssr:
transformHtmlTemplate- by @harlan-zw <samp>(a4720)</samp>- TransformHtmlTemplate - by @harlan-zw in https://github.com/unjs/unhead/issues/473 <samp>(cefd6)</samp>
- svelte:
useScript()- by @harlan-zw <samp>(83870)</samp>useSchemaOrg()- by @harlan-zw <samp>(7019b)</samp>
- vue:
- Fully typed
style- by @harlan-zw <samp>(45401)</samp>
- Fully typed
🐞 Bug Fixes
- Export
InferSeoMetaPluginfromunhead/optionalPlugins- by @harlan-zw in https://github.com/unjs/unhead/issues/449 <samp>(13db8)</samp> - Handle boolean props - by @harlan-zw <samp>(41210)</samp>
- Support legacy - by @harlan-zw <samp>(fb516)</samp>
- Clear resolved input when patching a node - by @harlan-zw <samp>(f47c4)</samp>
- Deprecate
@unhead/schema- by @harlan-zw in https://github.com/unjs/unhead/issues/483 <samp>(6e424)</samp> - Deprecate
@unhead/shared- by @harlan-zw in https://github.com/unjs/unhead/issues/484 <samp>(74343)</samp> SerializableHeadinput support and exports - by @harlan-zw <samp>(b67d6)</samp>- V1 deprecations - by @harlan-zw <samp>(ee866)</samp>
- Cjs compat - by @harlan-zw in https://github.com/unjs/unhead/issues/512 <samp>(2496f)</samp>
- Validate correct type exports - by @harlan-zw <samp>(648c4)</samp>
- Track title side effects - by @harlan-zw <samp>(1a349)</samp>
- Avoid normalizing class and style strings - by @harlan-zw <samp>(9b892)</samp>
- Ensure json strings are properly encoded - by @harlan-zw and Copilot Autofix powered by AI in https://github.com/unjs/unhead/issues/520 <samp>(f6564)</samp>
- Use a backwards-compatible alternative to
Object.hasOwn- by @Ingramz in https://github.com/unjs/unhead/issues/526 <samp>(6ae58)</samp> - addons:
- Stabilize useSeoMeta tree shaking - by @harlan-zw <samp>(a3ed9)</samp>
- Stabilize
useSeoMeta()->useHead()transformer - by @harlan-zw in https://github.com/unjs/unhead/issues/506 <samp>(a8505)</samp> - Implicit peer dependencies - by @harlan-zw <samp>(48e81)</samp>
- angular:
- Broken subpath exports - by @harlan-zw <samp>(4fecb)</samp>
- Use
DOCUMENTinjection for client - by @harlan-zw <samp>(a92a4)</samp> - SSR support existing tag replacements - by @harlan-zw <samp>(1b43b)</samp>
- Broken
typingsexport - by @harlan-zw <samp>(4c5a6)</samp>
- core:
- Avoid recursive function patching - by @harlan-zw <samp>(68b89)</samp>
- Broken
styletypes - by @harlan-zw <samp>(ce0ac)</samp> - Broken promise resolving for proxy objects - by @harlan-zw <samp>(ad314)</samp>
- Clone tags for immutability - by @harlan-zw <samp>(cecac)</samp>
- Server template params missing from SSR payload - by @harlan-zw <samp>(b2ca1)</samp>
- core,types:
- Revert breaking change on
Headtype - by @harlan-zw <samp>(4d9e1)</samp>
- Revert breaking change on
- core,vue:
- Missing subpath exports - by @harlan-zw <samp>(927f1)</samp>
- Deprecate server composables - by @harlan-zw in https://github.com/unjs/unhead/issues/505 <samp>(214f9)</samp>
- schema-org,vue:
- Support
useSchemaOrgoptions - by @harlan-zw <samp>(3d1bf)</samp>
- Support
- schema.org:
- Support
name'd addresses - by @harlan-zw <samp>(e7a6e)</samp> - Avoid appending trailing slash on
@id's - by @harlan-zw <samp>(6e599)</samp> - Avoid appending trailing slash on
@id's - by @harlan-zw in https://github.com/unjs/unhead/issues/511 <samp>(c0ddf)</samp>
- Support
- schemaOrg:
- Broken entry patching types - by @harlan-zw <samp>(e3034)</samp>
- Eagerly load node resolver - by @harlan-zw <samp>(f3908)</samp>
- Broken nested reactivity types - by @harlan-zw <samp>(f46bd)</samp>
- scripts:
- Respect user privacy overrides - by @harlan-zw <samp>(2ab26)</samp>
- unhead:
initoption should trigger DOM renders - by @harlan-zw <samp>(6e1df)</samp>
- useScript:
- Avoid triggering use() server-side for proxy - by @harlan-zw <samp>(5085e)</samp>
- useSeoMeta:
- Broken required types - by @harlan-zw <samp>(82ca7)</samp>
- vue:
- Missing
/scriptssubpath export - by @harlan-zw <samp>(fe9c8)</samp> - Export missing script types - by @harlan-zw <samp>(6245e)</samp>
- Broken reactivity - by @harlan-zw <samp>(a255d)</samp>
- Missing
🏎 Performance
- Isolate plugin logic - by @harlan-zw in https://github.com/unjs/unhead/issues/451 <samp>(66a46)</samp>
- Drop
packrupdependency - by @harlan-zw in https://github.com/unjs/unhead/issues/487 <samp>(6d0e4)</samp> - Prefer mapped entries - by @harlan-zw in https://github.com/unjs/unhead/issues/486 <samp>(db1a4)</samp>
- Mark explicit no side effects on
createHeadvariants - by @harlan-zw <samp>(05828)</samp> - core:
- Make
AliasSortingPluginopt-in - by @harlan-zw in https://github.com/unjs/unhead/issues/494 <samp>(4d96c)</samp> - Normalize entries once - by @harlan-zw in https://github.com/unjs/unhead/issues/504 <samp>(ee341)</samp>
- Make
- useScript:
- Avoid registering callbacks when ssr - by @harlan-zw <samp>(57861)</samp>
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 these updates again.
- If you want to rebase/retry this PR, check this box
This PR was generated by Mend Renovate. View the repository job log.