# Changelog Fontsource will log all notable changes within this file. #### Patch (0.0.x) These occur when an automatic update is pushed from a source, such as Google, or Fontsource may apply patches. Due to version mismatching and lack of accurate tracking, a specific version for a Fontsource patch cannot be logged into the changelog. Note that Google may push [breaking changes](https://github.com/google/fonts/issues/1307) on their end to individual fonts which Fontsource cannot predict for. #### Minor (0.x.x) These will always contain changes from Fontsource's end. # 4.x Release ## 4.2.x ### Features - Added default variables to SCSS mixins. [#144](https://github.com/fontsource/fontsource/pull/144) - Added $fontDir variable to SCSS mixins. [#146](https://github.com/fontsource/fontsource/pull/146) - Added variable font support and $defSubset variable to SCSS mixins. [#147](https://github.com/fontsource/fontsource/pull/147) ### Fixes - Removed all default variable flags from SCSS mixins till further notice to resolve errors relating to importing multiple fonts. [#155](https://github.com/fontsource/fontsource/pull/155) - Resolved incorrect unicodeMap numeric subset names that linked to the wrong files. [#167](https://github.com/fontsource/fontsource/pull/167) ### Documentation - Changed package.json descriptions to something more mature. [#148](https://github.com/fontsource/fontsource/pull/148) ## 4.1.x ### Features - Added customisable SASS support through mixins for more flexible user setups. [#64](https://github.com/fontsource/fontsource/issues/64) [#122](https://github.com/fontsource/fontsource/pull/122) ### Fixes - Major refactor to organise the templates and generic packager. [#120](https://github.com/fontsource/fontsource/pull/120) ## 4.0.x ### BREAKING CHANGES - Package names have been renamed from `fontsource-` to the safer, more authentic scoped format `@fontsource/`. That means all packages will need to be reinstalled with `yarn add @fontsource/` or `npm install @fontsource/` with imports updated to the new package such as `import @fontsource/open-sans/400-italic.css`. [#108](https://github.com/fontsource/fontsource/issues/108) - `import @fontsource//.css` now only contains normal style variants of fonts. The `-normal.css` files throughout the respository have been removed. Importing italic variants remain the same via `import @fontsource//-italic.css`. Please see [#88](https://github.com/fontsource/fontsource/issues/88) for more details. [#112](https://github.com/fontsource/fontsource/pull/112) ### Features - All non-Google fonts now have weight specific files that match 3.0.x as they previously were only importable via subsets. Simply use as normal with `import @fontsource//.css`. [#92](https://github.com/fontsource/fontsource/issues/92) [#115](https://github.com/fontsource/fontsource/pull/115) ### Fixes - Add publishConfig to package.json templates for scoped packages to successfully publish. [#118](https://github.com/fontsource/fontsource/pull/118) - Generate index.css for fonts that do not have weight 400. [#119](https://github.com/fontsource/fontsource/pull/119) # 3.x Release ## 3.1.x ### Features - Initial variable font support for Google Fonts. Supported fonts can be found [here](https://fonts.google.com/variablefonts) with their package README's explaining installation instructions. [#103](https://github.com/fontsource/fontsource/pull/103) ### Fixes - Resolve incorrect filename generation for oblique/slnt variable fonts. [#106](https://github.com/fontsource/fontsource/pull/106) [#109](https://github.com/fontsource/fontsource/pull/109) - Prevent full variant variable CSS files to be generated for fonts that do not have any extra axes. [#110](https://github.com/fontsource/fontsource/pull/110) ## 3.0.x ### BREAKING CHANGES - `import fontsource-` or `index.css` no longer defaults to contain ALL weights and styles for a font. It now only contains weight 400 with all styles included. This was changed to prevent fonts, such as Noto Sans JP, to counter-intuitively generate 1MB+ CSS files with the new unicode-range feature. Simply choose the necessary weights and styles from now on with `import fontsource-/.css` or `import fontsource-/-