All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
11.3.0 (2021-09-07)
11.2.37 (2021-09-06)
11.2.36 (2021-09-04)
11.2.35 (2021-09-04)
11.2.34 (2021-09-04)
11.2.33 (2021-08-28)
11.2.32 (2021-08-27)
11.2.31 (2021-08-24)
11.2.30 (2021-08-24)
11.2.29 (2021-08-17)
11.2.28 (2021-08-17)
11.2.27 (2021-08-10)
11.2.26 (2021-08-07)
11.2.25 (2021-08-03)
11.2.24 (2021-08-01)
11.2.23 (2021-07-31)
11.2.21 (2021-07-31)
11.2.22 (2021-07-31)
11.2.21 (2021-07-31)
11.2.20 (2021-07-31)
11.2.19 (2021-07-27)
11.2.18 (2021-07-27)
11.2.17 (2021-07-27)
11.2.16 (2021-07-27)
11.2.15 (2021-07-26)
11.2.14 (2021-07-26)
11.2.13 (2021-07-24)
11.2.12 (2021-07-23)
11.2.11 (2021-07-23)
11.2.10 (2021-07-20)
11.2.8 (2021-07-06)
11.2.7 (2021-07-01)
11.2.6 (2021-06-29)
11.2.5 (2021-06-29)
11.2.4 (2021-06-23)
11.2.3 (2021-06-23)
11.2.2 (2021-06-22)
11.2.1 (2021-06-22)
11.2.0 (2021-06-22)
- add new transformation function (6a0c60c), closes #183
- add standalone glyphs data getter (0cfe581)
- types: add
unicode
key toGlyphMetadata
(33fa7cb) - types: allow
unicode
key and Promise asGlyphTransformFn
output (a3bde0c) - add standalone options getter (13b8596)
- deps: fix security issue (3abc00a)
- deps: fixed 1 package vulnerability (feda633)
- deps: pin
svgicons2svgfont
to10.0.1
(87789d3)
11.1.1 (2021-05-13)
- deps: upgrade
wawoff2
dependency (69a8dfb)
11.1.0 (2021-05-12)
11.0.0 (2021-05-12)
- We removed support for Node.js 11 and Node.js 10 at this version. Please upgrade your environment to Node.js 12 or higher.
- remove Node.js 10 and 11 support (0f0dbf6)
10.1.0 (2021-05-12)
- deps: upgrade dependencies (d623b06)
10.0.1 (2021-05-12)
10.0.0 (2021-04-08)
-
starting from version 10 stable, you should use webfont via named import, like this:
import { webfont } from "webfont"
. -
adopt named import/export system (31adbc7)
-
drop support for Node.js 8;
- migrate all codebase to TypeScript (0b71779)
- add support to ligatures and JSON template (f622c44)
- cli: add support to
template-cache-string
argument (ae8b050) - demo: add styl file example (3aa5180)
- demo: update fonts with ligatures support (64b10d6)
- json template and template cache string: add json built-in template, and templateCacheString which defaults to unix timestamp. (1e43bba)
- ligatures: add ligature support (9106a13)
- standalone: add support to JSON template and cacheString (ad64421)
- templates: add cacheString support (f39d2c1)
- templates: add template for JSON (3b704b3)
- add stylus template (588a753)
- allow adding a hash in generated font file name (@brunoroux) (1913c9a)
- allow to add a hash in generated font file name (6ca0d9e)
- respect
formats
option when using external config (29769b0)
- cli: use
fs
instead offs-extra
for writing files (e7bf9f5) - demo: adopt
font-display: block
for a little better icon font loading (0f9dbc0) - deps: [Snyk] Fix for 1 vulnerabilities (6e08d33), closes #197
- deps: [Snyk] Fix for 1 vulnerable dependencies (6e9e243), closes #188
- deps: [Snyk] Security upgrade meow from 5.0.0 to 6.1.0 (b5f9021), closes #195
- deps: fix insecure dependency (59a9604)
- deps: fix/sort deps and scripts after
npm audit fix
(cf5cfc4), closes #209 - deps: fix/sort deps and scripts after
npm audit fix
(4118fcf) - deps: pin/upgrade eslint dependencies, fix some errors (9206e72), closes #225
- deps: sort/upgrade dependencies after npm audit fix (0f976a9), closes #220
- deps: sort/upgrade dependencies after npm audit fix (a1ba509)
- deps: upgrade
eslint
dependencies and plugins (1e5a5ca) - templates: adopt
font-display: block
for better icon font loading (4669891) - .snyk, package.json & package-lock.json to reduce vulnerabilities (2e387cc)
- package.json & package-lock.json to reduce vulnerabilities (b02f52f)
- package.json, package-lock.json & .snyk to reduce vulnerabilities (c805812)
- package.json, package-lock.json & .snyk to reduce vulnerabilities (791e5f4)
- package.json, package-lock.json & .snyk to reduce vulnerabilities (8f037d5)
- Changed: drops support for Node.js 6.
- Feat: improve basic templates (see templates).
- Feat: use wasm package for generate woff2
- Chore: update dependencies.
- Added:
sort
option (and--no-sort
flag for CLI). - Chore: update dependencies.
- Chore: minimum require
svgicons2svgfont
version is now^9.0.3
(this fix compatibility withnodejs@10
).
- Chore: minimum require
meow
version is now^5.0.0
. - Chore: minimum require
cosmiconfig
version is now^5.0.3
. - Chore: minimum require
fs-extra
version is now^6.0.1
. - Chore: drop
merge-deep
in favorlodash.merge
.
- Fixed: deterministic output (i.e. each glyph in font have same unicode in font).
- Fixed: always configure
nunjucks
for template path.
- Feat: export
config
path when he is using (inresult.config.filePath
).
- Added:
demo
directory (thanks for @shogo). - Changed: export
glyphsData
insteadfoundFiles
(glyphsData
contain all information about any glyph). - Changed:
result.styles
rename toresult.template
(for API). - Changed:
dest
by defaultprocess.cwd()
. - Changed: rename
dest-styles
CLI option todest-template
. - Changed: rename
cssTemplateClassName
totemplateClassName
. - Changed: rename
cssTemplateFontPath
totemplateFontPath
. - Changed: rename
cssTemplateFontName
totemplateFontName
. - Changed:
glyphTransformFn
should always return glyph metadata. - Changed: minimum required
nodejs
version is now6.9.5
(see svgicons2svgfont. - Changed: use
globby@8
(based onfast-glob
, it is better perf). - Chore: minimum used
svgicons2svgfont
package is now^9.0.2
- Chore: minimum used
cosmiconfig
package is now^4.0.0
- Fixed: don't use
globby
for getting build-in tempalte (better perf). - Fixed: always add trailing slash to
templateFontPath
.
- Fixed: use
copyright
,ts
andversion
with null value by default, it is avoid problems when your use long term caching. - Fixed: options for
ttf
font generation now correctly handles.
- Fixed: search config if not present in CLI arguments.
- Fixed:
template
option now respected from config.
- Fixed: potential crash with memory allocation when using
fs
for read files.
- Added:
glyphTransformFn
option for transform glyph metadata before transferred in style template.
- Fixed: exit code can be not number.
- Fixed: arguments for svgicons2svgfont (missing font prefix).
- Chore: improved output of help in
CLI
.
- Added:
template
option insteadcss
,cssFormat
,srcCssTemplate
. - Added:
destStyles
options insteaddestCssTemplate
. - Added:
styles
property to result. - Fixed: throw error on empty
svg
files. - Removed:
css
option. - Removed:
cssFormat
option. - Removed:
srcCssTemplate
option. - Removed:
css
property from result. - Removed:
destCssTemplate
argument fromcli
. - Tests: improved tests (relative and absolute path to template).
- Fixed: regression bug with passed arguments to template.
- Fixed: validate
xml
of glyphs. - Chore: minimum required
eslint-plugin-ava
version is now^2.2.0
. - Chore: minimum required
eslint-plugin-itgalaxy
version is now^26.0.0
. - Chore: minimum required
eslint-plugin-jsx-a11y
version is now^3.0.0
. - Chore: minimum required
eslint-plugin-react
version is now^6.6.0
. - Chore: refactoring code.
- Fixed: use
reject
insteadPromise.reject
in glyphserror
callback. - Fixed: use callback
finish
insteadend
forsvgicons2svgfont
stream. - Tests: improve tests on bad examples.
- Fixed: add
error
event toglyph
stream. - Fixed: don't create
new Error
where this is not necessary. - Chore: minimum required
nunjucks
version is now^3.0.0
. - Chore: minimum required
eslint
version is now^3.9.1
. - Chore: minimum required
eslint-plugin-ava
version is now^4.0.0
. - Chore: minimum required
eslint-plugin-itgalaxy
version is now^25.0.0
. - Chore: minimum required
eslint-plugin-node
version is now^3.0.0
. - Chore: minimum required
eslint-plugin-promise
version is now^3.3.0
. - Chore: minimum required
eslint-plugin-react
version is now^6.5.0
. - Tests: improve tests on bad examples.
- Added: support
nodejs
7
. - Added:
verbose
argument for verbose output. - Remove:
quite
argument. - Chore: improve
README.md
. - Chore: improve
description
inpackage.json
.
- Fixed: wrong
CSS
syntax when not all format are selected. - Chore(SEMVER-MAJOR): rename extension for all templates from
nunjucks
tonjk
.
- Fixed: CLI
fontName
andformats
arguments bug. - Chore: minimum required
ajv-cli
version is now^1.1.0
. - Chore: minimum required
remark-preset-lint-itgalaxy
version is now^2.0.0
. - Chore: minimum required
nunjucks
from2.0.0
to2.5.0
. - Chore: minimum required
eslint-plugin-import
version is now^2.0.0
. - Chore: minimum required
eslint-plugin-promise
version is now^3.0.0
. - Chore: minimum required
eslint-plugin-lodash
version is now^2.1.0
. - Chore: rename
eslint-plugin-xo
toeslint-plugin-unicorn
. - Chore: minimum required
eslint-plugin-unicorn
version is now^1.0.0
. - Chore: minimum required
eslint-plugin-itgalaxy
version is now^23.0.0
. - Chore: minimum required
cosmiconfig
version is now^2.0.0
.
- Changed: all style templates for font now have
nunjucks
extension. - Chore(package): remove extra
files
frompackage.json
. - Chore(package): install all
peerDependencies
foreslint-plugin-itgalaxy
. - Chore(package): update a minimal version
ava
from0.15.0
to0.16.0
. - Chore(package): update a minimal version
eslint-plugin-ava
from2.5.0
to3.0.0
. - Chore(package): update a minimal version
npm-run-all
from2.3.0
to3.0.0
. - Chore(package): update a minimal version
eslint-plugin-itgalaxy
from8.0.0
to11.0.0
. - Chore(package): update a minimal version
nyc
from7.0.0
to8.0.0
. - Chore(package): remove
nyc
settings, now fine works without their. - Chore(package): use
^
instead~
frombabel-preset-stage-0
. - Chore(package): use
remark-preset-lint-itgalaxy
insteadremark-lint-config-itgalaxy
. - Chore(package): use right version for
eslint-plugin-*
andeslint
. - Chore: improved
README.md
. - Chore: fix glob pattern for
lint:remark
script command.
- Fixed:
--css-template-font-path
now get also fromcosmiconfig
.
- Added: support
cosmiconfig
. - Changed: change function arguments in
standalone
. - Chore: refactoring.
- Chore: sorting alphabetically
dependencies
anddevDependencies
. - Chore: remove unused
eslint-*
plugins fromdevDependencies
. - Chore: update minimal version
eslint-plugin-itgalaxy
to8.0.0
. - Chore: check is valid fonts in tests.
- Chore: add more tests.
- Chore: sharable config for
remark-lint
. - Chore: add
nodejs
v5 to.travis.yml
.
- Chore: improved
description
andkeywords
inpackage.json
.
- Fixed:
svg2ttf
now correctly generatesttf
font. - Fixed:
ttf2eot
now correctly generateseot
font. - Fixed:
ttf2woff
now correctly generateswoff
font. - Fixed:
svg2ttf
now correctly accepts option. - Chore: more readable name tests.
- Chore: rename extension
templates
.
- Chore: update
globby
to6.0.0
. - Chore: update minimal version
babel-cli
to6.11.0
. - Chore: update minimal version
babel-core
to6.11.0
. - Chore: update
eslint-plugin-itgalaxy
to6.0.0
.
- Added:
--src-css-template
agument. - Added:
--css-template-class-name
argument. - Added:
--css-template-font-path
argument. - Added:
--css-template-font-name
argument. - Changed: remove
--css-template-format
argument, now format is taken from--dest-css-template
. - Changed: remove
--css
argument, css now generated if you use--dest-css-template
argument. - Changed: rename
--css-template-dest
argument to--dest-css-template
. - Remove:
--css-template
argument.
- Fixed: get
fontId
fromfontName
, iffontId
isnull
orundefined
.
- Initial release.