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 of1.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()
andPath#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
PaperScript
to export from executed code, supportingexport default
,
named exports, as well asmodule.exports
.
- Prevent