Skip to content

Latest commit

 

History

History
776 lines (411 loc) · 43.1 KB

CHANGELOG.md

File metadata and controls

776 lines (411 loc) · 43.1 KB

0.1.63 (2024-11-23)

Bug Fixes

Features

0.1.62 (2024-11-15)

Bug Fixes

  • align the imageSmoothingQuality behavior with chrome (#942) (991edbb)

Features

0.1.61 (2024-11-13)

Features

  • 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)

Bug Fixes

0.1.59 (2024-10-27)

Bug Fixes

Features

0.1.58 (2024-10-14)

Bug Fixes

  • loadImage memleak and performance issue (#914) (d4fd676)

0.1.57 (2024-10-14)

Bug Fixes

  • Creating canvas with width or height of zero or less (#739) (3a26c7d)
  • memory leak in Image/loadImage (#913) (527c0da)

Features

0.1.56 (2024-09-19)

Bug Fixes

  • ?? 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)

Bug Fixes

Features

0.1.54 (2024-08-17)

Bug Fixes

  • 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)

Features

0.1.53 (2024-06-09)

Bug Fixes

Features

0.1.52 (2024-04-17)

Bug Fixes

Features

0.1.51 (2024-03-04)

Bug Fixes

  • deps: update rust crate base64 to 0.22 (84fd52f)
  • remove postinstall script for gnu/musl platform (#797) (d37da08)

0.1.50 (2024-02-26)

Features

  • support ctx.letterSpacing and ctx.wordSpacing (#794) (793d2a0)

0.1.49 (2024-02-22)

Bug Fixes

  • memory leak while encoding png from Canvas (#791) (3f17b38)

Features

0.1.48 (2024-02-21)

Bug Fixes

0.1.47 (2024-02-19)

Bug Fixes

0.1.46 (2024-02-19)

Bug Fixes

0.1.45 (2024-02-05)

Bug Fixes

  • use drawPicture in some blending modes such as destination-in (#755) (35f7f72), closes #695

Features

0.1.44 (2023-08-22)

Bug Fixes

  • file extensions in loadFontsFromDir() are no longer case-sensitive (9342e33)

0.1.43 (2023-08-11)

0.1.42 (2023-08-08)

Bug Fixes

Features

0.1.41 (2023-05-22)

Bug Fixes

0.1.40 (2023-04-09)

Features

0.1.39 (2023-03-14)

Bug Fixes

0.1.38 (2023-03-11)

Bug Fixes

  • deps: update rust crate infer to 0.13 (bad913c)

Features

0.1.37 (2023-02-27)

Bug Fixes

0.1.36 (2023-02-21)

Bug Fixes

  • recalc paint_x according to align if maxWidth is set (#639) (7f74567)

0.1.35 (2023-02-16)

Bug Fixes

0.1.34 (2023-01-12)

Bug Fixes

  • wrong text baseline calculation in drawText and measureText (#606) (bba0296)

0.1.33 (2023-01-08)

Bug Fixes

  • maxWidth overflow paint_x position should power the scale ratio (#603) (17c7902)

0.1.32 (2023-01-07)

Bug Fixes

  • getTransform should return DOMMatrix (#602) (fc576e9)

Features

0.1.31 (2023-01-02)

Bug Fixes

  • missing canvas property on Context2D (#597) (b0a351a)
  • multiple define on cached native object in jest (88f5ee9)

Features

0.1.30 (2022-09-22)

Bug Fixes

  • 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)

Bug Fixes

  • data url should be standard base64 (a59cb40)
  • drawImage alpha should not effect by fillStyle (41a6f29)
  • isBufferLike in load-image.js (#536) (c6ad306)

Features

0.1.28 (2022-08-16)

Bug Fixes

  • adjust Node.js external memory while creating Canvas (77ecc52)

0.1.27 (2022-08-14)

Bug Fixes

0.1.26 (2022-08-07)

Bug Fixes

  • 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)

Features

0.1.25 (2022-06-30)

Bug Fixes

  • missing load-image.js in package.json (ddb2419)

0.1.24 (2022-06-30)

Bug Fixes

  • 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)

Features

0.1.23 (2022-06-23)

0.1.22 (2022-06-02)

Bug Fixes

  • 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)

Features

0.1.21 (2022-03-10)

Bug Fixes

  • 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)

Bug Fixes

  • 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)

Features

0.1.19 (2021-12-31)

Bug Fixes

  • text align and font fallback (d80ac6b)

0.1.18 (2021-12-30)

Bug Fixes

  • reduce install size for linux glibc/musl (8e6c7e8)

Features

  • upgrade skia to chrome/m98 (99e3635)

0.1.17 (2021-12-12)

0.1.16 (2021-12-12)

Bug Fixes

  • make methods on ctx configurable & writable (affe82d)

Features

0.1.15 (2021-11-11)

Bug Fixes

  • vercel/nft and webpack compatible issue (f2e23f5)

0.1.14 (2021-10-26)

Bug Fixes

  • 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)

Features

  • 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)

Bug Fixes

Features

0.1.12 (2021-10-15)

Features

  • support avif format output (f35b6ff)

0.1.11 (2021-09-30)

Features

  • support colorSpace: 'display-p3' (4b64310)

0.1.10 (2021-09-27)

Bug Fixes

  • image_filter to Image SamplingOptions conversion (0719022)

Features

  • implement filter for Context (6079927)

0.1.9 (2021-09-24)

Bug Fixes

  • aarch64-apple-darwin (macOS m1 chips) build [skip skia] (4deee73)

0.1.8 (2021-09-19)

0.1.7 (2021-09-14)

Bug Fixes

  • deps: update rust crate cssparser to 0.29 (36ff54f)
  • transform state between save/restore (d313b80)

0.1.6 (2021-08-25)

Bug Fixes

  • example to png (90edf49)
  • pass the fabric.js visual tests (ec55b3a)
  • strip start and end ' from font family (177e4f6)

Features

0.1.5 (2021-08-13)

Bug Fixes

  • default value of FilterQuality in SamplingOptions should be high (389aa26)

Features

0.1.4 (2021-08-11)

Features

  • scale svg image if need (72c404c)

0.1.3 (2021-08-06)

Bug Fixes

  • icudtl.dat download logic in publish job (f2bb048)

0.1.2 (2021-08-05)

Bug Fixes

  • Windows icudtl.data version and path (5c81eb7)

Features

  • implement convertSVGTextToPath function (9c7ca98)

0.1.1 (2021-08-02)

Bug Fixes

  • use viewbox as svg_container_size if width & height is empty (406a298)

Features

  • upgrade to skia/chrome/m93 latest (6ca9526)

0.1.0 (2021-07-30)

Bug Fixes

  • canvas.png() to canvas.encode('png') (b2d5afe)
  • multi font families (2e934a5)
  • sample image size update (8b0b147)

Features

  • 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)

Features

  • support raw pixels output (f502548)
  • support toDataURL and toDataURLAsync on canvas element (1d8c790)

0.0.11 (2021-07-13)

Features

  • support maxWidth in fillText and strokeText (ccf33f3)

0.0.10 (2021-07-12)

Bug Fixes

  • missing registerFromPath implementation (8bac515)

0.0.9 (2021-07-11)

Features

  • upgrade skia to chrome/m92 latest (584a02a)

0.0.8 (2021-06-23)

Features

0.0.7 (2021-06-21)

Bug Fixes

  • deps: update rust crate once_cell to 1.8 (c859162)
  • deps: update rust crate regex to 1.5 (1915c60)
  • JsArrayBuffer usage (b58e987)

Features

0.0.6 (2021-05-06)

Bug Fixes

  • windows setAssetFontManager crash (54861e9)

Features

  • 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)

Bug Fixes

  • path: wrong Stroke type cast and miterLimit default value (5f1761b)
  • add stroke to trim test to make it more visually recognizable (bddb3c6)

Features

0.0.4 (2021-04-19)

Bug Fixes

  • parse error for single font size rules (aa80fb7)

Features

  • path2d: implement pathkit functions (eea95bf)
  • skia chrome/m91, add back mimalloc (0420c14)

0.0.3 (2021-03-27)

Bug Fixes

  • wrong package name in index.js (e3c35bb)

0.0.2 (2021-03-27)

Bug Fixes

Features

Performance Improvements

  • disable image data copy (ccc8630)

0.0.1-alpha.3 (2021-01-06)

Features

  • properties in CanvasRenderContext2D (12727a7)
  • testing for context2d functions (107a650)

0.0.1-alpha.2 (2020-12-26)

Features

  • implement Path2D (91124d6)
  • support gradient in fill/stroke style (12e061c)

0.0.1-alpha.1 (2020-12-24)

Features

  • async/sync get png data from Canvas (f6d8cd6)

0.0.1-alpha.0 (2020-12-17)

Features