0.1.63 (2024-11-23)
- panic when restore from scale(0,0) state (#944) (973adab)
- shadow blur 0 makes text shadow not render at all (#946) (04a0cfd)
- shadowBlur position (#945) (2beeedb)
0.1.62 (2024-11-15)
0.1.61 (2024-11-13)
- after clearing, the bitmap should be cleared, and the width and height should be reset to the initial values. (#937) (e2a86fe)
0.1.60 (2024-11-07)
- allow svg canvas size modification (#928) (15c7eab)
- deps: update rust crate thiserror to v2 (#930) (4680dc2)
- memory leak in Image (#934) (cfc4da5)
- svg context (#932) (8b53e25)
- upgrade to NAPI-RS 3.0.0-alpha.19 (#929) (1304a9e)
0.1.59 (2024-10-27)
0.1.58 (2024-10-14)
0.1.57 (2024-10-14)
- Creating canvas with width or height of zero or less (#739) (3a26c7d)
- memory leak in Image/loadImage (#913) (527c0da)
0.1.56 (2024-09-19)
??
is error on node@10 (#889) (366d738)- adjust the order of onload calls (#898) (df6df8d)
- deps: update rust crate napi to 3.0.0-alpha (d692f59)
0.1.55 (2024-09-04)
0.1.54 (2024-08-17)
- deps: update rust crate libavif to 0.14 (d5db090)
- handle relative and invalid URLs in redirects when passing URL to loadImage() (#866) (1666a33), closes #865 #865
- image decode should be async (#872) (713ca40)
0.1.53 (2024-06-09)
- armv7 segmentfault (#830) (e17e6b6)
- deps: update rust crate infer to 0.16 (3859fe4)
- loadImage: use promise (#841) (e85ceee)
- trigger onerror while svg image is invalid (#840) (31bd832)
0.1.52 (2024-04-17)
0.1.51 (2024-03-04)
- deps: update rust crate base64 to 0.22 (84fd52f)
- remove postinstall script for gnu/musl platform (#797) (d37da08)
0.1.50 (2024-02-26)
0.1.49 (2024-02-22)
0.1.48 (2024-02-21)
- isPointInPath/isPointInStroke should respect transform (#787) (9b068f1)
- map points args order (#788) (72d3d35)
- memory leak in Canvas encode (#786) (9a4ade5)
0.1.47 (2024-02-19)
- DOMMatrix#transformPoint (#782) (dfc2224)
- font css parser should handle the font height (#783) (382c304)
0.1.46 (2024-02-19)
0.1.45 (2024-02-05)
0.1.44 (2023-08-22)
- file extensions in
loadFontsFromDir()
are no longer case-sensitive (9342e33)
0.1.43 (2023-08-11)
0.1.42 (2023-08-08)
- add
ctx.canvas
property on svg context (#697) (968e501) - deps: update rust crate infer to 0.15 (376b19e)
- url is string type (#671) (31a8ff9)
0.1.41 (2023-05-22)
0.1.40 (2023-04-09)
0.1.39 (2023-03-14)
0.1.38 (2023-03-11)
- deps: update rust crate infer to 0.13 (bad913c)
0.1.37 (2023-02-27)
0.1.36 (2023-02-21)
0.1.35 (2023-02-16)
- canvas instance check (#632) (08ee680)
- deps: update rust crate libavif to 0.11 (fd1515b)
- DOMMatrix object to skia Transform convert (#633) (c82d41d)
- DOMMatrix to skia Transform (#634) (f43ccbd)
0.1.34 (2023-01-12)
0.1.33 (2023-01-08)
0.1.32 (2023-01-07)
0.1.31 (2023-01-02)
- missing canvas property on Context2D (#597) (b0a351a)
- multiple define on cached native object in jest (88f5ee9)
0.1.30 (2022-09-22)
- add Mutex guard to GlobalFont (7e0a51a)
- ctx.globalAlpha should effect drawImage (#561) (9c505e2)
- error listening to req (#555) (8491685)
- resize canvas should clear the context (8ece352)
- TypeScript types for avif config (29b17f8)
- types: do not use
reference
tags (#563) (9e5cc29)
0.1.29 (2022-08-26)
- data url should be standard base64 (a59cb40)
- drawImage alpha should not effect by fillStyle (41a6f29)
- isBufferLike in load-image.js (#536) (c6ad306)
- chrome m106 (45f425c)
0.1.28 (2022-08-16)
- adjust Node.js external memory while creating Canvas (77ecc52)
0.1.27 (2022-08-14)
0.1.26 (2022-08-07)
- loadImage: redirect handler (dbbf826)
- miss applying image_smoothing_enabled and image_smoothing_quality (815bc91)
- shadow color was not applied correctly (4054e44)
- test snapshots diff on arm64 (21983c2)
- the quality of toDataURL should between 0 and 1 (27e87df)
- chrome/m105 (ade8f64)
0.1.25 (2022-06-30)
- missing load-image.js in package.json (ddb2419)
0.1.24 (2022-06-30)
- ctx.filter should store in state and be able to save/restore (b85ee7b)
- parameters for drawImage(canvas) (2392263)
- skia async prop deprecated in future release (088e628)
- use premultiplied surface as default (f13c1a3)
- wrong text metrics if text contains chars not including in current font-family (cfcca26)
- add stream and alt support for Image (#486) (671c4b1)
- implement loadImage function (#483) (fa0d857)
- skia chrome/m104 (0b2c865)
0.1.23 (2022-06-23)
0.1.22 (2022-06-02)
- do nothing if lineTo parameters invalid (0ddeb7c)
- svg image transparent background should be preserved (531bde8)
- width in TextMetrics when text is ending with spaces (5961fd2)
- y offset when textBaseline is bottom (26fdc3c)
0.1.21 (2022-03-10)
- BlendMode::Source should be copy instead of source (a010fba)
- prevent segmentation fault if mesuring empty text (2117ddb)
- should not throw if fill/stroke style is invalid (0d12337)
- stroke/fill text should treat \n as space (4c9ac1e)
0.1.20 (2022-02-15)
- Fix the issue of arc to + bezier to + quad to at empty path case (33f8558)
- scoot method for path empty case (a1eb529)
- the quality default value case of encode(type, quality) method (#418) (c4950ea)
0.1.19 (2021-12-31)
- text align and font fallback (d80ac6b)
0.1.18 (2021-12-30)
- reduce install size for linux glibc/musl (8e6c7e8)
- upgrade skia to chrome/m98 (99e3635)
0.1.17 (2021-12-12)
0.1.16 (2021-12-12)
- make methods on ctx configurable & writable (affe82d)
- chrome/m97 (66c900f)
0.1.15 (2021-11-11)
vercel/nft
andwebpack
compatible issue (f2e23f5)
0.1.14 (2021-10-26)
- Now generating avif images is 10x+ faster. (407d1d1)
- Use different quality for WebP and JPEG formats, which is more in line with the browser's default values. (fdefa5d)
- The option to generate avif removes alphaQuality and calculates it internally. (8de6e95)
- Add a new SVG generation avif example. (04d401a)
0.1.13 (2021-10-20)
- text align position (435e102)
0.1.12 (2021-10-15)
- support avif format output (f35b6ff)
0.1.11 (2021-09-30)
- support colorSpace: 'display-p3' (4b64310)
0.1.10 (2021-09-27)
- image_filter to Image SamplingOptions conversion (0719022)
- implement filter for Context (6079927)
0.1.9 (2021-09-24)
- aarch64-apple-darwin (macOS m1 chips) build [skip skia] (4deee73)
0.1.8 (2021-09-19)
0.1.7 (2021-09-14)
0.1.6 (2021-08-25)
- example to png (90edf49)
- pass the fabric.js visual tests (ec55b3a)
- strip start and end ' from font family (177e4f6)
0.1.5 (2021-08-13)
- default value of FilterQuality in SamplingOptions should be high (389aa26)
- add resize SVG demo (bf8388d)
0.1.4 (2021-08-11)
- scale svg image if need (72c404c)
0.1.3 (2021-08-06)
- icudtl.dat download logic in publish job (f2bb048)
0.1.2 (2021-08-05)
- Windows icudtl.data version and path (5c81eb7)
- implement convertSVGTextToPath function (9c7ca98)
0.1.1 (2021-08-02)
- use viewbox as svg_container_size if width & height is empty (406a298)
- upgrade to skia/chrome/m93 latest (6ca9526)
0.1.0 (2021-07-30)
- canvas.png() to canvas.encode('png') (b2d5afe)
- multi font families (2e934a5)
- sample image size update (8b0b147)
- add .asWinding() to convert the sample image of SVG filltype (f9f0d2b)
- add basic measureText setup (e1fc0bf)
- measureText with all textAlign and textBaseline (1891d76)
- support register font with family name alias (4860c80)
- support woff/woff2 fonts (70b7aa2)
- svg canvas backend (f95f67a)
0.0.12 (2021-07-14)
- support raw pixels output (f502548)
- support toDataURL and toDataURLAsync on canvas element (1d8c790)
0.0.11 (2021-07-13)
- support maxWidth in fillText and strokeText (ccf33f3)
0.0.10 (2021-07-12)
- missing registerFromPath implementation (8bac515)
0.0.9 (2021-07-11)
- upgrade skia to chrome/m92 latest (584a02a)
0.0.8 (2021-06-23)
0.0.7 (2021-06-21)
- deps: update rust crate once_cell to 1.8 (c859162)
- deps: update rust crate regex to 1.5 (1915c60)
- JsArrayBuffer usage (b58e987)
0.0.6 (2021-05-06)
- windows setAssetFontManager crash (54861e9)
- add .editorconfig file (62dcf35)
- add font collection singleton scaffold (9b7a00a)
- support GlobalFonts.families (00be237)
- support GlobalFonts.has (0461afc)
- support GlobalFonts.register (295d507)
0.0.5 (2021-05-04)
- path: wrong Stroke type cast and miterLimit default value (5f1761b)
- add stroke to trim test to make it more visually recognizable (bddb3c6)
0.0.4 (2021-04-19)
- parse error for single font size rules (aa80fb7)
0.0.3 (2021-03-27)
- wrong package name in index.js (e3c35bb)
0.0.2 (2021-03-27)
- bitmap destructor (b138da2)
- build on windows (b731ea8)
- compat with Node.js readonly error messages (c7e1764)
- eslint & vscode config ignore (f7dd018)
- image shadow (8396b93)
- image src getter (336549d)
- setters on readonly properties (adac797)
- sync lock file (340bfb5)
- transform matrix config (9dcddf2)
- add drawImage poc (a5e5ddf)
- add image class poc (11e04a5)
- add image SkData field poc (bb0c108)
- ImageData relates API and tests (24c7990)
- implement image pattern (2efbb18)
- scale and rotate (f6c761f)
- skia m89 (e9c1cc9)
- support all drawImage variants (8d5ded6)
- support context alpha (929bdc0)
- support creating SkImage (3945321)
- support getContextAttributes (4c0586b)
- support isPointInPath (2150788)
- support isPointInStroke (2a14513)
- support naturalWidth/naturalHeight/complete/alt (1bb1042)
- sync skia m89 (9748c44)
- text states and font styles (a175cf7)
- disable image data copy (ccc8630)
0.0.1-alpha.3 (2021-01-06)
0.0.1-alpha.2 (2020-12-26)
0.0.1-alpha.1 (2020-12-24)
- async/sync get png data from Canvas (f6d8cd6)