Skip to content

Commit 5c10ed5

Browse files
committed
fix: add note about imagebuffer chanegs
1 parent acc5b3a commit 5c10ed5

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

  • for-developers/module-development/api-changes

for-developers/module-development/api-changes/v2.0.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -563,6 +563,12 @@ Now, `callback` is invoked whenever the feedback should run and is the only meth
563563

564564
To help track state, `previousOptions` is now provided to the `callback`. This contains the values from the previous call so you can detect relevant changes without tracking state yourself.
565565

566+
### Feedback `imageBuffer` format change
567+
568+
For any advanced feedbacks producing an `imageBuffer`, we now require these to be base64 encoded strings.
569+
570+
You can convert your existing buffer with `.toString('base64')`.
571+
566572
### Learn callback return value changes
567573

568574
If you implement a `learn` callback in your actions or feedbacks, expectations for its return value have changed.

0 commit comments

Comments
 (0)