In the process of developing a new web app front-end using the Appwrite SDK as backend, the SDK was updated from 18.0.0, which I started development with, to 20.0.0, the latest. I updated the project packages in reaction to last week's NPM's package's malware attackes. So I noticed all my local API endpoint calls to Appwrite were deprecated. And many of the Model interfaces I was using were unavailable in the latest package. Since the app is new and still in development, I decided to simply update all the Appwrite dependent code. However, to my surprise, all new CRUD APIs are marked as deprecated as well. It is a real pain to have to try to work with deprecated methods as there is a lot of TS and ESLint noise to deal with. Why are these just-released as of a couple of months ago APIs marked as deprecated? Is there a work-around?
It's because in 1.8 there is some renames, Databases is now TablesDb, and all methods names changed.
You can check it here:
https://appwrite.io/docs/references/cloud/client-web/tablesDB
Renaming your class and methods will remove the warnings
Recommended threads
- Server Error when importing to tables
Same .csv file worked yesterday, Please fix it asap
- Urgent help with removed databases
Hi <@564158268319203348> <@501784879638249472> I wrote to paid plan support about this but no response as of yet… About an hour ago one of the interns from o...
- MariaDB refuses to connect to appwrite
Earlier, I tried updating my Appwrite version from 18.1.x to the latest release because my Flutter package required it to function properly. I used the official...