github paperjs/paper.js v0.11.8

latest releases: v0.12.18, v0.12.17, v0.12.16...
6 years ago

News

This is the first release in quite a while, and it was made possible thanks to
two new people on the team:

A warm welcome to @sasensi and
@sapics, the two new and very active maintainers /
contributors! 🎉

Their efforts mean that many issues are finally getting proper attention and
solid fixes, as we are paving the way for the upcoming release of 1.0.0. Here
the fixes and additions from the past two weeks:

Fixed

  • Prevent paper object from polluting the global scope (#1544).
  • Make sure Path#arcTo() always passes through the provide through point
    (#1477).
  • Draw shadows on Raster images (#1437).
  • Fix boolean operation edge case (#1506, #1513, #1515).
  • Handle closed paths with only one segment in Path#flatten() (#1338).
  • Remove memory leak on gradient colors (#1499).
  • Support alpha channel in CSS colors (#1468, #1539, #1565).
  • Improve color CSS string parsing and documentation.
  • Improve caching of item positions (#1503).
  • Always draw selected position in global coordinates system (#1545).
  • Prevent empty Symbol items from causing issues with transformations (#1561).
  • Better detect when a cached global matrix is not valid anymore (#1448).
  • Correctly draw selected position when item is in a group with matrix not
    applied (#1535).
  • Improve handling of huge amounts of segments in paths (#1493).
  • Do not trigger error messages about passive event listeners on Chrome (#1501).
  • Fix errors with event listeners on mobile (#1533).
  • Prevent first mouse drag event from being emitted twice (#1553).
  • Support optional arguments in translate and rotate statements in SVG Import
    (#1487).
  • Make sure SVG import always applies imported attributes (#1416).
  • Correctly handle Raster images positions in SVG import (#1328).
  • Improve documentation for Shape#toPath() (#1374).
  • Improve documentation of hit test coordinate system (#1430).
  • Add documentation for Item#locked (#1436).
  • Support Webpack bundling in Node.js server (#1482).
  • Travis CI: Get unit tests to run correctly again.
  • Travis CI: Remove Node 4 and add Node 9.

Added

  • Curve#getTimesWithTangent() and Path#getOffsetsWithTangent() as a way to
    get the curve-times / offsets where the path is tangential to a given vector.
  • Raster#smoothing to control if pixels should be blurred or repeated when a
    raster is scaled up (#1521).
  • Allow PaperScriptto export from executed code, supporting export default,
    named exports, as well as module.exports.

Don't miss a new paper.js release

NewReleases is sending notifications on new releases.