chore(deps): update dependency @unhead/vue to v2
This MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| @unhead/vue (source) | dependencies | major | ^1.11.15 -> ^2.0.0 |
Release Notes
unjs/unhead (@unhead/vue)
v2.0.10
🐞 Bug Fixes
- Safer meta array deduping - by @harlan-zw (32486)
View changes on GitHub
v2.0.9
🏎️ Performance
- unhead: Normalize canonicalHost only once in canonical plugin - by @negezor in https://github.com/unjs/unhead/issues/550 (92713)
View changes on GitHub
v2.0.8
No significant changes
View changes on GitHub
v2.0.7
🐞 Bug Fixes
-
schema-org:
unheadhoisting issue - by @harlan-zw (bb0e4)
View changes on GitHub
v2.0.6
🐞 Bug Fixes
- ssr: Less aggressive encoding of non-title tags - by @harlan-zw (f4d4f)
View changes on GitHub
v2.0.5
🐞 Bug Fixes
-
vue: Use
setTimeoutas render's debounced delayer - by @kricsleo in https://github.com/unjs/unhead/issues/540 (8f7c5)
View changes on GitHub
v2.0.4
🐞 Bug Fixes
- InferSeoMetaPlugin: Template param replacement broken - by @harlan-zw (4e1c8)
View changes on GitHub
v2.0.3
🐞 Bug Fixes
-
InferSeoMetaPlugin:
- Function title templates not respected - by @harlan-zw (a855f)
-
react:
- Ensure
<Head>updates context immediately for SSR compatibility - by @Narixius in https://github.com/unjs/unhead/issues/533 (463b2) - Update unhead context on initial render - by @Narixius in https://github.com/unjs/unhead/issues/534 (24ee3)
- Process tag content and memoize elements - by @harlan-zw (585bf)
- Support >= React v18 - by @harlan-zw (c64ba)
- Ensure
View changes on GitHub
v2.0.2
🐞 Bug Fixes
- Export extra server/client types - by @harlan-zw (9c7f6)
View changes on GitHub
v2.0.1
🐞 Bug Fixes
- scripts: Preserve function overload types - by @harlan-zw (293bd)
-
unhead: Respect truthy
data-*empty strings - by @harlan-zw (95aab)
View changes on GitHub
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 (af0af)
- Client / server subpaths - by @harlan-zw in https://github.com/unjs/unhead/issues/448 (49634)
- Drop implicit context - by @harlan-zw in https://github.com/unjs/unhead/issues/459 (7fc77)
- Property debounce dom updates - by @harlan-zw (c97ec)
- Properly debounce dom updates - by @harlan-zw in https://github.com/unjs/unhead/issues/475 (3141d)
- Drop
CJSexports - by @harlan-zw in https://github.com/unjs/unhead/issues/482 (0f14f) - V2 core rewrite - by @harlan-zw in https://github.com/unjs/unhead/issues/488 (2f85b)
-
core:
- Remove
HashHydrationPlugin- by @harlan-zw in https://github.com/unjs/unhead/issues/444 (fa511) -
unctxfallback context - by @harlan-zw in https://github.com/unjs/unhead/issues/437 (eb6ff) - Default capo sorting - by @harlan-zw in https://github.com/unjs/unhead/issues/440 (889e6)
- Drop
vmid,hid,childrenbodykeys - by @harlan-zw in https://github.com/unjs/unhead/issues/447 (e1f44) - Make
TemplateParamsPluginopt-in - by @harlan-zw in https://github.com/unjs/unhead/issues/493 (85c19)
- Remove
-
scripts:
-
useScriptoverhaul,@unhead/scripts- by @harlan-zw in https://github.com/unjs/unhead/issues/436 (c234e)
-
-
vue:
- Drop Vue 2 support - by @harlan-zw in https://github.com/unjs/unhead/issues/439 (838a7)
🚀 Features
- Vanilla function resolves - by @harlan-zw in https://github.com/unjs/unhead/issues/443 (b2ed4)
- Angular support - by @harlan-zw (0e5c2)
- Angular support - by @harlan-zw (671fd)
-
@unhead/react- by @harlan-zw in https://github.com/unjs/unhead/issues/477 (4b0e0) - Default important head tags - by @harlan-zw in https://github.com/unjs/unhead/issues/479 (8bd16)
-
@unhead/svelte- by @harlan-zw in https://github.com/unjs/unhead/issues/452 (9c9b0) - Solid.js support - by @harlan-zw in https://github.com/unjs/unhead/issues/500 (a796d)
-
@unhead/angular- by @harlan-zw in https://github.com/unjs/unhead/issues/467 (92f3f) -
core:
- Whitelist styles with
useHeadSafe()- by @harlan-zw in https://github.com/unjs/unhead/issues/490 (e2d4e) - Whitelist styles with
useHeadSafe()- by @harlan-zw in https://github.com/unjs/unhead/issues/491 (e4b1f) - Canonical plugin - by @harlan-zw in https://github.com/unjs/unhead/issues/492 (b1fd5)
- Whitelist styles with
-
react:
- Simplified API,
useScript()- by @harlan-zw (4eafe)
- Simplified API,
-
schema:
- Support
blockingattributes - by @harlan-zw in https://github.com/unjs/unhead/issues/489 (eb1b0)
- Support
-
schemaOrg,react:
-
@unhead/schema-org/react- by @harlan-zw (04ce9)
-
-
ssr:
-
transformHtmlTemplate- by @harlan-zw (a4720) - TransformHtmlTemplate - by @harlan-zw in https://github.com/unjs/unhead/issues/473 (cefd6)
-
-
svelte:
-
useScript()- by @harlan-zw (83870) -
useSchemaOrg()- by @harlan-zw (7019b)
-
-
vue:
- Fully typed
style- by @harlan-zw (45401)
- Fully typed
🐞 Bug Fixes
- Export
InferSeoMetaPluginfromunhead/optionalPlugins- by @harlan-zw in https://github.com/unjs/unhead/issues/449 (13db8) - Handle boolean props - by @harlan-zw (41210)
- Support legacy - by @harlan-zw (fb516)
- Clear resolved input when patching a node - by @harlan-zw (f47c4)
- Deprecate
@unhead/schema- by @harlan-zw in https://github.com/unjs/unhead/issues/483 (6e424) - Deprecate
@unhead/shared- by @harlan-zw in https://github.com/unjs/unhead/issues/484 (74343) -
SerializableHeadinput support and exports - by @harlan-zw (b67d6) - V1 deprecations - by @harlan-zw (ee866)
- Cjs compat - by @harlan-zw in https://github.com/unjs/unhead/issues/512 (2496f)
- Validate correct type exports - by @harlan-zw (648c4)
- Track title side effects - by @harlan-zw (1a349)
- Avoid normalizing class and style strings - by @harlan-zw (9b892)
- Ensure json strings are properly encoded - by @harlan-zw and Copilot Autofix powered by AI in https://github.com/unjs/unhead/issues/520 (f6564)
- Use a backwards-compatible alternative to
Object.hasOwn- by @Ingramz in https://github.com/unjs/unhead/issues/526 (6ae58) -
addons:
- Stabilize useSeoMeta tree shaking - by @harlan-zw (a3ed9)
- Stabilize
useSeoMeta()->useHead()transformer - by @harlan-zw in https://github.com/unjs/unhead/issues/506 (a8505) - Implicit peer dependencies - by @harlan-zw (48e81)
-
angular:
- Broken subpath exports - by @harlan-zw (4fecb)
- Use
DOCUMENTinjection for client - by @harlan-zw (a92a4) - SSR support existing tag replacements - by @harlan-zw (1b43b)
- Broken
typingsexport - by @harlan-zw (4c5a6)
-
core:
- Avoid recursive function patching - by @harlan-zw (68b89)
- Broken
styletypes - by @harlan-zw (ce0ac) - Broken promise resolving for proxy objects - by @harlan-zw (ad314)
- Clone tags for immutability - by @harlan-zw (cecac)
- Server template params missing from SSR payload - by @harlan-zw (b2ca1)
-
core,types:
- Revert breaking change on
Headtype - by @harlan-zw (4d9e1)
- Revert breaking change on
-
core,vue:
- Missing subpath exports - by @harlan-zw (927f1)
- Deprecate server composables - by @harlan-zw in https://github.com/unjs/unhead/issues/505 (214f9)
-
schema-org,vue:
- Support
useSchemaOrgoptions - by @harlan-zw (3d1bf)
- Support
-
schema.org:
- Support
name'd addresses - by @harlan-zw (e7a6e) - Avoid appending trailing slash on
@id's - by @harlan-zw (6e599) - Avoid appending trailing slash on
@id's - by @harlan-zw in https://github.com/unjs/unhead/issues/511 (c0ddf)
- Support
-
schemaOrg:
- Broken entry patching types - by @harlan-zw (e3034)
- Eagerly load node resolver - by @harlan-zw (f3908)
- Broken nested reactivity types - by @harlan-zw (f46bd)
-
scripts:
- Respect user privacy overrides - by @harlan-zw (2ab26)
-
unhead:
-
initoption should trigger DOM renders - by @harlan-zw (6e1df)
-
-
useScript:
- Avoid triggering use() server-side for proxy - by @harlan-zw (5085e)
-
useSeoMeta:
- Broken required types - by @harlan-zw (82ca7)
-
vue:
- Missing
/scriptssubpath export - by @harlan-zw (fe9c8) - Export missing script types - by @harlan-zw (6245e)
- Broken reactivity - by @harlan-zw (a255d)
- Missing
🏎️ Performance
- Isolate plugin logic - by @harlan-zw in https://github.com/unjs/unhead/issues/451 (66a46)
- Drop
packrupdependency - by @harlan-zw in https://github.com/unjs/unhead/issues/487 (6d0e4) - Prefer mapped entries - by @harlan-zw in https://github.com/unjs/unhead/issues/486 (db1a4)
- Mark explicit no side effects on
createHeadvariants - by @harlan-zw (05828) -
core:
- Make
AliasSortingPluginopt-in - by @harlan-zw in https://github.com/unjs/unhead/issues/494 (4d96c) - Normalize entries once - by @harlan-zw in https://github.com/unjs/unhead/issues/504 (ee341)
- Make
-
useScript:
- Avoid registering callbacks when ssr - by @harlan-zw (57861)
View changes on GitHub
v1.11.20
No significant changes
View changes on GitHub
v1.11.19
No significant changes
View changes on GitHub
v1.11.18
No significant changes
View changes on GitHub
v1.11.16
No significant changes
View changes on GitHub
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.
Edited by Alexandre Boucey