Skip to content

Latest commit

 

History

History
673 lines (324 loc) · 28.1 KB

CHANGELOG.md

File metadata and controls

673 lines (324 loc) · 28.1 KB

12.0.0 (2024-02-18)

Features

  • updates generateTypeHelper to use type keyword and updates prettier version (2f3d9ee), closes #242

BREAKING CHANGES

  • Typescript < 3.8 is no longer supported, please update to typescript >= 3.8

11.0.1 (2023-11-14)

Bug Fixes

  • tsx: use the correct type for tsx props (00348a9), closes #226

11.0.0 (2023-10-31)

Features

  • esm: use .mjs ext in import / export statements of compiled files (67de319)

BREAKING CHANGES

  • esm: add .mjs extenstion in import / export statements
  • support for esbuild

10.1.0 (2023-09-03)

Features

  • delimiter: introduce new delimiter type NONE (70e47e3)

10.0.0 (2023-03-07)

Features

  • svgo: bump svgo to the latest version (06f2fad), closes #207

BREAKING CHANGES

  • svgo: SVGO 3 - See config changes on the official svgo side

9.0.0 (2023-01-03)

Bug Fixes

  • esm: deliver correct esm files (a16137d), closes #201

BREAKING CHANGES

  • 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)

Features

  • adds-pops-to-tsx-const-svg-components (3180fac)

8.8.1 (2022-06-21)

Bug Fixes

  • error for too many icons in completeIconSet (664beba)
  • missing argument for generateCompleteIconSet (1f1a4b5)

8.8.0 (2022-06-17)

Features

8.7.1 (2022-06-14)

Bug Fixes

  • compilation: adjust generated UMD output directory (4b9d12a)

8.7.0 (2022-06-14)

Features

  • compilation: add new compilation outputs (257edf8)

8.6.1 (2022-04-30)

Bug Fixes

  • badges: reference correct badge in README (e5b273f)

8.6.0 (2022-04-30)

Features

  • enum: generate enums for constants (dc20ced), closes #165

8.5.0 (2022-04-24)

Features

  • (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)

Features

  • 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)

Bug Fixes

  • flag handling: only apply default for non provided flags (e2b42f1), closes #156

8.3.0 (2022-02-04)

Bug Fixes

  • configoptions: add export complete icon set as config options (6df1b7e)

Features

  • constants: export all generated constants by default and add configuration option (cd43dcb), closes #132

8.2.0 (2022-02-03)

Features

  • read: fail early if no srcFiles are found (c8a1a31), closes #150

8.1.0 (2022-02-03)

Features

  • completeiconset: add option to configure the name of the complete icon set (4cd5c53), closes #148

8.0.1 (2022-02-03)

Bug Fixes

  • infomessage: log correct conversion type (bb50299), closes #146

8.0.0 (2022-02-02)

Bug Fixes

  • imports: remove leftover imports (6d26dec)
  • options: adjust scripts and add missing options (9efd1c9)

Features

  • binaries: export 3 new binaries (0c389eb)
  • binaries: provide new binaries (cd8ddc0)

BREAKING CHANGES

  • 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)

Bug Fixes

  • file-helper: add missing comma and release latest file helper fix (ea0c1ab)

7.1.0 (2021-10-24)

Features

  • enum: add enum type option (630f8f4)

7.0.0 (2021-10-05)

chore

  • (svgo) update svgo to v2: update svgo to v2 - config object change (688223e), closes #127

BREAKING CHANGES

  • (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)

Bug Fixes

  • typo: Generate barrel file (03f58e1)

6.0.1 (2021-04-09)

Bug Fixes

  • 🐛 handle large icon sets > 10k. Closes: 115 (133e16b)

6.0.0 (2020-12-06)

Bug Fixes

  • 🐛 ensures name subset helper always has a unique name (d1a5d69), closes #91
  • 🐛 start spinner on generation start (6f34ab0)

Features

  • 🎸 add verbose logging feature (068eb1f)
  • 🎸 logging steps with spinners (55d7685)

BREAKING CHANGES

  • The IconNameSubset helper is now dynamically generated based off of the interfaceName property. Any references to this will need updating.

5.7.1 (2020-10-31)

Bug Fixes

  • 🐛 handle file names with special characters (475c333)

5.7.0 (2020-10-27)

Features

  • 🎸 export helpers and converters for usage in JS/TS (66182e8)

5.6.2 (2020-10-19)

Bug Fixes

  • remove svg-to-ts attribute from .svg-to-tsrc example (f1f575a)
  • replace 'modelFileName' by 'fileName' in exemple (7d0c43a)

5.6.1 (2020-10-14)

Bug Fixes

  • 🐛 add prettier as dependency instead of dev dependency (dcfff2e)

5.6.0 (2020-10-13)

Features

  • 🎸 add IconNameSubset helper type (d56e890)

5.5.2 (2020-10-13)

Bug Fixes

  • 🐛 generate correct interface for SVG contants (d21138f), closes #79

5.5.1 (2020-10-11)

Bug Fixes

  • 🐛 fix wrong import of svgo (d0e38e2)

5.5.0 (2020-10-08)

Features

  • type-name: add new delimiter UPPER (8bbd77f)

5.4.0 (2020-10-07)

Features

  • 🎸 handle multiple configurations (bc8befc)

5.3.0 (2020-10-06)

Features

5.2.2 (2020-10-05)

Bug Fixes

5.2.1 (2020-10-04)

Bug Fixes

  • 🐛 apply default barrel file name in conversion options (f8d4e9e)

5.2.0 (2020-09-03)

Features

  • completeIconSet: add exportCompleteIconSet option (43becd2)

5.1.0 (2020-09-02)

Bug Fixes

  • filecomment: add new line after comment (1deaa3f)

Features

  • comments: prepend generated files with file comment (cc6f6dd)

5.0.4 (2020-09-02)

Bug Fixes

  • typeobject: generate type object for icons with special character (f5d96b8)

5.0.3 (2020-09-02)

Bug Fixes

  • log: fix logging of error message (040ea28)

5.0.2 (2020-08-25)

Bug Fixes

  • exitcodes: add propper exit codes on failure (902d09c)

5.0.1 (2020-06-28)

Bug Fixes

5.0.0 (2020-06-16)

Bug Fixes

  • args: use passed delimiter or default (9d2a125)
  • objectconvertion: respect delimiter (b0b307a)

Features

  • 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)

BREAKING CHANGES

  • options: conversion option is required

4.3.0 (2020-06-04)

Features

  • svgo: automatically prefix svg ids with filename (5bb989b)

4.2.3 (2020-06-04)

Bug Fixes

  • svgo: correctly pick up options from external config file (9b8d138)

4.2.2 (2020-05-05)

Bug Fixes

  • prefix: allow empty prefixes (6fa8f1f)

4.2.1 (2020-04-12)

Bug Fixes

  • docs: add missing options for single file conversion (0c6c3e1)

4.2.0 (2020-04-12)

Features

  • 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)

Bug Fixes

  • 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)

Bug Fixes

Features

  • svgo: use configuration to config svgo (de279ae)
  • svgoconfig: accept svgo config as parameter (b2466e2)

4.0.5 (2020-03-25)

Bug Fixes

  • args: rename preCompileSources to compileSources (556203b)

4.0.4 (2020-03-25)

Bug Fixes

  • readme: fix API in README (f8e547b)

4.0.3 (2020-03-23)

Bug Fixes

  • README: link blogpost with step to step guide (be96c5f)

4.0.2 (2020-03-23)

Bug Fixes

  • image: rename generated file example (1427eae)
  • previewimage: adjust image path (6aea6d1)

4.0.1 (2020-03-23)

Bug Fixes

  • image: overwrite example src image (2fa0d9f)

4.0.0 (2020-03-23)

Features

  • optimizeforlazyloading: add compile sources flag (b177737)

BREAKING CHANGES

  • optimizeforlazyloading: Rename preCompile sources to compileSources

3.5.1 (2020-03-18)

Bug Fixes

  • helpmenu: add typescript as dependency (65655e5)

3.5.0 (2020-03-15)

Features

  • modelOutput: add additional model output path (614b37a)
  • modelOutput: add warning icon (8bde4d8)

3.4.0 (2020-03-15)

Features

  • precompilation: add flag to precompile sources (0f59a83)

3.3.2 (2020-03-11)

Bug Fixes

  • modelfile: remove output path (9f03426)

3.3.1 (2020-03-10)

Bug Fixes

  • compile: do not compile typescript sources (ef8b79d)

3.3.0 (2020-03-08)

Features

  • config: read config from package.json, rc file and args (524655f)

3.2.1 (2020-03-05)

Bug Fixes

  • icon: generate name as type any (08bd563)

3.2.0 (2020-03-05)

Features

  • model: generate model to a different path (c10d322)

3.1.4 (2020-03-04)

Bug Fixes

  • compiler: emit on error (edb1ea7)

3.1.3 (2020-03-04)

Bug Fixes

  • compiler: emit compiled sources (592ef68)

3.1.2 (2020-03-04)

Bug Fixes

  • compiler: reduce strictness (19f6480)

3.1.1 (2020-03-04)

Bug Fixes

  • generation: fix generated folder name (680f1f1)

3.1.0 (2020-03-04)

Features

  • compiler: compile ts files (a911b7c)
  • converter: convert to multiple files (fe13a4c)
  • multifiles: generate multiple files (d933e1e)

3.0.0 (2020-02-25)

Features

  • input: Handle regex as sourceDir (12d7bf9)
  • sources: use source files as regex (69547dd)

BREAKING CHANGES

  • sources: srcDirectories is gone and we should now use srcFiles

2.2.1 (2020-02-10)

Bug Fixes

  • conversion: check to allow only svg files (9fc3111)

2.2.0 (2019-12-31)

Features

  • 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)

Bug Fixes

  • types: Fix error in type generation when last item is a folder (c70c15d)

Features

  • input: Handle multiple sourceDir (fe9fd84)

2.0.3 (2019-12-10)

Bug Fixes

  • input: Exclude folders to source directory (d2878a7)

2.0.2 (2019-12-10)

Bug Fixes

  • type: add missing export statement (ddab6ae)

2.0.1 (2019-12-10)

Bug Fixes

  • conversion: use camel case for variable names (89acef3)

2.0.0 (2019-12-10)

Features

  • conversion: use snake case instead of camel case (8963ce7)

BREAKING CHANGES

  • conversion: Generate types and variable names in snake case instead of camel case

1.1.2 (2019-12-09)

Bug Fixes

  • output: generate output with single quotes instead of double quotes (bbd38f6)

1.1.1 (2019-12-09)

Bug Fixes

  • bin: fix wrong path to bin file (bbb9565)

1.1.0 (2019-12-09)

Features

  • filename: accept fileName as input property (b99809d)

1.0.1 (2019-12-05)

Bug Fixes

  • camelcase: fix camel case is not a function (dd6af14)

1.0.0 (2019-11-21)

Features

  • converting: optimize output (fa6f42e)
  • prettier: integrate prettier to format final Typescript (9284eac)
  • setup: setup library (6b42a67)