4.5 KiB
4.5 KiB
Change log for: @freesewing/core
unreleased (NaN-NaN-NaN)
Added
- Added support for
settings.scale
2.19.8 (2022-01-08)
Fixed
- Remove CSS var in SVG to preserve styling Fixes #1606
2.19.6 (2021-12-29)
Added
- Added the new attributes.setIfUnset() method
- Added the new
scale
setting
2.19.5 (2021-11-13)
Fixed
- Fixed a copy-paste error that caused the
absoluteOptions
shorthand property to be a proxy for the regular options object instead. Note that this bug (and proxying in general) only occurs in debug mode.
2.19.0 (2021-10-17)
Added
- Added support for snapped percentage options See https://github.com/freesewing/freesewing/discussions/1331
Changed
- Pattern.on() is now chainable as it returns the Pattern object
2.18.0 (2021-09-09)
Fixed
- Handle path.offset() of very short curves with control points on the start or end point Closes #1257
2.17.1 (2021-07-14)
Fixed
- Fixed edge case in utils.beamsIntersect() when line is almost vertical See #1206
2.17.0 (2021-07-01)
Fixed
- Fix a bug in
path.shiftAlong
where no point is returned if the distance to shift is a fraction of one step (1/25mm) into a new path segment See #1140
2.15.2 (2021-04-28)
Fixed
- Path.shiftAlong takes now an optional second paramter to control the number of steps the path will be divided in per Mm (if it's a curve) default is 25 See #976
2.15.1 (2021-04-24)
Fixed
- Fixed bug in the dependency resolved when dependecies are passed as a string See #971
2.15.0 (2021-04-15)
Added
- The part.getId() method now takes an optional prefix argument
Changed
- Don't round coordinates internally to avoid path.split misses
2.10.3 (2020-11-08)
Changed
- Renderprops now includes SVG with preRender hook applied
2.10.2 (2020-11-07)
Fixed
- Fixed bundled bezier-js version
2.10.1 (2020-11-07)
Changed
- Switched to bezier-js v3
2.9.0 (2020-10-02)
Added
- Parts not get a
name
property set that hold their (own) name/id - Added the
info
type to raised events - Added support for conditional loading of plugins
2.8.0 (2020-08-10)
Fixed
- Fix an edge case in utils.pointOnCurve for perfect horizontal curves
2.7.2 (2020-07-29)
Fixed
- Fixed wrong return value in debug message from Path
2.7.1 (2020-07-24)
Added
- Added new debug functionality through the use of the
raise.debug
- Added a new
debug
setting - Shorthand now proxies objects to allow debug and raise
2.7.0 (2020-07-12)
Added
- Added support for injecting custom (path) styles when sampling. Closes #380
- Added support for custom sample styles
- Added support for raising events via
raise.[type]()
method
Fixed
2.6.0 (2020-05-01)
Changed
- utils now includes
Bezier
which holds the bezier-js library so you don't need to re-import it - We no longer set the plugin configuration/data object to fall in
pattern.use()
2.4.4 (2020-03-15)
Fixed
- New Svg.escapeText() method to escape text at render time, rather than at draft time This fixes the difference in the inch symbol is displayed in the React component or rendered SVG
2.2.0 (2020-02-22)
Added
- Added the
Path.noop()
method - Added the
Path.insop()
methods
2.1.9 (2020-01-18)
Fixed
- #19: Path offset issue is now fixed in upstream bezier-js@2.4.6
2.1.0 (2019-10-06)
Changed
- The pattern super constructor now sets a
config
property that holds the pattern configuration. This means that unlike before, there is no need to instantiate a pattern to access its config. You can just import the pattern, and it's config property will contain the pattern config.
2.0.0 (2019-08-25)
Added
- Initial release
This is the initial release, and the start of this change log.
Prior to version 2, FreeSewing was not a JavaScript project. As such, that history is out of scope for this change log.