Summary#
Returning XHTML responses from the Data APIs and Edge Functions is now only allowed if a Custom Domain is being used.
Additionally, you can now serve HTML and XHTML responses from the Storage service as well, if a Custom Domain is being used.
If your use-case requires serving these content types, you can continue to do so by using a Custom Domain add-on.
Affected projects have been notified in advance.
Background#
HTML responses (i.e. content-types that can be directly rendered by browsers) were historically disallowed for projects not using a custom domain, in order to prevent abuse on the shared domains used for provisioning Supabase projects. This change updates this behavior to process XHTML responses in the same manner, due to the same rationale.