Skip to content

Commit 088abbe

Browse files
committed
wip
1 parent d04bb60 commit 088abbe

File tree

3 files changed

+9
-7
lines changed

3 files changed

+9
-7
lines changed

CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
# Change Log
22

3-
## v2.0.0 (beta)
3+
## v2.0.0
44
- **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.
5+
- Fix exponential notation ([#710](https://github.com/canvg/canvg/pull/710))
6+
- Fix font parsing ([#707](https://github.com/canvg/canvg/pull/707))
57
- Implement `textPath` ([#687](https://github.com/canvg/canvg/pull/687))
68
- Implement focal gradient radius ([#675](https://github.com/canvg/canvg/pull/675))
79
- Fixes 0 height rects ([#674](https://github.com/canvg/canvg/pull/674))

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43,15 +43,15 @@ Locally, you can run `npm start` and view the examples at [http://localhost:3123
4343

4444
## Usage on the server
4545

46-
`npm install canvg@^1.5`
47-
48-
**2.0.0 beta** (see [CHANGELOG](https://github.com/canvg/canvg/blob/master/CHANGELOG.md))
49-
50-
`npm install canvg@2.0.0-beta.1 canvas@^2 jsdom@^13 xmldom@^0`
46+
`npm install canvg canvas@^2 jsdom@^13 xmldom@^0`
5147

5248
The dependencies required on the server only are peers so must be installed
5349
alongside the canvg package.
5450

51+
**Older version**
52+
53+
`npm install canvg@^1.5`
54+
5555
## Usage on the browser
5656

5757
For browser applications with a build process, canvg can be installed using `npm` similar to use on the server. Note in this case the peer dependencies are not required so do not need to be installed.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"main": "dist/node/canvg.js",
2525
"types": "dist/node/canvg.d.ts",
2626
"browser": "dist/browser/canvg.min.js",
27-
"version": "2.0.0-beta.1",
27+
"version": "2.0.0",
2828
"scripts": {
2929
"test-browser": "ava test/browser.test.js --tap | tap-diff",
3030
"test-node": "ava test/node.test.js --tap | tap-diff",

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy