Skip to content
This repository has been archived by the owner on Oct 2, 2020. It is now read-only.

Latest commit

 

History

History
427 lines (341 loc) · 10.8 KB

CHANGELOG.md

File metadata and controls

427 lines (341 loc) · 10.8 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.

Added

  • type property into package.json to specify that package use CommonJS modules (ref)

Changed

  • Updated all dependencies to latest versions
  • Built with TypeScript 3.7 and ES2018 target
  • Code clean-ups

Fixed

  • Several typos

Removed

  • Node 8 support

Changed

  • Updated xmlbuilder to latest version
  • Updated tmp to latest version

Fixed

  • Incorrect man page field in package.json

Changed

  • Updated dependencies

Fixed

  • Process crash on node 8.x

Added

  • Support for multiple files input
  • List of unsuccessful files when process exited with error

Fixed

  • No output when absolute path given

Added

  • Added support for stroke dasharray, linecap and linejoin

Changed

  • Improved support for text styles

Added

  • Option to set pretty printed output

Changed

  • Prettify style attribute
  • Fixed mistakes in docs

Added

  • Warning message when unknown fill/stroke/shape property given
  • Support for specific border for each rectangle side

Changed

  • Reduced possible threshold in tests
  • Performance improvements
  • Typing improvements

Fixed

  • Raster graphic had incorrect size
  • Incorrect empty space in text elements
  • Typos in logger

Removed

  • SVGO optimizations

Fix

  • Gradients may start from incorrect place

Changed:

  • Multiple output format as default
  • Remove empty style rules while converting
  • Remove empty filters while converting
  • Updated all dependencies to their latest version

Fixed

  • Color alpha doesn't applied if it equals to 0
  • Linear/Radial gradients
  • Filters support (blur filter still doesn't work properly)

Changed

  • Replaced jsDOM with xmlbuilder
    • Reduced installation time
    • Reduced time to convert mockup
  • Speed-up Travis build
  • Speed-up processing when multiple output

Fixed

  • Unhandled rejection warning when running via CLI
  • Some blur filters don't work properly

Changed

  • Update all deps to their latest version

Fixed

  • Warning message when actually no errors
  • Error when saving artboard which name contain special chars
  • Filters parser doesn't work properly (#28)

Added

  • Support for buffer input

Fixed

  • Perf: don't generate total svg when multiple output
  • Perf: don't calculate total width/height for multiple output

Changed

  • Breaking change: xd2svg accepts only string input type, it may be directory or file, see example
  • Improved code coverage
  • Improved typing
  • Refactored all tests
  • Updated examples, README
  • Terminal output
  • Updated jsdom to 12.0.0

Fixed

  • Fixed crash when params doesn't present in filters
  • Fixed issue when filters doesn't proceed if they have not 'visible' property

Removed

  • All refs to "format" option

Added

  • Test case for converting when XD was extracted

Changed

  • Updated all dependencies
  • Improved typing in 3rd-part pkg
  • Excluded CLI from coverage report
  • Increased mocha timeout to avoid build crashing on Travis-CI

Removed

  • PNG, JPG output formats

Added

  • Man page for xd2svg-cli (previously works only man xd2svg)
  • PNG, JPG output formats

Changed

  • Use TypeScript 3.0 for build
  • Improved typing in 3rd-part pkg

Removed

  • HTML output format

Changed

  • Improved pattern support

Fixed

  • Invalid default color
  • Invisible elements was visible

Added

  • Man file

Changed

  • Updated deps
  • Improved typing (usefull if you use package in your project)
  • Improved performance

Added

  • HEX color support
  • Line shape support
  • Matrix transform support
  • Information about name and id of each element in generated SVG
  • Compound paths support
  • Border radius support for rectangles
  • Letter spacing support

Fixed

  • Specific SVGs had incorrect size
  • First gradient in resources did not proceed correctly
  • Opacity filter did not applied
  • Invisible filters were visible

Removed

  • Obsolete code

Removed

  • Useless and anoying logs

Changed

  • Node.js API's

Fixed

  • Error when try to set output with subfolders
  • Incorrect filenames when single=false

Fixed

  • SVG generates incorrectly

Added

  • Ability to import package
  • Type definitions for package

Changed

  • Error messages more usefull
  • Docs updated
  • Target to es2017 (reduce polyfills count and improve performance)

Added

  • support for ellipse shape

Changed

  • Improve font styles parser

Fixed

  • clip-path property doesn't applied
  • Pattern applied incorrect when scaleBehavior is cover

Breaking changes

  • CLI was updated
    xd2svg-cli InputFile.xd [options]
    
      options:
        --output - specify output path (default FileName directory or FileName.svg)
        --format - specify output format: svg, html (default: svg)
        --single - specify does output should be single file with all artboards or directory with separated each other (default: true)
    

Added

  • License information

Fixed

  • Pattern doesn't work

Added

  • .editorconfig
  • Message when unsupported style
  • Message when unsupported shape
  • Clip-path support

Changed

  • Renamed all files to dash case
  • Updated devDependencies
  • Minimal Node.js version 8.6.0 (was 8.9.4)
  • tsconfig target now es2016 (was es2015)
  • Cleanup dist before publish

Removed

  • Dead code

0.4.0 - 2018-06-13

Added

  • Blur filter support

Changed

  • Code cleanup
  • Configured tslint
  • Updated devDependencies
  • Improved performance

Fixed

  • Fixed document is not defined error
  • Drop shadow filter doesn't work
  • SVGO doesn't work

0.3.1 - 2018-05-27

Fixed

  • Fix for running CLI

0.3.0 - 2018-05-27

Changed

  • Fix message about calling async function w/o callback
  • Fix FC when unknown filter
  • Moved to TypeScript
  • Moved to Webpack
  • Generate HTML instead of SVG
  • Update dependencies

Removed

  • Remove lint task
  • Support for node.js < 8.9.4

0.2.1 - 2017-11-20

Fixed

  • Fixed unexpected behaviour when trying to run utility

0.2.0 - 2017-11-20

Added

  • Add support for filters
  • Add build task

Removed

  • Support for node.js < 6.10

0.1.8 - 2017-11-20

Added

  • Add SVGO
  • Add support for text attributes text-align and line-height
  • Add support for element opacity

Changed

  • Improve font styles support
  • Fix positioning of text elements

0.1.7 - 2017-11-19

Added

  • Add lint task
  • Add raster graphics support

Changed

  • Improve font style support

0.1.6 - 2017-11-18

Added

  • Add support for import utility as library
  • Add support for linearGradients

Changed

  • Get information about artboards from resources directory
  • Separate functionality from CLI

0.1.5 - 2017-11-04

Changed

  • Add title for each svg image
  • Default fill color set to white
  • Fix invalid x coordinate when it doesn't present
  • Fix invalid viewBox generation
  • Fix invalid viewport generation

0.1.4 - 2017-11-03

Added

  • Add JSDoc to artboardConverter

Changed

  • Fix issue with crash when fill or stroke don't contain color

0.1.3 - 2017-11-02

Changed

  • Use temporary directories for passing files

0.1.2 - 2017-11-02

Added

  • Add extra information into package.json

Changed

  • Change temporary directory for extracted data

0.1.1 - 2017-11-01

Changed

  • Fix description of package (README.md)

0.1.0 - 2017-11-01

Added

  • Add manifest parser
  • Add XD extract
  • Add SVG generator

0.0.1 - 2017-10-20

Added

  • Add Artboard parser