All Versions
26
Latest Version
Avg Release Cycle
72 days
Latest Release
-

Changelog History
Page 2

  • v0.12.4 Changes

    December 15, 2019

    ➕ 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).
  • v0.12.3 Changes

    June 22, 2019

    ➕ Added

    • ➕ Add documentation for Item#internalBounds.

    🛠 Fixed

    • 🛠 Fix regression in Color change propagation (#1672, #1674).
    • SVG Export: Fix viewport size of exported Symbol (#1668).
    • 🖐 Handle non-invertible matrices in Item#contains() (#1651).
    • 👌 Improve documentation for Item#clipMask (#1673).
    • 👌 Improve TypeScript definitions (#1659, #1663, #1664, #1667).
  • v0.12.2 Changes

    June 13, 2019

    🛠 Fixed

    • 🛠 Fix drawing with compound-paths as clip-items (#1361).
    • 🛠 Fix drawing of path selection with small handle size (#1327).
    • Do not ignore Group#clipItem.matrix in Group#internalBounds (#1427).
    • Correctly calculate bounds with nested empty items (#1467).
    • 🛠 Fix color change propagation on groups (#1152).
    • 🛠 Fix Path#arcTo() where from and to points are equal (#1613).
    • 👌 Improve new Raster(size[, position]) constructor (#1621).
    • SVG Export: Fix error when Item#matrix is not invertible (#1580).
    • SVG Export: Include missing viewBox attribute (#1576).
    • 0️⃣ SVG Import: Use correct default values for gradients (#1632, #1660).
    • 👍 SVG Import: Add basic <switch/> support (#1597).
    • JSON Import: Prevent Item#insert() method from being overridden (#1392).
    • PaperScript: Fix issues with increment/decrement operators (#1450, #1611).
  • v0.12.1 Changes

    June 05, 2019

    ➕ Added

    • ➕ Add TypesScript definition, automatically generated from JSDoc comments
      (#1612).
    • 👌 Support new Raster(size) constructor.
    • 🔦 Expose Raster#context accessor.
    • Implement Raster#clear() method to clear associated canvas context.
    • 👍 Node.js: Add support for Node.js v11 and v12.

    🛠 Fixed

    • 🛠 Fix parsing of CSS colors with spaces in parentheses (#1629).
    • 👌 Improve Color.random() documentation.
    • 🛠 Fix Tween#then() documentation.

    ✂ Removed

    • 🚚 Node.js: Remove support for Node.js v6.
  • v0.12.0 Changes

    December 03, 2018

    🆕 News

    🚀 Another release, another new member on the team: Please welcome @arnoson, who has
    👍 worked hard on the all new animation support, exposed through the Tween class
    👀 and its various methods on the Item class, see below for details:

    ➕ Added

    • ➕ Add new Tween class and related methods on Item, to animate and
      interpolate their various properties, including colors, sub-properties, etc.:
      Item#tween(from, to, options), Item#tween(to, options),
      Item#tween(options), Item#tweenFrom(from, options),
      Item#tweenTo(to, options)

    🛠 Fixed

    • Only draw Raster if image is not empty (#1320).
    • Emit mousedrag events on correct items when covered by other items (#1465).
    • 🛠 Fix drawing issues of bounds and position with Group#selectedColor (#1571).
    • 🛠 Fix Item.once() to actually only emit event once.
    • 📚 Various documentation fixes and improvements (#1399).
  • v0.11.8 Changes

    October 17, 2018

    🆕 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.
  • v0.11.5 Changes

    October 08, 2017

    🛠 Fixed

    • 🛠 Fix Curve#isSelected() to correctly reflect the state of #handle1 (#1378).
    • Key Events: Fix auto-filling issue on Chrome (#1358, #1365).
    • Boolean: Check that overlaps are on the right path (#1321).
    • 👍 Boolean: Add better filtering for invalid segments (#1385).

    ➕ Added

    • 👍 Node.js: Add JPEG support to exportFrames() (#1166).
  • v0.11.4 Changes

    October 08, 2017

    🔄 Changed

    • ✅ Node.js: Add support for v8, and keep testing v4, v6, v7 in Travis CI.
  • v0.11.3 Changes

    April 23, 2017

    🛠 Fixed

    Mouse Events: Fix item-based doubleclick events (#1316).

    Overhaul the caching of bounds and matrix decomposition, improving reliability
    of Item#rotation and #scaling and fixing situations caused by wrongly
    caching Item#position and #bounds values.

    Prevent consumed properties in object literal constructors from being set on
    the instance.

    🔄 Changed

    • 👉 Make all functions and accessors enumerable on all Paper.js classes.
  • v0.11.2 Changes

    April 20, 2017

    🛠 Fixed

    • 📜 PaperScript: Fix a parsing error in math operations without white-space
      (#1314).