Skip to content

Commit

Permalink
Merge pull request #689 from canvg/2.0.0-beta.1
Browse files Browse the repository at this point in the history
2.0.0-beta.1
  • Loading branch information
gabelerner committed Mar 8, 2019
2 parents 4497122 + aa8e62e commit cef40f0
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 39 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Expand Up @@ -2,6 +2,7 @@

## v2.0.0 (beta)
- **Breaking change**: for use on server, peer dependencies [canvas 2.x](https://github.com/Automattic/node-canvas), [jsdom 13.x](https://github.com/jsdom/jsdom) and [xmldom 0.x](https://github.com/jindw/xmldom) must be installed.
- Implement `textPath` ([#687](https://github.com/canvg/canvg/pull/687))
- Implement focal gradient radius ([#675](https://github.com/canvg/canvg/pull/675))
- Fixes 0 height rects ([#674](https://github.com/canvg/canvg/pull/674))
- Fixes masks with alpha ([#672](https://github.com/canvg/canvg/pull/672))
Expand Down
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -47,7 +47,7 @@ Locally, you can run `npm start` and view the examples at [http://localhost:3123

**2.0.0 beta** (see [CHANGELOG](https://github.com/canvg/canvg/blob/master/CHANGELOG.md))

`npm install canvg@2.0.0-beta.0 canvas@^2 jsdom@^13 xmldom@^0`
`npm install canvg@2.0.0-beta.1 canvas@^2 jsdom@^13 xmldom@^0`

The dependencies required on the server only are peers so must be installed
alongside the canvg package.
Expand All @@ -73,7 +73,7 @@ For the **2.0.0 beta** (see [CHANGELOG](https://github.com/canvg/canvg/blob/mast
<!-- Optional if you want blur -->
<script src="https://cdn.jsdelivr.net/npm/stackblur-canvas@^1/dist/stackblur.min.js"></script>
<!-- Main canvg code -->
<script src="https://cdn.jsdelivr.net/npm/canvg@2.0.0-beta.0/dist/browser/canvg.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/canvg@2.0.0-beta.1/dist/browser/canvg.min.js"></script>
```

Put a canvas on your page
Expand Down
2 changes: 1 addition & 1 deletion dist/browser/canvg.js
@@ -1,7 +1,7 @@

/*
* canvg.js - Javascript SVG parser and renderer on Canvas
* version 2.0.0-beta.0
* version 2.0.0-beta.1
* MIT Licensed
* Gabe Lerner (gabelerner@gmail.com)
* https://github.com/canvg/canvg
Expand Down
2 changes: 1 addition & 1 deletion dist/node/canvg.js
@@ -1,7 +1,7 @@

/*
* canvg.js - Javascript SVG parser and renderer on Canvas
* version 2.0.0-beta.0
* version 2.0.0-beta.1
* MIT Licensed
* Gabe Lerner (gabelerner@gmail.com)
* https://github.com/canvg/canvg
Expand Down
49 changes: 15 additions & 34 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -24,7 +24,7 @@
"main": "dist/node/canvg.js",
"types": "dist/node/canvg.d.ts",
"browser": "dist/browser/canvg.min.js",
"version": "2.0.0-beta.0",
"version": "2.0.0-beta.1",
"scripts": {
"test-browser": "ava test/browser.test.js --tap | tap-diff",
"test-node": "ava test/node.test.js --tap | tap-diff",
Expand Down

0 comments on commit cef40f0

Please sign in to comment.