Nuxt Fonts v1.2.1
nuxt/fonts
Summary
Nuxt Fonts v1.2.1 introduces performance improvements by scanning inlined stylesheets once for font face deduplication. Key fixes include better handling of global font families, public URLs in CSS, and improved caching when Nuxt is loaded without bundling. Documentation has been updated with a migration guide from @nuxtjs/google-fonts and has been relocated to nuxt.com/modules/fonts.
Full release notes
v1.2.1 is the next patch release.
👉 Changelog
🔥 Performance
- scan each inlined stylesheet once when deduplicating font faces (#974)
🩹 Fixes
- pass global families to fontless for fallback injection (#985)
- report public urls for fonts in bundler-emitted css (#982)
- local: name emitted fonts by their file contents (#984)
- keep font cache when nuxt is loaded without bundling (#981)
- use
build:confignitro hook on nitro v3 (#971) - resolve inlined font face urls against runtime cdn url (#972)
- rename stylesheets when font faces change after hashing (#979)
📖 Documentation
- add migration guide from @nuxtjs/google-fonts (#965)
- change Introduction header from H1 to H2 (#961)
- move docs to nuxt.com/modules/fonts (#959)
📦 Build
- deps: bump the npm_and_yarn group across 1 directory with 3 updates (#975)
🏡 Chore
- correct link to basic playground (
373876d)
🤖 CI
- update agentscan config (
4b8a288) - replace agentscan action with the github app (
ce995a1) - notify nuxt/translations on docs pushes (
2de1876)
🎉 New Contributors
- Ciro Lo Sapio (@cirolosapio)
- Youri Wijnands (@iruoy)
- Dogan Teke (@lafllamme)
- dependabot[bot] (@dependabot[bot])
❤️ Contributors
- Daniel Roe (@danielroe)
- Ciro Lo Sapio (@cirolosapio)
- Youri Wijnands (@iruoy)
- Dogan Teke (@lafllamme)
- dependabot[bot] (@dependabot[bot])
- Sébastien Chopin (@atinux)