Skip to content

fix(deps): update dependency @nuxt/fonts to v0.14.0#20

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

fix(deps): update dependency @nuxt/fonts to v0.14.0#20
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/nuxt-fonts-0.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented Apr 2, 2025

This PR contains the following updates:

Package Change Age Confidence
@nuxt/fonts 0.11.00.14.0 age 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

Configuration

📅 Schedule: (UTC)

  • 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 changed the title fix(deps): update dependency @nuxt/fonts to v0.11.1 fix(deps): update dependency @nuxt/fonts to v0.11.2 Apr 24, 2025
@renovate renovate Bot force-pushed the renovate/nuxt-fonts-0.x branch from 08d0022 to e29ea5b Compare April 24, 2025 22:27
@renovate renovate Bot changed the title fix(deps): update dependency @nuxt/fonts to v0.11.2 fix(deps): update dependency @nuxt/fonts to v0.11.3 May 9, 2025
@renovate renovate Bot force-pushed the renovate/nuxt-fonts-0.x branch 2 times, most recently from be01dc8 to 1936696 Compare May 14, 2025 22:27
@renovate renovate Bot changed the title fix(deps): update dependency @nuxt/fonts to v0.11.3 fix(deps): update dependency @nuxt/fonts to v0.11.4 May 14, 2025
@renovate renovate Bot force-pushed the renovate/nuxt-fonts-0.x branch 2 times, most recently from a0dfe5d to 97ad15c Compare August 13, 2025 11:26
@renovate renovate Bot force-pushed the renovate/nuxt-fonts-0.x branch from 97ad15c to 6a7f905 Compare August 19, 2025 14:12
@renovate renovate Bot force-pushed the renovate/nuxt-fonts-0.x branch from 6a7f905 to 72079c7 Compare August 31, 2025 10:20
@renovate renovate Bot force-pushed the renovate/nuxt-fonts-0.x branch from 72079c7 to 29c7dca Compare September 25, 2025 18:40
@renovate renovate Bot force-pushed the renovate/nuxt-fonts-0.x branch from 29c7dca to 359ca07 Compare October 21, 2025 11:14
@renovate renovate Bot changed the title fix(deps): update dependency @nuxt/fonts to v0.11.4 fix(deps): update dependency @nuxt/fonts to v0.12.1 Nov 7, 2025
@renovate renovate Bot force-pushed the renovate/nuxt-fonts-0.x branch 2 times, most recently from 2f5344f to 6aaf511 Compare November 10, 2025 17:48
@renovate renovate Bot force-pushed the renovate/nuxt-fonts-0.x branch from 6aaf511 to 7de7f47 Compare November 18, 2025 19:16
@renovate renovate Bot force-pushed the renovate/nuxt-fonts-0.x branch from 7de7f47 to 43a74e4 Compare December 3, 2025 17:33
@renovate renovate Bot force-pushed the renovate/nuxt-fonts-0.x branch from 43a74e4 to 28b2f88 Compare December 31, 2025 16:54
@renovate renovate Bot force-pushed the renovate/nuxt-fonts-0.x branch from 28b2f88 to 474ca33 Compare January 8, 2026 17:44
@renovate renovate Bot force-pushed the renovate/nuxt-fonts-0.x branch from 474ca33 to 5f32640 Compare January 19, 2026 15:35
@renovate renovate Bot changed the title fix(deps): update dependency @nuxt/fonts to v0.12.1 fix(deps): update dependency @nuxt/fonts to v0.13.0 Jan 22, 2026
@renovate renovate Bot force-pushed the renovate/nuxt-fonts-0.x branch 2 times, most recently from e774400 to c538769 Compare January 23, 2026 19:54
@renovate renovate Bot force-pushed the renovate/nuxt-fonts-0.x branch from c538769 to f2f094a Compare February 2, 2026 17:19
@renovate renovate Bot force-pushed the renovate/nuxt-fonts-0.x branch 2 times, most recently from cc3c41e to 498c336 Compare February 14, 2026 13:27
@renovate renovate Bot changed the title fix(deps): update dependency @nuxt/fonts to v0.13.0 fix(deps): update dependency @nuxt/fonts to v0.14.0 Feb 14, 2026
@renovate renovate Bot force-pushed the renovate/nuxt-fonts-0.x branch from 498c336 to bd83d6e Compare March 5, 2026 15:50
@renovate renovate Bot force-pushed the renovate/nuxt-fonts-0.x branch from bd83d6e to fd0f943 Compare March 13, 2026 17:45
@renovate renovate Bot force-pushed the renovate/nuxt-fonts-0.x branch from fd0f943 to e52763f Compare March 27, 2026 13:14
@renovate renovate Bot force-pushed the renovate/nuxt-fonts-0.x branch 2 times, most recently from 2108570 to 7fee97b Compare April 8, 2026 14:51
@renovate renovate Bot force-pushed the renovate/nuxt-fonts-0.x branch from 7fee97b to f282c1c Compare April 29, 2026 12:09
@renovate renovate Bot force-pushed the renovate/nuxt-fonts-0.x branch from f282c1c to 8bf8a51 Compare May 12, 2026 15:29
@renovate renovate Bot force-pushed the renovate/nuxt-fonts-0.x branch from 8bf8a51 to 1cb0fed Compare May 18, 2026 11:58
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