1
0
Fork 0
freesewing/packages/core/CHANGELOG.md

250 lines
6.5 KiB
Markdown
Raw Normal View History

2019-09-02 19:51:56 +02:00
# Change log for: @freesewing/core
2020-08-14 15:14:56 +02:00
release: v3.2.0 - Added: - core: - Added the `Path.combine()` method - The `Path.join()` method is now variadic - The `Path.length()` now takes an parameter to include move operations in the length calculation - lumina: - Initial release - lumira: - Initial release - plugin-annotations: - The `title` macro now takes a `notes` and `classes.notes` as its config, allowing you to add notes - The `classes.cutlist` config is removed from the title plugin, cutlist info is now included as notes - plugin-i18n: - This plugin now supports translation of nested arrays of strings, giving you more flexibility to concatenate translated parts of strings - react-components: - This Pattern component now supports translation of nested arrays of strings, giving you more flexibility to concatenate translated parts of strings - sandy: - Added a new *panels* option - tristan: - Inital release - Deprecated: - core: - Calling `Path.join` with a second parameter to indicate that the resulting paths most be closed is now deprecated and will be removed in FreeSewing v4. - Fixed: - brian: - Take biceps ease into account when calculating armhole depth - carlton: - Fixed a stray seam allowance path on the collar - charlie: - The back pocket welt (4) and front pocket facing (8) incorrectly indicated to cut 2 instead of 4 in the cutlist. Fixes #5791 - hugo: - Fix issue that crashed the design when complete is off. Fixes #6006 - Base pocket opening on pocket height, rather than width of the garment. Fixes #6004 - Removed: - plugin-annotations: - The `classes.cutlist` config is removed from the title plugin, cutlist info is now included as notes Shout-out to @woutervdub and @benjamesben for their many contributotions to this v3.2 release :pray:
2024-02-11 13:43:07 +01:00
## 3.2.0 (2024-02-11)
### Added
- Added the `Path.combine()` method
- The `Path.join()` method is now variadic
- The `Path.length()` now takes an parameter to include move operations in the length calculation
### Deprecated
- Calling `Path.join` with a second parameter to indicate that the resulting paths most be closed is now deprecated and will be removed in FreeSewing v4.
release: v3.1.0 - Rephrased flag message when expand is off to avoid confusion about included seam allowance. Fixes - Added IDs to dimension macros that missed them, causing them to not be shown - Keep seam allowance out of the binding length calculation - Rephrased flag message when expand is off to avoid confusion about included seam allowance. Fixes - Rephrased flag message when expand is off to avoid confusion about included seam allowance. Fixes - Rephrased flag message when expand is off to avoid confusion about included seam allowance. Fixes - Rephrased flag message when expand is off to avoid confusion about included seam allowance. Fixes - Rephrased flag message when expand is off to avoid confusion about included seam allowance. Fixes - Rephrased flag message when expand is off to avoid confusion about included seam allowance. Fixes - Rephrased flag message when expand is off to avoid confusion about included seam allowance. Fixes - Rephrased flag message when expand is off to avoid confusion about included seam allowance. Fixes - Rephrased flag message when expand is off to avoid confusion about included seam allowance. Fixes - Corrected part mixup in translation of flag message - Rephrased flag message when expand is off to avoid confusion about included seam allowance. Fixes - Rephrased flag message when expand is off to avoid confusion about included seam allowance. Fixes - Fixed wrong use of options in a value method. Fixes - Remove names from old plugins from list option - Rephrased flag message when expand is off to avoid confusion about included seam allowance. Fixes - The skirt and curved waistband are now constructed with the ringsector macro - Rephrased flag message when expand is off to avoid confusion about included seam allowance. Fixes - Replaced all instances of 'seperate' with 'separate' in option names - Initial release - Rephrased flag message when expand is off to avoid confusion about included seam allowance. Fixes - Changed defaults to have more rise in the back - Increase default rise - Decrease default vertical stretch - Decreased default back waist dip - Increased default front waist dip - Allowed lower values on back exposure, causing back to flare out - Fix issue with back part when bulge is on and expand is off - Pocket opening was not drawn on the facing and pocket pieces. Fixes - Improve placement of the front welt. Fixes - Rephrased flag message when expand is off to avoid confusion about included seam allowance. Fixes - Initial release - Added support for notes in flags - Removing macros did not always remove the cutlist data in the store. Fixes - First release of the plugin providing the default packing implementation - First release of the plugin facilitating drafting a ring sector - Allow plugins to provide their own packing implementation - Added named export `cbqc` which exports the constant to approximate a circle with Cubic Bézier curves - Core will now set `activeMacro` in the store, keeping track of the running macro - Added the `generateMacroIds`, `getMacroIds`, and `removeMacroNodes` store methods - Fix order in mergeOptions method so user settings take precendence over defaults - Fix upward snap for snapped percentage option when snap is a simple number - The conditional loading of plugins had a bug causing them to never be loaded - Make Path.split() more robust when handling edge-case. Fixes - Prevent utils.circlesIntersect() from running sqrt on a negative number. Fixes - Removed unwanted debug output
2023-12-26 20:30:36 +01:00
## 3.1.0 (2023-12-26)
### Added
- Allow plugins to provide their own packing implementation
- Added named export `cbqc` which exports the constant to approximate a circle with Cubic Bézier curves
- Core will now set `activeMacro` in the store, keeping track of the running macro - Added the `generateMacroIds`, `getMacroIds`, and `removeMacroNodes` store methods
### Fixed
- Fix order in mergeOptions method so user settings take precendence over defaults
- Fix upward snap for snapped percentage option when snap is a simple number
- The conditional loading of plugins had a bug causing them to never be loaded
- Make Path.split() more robust when handling edge-case. Fixes
- Prevent utils.circlesIntersect() from running sqrt on a negative number. Fixes
## 3.0.0 (2023-09-30)
2023-09-30 17:40:53 +02:00
### Changed
- All FreeSewing pacakges are now ESM only.
- All FreeSewing pacakges now use named exports.
- Dropped support for NodeJS 14. NodeJS 18 (LTS/hydrogen) or more recent is now required.
## 2.21.3 (2022-07-02)
2022-07-02 20:07:11 +02:00
### Changed
- Make generatePartTransform a named export
## 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.
## 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()
## 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
## 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
## 2.20.0 (2022-01-24)
2022-01-16 18:04:17 +01:00
### Added
- Added support for `settings.scale`
## 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)
## 2.19.6 (2021-12-29)
2021-11-21 18:09:54 +01:00
### Added
- Added the new attributes.setIfUnset() method
- Added the new `scale` setting
2021-11-21 18:09:54 +01: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.
## 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
## 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)
## 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)
## 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](https://github.com/freesewing/freesewing/issues/1140)
## 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)
## 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)
## 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
## 2.10.3 (2020-11-08)
2020-11-08 18:26:38 +01:00
### Changed
- Renderprops now includes SVG with preRender hook applied
## 2.10.2 (2020-11-07)
2020-11-07 14:35:07 +01:00
### Fixed
- Fixed bundled bezier-js version
## 2.10.1 (2020-11-07)
2020-11-07 14:35:07 +01:00
### Changed
- Switched to bezier-js v3
## 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
## 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
## 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
## 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
## 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)
## 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
## 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
## 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
## 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
## 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
## 2.0.0 (2019-08-25)
2019-09-02 19:51:56 +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.
> 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