> For the complete documentation index, see [llms.txt](https://fivesobes.gitbook.io/canvafy/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://fivesobes.gitbook.io/canvafy/welcome/changes-notes.md).

# Changes Notes

Canvafy Changes Notes

```sh
npm i canvafy
```

```sh
yarn add canvafy
```

## 🐈‍⬛ Version <mark style="color:yellow;">0.3.0</mark> <mark style="color:green;">Valid For Later Version!</mark>

```sh
❓ ( Old Versions )For Before Version 0.3.0
# Writing .toBuffer() is Required to Create Image
- Example;
const spotify = await new canvafy.Spotify()

message.reply({
files:[
{attachment: spotify.toBuffer(),name:"spotify.png"}
]
})


❓ ( New Versions )For After Version 0.3.0
# Writing .toBuffer() to Create Image Removed, Now You Can Access Image Using Direct Definition!
- Example;
const spotify = await new canvafy.Spotify()

message.reply({
files:[
{attachment:spotify,name:"spotify.png"}
]
})

🌀 So Why Did It Change?
# We switched from the "node-canvas" package we used to create images in canvafy to the "napi-rs/canvas" package, so this definition has been changed.
```
