UNPKG

8.05 kBMarkdownView Raw
1# Change Log
2
3All notable changes to this project will be documented in this file.
4
5This project adheres to [Semantic Versioning](http://semver.org).
6
7## 8.1.1 - 2018-03-22
8
9* Fixed: always configure `nunjucks` for template path.
10
11## 8.1.0 - 2018-03-22
12
13* Feat: export `config` path when he is using (in `result.config.filePath`).
14
15## 8.0.0 - 2018-03-21
16
17* Added: `demo` directory (thanks for [@shogo](https://github.com/ShogoFunaguchi)).
18* Changed: export `glyphsData` instead `foundFiles` (`glyphsData` contain all information about any glyph).
19* Changed: `result.styles` rename to `result.template` (for API).
20* Changed: `dest` by default `process.cwd()`.
21* Changed: rename `dest-styles` CLI option to `dest-template`.
22* Changed: rename `cssTemplateClassName` to `templateClassName`.
23* Changed: rename `cssTemplateFontPath` to `templateFontPath`.
24* Changed: rename `cssTemplateFontName` to `templateFontName`.
25* Changed: `glyphTransformFn` should always return glyph metadata.
26* Changed: minimum required `nodejs` version is now `6.9.5` (see [svgicons2svgfont](https://github.com/nfroidure/svgicons2svgfont/blob/master/package.json#L41).
27* Changed: use `globby@8` (based on `fast-glob`, it is better perf).
28* Chore: minimum used `svgicons2svgfont` package is now `^9.0.2`
29* Chore: minimum used `cosmiconfig` package is now `^4.0.0`
30* Fixed: don't use `globby` for getting build-in tempalte (better perf).
31* Fixed: always add trailing slash to `templateFontPath`.
32
33## 7.1.4 - 2017-05-24
34
35* Fixed: use `copyright`, `ts` and `version` with null value by default, it is avoid problems when your use long term caching.
36* Fixed: options for `ttf` font generation now correctly handles.
37
38## 7.1.3 - 2017-04-13
39
40* Fixed: search config if not present in CLI arguments.
41
42## 7.1.2 - 2017-04-12
43
44* Fixed: `template` option now respected from config.
45
46## 7.1.1 - 2017-03-29
47
48* Fixed: potential crash with memory allocation when using `fs` for read files.
49
50## 7.1.0 - 2017-01-24
51
52* Added: `glyphTransformFn` option for transform glyph metadata before transferred in style template.
53
54## 7.0.2 - 2016-12-22
55
56* Fixed: exit code can be not number.
57
58## 7.0.1 - 2016-12-20
59
60* Fixed: arguments for svgicons2svgfont (missing font prefix).
61* Chore: improved output of help in `CLI`.
62
63## 7.0.0 - 2016-11-09
64
65* Added: `template` option instead `css`, `cssFormat`, `srcCssTemplate`.
66* Added: `destStyles` options instead `destCssTemplate`.
67* Added: `styles` property to result.
68* Fixed: throw error on empty `svg` files.
69* Removed: `css` option.
70* Removed: `cssFormat` option.
71* Removed: `srcCssTemplate` option.
72* Removed: `css` property from result.
73* Removed: `destCssTemplate` argument from `cli`.
74* Tests: improved tests (relative and absolute path to template).
75
76## 6.0.4 - 2016-11-08
77
78* Fixed: regression bug with passed arguments to template.
79
80## 6.0.3 - 2016-11-08
81
82* Fixed: validate `xml` of glyphs.
83* Chore: minimum required `eslint-plugin-ava` version is now `^2.2.0`.
84* Chore: minimum required `eslint-plugin-itgalaxy` version is now `^26.0.0`.
85* Chore: minimum required `eslint-plugin-jsx-a11y` version is now `^3.0.0`.
86* Chore: minimum required `eslint-plugin-react` version is now `^6.6.0`.
87* Chore: refactoring code.
88
89## 6.0.2 - 2016-11-07
90
91* Fixed: use `reject` instead `Promise.reject` in glyphs `error` callback.
92* Fixed: use callback `finish` instead `end` for `svgicons2svgfont` stream.
93* Tests: improve tests on bad examples.
94
95## 6.0.1 - 2016-11-07
96
97* Fixed: add `error` event to `glyph` stream.
98* Fixed: don't create `new Error` where this is not necessary.
99* Chore: minimum required `nunjucks` version is now `^3.0.0`.
100* Chore: minimum required `eslint` version is now `^3.9.1`.
101* Chore: minimum required `eslint-plugin-ava` version is now `^4.0.0`.
102* Chore: minimum required `eslint-plugin-itgalaxy` version is now `^25.0.0`.
103* Chore: minimum required `eslint-plugin-node` version is now `^3.0.0`.
104* Chore: minimum required `eslint-plugin-promise` version is now `^3.3.0`.
105* Chore: minimum required `eslint-plugin-react` version is now `^6.5.0`.
106* Tests: improve tests on bad examples.
107
108## 6.0.0 - 2016-10-26
109
110* Added: support `nodejs` `7`.
111* Added: `verbose` argument for verbose output.
112* Remove: `quite` argument.
113* Chore: improve `README.md`.
114* Chore: improve `description` in `package.json`.
115
116## 5.0.0 - 2016-10-24
117
118* Fixed: wrong `CSS` syntax when not all format are selected.
119* Chore(SEMVER-MAJOR): rename extension for all templates from `nunjucks` to `njk`.
120
121## 4.0.1 - 2016-10-19
122
123* Fixed: CLI `fontName` and `formats` arguments bug.
124* Chore: minimum required `ajv-cli` version is now `^1.1.0`.
125* Chore: minimum required `remark-preset-lint-itgalaxy` version is now `^2.0.0`.
126* Chore: minimum required `nunjucks` from `2.0.0` to `2.5.0`.
127* Chore: minimum required `eslint-plugin-import` version is now `^2.0.0`.
128* Chore: minimum required `eslint-plugin-promise` version is now `^3.0.0`.
129* Chore: minimum required `eslint-plugin-lodash` version is now `^2.1.0`.
130* Chore: rename `eslint-plugin-xo` to `eslint-plugin-unicorn`.
131* Chore: minimum required `eslint-plugin-unicorn` version is now `^1.0.0`.
132* Chore: minimum required `eslint-plugin-itgalaxy` version is now `^23.0.0`.
133* Chore: minimum required `cosmiconfig` version is now `^2.0.0`.
134
135## 4.0.0
136
137* Changed: all style templates for font now have `nunjucks` extension.
138* Chore(package): remove extra `files` from `package.json`.
139* Chore(package): install all `peerDependencies` for `eslint-plugin-itgalaxy`.
140* Chore(package): update a minimal version `ava` from `0.15.0` to `0.16.0`.
141* Chore(package): update a minimal version `eslint-plugin-ava` from `2.5.0` to `3.0.0`.
142* Chore(package): update a minimal version `npm-run-all` from `2.3.0` to `3.0.0`.
143* Chore(package): update a minimal version `eslint-plugin-itgalaxy` from `8.0.0` to `11.0.0`.
144* Chore(package): update a minimal version `nyc` from `7.0.0` to `8.0.0`.
145* Chore(package): remove `nyc` settings, now fine works without their.
146* Chore(package): use `^` instead `~` from `babel-preset-stage-0`.
147* Chore(package): use `remark-preset-lint-itgalaxy` instead `remark-lint-config-itgalaxy`.
148* Chore(package): use right version for `eslint-plugin-*` and `eslint`.
149* Chore: improved `README.md`.
150* Chore: fix glob pattern for `lint:remark` script command.
151
152## 3.0.1
153
154* Fixed: `--css-template-font-path` now get also from `cosmiconfig`.
155
156## 3.0.0
157
158* Added: support `cosmiconfig`.
159* Changed: change function arguments in `standalone`.
160* Chore: refactoring.
161* Chore: sorting alphabetically `dependencies` and `devDependencies`.
162* Chore: remove unused `eslint-*` plugins from `devDependencies`.
163* Chore: update minimal version `eslint-plugin-itgalaxy` to `8.0.0`.
164* Chore: check is valid fonts in tests.
165* Chore: add more tests.
166* Chore: sharable config for `remark-lint`.
167* Chore: add `nodejs` v5 to `.travis.yml`.
168
169## 2.0.3
170
171* Chore: improved `description` and `keywords` in `package.json`.
172
173## 2.0.2
174
175* Fixed: `svg2ttf` now correctly generates `ttf` font.
176* Fixed: `ttf2eot` now correctly generates `eot` font.
177* Fixed: `ttf2woff` now correctly generates `woff` font.
178* Fixed: `svg2ttf` now correctly accepts option.
179* Chore: more readable name tests.
180* Chore: rename extension `templates`.
181
182## 2.0.1
183
184* Chore: update `globby` to `6.0.0`.
185* Chore: update minimal version `babel-cli` to `6.11.0`.
186* Chore: update minimal version `babel-core` to `6.11.0`.
187* Chore: update `eslint-plugin-itgalaxy` to `6.0.0`.
188
189## 2.0.0
190
191* Added: `--src-css-template` agument.
192* Added: `--css-template-class-name` argument.
193* Added: `--css-template-font-path` argument.
194* Added: `--css-template-font-name` argument.
195* Changed: remove `--css-template-format` argument, now format is taken from `--dest-css-template`.
196* Changed: remove `--css` argument, css now generated if you use `--dest-css-template` argument.
197* Changed: rename `--css-template-dest` argument to `--dest-css-template`.
198* Remove: `--css-template` argument.
199
200## 1.0.1
201
202* Fixed: get `fontId` from `fontName`, if `fontId` is `null` or `undefined`.
203
204## 1.0.0
205
206* Initial release.