Skip to content
Back

New TablesDB

  • 0
  • Databases
  • Web
izk
11 Sep, 2025, 11:11

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?

TL;DR
In the new version 1.8 of Appwrite, Databases is renamed to TablesDB and all method names have changed. You can view the updated documentation at the provided link. Renaming your class and methods will resolve the warnings. The deprecation of newly released CRUD APIs might be due to recent NPM package updates for the web app frontend using the Appwrite SDK as the backend.
Guille
11 Sep, 2025, 11:55

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

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more