getContext() returns PlatformContext instead of TrayContext
This is the change most likely to need an edit in your code. The members present in every execution are unchanged: http, db(), kv(), files(), log, config, state, executionId, deploymentId, and traceId. The request-specific ones are now optional, so check the field you read, for example const ctx = getContext(); if (ctx.method !== undefined) { ctx.method; }. That covers input, method, path, headers, request, status(), error(), userId, and identity. Handler parameters are untouched: a defineFunction handler still receives the exact TrayContext. Scheduled functions, added in 0.93.0, are the first trigger to depend on this: they run without a request, so the request-derived fields are absent.