kyranet / canvas-constructor

An ES6 utility for canvas with built-in functions and chained methods.
https://canvasconstructor.js.org
MIT License
116 stars 23 forks source link

refactor!: re-export async `loadImage` from `@napi-rs/canvas` #516

Closed imranbarbhuiya closed 2 years ago

kyranet commented 2 years ago

This new feature of @napi-rs/canvas, loadImage, is async, which makes this PR semver major.

favna commented 2 years ago

is this correct as body @kyranet ?

BREAKING CHANGE: When using @napi/rs loader the `loadImage` function is now an async function returning a `Promise`
kyranet commented 2 years ago

Yes - also supports more inputs such as from FS, HTTP, etc.