Skip to content

Latest commit

 

History

History
412 lines (260 loc) · 17.3 KB

CHANGELOG.md

File metadata and controls

412 lines (260 loc) · 17.3 KB

Changelog

v0.7.0

compare changes

🚀 Enhancements

  • Allow configuring font-stretch property in override (d7ff458)
  • Add preload override + preload non subsetted fonts (#136)

🩹 Fixes

  • Do not apply ignore patterns to _fonts public dir (4952673)

📖 Documentation

  • Clarify that addPreloadLinks only affects production (d3cbcdb)
  • readme: Replace provider count (#125)

🏡 Chore

  • Migrate to eslint v9 (#121)
  • Lint (7fa0ef5)
  • Update to latest @nuxt/module-builder (#139)

🤖 CI

  • Add codecov token (#140)

❤️ Contributors

v0.6.1

compare changes

🩹 Fixes

  • Add style in variable font local fallback name (#110)

📖 Documentation

  • Add link to adobe's terms and warning to read (7872b28)
  • Mention non-latin subset support for adobe provider (#109)

🏡 Chore

❤️ Contributors

v0.6.0

compare changes

🚀 Enhancements

  • fontsource: Support variable fonts (#102)

🩹 Fixes

  • Render variable font weight correctly (#99)
  • Preserve @font-face order when rendering (836a605)
  • Only prepend once 🤣 and update snapshots (8a000ae)
  • Adopt forward-compatible approach to builder:watch (#101)
  • Handle custom app.baseURL in development (d9f4fae)

📖 Documentation

  • Add image (608653b)
  • Mention disabling unocss web fonts preset (627125b)

🏡 Chore

  • Link to latest version in badges (42e7030)

✅ Tests

  • Update poppins snapshot (274ae5f)

❤️ Contributors

v0.5.1

compare changes

🩹 Fixes

  • Invalidate cache on new package releases (ee9678a)

❤️ Contributors

v0.5.0

compare changes

🚀 Enhancements

  • fontsource: Support subsets (#84)

🩹 Fixes

  • Inherit css preload data when chunks are bundled up (c11b257)
  • Continue if font family doesn't match in getFontDetails (#88)
  • Handle numbers in font family names (d3d3de6)
  • Handle escape characters in font family names (777cb0f)

💅 Refactors

  • Share storage instance between meta/assets (d5b8184)
  • Separate type import (593117b)

🏡 Chore

✅ Tests

  • Clear font cache before running tests (ff64cff)
  • Add snapshots for adobe provider (c1dc27e)
  • Single adobe playground page (76d7b8a)

❤️ Contributors

v0.4.0

compare changes

🚀 Enhancements

  • Fontsource provider (#78)
  • Support system proxy when fetching fonts/metadata (#82)

🩹 Fixes

  • Match font weights & styles when adding local fallbacks (#71)

📖 Documentation

  • Add adobe to list in readme (9b0770d)

🏡 Chore

❤️ Contributors

v0.3.0

compare changes

🚀 Enhancements

  • Add adobe fonts provider (#55)

❤️ Contributors

v0.2.1

compare changes

🩹 Fixes

  • devtools: Don't wait for callback from exposeFonts (35758d6)

❤️ Contributors

v0.2.0

compare changes

🚀 Enhancements

  • Fall back to reading font metrics from remote sources (78138b2)
  • Add nuxt devtools panel (#45)
  • Add experimental support for CSS variables (0fa5d3a)
  • Add experimental support for preload links (50f66fc)

🔥 Performance

  • Do not resolve esbuild options in dev (7ac780a)

🩹 Fixes

  • Respect vite esbuild options when transforming css (541b08d)
  • Normalize weights before passing to resolveFontFaces (#47)
  • Normalize unicodeRange as well (6a4247a)
  • devtools: Reduce horizontal scrolling (6f11a55)
  • devtools: Colors in light mode (#51)

💅 Refactors

  • Pass originalURL via font sources (67b0caa)

📖 Documentation

  • Update example provider to use defineFontProvider (b7bff82)
  • Add example of processCSSVariables (43e0f99)

🏡 Chore

  • Do not use defineFontProvider in repo (bc11360)
  • Don't use workspace protocol for devtools bootstrap (a9c6207)
  • Install carbon icons in root package as well (db66211)
  • Remove unused import (e125f86)

✅ Tests

  • Add stub lookupFontURL function (57b5eca)

🤖 CI

  • Run type test before build as well (191fea7)

❤️ Contributors

v0.1.0

compare changes

🚀 Enhancements

  • Expose font types from @nuxt/fonts (a824bed)
  • Support priority and provider options (bd8da26)

🩹 Fixes

  • local: Deduplicate found fonts (a44c4c4)
  • local: Refactor scanning/lookup mechanism (#41)
  • Warn when fonts can't be resolved because of an override (#35)

🏡 Chore

🎨 Styles

  • Remove unused imports/args (967cd21)

❤️ Contributors

v0.0.2

compare changes

🚀 Enhancements

  • Minify injected css when building (e906ada)
  • deps: Update fontaine to use new capsize metrics (1800995)

🔥 Performance

  • Store font data in node_modules/.cache (ed3e9e5)
  • Update to use .cache/nuxt/fonts prefix for all caches (7b91b0d)

🩹 Fixes

  • google: Sort resolved variants when fetching font css (#33)
  • Don't add font storage to runtime 🙈 (c06dd6d)

📖 Documentation

  • Remove nightly instructions (760558b)

🏡 Chore

  • Remove links to nuxt/image (cb30d06)
  • Add missing dev deps (d03ffed)
  • Skip type checking scripts/ (b5e7231)

🤖 CI

  • Enable nightly release with provenance (fcc1e87)
  • Remove contents: read permission as repo is now public (ed4a2a9)
  • Add changelogensets (792de60)

❤️ Contributors

v0.0.1

🚀 Enhancements

  • Add local and google providers (ade031f)
  • local: Support looking up pascal-case fonts (ad3ee31)
  • Support configure injecting fonts globally (26fa0b3)
  • Support passing options to font providers (306d2df)
  • Add extractFontFaceData utility (0409ed1)
  • Download (prod) or proxy (dev) provider font urls (3774f06)
  • Add bunny provider (3773a9d)
  • Add automatic font metric optimisation (ac0888b)
  • Add fontshare provider (#4)
  • Expose defineFontProvider helper from ./utils subpath (cf31dbb)

🔥 Performance

  • Cache google/bunny font metadata (ca2ddb1)
  • Cache proxied fonts between requests (89caf13)

🩹 Fixes

  • Improve handling of overrides for font families (36123e1)
  • transform: Skip injecting declarations based on @font-face (0cb114b)
  • transform: Skip adding existing @font-face declarations (79f9c58)
  • Use jiti to load custom font providers (a840e4d)
  • Log when we are downloading fonts (b1049ee)
  • transform: Only add @font-face for first font in list (0493d36)
  • Prepend local font sources (70fc384)
  • Skip processing some known libraries (827409b)
  • Handle network errors fetching font metadata (7be6d40)
  • Add prefix in data: (0a9bf59)
  • Display more info about fonts download (72f1393)
  • fontshare: Return empty array when there's an error (96accaa)
  • transform: Run additional transform step when rendering bundle (d899315)
  • parse: Handle unquoted multi-word font families (5b72725)
  • parse: Use buffer strategy for parsing downloaded css (362e2d4)
  • transform: Inject fallback in correct location with multi word fonts (3e67278)
  • Respect custom defaults via families (d2c9ac1)
  • google: Handle variable font weights (4a9bc4d)
  • Provide metrics for fallback (4ada63d)
  • Add system-ui fallbacks (b707f62)
  • Use fallback font, not rendered name (0c32d01)

💅 Refactors

📖 Documentation

  • Update roadmap (19e7a3d)
  • Update todo (59e1189)
  • Update roadmap (856fad8)
  • Add initial project documentation (bf0c2e2)
  • Mention tailwind/uno support and deep scan of directories (a27900d)

🏡 Chore

✅ Tests

  • Update test cases (ce1f4ae)
  • Add more granular tests in suite (a195a91)
  • Add test for none (ddcc31a)
  • Add directories to clean up tests (18947c4)
  • Add test/example for custom providers (3dc5f54)
  • Update test case (9f19d53)

🤖 CI

  • Release package to nightly channel (cb826b5)
  • Grant read permissions to release script (0c4eefb)
  • Disable provenance for now (db81bc2)
  • Disable differently (38a44b1)

❤️ Contributors