mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2024-12-28 17:02:24 -05:00
Release version 0.10.4
This commit is contained in:
parent
2bac4e71e0
commit
a7d259bfc0
7 changed files with 31308 additions and 4 deletions
49
CHANGELOG.md
49
CHANGELOG.md
|
@ -1,5 +1,54 @@
|
|||
# Change Log
|
||||
|
||||
## `0.10.4`
|
||||
|
||||
### Changed
|
||||
- Separate `paper` module on NPM into: `paper`, `paper-jsdom` and
|
||||
`paper-jsdom-canvas` (#1252):
|
||||
- `paper` is the main library, and can be used directly in a browser
|
||||
context, e.g. a web browser or worker.
|
||||
- `paper-jsdom` is a shim module for Node.js, offering headless use with SVG
|
||||
importing / exporting.
|
||||
- `paper-jsdom-canvas` is a shim module for Node.js, offering rendering
|
||||
through Node Canvas.
|
||||
|
||||
### Added
|
||||
- PaperScript: Support newer, external versions of Acorn.js for PaperScript
|
||||
parsing, opening the doors to ES 2015 (#1183, #1275).
|
||||
- Hit Tests: Implement `options.position` to hit `Item#position` (#1249).
|
||||
- Split `Item#copyTo()` into `#addTo()` and `#copyTo()`.
|
||||
|
||||
### Fixed
|
||||
- Intersections: Bring back special handling of curve end-points (#1284).
|
||||
- Intersections: Correctly handle `Item#applyMatrix = false` (#1289).
|
||||
- Boolean: Bring back on-path winding handling (#1281).
|
||||
- Boolean: Pass on options in `PathItem#subtract(path, options)` (#1221).
|
||||
- Boolean: Implement `options.trace` as a way to perform boolean operations on
|
||||
the strokes / traces instead of the fills / areas of the involved paths
|
||||
(#1221).
|
||||
- Boolean: Always return `CompoundPath items (#1221).
|
||||
- Style: Fix handling of gradient matrices when `Item#applyMatrix = false`
|
||||
(#1238).
|
||||
- Style: Prevent cleaning pre-existing styles when setting `Item#style` to an
|
||||
object (#1277).
|
||||
- Mouse Events: Only handle dragItem if the hitItem responds to `mousedrag`
|
||||
events (#1247, #1286).
|
||||
- Bounds: Clear parent's bounds cache when item's visibility changes (#1248).
|
||||
- Bounds: Fix calculation of internal bounds with children and
|
||||
`Item#applyMatrix = false` (#1250).
|
||||
- Hit-Tests: Fix issue with non-invertible matrices ( #1271).
|
||||
- SVG Import: Improve handling of sizes in percent (#1242).
|
||||
- Rectangle: Improve handling of dimension properties, dealing better with
|
||||
`left` / `top` / `right` / `bottom` / `center` values (#1147).
|
||||
- Scene Graph: Do not allow inserting same item as child multiple times.
|
||||
- Path: Fix handling of `insert = false` in `new Path.Constructor()`
|
||||
initialization (#1305).
|
||||
- PaperScript: Fix positive unary operator.
|
||||
- Docs: Fix parameter sequence in Matrix constructor (#1273).
|
||||
- Docs: Add documentation for options.bound and options.matrix in `#exportSVG()`
|
||||
(#1254).
|
||||
- Docs: Fix wrong `@link` references to bean properties.
|
||||
|
||||
## `0.10.3`
|
||||
|
||||
### Changed
|
||||
|
|
1
dist/paper-core.js
vendored
1
dist/paper-core.js
vendored
|
@ -1 +0,0 @@
|
|||
../src/load.js
|
14741
dist/paper-core.js
vendored
Normal file
14741
dist/paper-core.js
vendored
Normal file
File diff suppressed because it is too large
Load diff
38
dist/paper-core.min.js
vendored
Normal file
38
dist/paper-core.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
dist/paper-full.js
vendored
1
dist/paper-full.js
vendored
|
@ -1 +0,0 @@
|
|||
../src/load.js
|
16439
dist/paper-full.js
vendored
Normal file
16439
dist/paper-full.js
vendored
Normal file
File diff suppressed because it is too large
Load diff
39
dist/paper-full.min.js
vendored
Normal file
39
dist/paper-full.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "paper",
|
||||
"version": "0.10.3",
|
||||
"version": "0.10.4",
|
||||
"description": "The Swiss Army Knife of Vector Graphics Scripting",
|
||||
"license": "MIT",
|
||||
"homepage": "http://paperjs.org",
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
// The paper.js version.
|
||||
// NOTE: Adjust value here before calling `gulp publish`, which then updates and
|
||||
// publishes the various JSON package files automatically.
|
||||
var version = '0.10.3';
|
||||
var version = '0.10.4';
|
||||
|
||||
// If this file is loaded in the browser, we're in load.js mode.
|
||||
var load = typeof window === 'object';
|
||||
|
|
Loading…
Reference in a new issue