I have self-hosted v1.8.1 and I am using an Appwrite function with node-appwrite v22. When I call the createVarcharColumn() in my server function I get this exception:
"AppwriteException: Route not found. Please ensure the endpoint is configured correctly and that the API route is valid for this SDK version. Refer to the API docs for more details."
Why isn't createVarcharColumn() available in 1.8.1 self-hosted?
Cloud is always a bit ahead of the self-hosted version. 1.8.1 doesn't have the new methods from Databases. You'll have to wait for the next SH release.
The docs are misleading then
its not, not in a way. it says 1.8.x and not 1.8.1. the specs are generated from latest changes from 1.8.x branch. but agree this can cause some confusion.
They definitely are! 1.8.x absolutely includes 1.8.1, so if docs say 1.8.x then this should apply to 1.8.1 as well. In addition, the new string types are part of 1.9.0 as per the changelog: https://github.com/appwrite/appwrite/blob/1.9.x/CHANGES.md. So it is even more misleading and wrong - obviously someone was fast ans sloppy to put the 1.9.0 docs into the 1.8 branch
i do see the endpoints exist in 1.8.x branch
original pr too merged into 1.8.x - https://github.com/appwrite/appwrite/pull/11174
okay yeah it was added to 1.8.x but 1.8,2 release was never made
<@587722386237947948> did u find anything else that isnt synced?
thank you for the update <@743532656767270934> . there is also this nasty bug - https://github.com/appwrite/sdk-for-node/issues/136 - not directly relating to docs but still - the docs say the createTable should work properly with columns but it doesn't. It seems this is still not being fixed
do u see an error?
or its just silent
it wasn't added on 1.8.1 self hosted until later - https://github.com/appwrite/appwrite/blob/1.8.1/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Create.php
I am assuming its just ignored.
tablesdb isnt supported by 1.8.1?
the sync columns creation along with the table creation isn't on 1.8.1.
ah i see
in the meantime, it should work with old sequential steps: create table > success > create columns > indexes, etc.
yes, this is how I do it now
fixing this - https://github.com/appwrite/specs/pull/44
Recommended threads
- Error upgrading from 1.8.1 to 1.9.0
DO Self-hosted server failed to upgrade with this error "Error response from daemon: client version 1.52 is too new. Maximum supported API version is 1.42". U...
- 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...
- executeFunction intermittently throws Fo...
Environment: Flutter app using the Appwrite Flutter SDK, calling executeFunction for [describe endpoint, e.g. live-stream-related function]. *Description*: Int...