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.
- For broken paths return valid part instead of discard all, #60.
2.5.0 - 2022-01-11
- Refactored
.toString()
to improve speed.
2.4.1 - 2022-01-03
- Fixed TS definition (regression in 2.4.0), #57.
2.4.0 - 2021-12-21
- Updated TS definition, #56, #55.
2.3.1 - 2021-02-17
- Updated TS definition.
2.3.0 - 2020-05-31
- Added
SvgPath.from()
method.
- Dev deps bump.
- Use
nyc
for coverage reports.
2.2.3 - 2020-01-19
- Fix arc flags parse (accept 0 or 1 only), #41.
- Typo fix in error message.
2.2.2 - 2019-04-27
- Dev deps bump.
- Fix typescript definitions, #32.
2.2.1 - 2016-12-24
- Update typescript definition for ts@2, #28.
- Replace unicode characters with ascii ones, #27.
2.2.0 - 2016-09-11
- Added
.skewX()
&.skewY()
shortcuts. - Added typescript definitions.
- Dropped
Makefile
, use npm instead. - Deps bump & cleanup.
2.1.6 - 2016-03-09
- Fixed arc transforms for edge cases (precision + sweep flag), #23.
2.1.5 - 2016-01-03
- Improved parser error messages.
2.1.4 - 2016-01-03
- More strict params count and exponent parse.
- Properly correct round error on contour end.
- Never drop empty arcs. Replace with lines to avoid collisions on
S A S
.
2.1.3 - 2015-12-30
- Fixed
.unarc()
- expand zero-radius arcs to lines.
2.1.2 - 2015-12-22
- Fixed arc transforms, #13. Thanks to @kpym.
2.1.1 - 2015-12-07
- Don't collapse
M
&m
commands on output.
2.1.0 - 2015-10-27
- First
m
in path should be processed as absolute (M
). - Don't force first
M
->m
on.rel()
.
2.0.0 - 2015-04-16
- Unified transformations math.
- Evaluate curried transforms lazily.
- 100% tests coverage.
- Minor optimisations & code refactoring.
- Added
.matrix
and.rotate()
. - Added
.unarc()
- convert arcs to curves.
- Fixed
.unshort()
- now relative commands processed too. - Fixed
.round()
- no more precision loss on relative coordinated.
1.0.7 - 2014-12-05
- Parser rewrite (1.5x speedup).
- Exposed
.err
property with text of error (empty on success).
1.0.6 - 2014-06-15
- Maintenance release - docs & build scripts update.
1.0.5 - 2014-04-09
- Fixed line terminators handle in parser.
1.0.4 - 2014-03-14
- Added .transform() support.
1.0.3 - 2014-02-23
- Parser rewrite (2x speed gain).
- toString(): skip command name on repeaded sequences.
- Added tests & benchmarks.
1.0.2 - 2013-12-03
- Fixed arcs roundung (missed type cast), by @kolya-ay.
1.0.1 - 2013-10-02
- Fixed params parse: 29.5.5 -> 29.5, 0.5.
1.0.0 - 2013-09-26
- First release.