2019-09-02 19:51:56 +02:00
# Change log for: @freesewing/core
2020-08-14 15:14:56 +02:00
2022-07-03 18:28:42 -05:00
## 2.21.3 (2022-07-02)
2022-07-02 20:07:11 +02:00
### Changed
- Make generatePartTransform a named export
2022-07-03 18:28:42 -05:00
## 2.21.0 (2022-06-27)
2022-06-27 11:26:03 +02:00
### Changed
- Migrated from Rollup to Esbuild for all builds
- The `pctBasedOn()` helper method for pattern config was moved to config-helpers We did not make this a breaking change since it's only used internally.
2022-07-03 18:28:42 -05:00
## 2.20.8 (2022-05-21)
2022-05-21 20:34:32 +02:00
### Fixed
- Fixed warning message when moving to a non-existing point
- Fixed incorrect decision in Path.boundary()
2022-07-03 18:28:42 -05:00
## 2.20.5 (2022-02-17)
2022-02-17 19:11:27 +01:00
### Fixed
- Fix bug in Svg.escapeText() that only escaped the first quote
2022-07-03 18:28:42 -05:00
## 2.20.3 (2022-01-28)
2022-01-28 16:58:32 +01:00
### Changed
- Setting Path.render() no longer raises an info message
2022-01-28 18:27:20 +01:00
- Always raise debug, but only store it whend debug is enabled
2022-01-28 16:58:32 +01:00
2022-07-03 18:28:42 -05:00
## 2.20.0 (2022-01-24)
2022-01-16 18:04:17 +01:00
### Added
- Added support for `settings.scale`
2022-07-03 18:28:42 -05:00
## 2.19.8 (2022-01-08)
2022-01-08 15:38:11 +01:00
### Fixed
- Remove CSS var in SVG to preserve styling Fixes [#1606 ](https://github.com/freesewing/freesewing/issues/1606 )
2022-07-03 18:28:42 -05:00
## 2.19.6 (2021-12-29)
2021-11-21 18:09:54 +01:00
### Added
- Added the new attributes.setIfUnset() method
2021-12-28 20:12:25 +01:00
- Added the new `scale` setting
2021-11-21 18:09:54 +01:00
2022-07-03 18:28:42 -05:00
## 2.19.5 (2021-11-13)
2021-11-13 14:55:25 +01:00
### 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.
2022-07-03 18:28:42 -05:00
## 2.19.0 (2021-10-17)
2021-09-28 19:28:23 +02:00
### 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
2022-07-03 18:28:42 -05:00
## 2.18.0 (2021-09-09)
2021-09-05 09:57:32 +02:00
### Fixed
- Handle path.offset() of very short curves with control points on the start or end point Closes [#1257 ](https://github.com/freesewing/freesewing/issues/1257 )
2022-07-03 18:28:42 -05:00
## 2.17.1 (2021-07-14)
2021-07-14 18:47:37 +02:00
### Fixed
- Fixed edge case in utils.beamsIntersect() when line is almost vertical See [#1206 ](https://github.com/freesewing/freesewing/issues/1206 )
2022-07-03 18:28:42 -05:00
## 2.17.0 (2021-07-01)
2021-06-22 18:24:11 +02:00
### 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 ](https://github.com/freesewing/freesewing/issues/1140 )
2022-07-03 18:28:42 -05:00
## 2.15.2 (2021-04-28)
2021-04-28 19:54:47 +02:00
### 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 ](https://github.com/freesewing/freesewing/issues/976 )
2022-07-03 18:28:42 -05:00
## 2.15.1 (2021-04-24)
2021-04-24 10:21:48 +02:00
### Fixed
- Fixed bug in the dependency resolved when dependecies are passed as a string See [#971 ](https://github.com/freesewing/freesewing/issues/971 )
2022-07-03 18:28:42 -05:00
## 2.15.0 (2021-04-15)
2021-04-11 17:32:58 +02:00
2021-04-17 16:55:08 +02:00
### Added
- The part.getId() method now takes an optional prefix argument
2021-04-11 17:32:58 +02:00
### Changed
- Don't round coordinates internally to avoid path.split misses
2022-07-03 18:28:42 -05:00
## 2.10.3 (2020-11-08)
2020-11-08 18:26:38 +01:00
### Changed
- Renderprops now includes SVG with preRender hook applied
2022-07-03 18:28:42 -05:00
## 2.10.2 (2020-11-07)
2020-11-07 14:35:07 +01:00
### Fixed
- Fixed bundled bezier-js version
2022-07-03 18:28:42 -05:00
## 2.10.1 (2020-11-07)
2020-11-07 14:35:07 +01:00
### Changed
- Switched to bezier-js v3
2022-07-03 18:28:42 -05:00
## 2.9.0 (2020-10-02)
2020-08-30 12:02:05 +02:00
### Added
- Parts not get a `name` property set that hold their (own) name/id
2020-09-12 19:05:38 +02:00
- Added the `info` type to raised events
- Added support for conditional loading of plugins
2020-08-30 12:02:05 +02:00
2022-07-03 18:28:42 -05:00
## 2.8.0 (2020-08-10)
2020-08-10 19:44:02 +02:00
### Fixed
2020-08-14 15:14:56 +02:00
- Fix an edge case in utils.pointOnCurve for perfect horizontal curves
2020-08-10 19:44:02 +02:00
2022-07-03 18:28:42 -05:00
## 2.7.2 (2020-07-29)
2020-08-08 17:20:08 +02:00
### Fixed
2020-08-14 15:14:56 +02:00
- Fixed wrong return value in debug message from Path
2020-08-08 17:20:08 +02:00
2022-07-03 18:28:42 -05:00
## 2.7.1 (2020-07-24)
2020-07-24 15:25:34 +02:00
### Added
2020-08-14 15:14:56 +02:00
- 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
2020-07-24 15:25:34 +02:00
2022-07-03 18:28:42 -05:00
## 2.7.0 (2020-07-12)
2020-07-12 19:00:38 +02:00
### Added
2020-08-14 15:14:56 +02:00
- Added support for injecting custom (path) styles when sampling. Closes [#380 ](https://github.com/freesewing/freesewing/issues/380 )
- Added support for custom sample styles
- Added support for raising events via `raise.[type]()` method
2020-07-12 19:00:38 +02:00
### Fixed
2020-08-14 15:14:56 +02:00
- [Properly escape quotes in imperial units ](https://github.com/freesewing/freesewing/issues/437 )
2020-07-12 15:58:07 +02:00
2022-07-03 18:28:42 -05:00
## 2.6.0 (2020-05-01)
2020-06-24 20:56:39 +02:00
### Changed
2020-08-14 15:14:56 +02:00
- 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()`
2020-06-24 20:56:39 +02:00
2022-07-03 18:28:42 -05:00
## 2.4.4 (2020-03-15)
2020-03-15 12:24:42 +01:00
### Fixed
2020-08-14 15:14:56 +02:00
- 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
2020-04-26 13:09:54 +02:00
2022-07-03 18:28:42 -05:00
## 2.2.0 (2020-02-22)
2020-02-22 14:20:21 +01:00
2020-01-25 17:12:44 +01:00
### Added
2019-10-06 15:04:02 +02:00
2020-08-14 15:14:56 +02:00
- Added the `Path.noop()` method
- Added the `Path.insop()` methods
2020-04-26 13:09:54 +02:00
2022-07-03 18:28:42 -05:00
## 2.1.9 (2020-01-18)
2020-01-18 11:36:16 +01:00
### Fixed
2020-08-14 15:14:56 +02:00
- [#19 ](https://github.com/freesewing/freesewing/issues/19 ): Path offset issue is now fixed in upstream bezier-js@2 .4.6
2020-04-26 13:09:54 +02:00
2022-07-03 18:28:42 -05:00
## 2.1.0 (2019-10-06)
2019-10-06 15:04:02 +02:00
2019-09-21 19:52:47 +02:00
### Changed
2019-09-02 19:51:56 +02:00
2020-08-14 15:14:56 +02:00
- 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.
2020-04-26 13:09:54 +02:00
2022-07-03 18:28:42 -05:00
## 2.0.0 (2019-08-25)
2019-09-02 19:51:56 +02:00
2020-05-31 17:53:04 +02:00
### Added
2019-09-02 19:51:56 +02:00
2020-08-14 15:14:56 +02:00
- Initial release
2019-09-02 19:51:56 +02:00
This is the **initial release** , and the start of this change log.
2020-05-31 17:53:04 +02:00
> Prior to version 2, FreeSewing was not a JavaScript project.
> As such, that history is out of scope for this change log.
2020-08-14 15:14:56 +02:00