Skip to content

chore(deps): update dependency @nuxt/fonts to ^0.14.0#4

Open
renovate[bot] wants to merge 1 commit intomainfrom
renovate/nuxt-fonts-0.x
Open

chore(deps): update dependency @nuxt/fonts to ^0.14.0#4
renovate[bot] wants to merge 1 commit intomainfrom
renovate/nuxt-fonts-0.x

Conversation

@renovate
Copy link

@renovate renovate bot commented Mar 2, 2026

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@nuxt/fonts ^0.10.3^0.14.0 age adoption passing confidence

Release Notes

nuxt/fonts (@​nuxt/fonts)

v0.14.0

Compare Source

0.14.0 is the next minor release.

🚨 Breaking changes

Default font format is now woff2 only

Font providers previously returned multiple formats (woff2, woff, truetype, etc.). The default behavior now only resolves woff2 fonts, which is supported by all modern browsers.

Your @font-face declarations will typically have fewer src entries, reducing CSS size. In most cases this is a transparent improvement.

To restore the previous behavior or add additional formats:

export default defineNuxtConfig({
  fonts: {
    defaults: {
      formats: ['woff2', 'woff', 'ttf'],
    },
  },
})

Available values: 'woff2', 'woff', 'ttf', 'otf', 'eot'.

Cache invalidation

Font metadata caches are now isolated per provider and per provider options. After upgrading, your font metadata cache (node_modules/.cache/nuxt/fonts/) will be invalidated and fonts will be re-fetched on the next build. This is a one-time occurrence.

✨ Features

Resolve fonts from node_modules

A new built-in npm provider can resolve fonts installed as npm packages. If no other provider matches a font family, @nuxt/fonts will now attempt to find it in your node_modules via CDN metadata.

export default defineNuxtConfig({
  fonts: {
    npm: {
      // options for the npm provider (optional)
    },
  },
})
Font format resolution

You can control which font formats are resolved via the new defaults.formats option:

export default defineNuxtConfig({
  fonts: {
    defaults: {
      formats: ['woff2'], // default
    },
  },
})
Provider-specific font family options

You can now pass provider-specific options when configuring individual font families:

export default defineNuxtConfig({
  fonts: {
    families: [
      {
        name: 'My Font',
        provider: 'google',
        providerOptions: {
          google: {
            // provider-specific options for this family
          },
        },
      },
    ],
  },
})
throwOnError option

Configure whether font resolution errors should throw or warn:

export default defineNuxtConfig({
  fonts: {
    throwOnError: true, // default: false
  },
})
lightningcss support

If your Nuxt project uses Vite's lightningcss mode for CSS processing (for example, if you're using rolldown-vite!), injected @font-face declarations are now minified with lightningcss instead of esbuild.

🩹 Fixes

  • Prevent font flashes in development — The dev font proxy now returns Cache-Control: public, max-age=31536000, immutable headers, preventing font flashes during HMR on SSR frameworks.
  • Broader CSS file matching — Font family injection now matches additional CSS-like file patterns (Vue SFC &lang.css query strings and inline style IDs), aligning with fontless behavior.
  • Adobe provider race condition — Fixed a race condition in the Adobe (Typekit) provider where concurrent font resolution could clear the font family map mid-flight, causing Adobe fonts to silently fail. (fix in unifont 0.7.4)
  • Prioritize sliced woff2 over full ttf — When both formats are available, woff2 subsets are now correctly prioritized over full ttf files. (fix in unifont 0.7.2)
  • Bunny provider subset filtering — The Bunny font provider now correctly filters by subsets. (fix in unifont 0.7.0)

👉 Changelog

compare changes

🚀 Enhancements
  • Upgrade to the latest versions fontless + unifont (3d634b0)
  • Support lightningcss transforms (171c9a4)
  • Add support for resolving fonts from local node_modules (#​781)
🩹 Fixes
  • Prevent font flashes in development (0ec437e)
  • Include more css-ish files when injecting font-families (6e8e343)
  • deps: Bump unifont + reenable adobe tests (9d7715d)
📖 Documentation
  • Add nuxt.care health badge (8f0a978)
🏡 Chore
  • Fix changelog workflow (#​776)
  • Remove changelog (in favour of github releases) (25c87c4)
✅ Tests
  • Update snapshots for adobe preloads (035091a)
🤖 CI
  • Pin github actions to full-length commit shas (18e3ff7)
❤️ Contributors

v0.13.0

Compare Source

v0.12.1

Compare Source

0.12.1 is the next patch release.

This is a rerelease of 0.12.0, which encountered an issue in the publishing process. See release notes for v0.12.0.

👉 Changelog

compare changes

🏡 Chore
  • Update workspace version for devtools (#​724)
❤️ Contributors

v0.11.4

Compare Source

0.11.4 is a hotfix release to address a breaking change with variable fonts

👉 Changelog

compare changes

🩹 Fixes
  • deps: Revert unifont upgrade (76a8f0d)
❤️ Contributors

v0.11.3

Compare Source

0.11.3 is the next patch release.

Timetable: to be announced.

👉 Changelog

compare changes

🩹 Fixes
  • Respect custom baseURL in devtools (29cdb31)
  • Handle duplicate preloaded fonts correctly (3c3594c)
  • Register font middleware for storybook module (db5fbf1)
  • Only preload top priority fonts (#​617)
🏡 Chore
  • deps-dev: Bump vite from 6.2.6 to 6.2.7 in the npm_and_yarn group across 1 directory (#​611)
  • Unpin vite version (83fe597)
  • Dedupe + upgrade vite (9d78888)
❤️ Contributors

v0.11.2

Compare Source

👉 Changelog

compare changes

🩹 Fixes
  • Deduplicate default weights, styles and subsets (#​604)
📖 Documentation
  • Add config for use with UnoCSS Wind4 preset (#​589)
  • Use tailwind v3 url (#​596)
🏡 Chore
  • Add better-sqlite3 (e52c330)
  • Remove release script (2633ad8)
  • Use latest specifier for nuxt/fonts within repo (e6d716d)
✅ Tests
  • Update poppins snapshots (#​605)
🤖 CI
  • Run pkg.pr.new on prs too (df3636f)
❤️ Contributors

v0.11.1

Compare Source

👉 Changelog

compare changes

🩹 Fixes
  • Hash cached font file name (#​564)
  • Trim font filename segment to 50 chars (#​583)
📖 Documentation
  • Updates for processCSSVariables (#​563)
🏡 Chore
  • Bump @nuxtjs/tailwindcss (30d4514)
  • Upgrade all deps, enable tailwind v4 tests + update snapshots (#​584)
❤️ Contributors

v0.11.0

Compare Source

compare changes

🚀 Enhancements
  • devtools: Display font file size in devtools (#​462)
  • Process CSS variables prefixed with --font by default (#​515)
🔥 Performance
🩹 Fixes
  • Add consola to dependencies (afb3807)
📖 Documentation
  • Clarify that local provider does not load weights and styles as available automatically (#​502)
📦 Build
  • ⚠️ Remove cjs outputs + use @nuxt/module-builder alpha (#​428)
🏡 Chore
  • Move useFlatConfig out of experimental (775a2f0)
  • Move useFlatConfig out of experimental (27b011a)
  • Remove superfluous check (220ebbb)
  • deps-dev: Bump vite from 6.0.7 to 6.0.9 in the npm_and_yarn group across 1 directory (#​463)
  • Remove legacy types file (3b50f81)
  • Remove cjs output (0e417e0)
  • Remove shiki as devDependency (#​519)
✅ Tests
  • Filter out manifest preload (d2b1c84)
  • Separate playgrounds for different css frameworks (#​470)
🤖 CI
  • Release via pkg.pr.new (ad00403)
  • Move pkg.pr.new step to release workflow (656866d)
  • Force latest corepack (c1f2889)
⚠️ Breaking Changes
  • ⚠️ Remove cjs outputs + use @nuxt/module-builder alpha (#​428)
❤️ Contributors

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/nuxt-fonts-0.x branch from 9c3bdf5 to 18eb74c Compare March 8, 2026 09:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants