Is there any way to keep function version with deployment? For example - I want to see in console which version of my function is already running.
example:
function-dart_2.17: helloWorld - v1.0.6
I thought there is a way to set custom deployment id with my unique version string, but cant find it anywhere
We don't have any way of doing this. You might be able to keep a version in the pubspec.yaml and read that at runtime. I'm not sure if the pubspec.yaml is added to built binary though
There is no problem in the runtime - you can generate actual pubspec as dart code with https://pub.dev/packages/pubspec_generator I guess this will be a feature request, Thanks for the answer
Recommended threads
- [v1.8.1] Getting error "(role: applicati...
... but that scope doesn't exist. I am trying to get a function to run and modify tables in the database dynamically. I set everything up and eventually got: ...
- Scheduled function silently stopped firi...
Function is scheduled `* * * * *` and is `enabled: true`, but Appwrite Cloud has stopped queueing executions. Last execution: **2026-05-30 00:47 UTC** (~46h...
- Unable to create Sites or Functions with...
Heya, I was looking at the appwrite documentation for Sites API with the server api: https://appwrite.io/docs/references/cloud/server-nodejs/sites I can’t fin...