12.0.0 (2024-02-18)
- Typescript < 3.8 is no longer supported, please update to typescript >= 3.8
11.0.1 (2023-11-14)
11.0.0 (2023-10-31)
- esm: use .mjs ext in import / export statements of compiled files (67de319)
- esm: add .mjs extenstion in import / export statements
- support for esbuild
10.1.0 (2023-09-03)
- delimiter: introduce new delimiter type NONE (70e47e3)
10.0.0 (2023-03-07)
- svgo: SVGO 3 - See config changes on the official svgo side
9.0.0 (2023-01-03)
- esm: Previously esm files were delivered with a .js ending. Now they will be delivered with a .mjs ending
8.9.0 (2022-10-13)
- adds-pops-to-tsx-const-svg-components (3180fac)
8.8.1 (2022-06-21)
- error for too many icons in completeIconSet (664beba)
- missing argument for generateCompleteIconSet (1f1a4b5)
8.8.0 (2022-06-17)
- support namePrefix (6f1511c)
8.7.1 (2022-06-14)
- compilation: adjust generated UMD output directory (4b9d12a)
8.7.0 (2022-06-14)
- compilation: add new compilation outputs (257edf8)
8.6.1 (2022-04-30)
- badges: reference correct badge in README (e5b273f)
8.6.0 (2022-04-30)
8.5.0 (2022-04-24)
- (tsx): add tsx constants conversion (5baac39), closes #159
- (tsx): generate SVG constants into multiple TSX files (f482cdd), closes #159
- (tsx) add tsx option and add object converter: accepts a TSX flag for object conversion (76729aa), closes #159
8.4.0 (2022-03-21)
- converter: add notification about using default values (493865a)
- converter: add typeName for object generation (e9c6194)
- converter: fix default typeName + use it in options collector (9052b44)
8.3.1 (2022-02-21)
8.3.0 (2022-02-04)
- configoptions: add export complete icon set as config options (6df1b7e)
- constants: export all generated constants by default and add configuration option (cd43dcb), closes #132
8.2.0 (2022-02-03)
8.1.0 (2022-02-03)
8.0.1 (2022-02-03)
8.0.0 (2022-02-02)
- imports: remove leftover imports (6d26dec)
- options: adjust scripts and add missing options (9efd1c9)
- binaries: Instead of providing one binary, svg-to-ts we now provide 3 binaries, one for file, object and one for constants
143
7.1.1 (2022-01-15)
- file-helper: add missing comma and release latest file helper fix (ea0c1ab)
7.1.0 (2021-10-24)
- enum: add enum type option (630f8f4)
7.0.0 (2021-10-05)
- (svgo) update svgo to v2: svg-to-ts now ships with svgo 2. SVGO 2 has different syntax of passing configuration. Furthermore we use the SVGO default object and dont introduce a custom fallback anymore
6.0.2 (2021-09-06)
- typo: Generate barrel file (03f58e1)
6.0.1 (2021-04-09)
- 🐛 handle large icon sets > 10k. Closes: 115 (133e16b)
6.0.0 (2020-12-06)
- 🐛 ensures name subset helper always has a unique name (d1a5d69), closes #91
- 🐛 start spinner on generation start (6f34ab0)
- The
IconNameSubset
helper is now dynamically generated based off of theinterfaceName
property. Any references to this will need updating.
5.7.1 (2020-10-31)
- 🐛 handle file names with special characters (475c333)
5.7.0 (2020-10-27)
- 🎸 export helpers and converters for usage in JS/TS (66182e8)
5.6.2 (2020-10-19)
- remove svg-to-ts attribute from .svg-to-tsrc example (f1f575a)
- replace 'modelFileName' by 'fileName' in exemple (7d0c43a)
5.6.1 (2020-10-14)
- 🐛 add prettier as dependency instead of dev dependency (dcfff2e)
5.6.0 (2020-10-13)
- 🎸 add IconNameSubset helper type (d56e890)
5.5.2 (2020-10-13)
5.5.1 (2020-10-11)
- 🐛 fix wrong import of svgo (d0e38e2)
5.5.0 (2020-10-08)
- type-name: add new delimiter UPPER (8bbd77f)
5.4.0 (2020-10-07)
- 🎸 handle multiple configurations (bc8befc)
5.3.0 (2020-10-06)
5.2.2 (2020-10-05)
- 🐛 default options (ea65433)
5.2.1 (2020-10-04)
- 🐛 apply default barrel file name in conversion options (f8d4e9e)
5.2.0 (2020-09-03)
- completeIconSet: add exportCompleteIconSet option (43becd2)
5.1.0 (2020-09-02)
- filecomment: add new line after comment (1deaa3f)
- comments: prepend generated files with file comment (cc6f6dd)
5.0.4 (2020-09-02)
- typeobject: generate type object for icons with special character (f5d96b8)
5.0.3 (2020-09-02)
- log: fix logging of error message (040ea28)
5.0.2 (2020-08-25)
- exitcodes: add propper exit codes on failure (902d09c)
5.0.1 (2020-06-28)
- logo: change logo (18d60ed)
5.0.0 (2020-06-16)
- args: add shortcut for convertionType (f061efc)
- converting: add new convertion option to convert svg-icons to objects (9459f36)
- convertionOptions: add new convertion options (4886eef)
- defaultexport: use default export if no objectname is specified (d5c8635)
- export: add possibility for default exports (4246587)
- options: conversion option is required
4.3.0 (2020-06-04)
- svgo: automatically prefix svg ids with filename (5bb989b)
4.2.3 (2020-06-04)
- svgo: correctly pick up options from external config file (9b8d138)
4.2.2 (2020-05-05)
- prefix: allow empty prefixes (6fa8f1f)
4.2.1 (2020-04-12)
- docs: add missing options for single file conversion (0c6c3e1)
4.2.0 (2020-04-12)
- config: add options to not generate type and to generate type object (9e120b3)
- config: add options to not generate type and to generate type object (8bbec6f)
4.1.1 (2020-03-28)
- escaping: Use template literals instead of ' quotes to encapsulate svgs, as the quote character can occur in svgs. (a5fd0a4)
4.1.0 (2020-03-25)
- args: update args (09fdd27)
- svgo: use configuration to config svgo (de279ae)
- svgoconfig: accept svgo config as parameter (b2466e2)
4.0.5 (2020-03-25)
- args: rename preCompileSources to compileSources (556203b)
4.0.4 (2020-03-25)
- readme: fix API in README (f8e547b)
4.0.3 (2020-03-23)
- README: link blogpost with step to step guide (be96c5f)
4.0.2 (2020-03-23)
4.0.1 (2020-03-23)
- image: overwrite example src image (2fa0d9f)
4.0.0 (2020-03-23)
- optimizeforlazyloading: add compile sources flag (b177737)
- optimizeforlazyloading: Rename preCompile sources to compileSources
3.5.1 (2020-03-18)
- helpmenu: add typescript as dependency (65655e5)
3.5.0 (2020-03-15)
3.4.0 (2020-03-15)
- precompilation: add flag to precompile sources (0f59a83)
3.3.2 (2020-03-11)
- modelfile: remove output path (9f03426)
3.3.1 (2020-03-10)
- compile: do not compile typescript sources (ef8b79d)
3.3.0 (2020-03-08)
- config: read config from package.json, rc file and args (524655f)
3.2.1 (2020-03-05)
- icon: generate name as type any (08bd563)
3.2.0 (2020-03-05)
- model: generate model to a different path (c10d322)
3.1.4 (2020-03-04)
- compiler: emit on error (edb1ea7)
3.1.3 (2020-03-04)
- compiler: emit compiled sources (592ef68)
3.1.2 (2020-03-04)
- compiler: reduce strictness (19f6480)
3.1.1 (2020-03-04)
- generation: fix generated folder name (680f1f1)
3.1.0 (2020-03-04)
- compiler: compile ts files (a911b7c)
- converter: convert to multiple files (fe13a4c)
- multifiles: generate multiple files (d933e1e)
3.0.0 (2020-02-25)
- sources: srcDirectories is gone and we should now use srcFiles
2.2.1 (2020-02-10)
- conversion: check to allow only svg files (9fc3111)
2.2.0 (2019-12-31)
- delimiter: add delimiter option to allow a custom delimiter (c69358e)
- type: generate the types with the correct delimiter (c6d1ebc)
2.1.0 (2019-12-13)
- types: Fix error in type generation when last item is a folder (c70c15d)
- input: Handle multiple sourceDir (fe9fd84)
2.0.3 (2019-12-10)
- input: Exclude folders to source directory (d2878a7)
2.0.2 (2019-12-10)
- type: add missing export statement (ddab6ae)
2.0.1 (2019-12-10)
- conversion: use camel case for variable names (89acef3)
2.0.0 (2019-12-10)
- conversion: use snake case instead of camel case (8963ce7)
- conversion: Generate types and variable names in snake case instead of camel case
1.1.2 (2019-12-09)
- output: generate output with single quotes instead of double quotes (bbd38f6)
1.1.1 (2019-12-09)
- bin: fix wrong path to bin file (bbb9565)
1.1.0 (2019-12-09)
- filename: accept fileName as input property (b99809d)
1.0.1 (2019-12-05)
- camelcase: fix camel case is not a function (dd6af14)