v1.0.0
What's Changed
- Migrate to KMP in #7
- Fixes #3 by adding support for group tags on both SVG and XML
- Fixes #6 by removing the dependency of xpath and other dependencies.
- We still have external dependencies to perform the optimization
- Add more platform support, now counting with MacOS, Linux and Windows (mingx64)
Changelog
Full Changelog: v0.0.4...v1.0.0
Features
- Add minify option
- Add mark internal option
- Add support for nested groups
- S2c script downloads binaries from GitHub
- Add app.properties to hold app's version
- Add support to q/Q and t/T SVG vector command
- Add upgrade flag to s2c script
- Add new s2c script using binaries
- Add optimization
- Add full normalized path to path instruction as a comment
- Add context provider and add to material support
- Create temp files
- Add file writer
- Add logger
- Parse xml to icon file
- Parse svg to icon file
- Add optimizer check dependency
- Setup CLI arguments
- Add clikt dependency
- Add build instruction if the bash script detects project
Chores
- Properly configure detekt in the project style: fix detekt issues
- Simplify normalizePath logic
- Add unit tests for ImageVectorNode and PathNodes classes
- Add more sample files to better test the CLI support
- Add no preview flag enabling KMP support
- Add XML sample files
- Change the temporary generated folder path
- Set optimization false by default (temp)
- Merge FileMetadata file with Path.extension.kt
- Remove old s2c script
- Extract PathNodes to its own file
- Remove warnings
- Add xml parser library dependency
- Improved error handling
Documentation
- Change platform support for Windows
- Add support to optimization on Linux
- Add platform support table
- README update
Fixes
- Remove comments from path and group when minify is enabled
- Svg2vectordrawable install command
- Remove '/' from detekt path exclusion
- Remove extra whitespace
- Remove extra whitespace when normalizing paths
- Path indentation
- Subsequent coordinate pair after move to should be a line to
- Path-normalizing logic not taking into consideration dots as separator
- Print exception stacktrace when is on debug
- External dependency check command by using --version instead of command (mingwX86 issue)
- Generated file format
- Add dot divisor to icon name
- Svg path with breaking lines creating empty commands
- Linux platform name
- Create the parent directory when the output is a file
- Optimize failing because temp file not moved
- Correct extension based on the current platform
- Indent size
- Log error when can't parse without stopping the cli
- Icon name not considering numbers
- Log output
- Close command added on all commands
- Executable name