Homey Community Forum

Upgrade guides for SDK v1 to SDK v2 and from SDK v2 to SDK v3?

Hi,

It would be nice to have an upgrade guide, what to change into what for upgrading some app from one SDK version to another. Is there something like that or should you rebuild all apps from scratch?

SDKv1 to SDKv2 is basically a full rewrite, SDKv2 to SDKv3 isn’t that much work and is (mostly) documented here.

1 Like

athom sdk3 :This SDK version removes the dual callback/promise support for API’s and allows you to use async/await everywhere you want/need to

the http request in node is still a callback in the node.js documentation , will this callbaclk still work in sdk3 ?

Yes, only API’s created by Athom will not support callbacks anymore.

thanks