Skip to content

v0.0.1

Compare
Choose a tag to compare
@danielroe danielroe released this 28 Feb 11:37
· 368 commits to main since this release
d8c1242

🚀 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