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.
type
property intopackage.json
to specify that package use CommonJS modules (ref)
- Updated all dependencies to latest versions
- Built with TypeScript 3.7 and ES2018 target
- Code clean-ups
- Several typos
- Node 8 support
- Updated xmlbuilder to latest version
- Updated tmp to latest version
- Incorrect man page field in package.json
- Updated dependencies
- Process crash on node 8.x
- Support for multiple files input
- List of unsuccessful files when process exited with error
- No output when absolute path given
- Added support for stroke dasharray, linecap and linejoin
- Improved support for text styles
- Option to set pretty printed output
- Prettify style attribute
- Fixed mistakes in docs
- Warning message when unknown fill/stroke/shape property given
- Support for specific border for each rectangle side
- Reduced possible threshold in tests
- Performance improvements
- Typing improvements
- Raster graphic had incorrect size
- Incorrect empty space in text elements
- Typos in logger
- SVGO optimizations
- Gradients may start from incorrect place
- Multiple output format as default
- Remove empty style rules while converting
- Remove empty filters while converting
- Updated all dependencies to their latest version
- Color alpha doesn't applied if it equals to 0
- Linear/Radial gradients
- Filters support (blur filter still doesn't work properly)
- Replaced jsDOM with xmlbuilder
- Reduced installation time
- Reduced time to convert mockup
- Speed-up Travis build
- Speed-up processing when multiple output
- Unhandled rejection warning when running via CLI
- Some blur filters don't work properly
- Update all deps to their latest version
- Warning message when actually no errors
- Error when saving artboard which name contain special chars
- Filters parser doesn't work properly (#28)
- Support for buffer input
- Perf: don't generate total svg when multiple output
- Perf: don't calculate total width/height for multiple output
- 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 crash when params doesn't present in filters
- Fixed issue when filters doesn't proceed if they have not 'visible' property
- All refs to "format" option
- Test case for converting when XD was extracted
- Updated all dependencies
- Improved typing in 3rd-part pkg
- Excluded CLI from coverage report
- Increased mocha timeout to avoid build crashing on Travis-CI
- PNG, JPG output formats
- Man page for xd2svg-cli (previously works only
man xd2svg
) - PNG, JPG output formats
- Use TypeScript 3.0 for build
- Improved typing in 3rd-part pkg
- HTML output format
- Improved pattern support
- Invalid default color
- Invisible elements was visible
- Man file
- Updated deps
- Improved typing (usefull if you use package in your project)
- Improved performance
- 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
- Specific SVGs had incorrect size
- First gradient in resources did not proceed correctly
- Opacity filter did not applied
- Invisible filters were visible
- Obsolete code
- Useless and anoying logs
- Node.js API's
- Error when try to set output with subfolders
- Incorrect filenames when
single=false
- SVG generates incorrectly
- Ability to import package
- Type definitions for package
- Error messages more usefull
- Docs updated
- Target to es2017 (reduce polyfills count and improve performance)
- support for ellipse shape
- Improve font styles parser
clip-path
property doesn't applied- Pattern applied incorrect when
scaleBehavior
iscover
- 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)
- License information
- Pattern doesn't work
.editorconfig
- Message when unsupported style
- Message when unsupported shape
- Clip-path support
- Renamed all files to dash case
- Updated devDependencies
- Minimal Node.js version 8.6.0 (was 8.9.4)
- tsconfig target now
es2016
(wases2015
) - Cleanup dist before publish
- Dead code
0.4.0 - 2018-06-13
- Blur filter support
- Code cleanup
- Configured tslint
- Updated devDependencies
- Improved performance
- Fixed document is not defined error
- Drop shadow filter doesn't work
- SVGO doesn't work
0.3.1 - 2018-05-27
- Fix for running CLI
0.3.0 - 2018-05-27
- 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
- Remove
lint
task - Support for node.js < 8.9.4
0.2.1 - 2017-11-20
- Fixed unexpected behaviour when trying to run utility
0.2.0 - 2017-11-20
- Add support for filters
- Add build task
- Support for node.js < 6.10
0.1.8 - 2017-11-20
- Add SVGO
- Add support for text attributes
text-align
andline-height
- Add support for element opacity
- Improve font styles support
- Fix positioning of text elements
0.1.7 - 2017-11-19
- Add
lint
task - Add raster graphics support
- Improve font style support
0.1.6 - 2017-11-18
- Add support for import utility as library
- Add support for linearGradients
- Get information about artboards from resources directory
- Separate functionality from CLI
0.1.5 - 2017-11-04
- 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
- Add JSDoc to artboardConverter
- Fix issue with crash when
fill
orstroke
don't contain color
0.1.3 - 2017-11-02
- Use temporary directories for passing files
0.1.2 - 2017-11-02
- Add extra information into package.json
- Change temporary directory for extracted data
0.1.1 - 2017-11-01
- Fix description of package (README.md)
0.1.0 - 2017-11-01
- Add manifest parser
- Add XD extract
- Add SVG generator
- Add Artboard parser