Releases: nuxt/fonts
Releases · nuxt/fonts
v0.0.1
🚀 Enhancements
- Add
local
andgoogle
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
🩹 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
- Rename variable (f5011c9)
- google: Split out api client (dbd736a)
- google: Slight refactor (e369485)
- Share default variants (1dee25e)
- google: Use native google apis (8399b32)
📖 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
- Repo init (180e442)
- Allow accessing private repo (e0ac3e9)
- Add renovate configuration (f8b300a)
- Add
playwright-core
(3e6f82d) - Add build command (e755ac4)
- Add links to playground (9771234)
- Improve type testing step (86ee4d7)
- Remove old attribution (80a5a57)
- Add missing
unstorage
dependency (58ad293) - Fix repository format (1c2ff7a)
- Add todo for unocss (8d5f9d2)
- playground: Fix custom font path (5d77a7d)
- Make cache time more obvious (c0a1d3d)
- Bump nuxt framework version (92a8182)
✅ 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
- Daniel Roe (@danielroe)
- Sébastien Chopin (@Atinux)