> 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

```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.
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://fivesobes.gitbook.io/canvafy/welcome/changes-notes.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
