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