Skip to content

Latest commit

 

History

History
155 lines (119 loc) · 3.67 KB

CHANGELOG.md

File metadata and controls

155 lines (119 loc) · 3.67 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog and this project adheres to Semantic Versioning.

[Unreleased]

[2.3.1 & 2.3.2] - 2019-02-12

Fixed

  • The sizes attribute does no longer render [Object object] in the generated markup

Added

  • Peer dependency styled-components in package.json

[2.3.0] - 2019-02-12

Added

  • Add flag to skip test file generation --no-tests, fixes #10

Collaborators involved

[2.2.0] - 2019-02-11

Updated

  • Styled-components to v4.x

Changed

Collaborators involved

[2.1.3] - 2018-09-17

Changed

  • fixed lint warning (unused concats)

Collaborators involved

[2.1.1, 2.1.2] - 2018-09-17

Changed

  • lint and audit fix
  • bugfix wrong sizes object was used in template

[2.1.0] - 2018-09-17

Changed

  • sizes are stored in props now and might be overridden

[2.0.0] - 2018-09-17

Breaking

  • removed getDimensionsCss() --> use getCss()
  • new template string format in component template
    • ##SVG## = JSX - all svg child nodes
    • ##WIDTH## = Number - original width
    • ##HEIGHT## = Number - original height
    • ##VIEWBOX## = String - viewBox expression
    • ##NAME## = String - name derived from filename
    • '##SIZES##' = Object - size aliases, keys are the names, values are objects in this form { width: 12, height: 12 }
  • new template string format in test template
    • ##FILENAME## = String - original filenanme
    • ##NAME## = String - name derived from filename

Added

  • getCss( size )
  • size alias support
  • fill color support (handy for icon systems)

[1.4.1] - 2018-06-29

Fixed

  • Skip svg files with missing viewBox attribute

[1.4.0] - 2018-05-01

Added

  • Added CLI options

Fixed

  • Trim style attribute before parsing
  • Allow negative values in viewBox

Collaborators involved

[1.3.2] - 2017-10-18

Added

  • Coverage reports

Changed

  • Refactoring

[1.3.1] - 2017-10-16

Fixed

  • Fix test suite dependencies

[1.3.0] - 2017-10-16

Fixed

  • Update to React 16

[1.2.3] - 2017-10-02

Fixed

  • Fixed viewBox parsing: allow floats, allow origins other than zero

[1.2.2] - 2017-09-15

Fixed

  • Use file content for hash, instead of file path
  • Consecutive child tags broke the output

[1.2.0] - 2017-09-15

Fixed

  • Consecutive child tags broke the output

Changed

  • Moved from mocha to jest for testing

[1.1.4] - 2017-08-29

Added

  • Use full path for id hashes

[1.1.3] - 2017-08-29

Added

  • Generate unique id attributes, to avoid conflicts in DOM (fixes IE11 google analytics bug, when clicking on svg elements)

[1.1.0] - 2017-07-28

Added

  • Snapshot testing with enzyme

[1.0.8] - 2017-07-10

Added

  • Travis CI
  • Documentation and credits in README.md

[1.0.4 - 1.0.7] - 2017-07-06

Fixed

  • Typos and version bumps

[1.0.4] - 2017-07-06

Added

  • Basic unit tests
  • A changelog

Fixed

  • accept empty strings in camelCase and pascalCase helper methods

[1.0.3] - 2017-07-06

Removed

  • yarn dependency

[1.0.2] - 2017-07-05

Fixed

  • Attributes comma separation bug

[1.0.1] - 2017-07-05

Fixed

  • npm bump

[1.0.0] - 2017-07-05

Added

  • Initial release