paper.js v0.11.8 Release Notes

Release Date: 2018-10-17 // over 5 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.