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.
UseSeoMetaTransform: calleeName fallback
addons: avoid transpiling node_modules
### Bug Fixes * addons: missing root error
root error (79096a7)Your coding agent can read these notes before it upgrades. Set up the MCP server →
This worked well, but it was not clear what kind of behaviour this would have in the DOM and SSR. children is now deprecated in favour of using textCo…
1.1.0 is here and with it comes some exciting new features, significantly performance improvements a number of security improvements and more!
Allows you to add template parameters that can be referenced in other tags. This is useful for reducing boilerplate and for third-party integrations to provide runtime configuration.
useHead({
templateParams: {
seperator: '|',
site: {
name: 'My Site',
url: 'https://example.com',
}
},
titleTemplate: '%s %seperator %site.name',
meta: [
{
property: 'og:url',
content: '%site.url'
},
{
property: 'og:image',
content: '%site.url/image.png'
}
]
})
This release signifies a shift in how we deal with potential XSS issues. The
useHeadSafecomposable is now the recommended way to add head data when the input is not trusted. The white-listed tags and attributes are significantly limited, as there are many more XSS vectors than just script tags.
useHeadSafe({
title: 'About',
meta: [
{
name: 'description',
content: 'My about page'
}
]
})
The previous recommendation for tag inner content was to use the
childrenkey. This worked well, but it was not clear what kind of behaviour this would have in the DOM and SSR.childrenis now deprecated in favour of usingtextContentandinnerHTMLkeys.
useHead({
script: [
// more obvious that this is dangerous
{ innerHTML: "console.log('hello world')" }
]
})
While dealing with tags, which will just be inner content such as <style> and <script>, shorthand input is now available.
useHead({
// This will be converted to <style>body { background: red; }</style>
style: [ 'body { background: red; }' ],
// shorthand urls are also supported: <script src="https://example.com/script.js"></script>
script: [ 'https://example.com/script.js' ]
})
experimentalHashHydration (PR)The experimentalHashHydration option is being introduced, it is opt-in. It offers some sites the ability to completely bypass the blocking CPU time for the client hydration of head tags. (between 5-25ms reduction)
createHead({
experimentalHashHydration: true,
})
UseSeoMetaTransform (PR)The useSeoMeta function is a great addition for developer experience, but the code required to unpack the meta is around 2kb and in most cases is not needed at runtime. We add a custom Vite transformer which turns useSeoMeta into useHead.
import UnheadVite from '@unhead/addons/vite'
export default defineConfig({
plugins: [
UnheadVite(),
],
})
UseSeoMetaTransform https://github.com/unjs/unhead/pull/117avoid inlining unhead dependency
One column per quarter.