Some CHANGELOG cleanup

This commit is contained in:
Jürg Lehni 2019-06-10 16:02:49 +02:00
parent 44a7759219
commit 96a5d2bec7

View file

@ -2,10 +2,6 @@
## `prebuilt` ## `prebuilt`
### Added
- Improve `new Raster(size[, position])` constructor (#1621).
### Fixed ### Fixed
- Fix drawing with compound-paths as clip-items (#1361). - Fix drawing with compound-paths as clip-items (#1361).
@ -14,9 +10,10 @@
- Correctly calculate bounds with nested empty items (#1467). - Correctly calculate bounds with nested empty items (#1467).
- Fix color change propagation on groups (#1152). - Fix color change propagation on groups (#1152).
- Fix `Path#arcTo()` where `from` and `to` points are equal (#1613). - 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: Fix error when `Item#matrix` is not invertible (#1580).
- SVG Export: Include missing viewBox attribute (#1576). - SVG Export: Include missing viewBox attribute (#1576).
- SVG Import: Use correct default values for gradients (#1632, #1661). - SVG Import: Use correct default values for gradients (#1632, #1660).
- SVG Import: Add basic `<switch/>` support (#1597). - SVG Import: Add basic `<switch/>` support (#1597).
- JSON Import: Prevent `Item#insert()` method from being overridden (#1392). - JSON Import: Prevent `Item#insert()` method from being overridden (#1392).
- PaperScript: Fix issues with increment/decrement operators (#1450, #1611). - PaperScript: Fix issues with increment/decrement operators (#1450, #1611).
@ -126,6 +123,7 @@ the fixes and additions from the past two weeks:
## `0.11.5` ## `0.11.5`
### Fixed ### Fixed
- Fix `Curve#isSelected()` to correctly reflect the state of `#handle1` (#1378). - Fix `Curve#isSelected()` to correctly reflect the state of `#handle1` (#1378).
- Key Events: Fix auto-filling issue on Chrome (#1358, #1365). - Key Events: Fix auto-filling issue on Chrome (#1358, #1365).
- Boolean: Check that overlaps are on the right path (#1321). - Boolean: Check that overlaps are on the right path (#1321).
@ -138,38 +136,42 @@ the fixes and additions from the past two weeks:
## `0.11.4` ## `0.11.4`
### Changed ### Changed
- Node.js: Add support for v8, and keep testing v4, v6, v7 in Travis CI. - Node.js: Add support for v8, and keep testing v4, v6, v7 in Travis CI.
## `0.11.3` ## `0.11.3`
### Fixed ### Fixed
- Mouse Events: Fix item-based `doubleclick` events (#1316).
- Mouse Events: Fix item-based `doubleclick` events (#1316).
- Overhaul the caching of bounds and matrix decomposition, improving reliability - Overhaul the caching of bounds and matrix decomposition, improving reliability
of `Item#rotation` and `#scaling` and fixing situations caused by wrongly of `Item#rotation` and `#scaling` and fixing situations caused by wrongly
caching `Item#position` and `#bounds` values. caching `Item#position` and `#bounds` values.
- Prevent consumed properties in object literal constructors from being set on - Prevent consumed properties in object literal constructors from being set on
the instance. the instance.
### Changed ### Changed
- Make all functions and accessors enumerable on all Paper.js classes. - Make all functions and accessors enumerable on all Paper.js classes.
## `0.11.2` ## `0.11.2`
### Fixed ### Fixed
- PaperScript: Fix a parsing error in math operations without white-space - PaperScript: Fix a parsing error in math operations without white-space
(#1314). (#1314).
## `0.11.1` ## `0.11.1`
### Fixed ### Fixed
- Bring back deactivation of Node.js modules on browsers. This has most probably - Bring back deactivation of Node.js modules on browsers. This has most probably
broken Webpack bundling in `0.11.0`. broken Webpack bundling in `0.11.0`.
## `0.11.0` ## `0.11.0`
### Changed ### Changed
- Separate `paper` module on NPM into: `paper`, `paper-jsdom` and - Separate `paper` module on NPM into: `paper`, `paper-jsdom` and
`paper-jsdom-canvas` (#1252): `paper-jsdom-canvas` (#1252):
- `paper` is the main library, and can be used directly in a browser - `paper` is the main library, and can be used directly in a browser
@ -182,12 +184,14 @@ the fixes and additions from the past two weeks:
[jsdom](https://github.com/tmpvar/jsdom). [jsdom](https://github.com/tmpvar/jsdom).
### Added ### Added
- PaperScript: Support newer, external versions of Acorn.js for PaperScript - PaperScript: Support newer, external versions of Acorn.js for PaperScript
parsing, opening the doors to ES 2015 (#1183, #1275). parsing, opening the doors to ES 2015 (#1183, #1275).
- Hit Tests: Implement `options.position` to hit `Item#position` (#1249). - Hit Tests: Implement `options.position` to hit `Item#position` (#1249).
- Split `Item#copyTo()` into `#addTo()` and `#copyTo()`. - Split `Item#copyTo()` into `#addTo()` and `#copyTo()`.
### Fixed ### Fixed
- Intersections: Bring back special handling of curve end-points (#1284). - Intersections: Bring back special handling of curve end-points (#1284).
- Intersections: Correctly handle `Item#applyMatrix = false` (#1289). - Intersections: Correctly handle `Item#applyMatrix = false` (#1289).
- Boolean: Bring back on-path winding handling (#1281). - Boolean: Bring back on-path winding handling (#1281).
@ -221,6 +225,7 @@ the fixes and additions from the past two weeks:
## `0.10.3` ## `0.10.3`
### Changed ### Changed
- Node.js: Support v7, and keep testing v4 up to v7 in Travis CI. - Node.js: Support v7, and keep testing v4 up to v7 in Travis CI.
- Node.js: Loosely couple Node.js / Electron code to `Canvas` module, and treat - Node.js: Loosely couple Node.js / Electron code to `Canvas` module, and treat
its absence like a headless web worker context in the browser (#1103). its absence like a headless web worker context in the browser (#1103).
@ -245,6 +250,7 @@ the fixes and additions from the past two weeks:
`#reorient()` (#973). `#reorient()` (#973).
### Added ### Added
- Implement `Path#divideAt(location)`, in analogy to `Curve#divideAt(location)`. - Implement `Path#divideAt(location)`, in analogy to `Curve#divideAt(location)`.
- Add `PathItem#compare()` as a way to compare the geometry of two paths to see - Add `PathItem#compare()` as a way to compare the geometry of two paths to see
if they describe the same shape, handling cases where paths start in different if they describe the same shape, handling cases where paths start in different
@ -263,6 +269,7 @@ the fixes and additions from the past two weeks:
(#1004, #1177). (#1004, #1177).
### Fixed ### Fixed
- Many improvements to boolean operations: - Many improvements to boolean operations:
- Improve performance of boolean operations when there no actual crossings - Improve performance of boolean operations when there no actual crossings
between the paths, but paths may be contained within each other. between the paths, but paths may be contained within each other.
@ -303,17 +310,20 @@ the fixes and additions from the past two weeks:
(#632). (#632).
### Removed ### Removed
- Remove `Numerical.TOLERANCE = 1e-6` as there is no internal use for it - Remove `Numerical.TOLERANCE = 1e-6` as there is no internal use for it
anymore. anymore.
## `0.10.2` ## `0.10.2`
### Fixed ### Fixed
- Get published version to work correctly in Bower again. - Get published version to work correctly in Bower again.
## `0.10.1` ## `0.10.1`
### Fixed ### Fixed
- Correct a few issues with documentation and NPM publishing that slipped - Correct a few issues with documentation and NPM publishing that slipped
through in the `0.10.0` release. through in the `0.10.0` release.
@ -351,6 +361,7 @@ Thank you all for using Paper.js, submitting bugs and ideas, and all those that
contribute to the code. contribute to the code.
### Changed ### Changed
- Significant overhaul and improvements of boolean path operations - Significant overhaul and improvements of boolean path operations
`PathItem#unite()`, `#subtract()`, `#intersect()`, `#exclude()`, `#divide()`: `PathItem#unite()`, `#subtract()`, `#intersect()`, `#exclude()`, `#divide()`:
- Improve handling of self-intersecting paths and non-zero fill-rules. - Improve handling of self-intersecting paths and non-zero fill-rules.
@ -367,7 +378,7 @@ contribute to the code.
- `Curve#getParameterAt(offset)``#getTimeAt(offset)` - `Curve#getParameterAt(offset)``#getTimeAt(offset)`
- `Curve#getParameterOf(point)``getTimeOf(point)` - `Curve#getParameterOf(point)``getTimeOf(point)`
- `Curve#getPointAt(time, true)``#getPointAtTime(time)` - `Curve#getPointAt(time, true)``#getPointAtTime(time)`
- `Curve#getTangentAt(time, true)``#getTangenttTime(time)` - `Curve#getTangentAt(time, true)``#getTangentAtTime(time)`
- `Curve#getNormalAt(time, true)``#getNormalAtTime(time)` - `Curve#getNormalAt(time, true)``#getNormalAtTime(time)`
- `Curve#getCurvatureAt(time, true)``#getCurvatureAtTime(time)` - `Curve#getCurvatureAt(time, true)``#getCurvatureAtTime(time)`
- `CurveLocation#parameter``#time` - `CurveLocation#parameter``#time`
@ -427,6 +438,7 @@ contribute to the code.
`Color` (#1043). `Color` (#1043).
### Added ### Added
- Use unified code-base for browsers, Node.js, Electron, and anything - Use unified code-base for browsers, Node.js, Electron, and anything
in-between, and enable npm install for browser use (#739). in-between, and enable npm install for browser use (#739).
- Start using automatic code testing and deployment of prebuilt versions through - Start using automatic code testing and deployment of prebuilt versions through
@ -491,6 +503,7 @@ contribute to the code.
- Add `Raster#loaded` to reflect the loading state of its image. - Add `Raster#loaded` to reflect the loading state of its image.
### Fixed ### Fixed
- Fix calculations of `Item#strokeBounds` for all possible combinations of - Fix calculations of `Item#strokeBounds` for all possible combinations of
`Item#strokeScaling` and `Item#applyMatrix` for `Path`, `Shape` and `Item#strokeScaling` and `Item#applyMatrix` for `Path`, `Shape` and
`SymbolItem`, along with correct handling of such strokes in Item#hitTest() `SymbolItem`, along with correct handling of such strokes in Item#hitTest()
@ -569,10 +582,11 @@ contribute to the code.
`Numerical.solveCubic()` for edge-cases (#1085). `Numerical.solveCubic()` for edge-cases (#1085).
### Removed ### Removed
- Canvas attributes "resize" and "data-paper-resize" no longer cause paper to - Canvas attributes "resize" and "data-paper-resize" no longer cause paper to
resize the canvas when the viewport size changes; Additional CSS styles are resize the canvas when the viewport size changes; Additional CSS styles are
required since `0.9.22`, e.g.: required since `0.9.22`, e.g.:
```css ```css
/* Scale canvas with resize attribute to full size */ /* Scale canvas with resize attribute to full size */
canvas[resize] { canvas[resize] {
@ -587,6 +601,7 @@ contribute to the code.
It is replaced by `Project#addLayer()` and `Project#insertLayer()`. It is replaced by `Project#addLayer()` and `Project#insertLayer()`.
### Deprecated ### Deprecated
- `#windingRule` on `Item` and `Style``#fillRule` - `#windingRule` on `Item` and `Style``#fillRule`
- `Curve#getNormalAt(time, true)``#getNormalAtTime(true)` - `Curve#getNormalAt(time, true)``#getNormalAtTime(true)`
- `Curve#divide()``#divideAt(offset)` / `#divideAtTime(time)` - `Curve#divide()``#divideAt(offset)` / `#divideAtTime(time)`
@ -594,7 +609,7 @@ contribute to the code.
- `Curve#getParameterAt(offset)``#getTimeAt(offset)` - `Curve#getParameterAt(offset)``#getTimeAt(offset)`
- `Curve#getParameterOf(point)``getTimeOf(point)` - `Curve#getParameterOf(point)``getTimeOf(point)`
- `Curve#getPointAt(time, true)``#getPointAtTime(time)` - `Curve#getPointAt(time, true)``#getPointAtTime(time)`
- `Curve#getTangentAt(time, true)``#getTangenttTime(time)` - `Curve#getTangentAt(time, true)``#getTangentAtTime(time)`
- `Curve#getNormalAt(time, true)``#getNormalAtTime(time)` - `Curve#getNormalAt(time, true)``#getNormalAtTime(time)`
- `Curve#getCurvatureAt(time, true)``#getCurvatureAtTime(time)` - `Curve#getCurvatureAt(time, true)``#getCurvatureAtTime(time)`
- `CurveLocation#parameter``#time` - `CurveLocation#parameter``#time`