v2.0.0
🚀 Features
componentOptions
config for configuring<SiteLink>
- by @harlan-zw (a5e69)- Nitro
getSiteIndexable
util - by @harlan-zw (20f71) - Validate
url
config on start - by @harlan-zw (66ad1) - Support any keys from env starting with
NUXT_SITE_
- by @harlan-zw (c4dfd)
🏎 Performance
- Client-side read only - by @harlan-zw (df9d9)
- Export url utils on
/urls
subpath - by @harlan-zw (6e210) - Smaller state payloads - by @harlan-zw (9be9d)
⚠️ Breaking Changes
Client-side site config updates disabled
The updateSiteConfig
composable will no longer work client-side. This allows the module to have a significantly smaller performance footprint and avoids hydration errors.
When navigating between pages that change the site config you should do a full page load so that the SSR response will be accurate (i.e switching language or changing domain). If you need to change site config at runtime make sure it happens server-side and early.