Webfont X
Welcome to the new major version of Webfont 10, also called Webfont X.
We've added a bunch of security improvements and new features.
Breaking changes
- Drop support for Node.js 8 and Node.js 11 (please use Node.js 10, 12 or higher) (925a8b9, 1fef9dd);
- Migrate all codebase to TypeScript (0b71779);
Bug fixes
- Respect
formats
option when using external config (29769b0)
Core new features
- Migrate all codebase and tests to TypeScript
- Added support to ligatures (f622c44 and 9106a13);
- Added new JSON template (f622c44, ad64421 and 3b704b3). Demo was also updated with ligatures support (64b10d6)
- Added support to template cache string - which defaults to unix timestamp - good for improved web performance (ae8b050, 1e43bba, ad64421 and f39d2c1)
- Added stylus template (588a753, 3aa5180 and 3aa5180);
- Adopt
font-display: block
for a little better icon font loading on CSS files (0f9dbc0, 4669891); - Added support for hash in generated font file name (@brunoroux) (1913c9a and 6ca0d9e)
Dependency
- Use
fs
instead offs-extra
for writing files (e7bf9f5);
Security and compatibility
- Fix vulnerability #197 (6e08d33);
- Fix vulnerability #188 (6e9e243);
- Security upgrade meow from 5.0.0 to 6.1.0 (b5f9021), closes #195;
- Fix vulnerability #209 (cf5cfc4);
- Pin/upgrade eslint dependencies (9206e72, 1e5a5ca), closes #225;
- Fix vulnerability #220 (0f976a9);
- Fix insecure dependencies (59a9604, 4118fcf, a1ba509, 2e387cc, b02f52f, c805812, 791e5f4, 8f037d5).