The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
docs: move C# SDK from community to official support (#51487)
Guillaume Faas1c97fe51bee2
diff --git a/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.constants.ts b/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.constants.tsindex e950f268564..169bef8b665 100644--- a/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.constants.ts+++ b/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.constants.ts@@ -259,7 +259,6 @@ export const GLOBAL_MENU_ITEMS: GlobalMenuItems = [icon: 'reference-csharp',href: '/reference/csharp' as `/${string}`,level: 'reference_csharp',- community: true,enabled: sdkCsharpEnabled,},{@@ -3525,7 +3524,7 @@ export const reference_csharp_v0 = {parent: '/reference',pkg: {name: 'supabase',- repo: 'https://github.com/supabase-community/supabase-csharp',+ repo: 'https://github.com/supabase/supabase-csharp',},}@@ -3536,7 +3535,7 @@ export const reference_csharp_v1 = {parent: '/reference',pkg: {name: 'supabase',- repo: 'https://github.com/supabase-community/supabase-csharp',+ repo: 'https://github.com/supabase/supabase-csharp',},}@@ -3547,7 +3546,7 @@ export const reference_csharp_v8 = {parent: '/reference',pkg: {name: 'supabase',- repo: 'https://github.com/supabase-community/supabase-csharp',+ repo: 'https://github.com/supabase/supabase-csharp',},}diff --git a/apps/docs/content/guides/api/rest/client-libs.mdx b/apps/docs/content/guides/api/rest/client-libs.mdxindex b810676c8a1..a0b687c8ce9 100644--- a/apps/docs/content/guides/api/rest/client-libs.mdx+++ b/apps/docs/content/guides/api/rest/client-libs.mdx@@ -15,12 +15,12 @@ Supabase provides client libraries for the REST and Realtime APIs. Some librarie| Dart/Flutter | [supabase-flutter](https://github.com/supabase/supabase-flutter/tree/main/packages/supabase_flutter) | [Docs](/docs/reference/dart/introduction) || Swift | [supabase-swift](https://github.com/supabase/supabase-swift) | [Docs](/docs/reference/swift/introduction) || Python | [supabase-py](https://github.com/supabase/supabase-py) | [Docs](/docs/reference/python/initializing) |+| C# | [supabase-csharp](https://github.com/supabase/supabase-csharp) | [Docs](/docs/reference/csharp/introduction) |## Community libraries| `Language` | `Source Code` | `Documentation` || ----------------------- | -------------------------------------------------------------------------------- | ---------------------------------------------------- |-| C# | [supabase-csharp](https://github.com/supabase-community/supabase-csharp) | [Docs](/docs/reference/csharp/introduction) || Go | [supabase-go](https://github.com/supabase-community/supabase-go) | || Kotlin | [supabase-kt](https://github.com/supabase-community/supabase-kt) | [Docs](/docs/reference/kotlin/introduction) || Ruby | [supabase-rb](https://github.com/supabase-community/supabase-rb) | |diff --git a/apps/docs/docs/ref/csharp/release-notes.mdx b/apps/docs/docs/ref/csharp/release-notes.mdxindex 2c1cc047c5d..ef2915683a7 100644--- a/apps/docs/docs/ref/csharp/release-notes.mdx+++ b/apps/docs/docs/ref/csharp/release-notes.mdx@@ -5,43 +5,43 @@ title: Release Notes## 8.1.0 - 2026-09-07-- Stream Edge Function responses ([#417](https://github.com/supabase-community/supabase-csharp/issues/417)).-- Realtime: add an `enabled` flag to opt into the initial presence sync ([#407](https://github.com/supabase-community/supabase-csharp/issues/407)).-- Fix: keep `!` and unary `-` attached to their values in `Where` filter expressions ([#414](https://github.com/supabase-community/supabase-csharp/issues/414)).-- Fix: write integer arrays as JSON arrays and reject invalid literals with a `JsonException` ([#408](https://github.com/supabase-community/supabase-csharp/issues/408)).+- Stream Edge Function responses ([#417](https://github.com/supabase/supabase-csharp/issues/417)).+- Realtime: add an `enabled` flag to opt into the initial presence sync ([#407](https://github.com/supabase/supabase-csharp/issues/407)).+- Fix: keep `!` and unary `-` attached to their values in `Where` filter expressions ([#414](https://github.com/supabase/supabase-csharp/issues/414)).+- Fix: write integer arrays as JSON arrays and reject invalid literals with a `JsonException` ([#408](https://github.com/supabase/supabase-csharp/issues/408)).## 8.0.0 - 2026-09-03-Major release. All `Supabase.*` packages are versioned in lockstep. See the [migration guide](https://github.com/supabase-community/supabase-csharp/blob/master/docs/migrations/v8.0.0.md) for upgrade steps.+Major release. All `Supabase.*` packages are versioned in lockstep. See the [migration guide](https://github.com/supabase/supabase-csharp/blob/master/docs/migrations/v8.0.0.md) for upgrade steps.**Breaking changes**-- Migrate from `Newtonsoft.Json` to `System.Text.Json` across every package. Custom models with `[JsonProperty]` should move to `[JsonPropertyName]`; direct `JsonConvert` calls should move to `JsonSerializer` ([#360](https://github.com/supabase-community/supabase-csharp/issues/360)).+- Migrate from `Newtonsoft.Json` to `System.Text.Json` across every package. Custom models with `[JsonProperty]` should move to `[JsonPropertyName]`; direct `JsonConvert` calls should move to `JsonSerializer` ([#360](https://github.com/supabase/supabase-csharp/issues/360)).- Retarget every package to `netstandard2.1` (from `netstandard2.0`). .NET Framework and pre-`netstandard2.1` runtimes (Mono < 6.4, older Xamarin/Unity) are no longer supported — move to a `netstandard2.1`-capable target (.NET Core 3.0+/.NET 5+).-- Postgrest: parameterless `Table.Delete()` now returns `Task<ModeledResponse<T>>` (the deleted rows) instead of `Task` ([#342](https://github.com/supabase-community/supabase-csharp/issues/342)).-- Postgrest: `Single()` now throws a `PostgrestException` (status `406`) when more than one row matches, instead of returning `null` ([#346](https://github.com/supabase-community/supabase-csharp/issues/346)).-- Realtime: registering a `postgres_changes` listener after `Subscribe()` now throws a `RealtimeException` ([#385](https://github.com/supabase-community/supabase-csharp/issues/385)).-- Gotrue: stop sending the OAuth `state` parameter to `/authorize`; `SignInOptions.State` and `ProviderAuthState.State` are removed ([#388](https://github.com/supabase-community/supabase-csharp/issues/388)).+- Postgrest: parameterless `Table.Delete()` now returns `Task<ModeledResponse<T>>` (the deleted rows) instead of `Task` ([#342](https://github.com/supabase/supabase-csharp/issues/342)).+- Postgrest: `Single()` now throws a `PostgrestException` (status `406`) when more than one row matches, instead of returning `null` ([#346](https://github.com/supabase/supabase-csharp/issues/346)).+- Realtime: registering a `postgres_changes` listener after `Subscribe()` now throws a `RealtimeException` ([#385](https://github.com/supabase/supabase-csharp/issues/385)).+- Gotrue: stop sending the OAuth `state` parameter to `/authorize`; `SignInOptions.State` and `ProviderAuthState.State` are removed ([#388](https://github.com/supabase/supabase-csharp/issues/388)).- Gotrue: rename `NetworkStatus.PingCheck` to `PingCheckAsync`.**Features**-- Add the `Supabase.Extensions.DependencyInjection` package for DI registration ([#387](https://github.com/supabase-community/supabase-csharp/issues/387)).-- Add retry/backoff and injectable `HttpClient` support across all services ([#383](https://github.com/supabase-community/supabase-csharp/issues/383)).-- Support publishable and secret API keys ([#397](https://github.com/supabase-community/supabase-csharp/issues/397)).-- Gotrue: support async session persistence ([#399](https://github.com/supabase-community/supabase-csharp/issues/399)) and soft-delete on admin `DeleteUser` ([#402](https://github.com/supabase-community/supabase-csharp/issues/402)).-- Storage: expose the service error code ([#380](https://github.com/supabase-community/supabase-csharp/issues/380)).+- Add the `Supabase.Extensions.DependencyInjection` package for DI registration ([#387](https://github.com/supabase/supabase-csharp/issues/387)).+- Add retry/backoff and injectable `HttpClient` support across all services ([#383](https://github.com/supabase/supabase-csharp/issues/383)).+- Support publishable and secret API keys ([#397](https://github.com/supabase/supabase-csharp/issues/397)).+- Gotrue: support async session persistence ([#399](https://github.com/supabase/supabase-csharp/issues/399)) and soft-delete on admin `DeleteUser` ([#402](https://github.com/supabase/supabase-csharp/issues/402)).+- Storage: expose the service error code ([#380](https://github.com/supabase/supabase-csharp/issues/380)).**Fixes**-- Gotrue: a failed token refresh no longer signs the user out — only a server-reported invalid refresh token does ([#394](https://github.com/supabase-community/supabase-csharp/issues/394)).-- Postgrest: drop the `.` before nested `and`/`or` groups ([#389](https://github.com/supabase-community/supabase-csharp/issues/389)).-- Storage: percent-encode the object key in CDN purge URLs ([#384](https://github.com/supabase-community/supabase-csharp/issues/384)).+- Gotrue: a failed token refresh no longer signs the user out — only a server-reported invalid refresh token does ([#394](https://github.com/supabase/supabase-csharp/issues/394)).+- Postgrest: drop the `.` before nested `and`/`or` groups ([#389](https://github.com/supabase/supabase-csharp/issues/389)).+- Storage: percent-encode the object key in CDN purge URLs ([#384](https://github.com/supabase/supabase-csharp/issues/384)).## 1.6.0 - 2026-08-07-- Bump Supabase dependencies ([#301](https://github.com/supabase-community/supabase-csharp/issues/301)).-- Fix: match auth header names case-insensitively, enabling developer overrides ([#295](https://github.com/supabase-community/supabase-csharp/issues/295)).+- Bump Supabase dependencies ([#301](https://github.com/supabase/supabase-csharp/issues/301)).+- Fix: match auth header names case-insensitively, enabling developer overrides ([#295](https://github.com/supabase/supabase-csharp/issues/295)).## 1.5.0 - 2026-07-30@@ -57,7 +57,7 @@ Major release. All `Supabase.*` packages are versioned in lockstep. See the [migThis is the observability release: every child library now emits diagnostics through `System.Diagnostics`, making the SDK compatible with OpenTelemetry.-- Expose aggregated telemetry source names for OpenTelemetry ([#285](https://github.com/supabase-community/supabase-csharp/issues/285)).+- Expose aggregated telemetry source names for OpenTelemetry ([#285](https://github.com/supabase/supabase-csharp/issues/285)).- Update dependency: `[email protected]`- Add OpenTelemetry-compatible diagnostics primitives ([#6](https://github.com/supabase-community/core-csharp/issues/6)).- Update dependency: `[email protected]`@@ -71,7 +71,7 @@ This is the observability release: every child library now emits diagnostics thr## 1.3.0 - 2026-07-20-- Wire Realtime's Postgrest client automatically so models received from `postgres_changes` support `Update()` and `Delete()` ([#282](https://github.com/supabase-community/supabase-csharp/issues/282)).+- Wire Realtime's Postgrest client automatically so models received from `postgres_changes` support `Update()` and `Delete()` ([#282](https://github.com/supabase/supabase-csharp/issues/282)).- Update dependency: `[email protected]`- Add `Client.Attach<T>()` to populate a model's client context for `Update`/`Delete` ([#135](https://github.com/supabase-community/postgrest-csharp/issues/135)).- Add `ClientOptions.SerializeEnumsAsStrings` to opt into string enum serialization ([#134](https://github.com/supabase-community/postgrest-csharp/issues/134)).@@ -81,7 +81,7 @@ This is the observability release: every child library now emits diagnostics thr## 1.2.0 - 2026-07-16-- Lower the `Newtonsoft.Json` minimum version to `13.0.2` across all packages to ease dependency resolution ([#275](https://github.com/supabase-community/supabase-csharp/issues/275)).+- Lower the `Newtonsoft.Json` minimum version to `13.0.2` across all packages to ease dependency resolution ([#275](https://github.com/supabase/supabase-csharp/issues/275)).- Update dependency: `[email protected]`- Add an option for setting `redirect_url` on MagicLink sign-in.- Add `state` parameter support to OAuth provider sign-in.@@ -117,7 +117,7 @@ This is the observability release: every child library now emits diagnostics thr- Update dependency: `[email protected]`- Updates dependency: `[email protected]`.- Updates dependency: `[email protected]`.- - Adds support for specifying `GetHeaders` on the `RealtimeClient`, which are included on the initial request to establish the websocket connection ([#167](https://github.com/supabase-community/supabase-csharp/issues/167)).+ - Adds support for specifying `GetHeaders` on the `RealtimeClient`, which are included on the initial request to establish the websocket connection ([#167](https://github.com/supabase/supabase-csharp/issues/167)).## 1.1.0 - 2024-07-25@@ -170,10 +170,10 @@ This is the observability release: every child library now emits diagnostics thr- Assembly Name has been changed to `Supabase.dll`- Update dependency: `[email protected]`- [MAJOR] Moves namespaces from `Postgrest` to `Supabase.Postgrest`- - Re: [#135](https://github.com/supabase-community/supabase-csharp/issues/135) Update nuget package+ - Re: [#135](https://github.com/supabase/supabase-csharp/issues/135) Update nuget packagename `postgrest-csharp` to `Supabase.Postgrest`- Update dependency: `[email protected]`- - Re: [#135](supabase-community/supabase-csharp#135) Update nuget package name `gotrue-csharp` to `Supabase.Gotrue`+ - Re: [#135](supabase/supabase-csharp#135) Update nuget package name `gotrue-csharp` to `Supabase.Gotrue`- Re: [#89](https://github.com/supabase-community/gotrue-csharp/issues/89), Only add `access_token` to request bodywhen it is explicitly declared.- [MINOR] Re: [#89](https://github.com/supabase-community/gotrue-csharp/issues/89) Update signature@@ -185,16 +185,16 @@ This is the observability release: every child library now emits diagnostics thr- Update dependency: `[email protected]`- Merges [#45](https://github.com/supabase-community/realtime-csharp/pull/45) - Updatingthe `[email protected]`- - Re: [#135](https://github.com/supabase-community/supabase-csharp/issues/135) Update nuget package+ - Re: [#135](https://github.com/supabase/supabase-csharp/issues/135) Update nuget packagename `realtime-csharp` to `Supabase.Realtime`- Update dependency: `[email protected]`- - Re: [#135](https://github.com/supabase-community/supabase-csharp/issues/135) Update nuget package+ - Re: [#135](https://github.com/supabase/supabase-csharp/issues/135) Update nuget packagename `storage-csharp` to `Supabase.Storage`- Update dependency: `[email protected]`- - Re: [#135](https://github.com/supabase-community/supabase-csharp/issues/135) Update nuget package+ - Re: [#135](https://github.com/supabase/supabase-csharp/issues/135) Update nuget packagename `functions-csharp` to `Supabase.Functions`- Update dependency: `[email protected]`- - Re: [#135](https://github.com/supabase-community/supabase-csharp/issues/135) Update nuget package+ - Re: [#135](https://github.com/supabase/supabase-csharp/issues/135) Update nuget packagename `supabase-core`to `Supabase.Core`- Adds comments to the remaining undocumented code.diff --git a/apps/docs/docs/ref/csharp/v0/release-notes.mdx b/apps/docs/docs/ref/csharp/v0/release-notes.mdxindex df2d78c8fdf..a594b442caf 100644--- a/apps/docs/docs/ref/csharp/v0/release-notes.mdx+++ b/apps/docs/docs/ref/csharp/v0/release-notes.mdx@@ -13,7 +13,7 @@ title: Release Notes## 0.16.1 - 2024-03-15- Update dependency: `[email protected]`- - Re: [#147](https://github.com/supabase-community/supabase-csharp/issues/147) - Supports `Rpc` specifying a generic+ - Re: [#147](https://github.com/supabase/supabase-csharp/issues/147) - Supports `Rpc` specifying a generictype for its return.## 0.16.0 - 2024-03-12@@ -77,9 +77,9 @@ title: Release Notes## 0.13.5 - 2023-10-09- Update Dependency: `[email protected]`- - Re: [supabase-csharp#115](https://github.com/supabase-community/supabase-csharp/discussions/115) Additional+ - Re: [supabase-csharp#115](https://github.com/supabase/supabase-csharp/discussions/115) Additionalsupport for a model referencing another model with multiple foreign keys.- - Re: [supabase-csharp#115](https://github.com/supabase-community/supabase-csharp/discussions/115) Adds support for+ - Re: [supabase-csharp#115](https://github.com/supabase/supabase-csharp/discussions/115) Adds support formultiple references attached to the same model (foreign keys) on a single C# Model.## 0.13.4 - 2023-10-08@@ -90,7 +90,7 @@ title: Release Notes## 0.13.3 - 2023-09-15-- Re: [#107](https://github.com/supabase-community/supabase-csharp/issues/107) - removes Realtime socket being+- Re: [#107](https://github.com/supabase/supabase-csharp/issues/107) - removes Realtime socket beingdisconnected on a User sign-out - only the subscriptions should be removed.## 0.13.2 - 2023-09-15@@ -98,7 +98,7 @@ title: Release Notes- Update dependency: `[email protected]`- Implements a `TableWithCache` for `Get` requests that can pull reactive Models from cache before making a remoterequest.- - Re: [supabase-csharp#85](https://github.com/supabase-community/supabase-csharp/issues/85) Includes sourcelink+ - Re: [supabase-csharp#85](https://github.com/supabase/supabase-csharp/issues/85) Includes sourcelinksupport.- Re: [#75](https://github.com/supabase-community/postgrest-csharp/pull/75) Fix issue with marshalling of storedprocedure arguments. Big thank you to [@corrideat](https://github.com/corrideat)!@@ -131,7 +131,7 @@ title: Release Notesdisconnect from channels after a few hours and fail to reconnect by removing the case where the `IsSubscribe` flagis flipped when encountering a channel error.- Update dependency: `[email protected]`- - Re: [supabase-community/supabase-csharp#81](https://github.com/supabase-community/supabase-csharp/discussions/81):+ - Re: [supabase/supabase-csharp#81](https://github.com/supabase/supabase-csharp/discussions/81):Clarifies `ReferenceAttribute` by changing `shouldFilterTopLevel` to `useInnerJoin` and adds an additionalconstructor for `ReferenceAttribute` with a shortcut for specifying the `JoinType`@@ -318,7 +318,7 @@ Thanks [@wiverson](https://github.com/wiverson) for the work in this release!- Update dependency: [email protected]- Provides fix- for [supabase-community/supabase-csharp#54](https://github.com/supabase-community/supabase-csharp/issues/54) -+ for [supabase/supabase-csharp#54](https://github.com/supabase/supabase-csharp/issues/54) -Dynamic headers were always being overwritten by initialized token headers, so the storage client would notreceive user's access token as expected.- Provides fix for upload progress not reporting@@ -376,7 +376,7 @@ Thanks [@wiverson](https://github.com/wiverson) for the work in this release!## 0.7.1 - 2023-01-17- Update dependency: [email protected]- - Fix issue from supabase-community/supabase-csharp#48 where boolean model properties would not be evaluated in+ - Fix issue from supabase/supabase-csharp#48 where boolean model properties would not be evaluated inpredicate expressions## 0.7.0 - 2023-01-16@@ -392,7 +392,7 @@ Thanks [@wiverson](https://github.com/wiverson) for the work in this release!- Update dependency: [email protected]- `GetHeaders` is now passed to `ModeledResponse` and `BaseModel` so that the default `Update` and `Delete` methodsuse the latest credentials- - `GetHeaders` is used in `Rpc` calls (re: [#39](https://github.com/supabase-community/supabase-csharp/issues/39))+ - `GetHeaders` is used in `Rpc` calls (re: [#39](https://github.com/supabase/supabase-csharp/issues/39))## 0.6.1 - 2022-11-12@@ -427,7 +427,7 @@ Other Changes:Big thank you to [@veleek](https://github.com/veleek) for his insight into these changes.-Re: [#35](https://github.com/supabase-community/supabase-csharp/issues/35), [#34](https://github.com/supabase-community/supabase-csharp/issues/34), [#23](https://github.com/supabase-community/supabase-csharp/issues/23), [#36](https://github.com/supabase-community/supabase-csharp/pull/36)+Re: [#35](https://github.com/supabase/supabase-csharp/issues/35), [#34](https://github.com/supabase/supabase-csharp/issues/34), [#23](https://github.com/supabase/supabase-csharp/issues/23), [#36](https://github.com/supabase/supabase-csharp/pull/36)## 0.5.3 - 2022-10-11@@ -534,10 +534,10 @@ Re: [#35](https://github.com/supabase-community/supabase-csharp/issues/35), [#34## 0.2.11 - 2021-12-24- Update dependency: [email protected] (changes CreateUser parameters to conform to `AdminUserAttributes`)- - See [#15](https://github.com/supabase-community/supabase-csharp/issues/15)- - See [#16](https://github.com/supabase-community/supabase-csharp/issues/16)+ - See [#15](https://github.com/supabase/supabase-csharp/issues/15)+ - See [#16](https://github.com/supabase/supabase-csharp/issues/16)- Update dependency: [email protected]- - See [#13](https://github.com/supabase-community/supabase-csharp/issues/13)+ - See [#13](https://github.com/supabase/supabase-csharp/issues/13)## 0.2.10 - 2021-12-23@@ -560,7 +560,7 @@ Re: [#35](https://github.com/supabase-community/supabase-csharp/issues/35), [#34## 0.2.6 - 2021-11-29-- Support for [#12](https://github.com/supabase-community/supabase-csharp/issues/12)+- Support for [#12](https://github.com/supabase/supabase-csharp/issues/12)- Update realtime-csharp to 2.0.6- Update gotrue-csharp to 2.2.2-- Add `StatelessClient` re:[#7](https://github.com/supabase-community/supabase-csharp/issues/7)+- Add `StatelessClient` re:[#7](https://github.com/supabase/supabase-csharp/issues/7)diff --git a/apps/studio/hooks/custom-content/custom-content.json b/apps/studio/hooks/custom-content/custom-content.jsonindex b7e1439b241..da81853cfd3 100644--- a/apps/studio/hooks/custom-content/custom-content.json+++ b/apps/studio/hooks/custom-content/custom-content.json@@ -37,7 +37,7 @@"language": "C#","officialSupport": false,"docsUrl": "https://supabase.com/docs/reference/csharp/installing",- "gitUrl": "https://github.com/supabase-community/supabase-csharp",+ "gitUrl": "https://github.com/supabase/supabase-csharp","altIconName": "c-sharp"},{