Releases: Brooooooklyn/canvas
Releases · Brooooooklyn/canvas
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
skia-ee20d565
chore: replace the Lottie demo
v0.1.84
What's Changed
- test: add font-variation-settings fixtures by @Brooooooklyn in #1154
- chore(deps): lock file maintenance by @renovate[bot] in #1155
- chore(deps): update dependency @oxc-node/core to ^0.0.35 by @renovate[bot] in #1156
- chore(deps): update dependency tinybench to v6 by @renovate[bot] in #1157
- feat: add GIF encoding support by @Brooooooklyn in #1159
- feat: add fontStretch and fontKerning support by @Brooooooklyn in #1160
Full Changelog: v0.1.83...v0.1.84
v0.1.83
What's Changed
- chore(deps): update yarn to v4.12.0 by @renovate[bot] in #1152
- chore(deps): update actions/checkout action to v6 by @renovate[bot] in #1151
- feat: add variable font support by @Brooooooklyn in #1148
- feat: chrome m143 by @Brooooooklyn in #1153
Full Changelog: v0.1.82...v0.1.83
skia-da51f0d6
feat: add variable font support (#1148) Co-authored-by: Claude <[email protected]>
v0.1.82
What's Changed
- feat: PDFDocument support by @Brooooooklyn in #1137
- chore(deps): update dependency electron to v39 by @renovate[bot] in #1138
- chore(deps): update dependency node to v24 by @renovate[bot] in #1139
- Add PDF annotation APIs using SkAnnotation.h for interactive links and navigation by @Copilot in #1140
- chore(deps): lock file maintenance by @renovate[bot] in #1142
- chore(deps): update yarn to v4.11.0 by @renovate[bot] in #1143
- feat: add Uint16Array and Float32Array support to ImageData constructor by @Copilot in #1144
- chore(deps): update dependency @oxc-node/core to ^0.0.33 by @renovate[bot] in #1145
- chore(deps): update dependency @oxc-node/core to ^0.0.34 by @renovate[bot] in #1146
Full Changelog: v0.1.81...v0.1.82
v0.1.81
What's Changed
- chore(deps): update yarn to v4.10.1 by @renovate[bot] in #1127
- chore(deps): update yarn to v4.10.2 by @renovate[bot] in #1128
- chore(deps): update yarn to v4.10.3 by @renovate[bot] in #1130
- chore(deps): update actions/setup-node action to v6 by @renovate[bot] in #1132
- build: use 2.x version nasm by @Brooooooklyn in #1134
- chore(deps): update github artifact actions (major) by @renovate[bot] in #1135
- feat: upgrade to chrome/142 by @Brooooooklyn in #1136
- chore(deps): lock file maintenance by @renovate[bot] in #1131
Full Changelog: v0.1.80...v0.1.81
skia-f4ed99d2
chore(deps): update github artifact actions (major) (#1135) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
v0.1.80
What's Changed
- fix: external memory usage adjustment mismatch by @Brooooooklyn in #1123
- fix: shadow is not applied with transform correctly by @Brooooooklyn in #1124
Full Changelog: v0.1.79...v0.1.80