NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Latest stable
3.5.4
Last release 2 days ago
28 Nov 2026
Ships fairly regularly
a new release about every 2 weeks
Nearly every release is documented
notes for 60 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
4 years old
245 releases · first in 2023
Drag across the ruler to compare, or tap a release to open it.
Nothing published for this version
### Bug Fixes * useSeoMeta regressions
drop shorthand { script: [ '/script.js' ] support
{ script: [ '/script.js' ] support (ce89ceb)Your coding agent can read these notes before it upgrades. Set up the MCP server →
Nothing published for this version
vue: deprecate polyfillAsVueUseHead
polyfillAsVueUseHead (7cd4b75)<Head> component based on @vueuse/head from @unhead/vue/components (204ce48)opt-in only to process innerHTML template params
dirty flag to avoid redundant head updates
addons: InferSeoMetaPlugin adding og:title to body
ssr: fix JSON innerHTML encoding
infer-seo-meta-plugin: correct twitter card detection
unhead: allow data-* attrs with useHeadSafe (a3cf825), closes #213
vue: expose setHeadInjectionHandler
setHeadInjectionHandler (a6a6ab9)dom: hydrate initial payload with current title
This minor introduces warnings when using useHead without the Vue context available.
This minor introduces warnings when using useHead without the Vue context available.
Unhead is missing Vue context, falling back to shared context. This may have unexpected results.
When these warnings are shown, Unhead falls back to a shared context. Using this context has known issues when SSR parallel requests.
See https://github.com/nuxt/nuxt/issues/22712#issuecomment-1703911119 for more context.
ReadAction to WebPage (2e70981)Question (9a862e9)PluginSchemaOrg (69d5486)head option to bypass injection (e7405fb)avoid processing template unhead:payload
unhead:payload (a7bbc12)templateParams: separator over-replacement
unhead: encode template params for json
unhead: set payload type to application/json
application/json (a3a0451)unhead: remove payload redundant type
### Bug Fixes * vue: support vue2 options API
support SSR titleTemplate and templateParams
Nothing published for this version
HashHydrationPlugin: avoid setting empty hash
Nothing published for this version
There were a number of more verbose composable which were deprecated in v1, they have now been removed. (https://github.com/unjs/unhead/pull/184).
The slowest part of Unhead is figuring out what DOM elements and attributes are needed to be added, updated or removed.
This release introduces an improved DOM renderer with some key improvements:
You should see a ~20% reduction in your client bundle without losing any functionality.
Before
After
A flag was previously introduced that enabled experimental hash hydration experimentalHashHydration. This reduces your initial mount time to 0ms for the dom renderer. This has now been moved to a plugin.
This is now an optional plugin and should perform better.
createHead({
- experimentalHashHydration: true,
+ plugins: [
+ HashHydrationPlugin()
+ ]
})
dom:rendered get tags once they're renderedThere were a number of more verbose composable which were deprecated in v1, they have now been removed. (https://github.com/unjs/unhead/pull/184).
If you're using any of the following, you should use the useHead or other composable.
useTagTitleuseTagBaseuseTagMetauseTagMetaFlatuseTagLinkuseTagScriptuseTagStyleuseTagNoscriptuseHtmlAttrsuseBodyAttrsuseTitleTemplateuseServerTagTitleuseServerTagBaseuseServerTagMetauseServerTagMetaFlatuseServerTagLinkuseServerTagScriptuseServerTagStyleuseServerTagNoscriptuseServerHtmlAttrsuseServerBodyAttrsuseServerTitleTemplateNothing published for this version
Nothing published for this version
### Bug Fixes * dom: add hook dom:rendered
dom:rendered (553c200)unhead: only sort head tags with capo
Nothing published for this version
### Bug Fixes * allow async transformers
allow hooking into before tag resolve tags:beforeResolve
tags:beforeResolve (1f22aec)unhead: broken titles with $1 in them
### Bug Fixes * schema: type new entry options
unhead: auto mode: server when using createServerHead
addons: avoid duplicate twitter:card with InferSeoMetaPlugin
unhead: string themeColor regression
themeColor regression (e7ccce9)For parity with how the tag priority works for other tags, you can now set a tag priority for title and title template.
For parity with how the tag priority works for other tags, you can now set a tag priority for title and title template.
useHead({
title: {
textContent: 'high-priority title',
tagPriority: 'high',
},
})
// ...
useHead({
title: 'new title'
})
// ...
// title will be "high-priortiy title"
themeColor (75fd20d)You can now provide themeColor as an object or an array of objects with the media key. This allows you to provide different themes depending on the device and user preferences.
useSeoMeta({
themeColor: [
{ content: 'cyan', media: '(prefers-color-scheme: light)' },
{ content: 'black', media: '(prefers-color-scheme: dark)' },
],
})
### Bug Fixes * unhead: support Safari <= 13.0
patch tags using key without destroying them (6e1b43d), closes #145
Nothing published for this version
unhead: only replace URI decoded params (5f5290a), closes #127
vue: types for nested templateParams
templateParams: substitute json values safely
inferSeoMetaPlugin: infer from titleTemplates
Nothing published for this version
### Bug Fixes * ssr: stringify inner content
useSeoMeta: use correct og tag for site name by @manniL
unhead: templateParams not getting filtered
addons: export unplugin options
Nothing published for this version
addons: provide unplugin options
unhead: inline dependency packrup
packrup (4367ee6)unhead: support createServerHead
addons: support stubbing useSeoMeta({ title })
useSeoMeta({ title }) (a330beb)templateParams: edge-case regex issues
templateParams: always process params for %s usage
UseSeoMetaTransform: inline dep estree-walker, fixes #119
TreeshakeServerComposable: do not run on server builds
templateParams: %s and %pageTitle substitution
One column per quarter.