Skip to content

Releases: paperjs/paper.js

v0.12.15

17 Mar 10:03
Compare
Choose a tag to compare

Fixed

  • Fix NPM installation problem with husky introduced in v0.12.13

v0.12.13

16 Mar 20:42
Compare
Choose a tag to compare

Fixed

  • Fix faulty positioning regression in Item#rasterize() (#1905).

v0.12.12

12 Mar 23:26
Compare
Choose a tag to compare

Fixed

  • Fix installation problems on Windows by switching from NPM to yarn for development (#1833).

Changed

  • Change Item#raster({ resolution, insert }) to receive options object, while remaining backward compatible.
  • Change Raster#smoothing to support the values 'low', 'medium', 'high'
    and 'off'. Setting to a boolean value is still supported, translating false
    'off' and true'low'.

Added

  • Allow reusing of raster items in Item#rasterize({ raster }): By providing an existing raster in options.raster, the raster and maybe even its underlying canvas can be reused, as long as the rasterized size doesn't change between rasterizations. This allows for big performance improvements.

v0.12.11

19 Jun 17:18
Compare
Choose a tag to compare

Fixed

  • Fix installation through Yarn (#1831).

v0.12.9

19 Jun 11:14
Compare
Choose a tag to compare

Added

Fixed

  • Fix Path.strokeBounds that was incorrect for certain paths (#1824).
  • Fix Gulp 3 issues to be able to run Travis CI tests on Node.js 10, 12, 13 and
    14.

v0.12.8

03 Jun 16:54
Compare
Choose a tag to compare

Fixed

  • TypeScript: Fix returned instance type (#1796).
  • Fix Path#strokeBounds for open paths (#1817).
  • Fix animation progress handling in Tween.update().
  • Fix setting Item#scaling to a new value after it was set to zero (#1816).
  • SVG Import: Fully support SVG strings with leading line-breaks (#1813).
  • Docs: Improve Raster#initialize(object) documentation (#1815, #1782).
  • Docs: Fix Item#getItem(options) documentation.

v0.12.7

23 May 21:14
Compare
Choose a tag to compare

Fixed

  • PaperScript: Actually make options.paperFeatures.moduleExports work
    independently from options.paperFeatures.operatorOverloading.

v0.12.6

23 May 21:03
Compare
Choose a tag to compare

Added

  • PaperScript: Add option options.paperFeatures.moduleExports to control
    module exports conversion.

v0.12.5

23 May 21:02
Compare
Choose a tag to compare

Added

  • PaperScript: Add option options.paperFeatures.operatorOverloading to control
    operator overloading.

Fixed

  • Fix new Raster(HTMLCanvasElement) constructor (#1745).
  • Handle CurveLocation on paths with only one segment.
  • Fix recently introduced error in CompoundPath.compare() (#1769).
  • Clamp opacity values to [0, 1] (#1814).
  • Support closed Path items with blend mode and no segments (#1763).
  • Fix error in getCrossingSegments() (#1773).
  • SVG Import: Support SVG strings with leading line-breaks (#1813).
  • Docs: Improve documentation for Raster#drawImage(CanvasImageSource) (#1784).

Changed

  • Use 'paper-' prefix in generated view ids.

v0.12.4

15 Dec 21:03
Compare
Choose a tag to compare

Added

  • Allow paper core import in TypeScript (#1713).
  • Boolean: Improve performance from O(n^2) to nearly O(n) by the use of the
    sweep and prune algorithm (#1737).
  • Docs: Add support for nullable values.

Fixed

  • Fix PathItem#getCrossing() to not return overlaps (#1409).
  • Fix regression in Curve.getIntersections() (#1638).
  • Fix edge cases in CurveLocation.isCrossing() (#1419, #1263).
  • Fix SymbolItem#hitTestAll() to return only one match per symbol item
    (#1680).
  • Fix handling of negative Shape sizes (#1733).
  • Fix parsing of RGB Color strings with percentages (#1736).
  • Fix Shape bounds when passing position in constructor (#1686).
  • Prevent nested group matrix from reset when transforming parent (#1711).
  • Boolean: Fix edge cases in overlap detection (#1262).
  • Boolean: Add check for paths with only one segment (#1351).
  • Boolean: Correctly handle open filled paths (#1647).
  • Boolean: Avoid winding number edge cases (#1619).
  • Docs: Fix some documentation return types (#1679).