We've fully rolled out the Deno 2.1 compatible release on all regions serving Edge Functions. You don't need to change your existing Edge Function invocations; the nearest region will automatically serve them using the Deno 2.1 release.
Along with the Deno 2.1 release, the features we announced during the launch week also became available in all regions: https://supabase.com/blog/persistent-storage-for-faster-edge-functions
Fallback to Deno 1.45#
In case your Functions start experiencing any compatibility issues with Deno 2.1, you can temporarily fallback to the 1.45 release in two ways:
- Add query parameter
forceDenoVersion=1to your function requests
_10https://project-ref.supabase.co/functions/v1/hello-world?forceDenoVersion=1
- Add
x-deno-version: 1header in requests
_10curl --request POST \_10 --url https://project-ref.supabase.co/functions/v1/hello-world \_10 --header 'content-type: application/json' \_10 --header 'x-deno-version: 1' \_10 --data '{_10 "name": "test"_10}
If you have any issues and questions about this update, please create a support request