Releases: Brooooooklyn/canvas
Releases · Brooooooklyn/canvas
v0.1.93
What's Changed
- feat: chrome m146 by @Brooooooklyn in #1207
- chore(deps): update dependency oxlint-tsgolint to ^0.13.0 by @renovate[bot] in #1208
- chore(deps): update dependency oxlint-tsgolint to ^0.14.0 by @renovate[bot] in #1209
Full Changelog: v0.1.92...v0.1.93
v0.1.92
What's Changed
- feat: add node-canvas compatibility layer (
@napi-rs/canvas/node-canvas) by @Brooooooklyn in #1203 - chore(deps): update dependency oxlint-tsgolint to ^0.12.0 by @renovate[bot] in #1205
- fix: putImageData bypassed deferred rendering PageRecorder by @Brooooooklyn in #1206
Full Changelog: v0.1.91...v0.1.92
skia-90228207
0.1.92
v0.1.91
What's Changed
- fix: plug native memory leaks in SVG canvas, bitmap shader, and stream allocations by @Brooooooklyn in #1201
- fix: clip with nested transforms intersects in device space by @Brooooooklyn in #1202
Full Changelog: v0.1.90...v0.1.91
v0.1.90
What's Changed
- fix: copy font data in GlobalFonts.register to prevent buffer invalidation by @Brooooooklyn in #1194
- chore(deps): lock file maintenance by @renovate[bot] in #1195
- feat: support http url in image src by @Brooooooklyn in #1197
- fix: add Drop impl for SkPictureRecorder to prevent memory leak by @Brooooooklyn in #1199
- fix: prevent memory leaks in encode_stream callback and SkPixmap by @Brooooooklyn in #1200
Full Changelog: v0.1.89...v0.1.90
v0.1.89
What's Changed
- fix: napi feature by @Brooooooklyn in #1191
- chore(deps): update dependency electron to v40 by @renovate[bot] in #1192
- feat: implement deferred rendering with incremental layer caching by @Brooooooklyn in #1193
Full Changelog: v0.1.88...v0.1.89
v0.1.88
What's Changed
- fix: should throw TypeError if drawImage param mismatched by @Brooooooklyn in #1190
Full Changelog: v0.1.87...v0.1.88
v0.1.87
What's Changed
- fix: make Image class HTML spec compliant for jsdom integration by @Brooooooklyn in #1184
- feat: ignore Letter Spacing in Cursive Scripts by @yisibl in #1185
- fix(image): make Buffer load synchronous and add decode() method by @Brooooooklyn in #1186
- feat: add
ctx.langproperty for language-specific text rendering by @Brooooooklyn in #1187 - chore: update Rust toolchain by @Brooooooklyn in #1188
- feat: add
textRenderingproperty for text rendering hints by @Brooooooklyn in #1189
Full Changelog: v0.1.86...v0.1.87
v0.1.86
What's Changed
- chore: update deps by @Brooooooklyn in #1178
- feat: chrome m144 by @Brooooooklyn in #1182
- fix: RTL text
fillText(maxWidth)x positioning calculation error by @yisibl in #1179
Full Changelog: v0.1.85...v0.1.86
v0.1.85
What's Changed
Lottie
See lottie-to-video.ts for example
const { LottieAnimation } = require('@napi-rs/canvas')
// Load from file
const animation = LottieAnimation.loadFromFile('animation.json')
// Load from JSON string with resource path for external assets
const animation = LottieAnimation.loadFromData(jsonString, {
resourcePath: '/path/to/assets',
})output.mp4
Changelog
- feat: add
fontVariantCapsby @yisibl in #1161 - chore(deps): update actions/cache action to v5 by @renovate[bot] in #1169
- chore(deps): update github artifact actions (major) by @renovate[bot] in #1173
- feta: support
CanvasRenderingContext2D.reset()by @yisibl in #1171 - fix: initial black color string should be
#000000rather than#000by @Brooooooklyn in #1174 - feat: support windows arm64 by @Brooooooklyn in #1176
- feat: basic support for
directionby @yisibl in #1175 - feat: support Lottie API by @Brooooooklyn in #1177
Full Changelog: v0.1.84...v0.1.85