Skip to content

Releases: SirPole/google-fonts-plugin

Release version 5.0.2

27 Sep 17:17
14b91c3
Compare
Choose a tag to compare
  • Update dependencies, fix vulnerabilities

5.0.1

23 Sep 13:14
0b22ee0
Compare
Choose a tag to compare

Fixes

  • Fix deleted files with default filename

Release version 5.0.0

19 Jul 19:22
8d7be73
Compare
Choose a tag to compare

Thanks to all for your bug reports and feature suggestions!

New features

  • Added text option to fonts, to allow download of only specific characters instead of the whole font face.
  • Added filename option to specify custom resulting file. Rewrites [name], [hash] and [chunkhash].
  • Added basic google analytics statistics, you may opt out at any time by setting stats to false. I am only collecting options to get an idea how are people using the plugin (and to have some cool data to look at 😉)

Other changes

  • Rewrote the entire thing to typescript, phew.
  • Updated dependencies

Fixed issues

  • Fixed chunk lookup when split chunks were used (#14)
  • Fixed redundant 1.main.js file (#13)

Breaking changes

  • Dropped neon-js support to make the plugin a bit lighter, you now need to parse it yourself:
const GoogleFontsPlugin = require('google-fonts-plugin')
const { decode } = require('neon-js')
const { resolve } = require('path')
const { readFileSync } = require('fs')
const configFile = resolve(__dirname, 'path', 'to', 'config.neon')

// webpack config object
...
plugins: [
  new GoogleFontsPlugin(decode(readFileSync(configFile, 'utf8'), 'object')['google-fonts-plugin'])
]

Release version 4.1.0

12 May 16:28
bc624cd
Compare
Choose a tag to compare
  • Fixes watching in webpack
  • Adds font-display property when encoding is disabled

Closes #8, #9

v4.0.1

13 Feb 19:22
a238c3f
Compare
Choose a tag to compare

Removes minify option, it is now handled by webpack
Adds simple caching

v3.0.0

27 Jan 11:33
1de2c19
Compare
Choose a tag to compare
  • Hooks properly to webpack, show emited files and their sizes
  • Changes how formats are used and passed to functions

v2.1.0

24 Dec 19:09
691ef32
Compare
Choose a tag to compare

CAUTION: This release is reprecated

v2.0.2

01 Aug 16:14
5762a11
Compare
Choose a tag to compare

Remove @babel/runtime dependency

v2.0.1

31 Jul 18:56
Compare
Choose a tag to compare
  • Webpack 4 support
  • Dropx Webpack 3 support, use version 1.0.3 for that.
  • Updated dependencies
  • Changed exporting strategy, drops need for .default after requiring
  • Changed license to MIT

v1.0.3

04 Apr 23:15
fbc7094
Compare
Choose a tag to compare
  • Use docker-compose
  • Export class right away
  • Fix issue with nested configuration
  • Fix webpack apply test