1
0
Fork 0
freesewing/packages/core/CHANGELOG.md
joostdecock 38bb3bc6f0 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 🙏
2024-02-11 13:43:07 +01:00

6.5 KiB

Change log for: @freesewing/core

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.

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)

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)

Changed

  • Make generatePartTransform a named export

2.21.0 (2022-06-27)

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)

Fixed

  • Fixed warning message when moving to a non-existing point
  • Fixed incorrect decision in Path.boundary()

2.20.5 (2022-02-17)

Fixed

  • Fix bug in Svg.escapeText() that only escaped the first quote

2.20.3 (2022-01-28)

Changed

  • Setting Path.render() no longer raises an info message
  • Always raise debug, but only store it whend debug is enabled

2.20.0 (2022-01-24)

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

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.