Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<Authors>Supabase</Authors>
<Copyright>MIT</Copyright>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<RepositoryUrl>https://github.com/supabase-community/supabase-csharp</RepositoryUrl>
<RepositoryUrl>https://github.com/supabase/supabase-csharp</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<!--
Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Supabase C# SDK

[![Build and Test](https://github.com/supabase-community/supabase-csharp/actions/workflows/build-and-test.yml/badge.svg)](https://github.com/supabase-community/supabase-csharp/actions/workflows/build-and-test.yml)
[![Build and Test](https://github.com/supabase/supabase-csharp/actions/workflows/build-and-test.yml/badge.svg)](https://github.com/supabase/supabase-csharp/actions/workflows/build-and-test.yml)
[![NuGet](https://img.shields.io/nuget/vpre/Supabase?label=Supabase)](https://www.nuget.org/packages/Supabase/)
[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](./LICENSE)

Expand All @@ -23,7 +23,7 @@ Use the `Supabase` meta-package for the full client, or reference an individual
| **Supabase.Core** | [![NuGet](https://img.shields.io/nuget/vpre/Supabase.Core)](https://www.nuget.org/packages/Supabase.Core/) | [`packages/Core`](./packages/Core) | Shared primitives used by the packages above. Rarely referenced directly. |

Every package targets .NET Standard 2.1, so it runs on .NET Core 3.0+ / .NET 5+, recent MAUI, Xamarin, and Unity.
See the [wiki](https://github.com/supabase-community/supabase-csharp/wiki) for platform-specific guides
See the [wiki](https://github.com/supabase/supabase-csharp/wiki) for platform-specific guides
(Unity, desktop/mobile, server-side).

## Installation
Expand Down Expand Up @@ -98,11 +98,11 @@ tag. Each package's README documents the specific spans and metrics it produces.

## Documentation

- [Getting Started](https://github.com/supabase-community/supabase-csharp/wiki#getting-started)
- [Getting Started](https://github.com/supabase/supabase-csharp/wiki#getting-started)
- [Supabase C# reference](https://supabase.com/docs/reference/csharp/introduction)
- [Generated API docs](https://supabase-community.github.io/supabase-csharp/api/Supabase.Client.html)
- [Examples](https://github.com/supabase-community/supabase-csharp/wiki/Examples)
- [Troubleshooting](https://github.com/supabase-community/supabase-csharp/wiki/Troubleshooting) · [Discussions](https://github.com/supabase-community/supabase-csharp/discussions)
- [Examples](https://github.com/supabase/supabase-csharp/wiki/Examples)
- [Troubleshooting](https://github.com/supabase/supabase-csharp/wiki/Troubleshooting) · [Discussions](https://github.com/supabase/supabase-csharp/discussions)

## Repository layout

Expand Down Expand Up @@ -150,7 +150,7 @@ versions, see [the migration guides](./docs/migrations).

Contributions are welcome — please open an issue to discuss substantial changes, then submit a PR.

<a href="https://github.com/supabase-community/supabase-csharp/graphs/contributors">
<a href="https://github.com/supabase/supabase-csharp/graphs/contributors">
<img src="https://contrib.rocks/image?repo=supabase-community/supabase-csharp" alt="Contributors" />
</a>

Expand Down
8 changes: 3 additions & 5 deletions packages/Core/Core/Core.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,14 @@
<PropertyGroup>
<PackOnBuild>true</PackOnBuild>
<PackageId>Supabase.Core</PackageId>
<PackageProjectUrl>https://github.com/supabase-community/supabase-csharp/tree/master/packages/Core</PackageProjectUrl>
<PackageProjectUrl>https://github.com/supabase/supabase-csharp/tree/master/packages/Core</PackageProjectUrl>
<NeutralLanguage>en</NeutralLanguage>
<Summary>Shared core for supabase-csharp</Summary>
<Title>Supabase Core</Title>
<Description>Shared core for Supabase.*</Description>
<Description>Supabase .NET shared HTTP, retry and telemetry pieces used by the Supabase packages.</Description>
<AssemblyName>Supabase.Core</AssemblyName>
<RootNamespace>Supabase.Core</RootNamespace>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<PackageReadmeFile>README.md</PackageReadmeFile>
<PackageTags>supabase, core</PackageTags>
<PackageTags>supabase;core</PackageTags>
<!-- x-release-please-start-version -->
<PackageVersion>8.1.1</PackageVersion>
<ReleaseVersion>8.1.1</ReleaseVersion>
Expand Down
6 changes: 3 additions & 3 deletions packages/Core/README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# Supabase.Core

[![Build and Test](https://github.com/supabase-community/supabase-csharp/actions/workflows/build-and-test.yml/badge.svg)](https://github.com/supabase-community/supabase-csharp/actions/workflows/build-and-test.yml)
[![Build and Test](https://github.com/supabase/supabase-csharp/actions/workflows/build-and-test.yml/badge.svg)](https://github.com/supabase/supabase-csharp/actions/workflows/build-and-test.yml)
[![NuGet](https://img.shields.io/nuget/vpre/Supabase.Core)](https://www.nuget.org/packages/Supabase.Core/)
[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](../../LICENSE)

Shared primitives for the [Supabase C# SDK](https://github.com/supabase-community/supabase-csharp) —
Shared primitives for the [Supabase C# SDK](https://github.com/supabase/supabase-csharp) —
common helpers, extensions, attributes, and diagnostics used across the `Supabase.*` packages.

This package is an internal building block. You normally get it transitively by installing
Expand All @@ -21,7 +21,7 @@ Targets .NET Standard 2.0.

## Contributing

Contributions are welcome. See the [repository root](https://github.com/supabase-community/supabase-csharp)
Contributions are welcome. See the [repository root](https://github.com/supabase/supabase-csharp)
for how to build and test the SDK.

## License
Expand Down
9 changes: 3 additions & 6 deletions packages/Functions/Functions/Functions.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,12 @@
<PropertyGroup>
<PackOnBuild>true</PackOnBuild>
<PackageId>Supabase.Functions</PackageId>
<PackageProjectUrl>https://github.com/supabase-community/supabase-csharp/tree/master/packages/Functions</PackageProjectUrl>
<PackageProjectUrl>https://github.com/supabase/supabase-csharp/tree/master/packages/Functions</PackageProjectUrl>
<RootNamespace>Supabase.Functions</RootNamespace>
<AssemblyName>Supabase.Functions</AssemblyName>
<NeutralLanguage>en</NeutralLanguage>
<Owners>Joseph Schultz &lt;joseph@acupofjose.com&gt;</Owners>
<Summary>A C# client for Supabase Functions</Summary>
<Title>Function</Title>
<Description>A C# client for Supabase Functions</Description>
<PackageTags>supabase, functions</PackageTags>
<Description>Supabase Edge Functions client for .NET that invokes functions with typed and streamed responses.</Description>
<PackageTags>supabase;edge-functions;functions;serverless;streaming</PackageTags>
<!-- x-release-please-start-version -->
<PackageVersion>8.1.1</PackageVersion>
<ReleaseVersion>8.1.1</ReleaseVersion>
Expand Down
6 changes: 3 additions & 3 deletions packages/Functions/README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# Supabase.Functions

[![Build and Test](https://github.com/supabase-community/supabase-csharp/actions/workflows/build-and-test.yml/badge.svg)](https://github.com/supabase-community/supabase-csharp/actions/workflows/build-and-test.yml)
[![Build and Test](https://github.com/supabase/supabase-csharp/actions/workflows/build-and-test.yml/badge.svg)](https://github.com/supabase/supabase-csharp/actions/workflows/build-and-test.yml)
[![NuGet](https://img.shields.io/nuget/vpre/Supabase.Functions)](https://www.nuget.org/packages/Supabase.Functions/)
[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](../../LICENSE)

A C# client for invoking [Supabase Edge Functions](https://supabase.com/docs/guides/functions).

Part of the [Supabase C# SDK](https://github.com/supabase-community/supabase-csharp). Most projects
Part of the [Supabase C# SDK](https://github.com/supabase/supabase-csharp). Most projects
use it through the [`Supabase`](../Supabase/README.md) meta-package (`supabase.Functions`); reference
this package directly when you only need to invoke functions.

Expand Down Expand Up @@ -123,7 +123,7 @@ ActivitySource.AddActivityListener(listener);

## Contributing

Contributions are welcome. See the [repository root](https://github.com/supabase-community/supabase-csharp)
Contributions are welcome. See the [repository root](https://github.com/supabase/supabase-csharp)
for how to build and test the SDK.

## License
Expand Down
9 changes: 3 additions & 6 deletions packages/Gotrue/Gotrue/Gotrue.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,12 @@
<PropertyGroup>
<PackOnBuild>true</PackOnBuild>
<PackageId>Supabase.Gotrue</PackageId>
<PackageProjectUrl>https://github.com/supabase-community/supabase-csharp/tree/master/packages/Gotrue</PackageProjectUrl>
<PackageProjectUrl>https://github.com/supabase/supabase-csharp/tree/master/packages/Gotrue</PackageProjectUrl>
<RootNamespace>Supabase.Gotrue</RootNamespace>
<AssemblyName>Supabase.Gotrue</AssemblyName>
<NeutralLanguage>en</NeutralLanguage>
<Owners>Joseph Schultz &lt;joseph@acupofjose.com&gt;</Owners>
<Summary>A C# client for gotrue</Summary>
<Title>Gotrue</Title>
<Description>A C# client for gotrue</Description>
<PackageTags>supabase, gotrue</PackageTags>
<Description>Supabase Auth client for .NET covering email, phone and OAuth sign-in, magic links, MFA and session refresh.</Description>
<PackageTags>supabase;auth;authentication;gotrue;jwt;oauth;mfa;pkce;sso</PackageTags>
<!-- x-release-please-start-version -->
<PackageVersion>8.1.1</PackageVersion>
<ReleaseVersion>8.1.1</ReleaseVersion>
Expand Down
6 changes: 3 additions & 3 deletions packages/Gotrue/README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# Supabase.Gotrue

[![Build and Test](https://github.com/supabase-community/supabase-csharp/actions/workflows/build-and-test.yml/badge.svg)](https://github.com/supabase-community/supabase-csharp/actions/workflows/build-and-test.yml)
[![Build and Test](https://github.com/supabase/supabase-csharp/actions/workflows/build-and-test.yml/badge.svg)](https://github.com/supabase/supabase-csharp/actions/workflows/build-and-test.yml)
[![NuGet](https://img.shields.io/nuget/vpre/Supabase.Gotrue)](https://www.nuget.org/packages/Supabase.Gotrue/)
[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](../../LICENSE)

A C# client for [Supabase Auth](https://supabase.com/docs/guides/auth) (GoTrue) — email/password,
OAuth providers, SSO, magic links, and user management.

Part of the [Supabase C# SDK](https://github.com/supabase-community/supabase-csharp). Most projects
Part of the [Supabase C# SDK](https://github.com/supabase/supabase-csharp). Most projects
use it through the [`Supabase`](../Supabase/README.md) meta-package (`supabase.Auth`); reference this
package directly to use Auth on its own. The client is written to be platform-agnostic and works on
.NET, Xamarin, MAUI, and Unity — see the [Unity session-persistence example](https://gist.github.com/wiverson/fbb07498743dff19b72c9c58599931e9).
Expand Down Expand Up @@ -203,7 +203,7 @@ web page to handle confirmation, then have the app inspect the returned user to

## Contributing

Contributions are welcome. See the [repository root](https://github.com/supabase-community/supabase-csharp)
Contributions are welcome. See the [repository root](https://github.com/supabase/supabase-csharp)
for how to build and test the SDK.

## License
Expand Down
11 changes: 3 additions & 8 deletions packages/Postgrest/Postgrest/Postgrest.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,15 @@
<PropertyGroup>
<WarningsAsErrors>CS8600;CS8602;CS8603</WarningsAsErrors>
<Nullable>enable</Nullable>
<Title>Supabase.Postgrest</Title>
<AssemblyName>Supabase.Postgrest</AssemblyName>
<PackageId>Supabase.Postgrest</PackageId>
<PackageProjectUrl>https://github.com/supabase-community/supabase-csharp/tree/master/packages/Postgrest</PackageProjectUrl>
<PackageProjectUrl>https://github.com/supabase/supabase-csharp/tree/master/packages/Postgrest</PackageProjectUrl>
<RootNamespace>Supabase.Postgrest</RootNamespace>
<PackOnBuild>true</PackOnBuild>
<NeutralLanguage>en-US</NeutralLanguage>
<GenerateAssemblyInfo>true</GenerateAssemblyInfo>
<Owners>Joseph Schultz &lt;joseph@acupofjose.com&gt;</Owners>
<Summary>Library to interact with postgREST servers</Summary>
<Description>Postgrest-csharp is written primarily as a helper library for supabase/supabase-csharp, however, it should be easy enough to use outside of the supabase ecosystem.
The bulk of this library is a translation and c-sharp-ification of the supabase/postgrest-js library.
</Description>
<PackageTags>supabase,postgrest</PackageTags>
<Description>Supabase Database client for .NET that queries Postgres through PostgREST with typed models, filters and RPC.</Description>
<PackageTags>supabase;postgrest;postgres;postgresql;database;rest;rpc;linq</PackageTags>
<!-- x-release-please-start-version -->
<ReleaseVersion>8.1.1</ReleaseVersion>
<PackageVersion>8.1.1</PackageVersion>
Expand Down
6 changes: 3 additions & 3 deletions packages/Postgrest/README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
# Supabase.Postgrest

[![Build and Test](https://github.com/supabase-community/supabase-csharp/actions/workflows/build-and-test.yml/badge.svg)](https://github.com/supabase-community/supabase-csharp/actions/workflows/build-and-test.yml)
[![Build and Test](https://github.com/supabase/supabase-csharp/actions/workflows/build-and-test.yml/badge.svg)](https://github.com/supabase/supabase-csharp/actions/workflows/build-and-test.yml)
[![NuGet](https://img.shields.io/nuget/vpre/Supabase.Postgrest)](https://www.nuget.org/packages/Supabase.Postgrest/)
[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](../../LICENSE)

A C# client for [PostgREST](https://postgrest.org) — query your Supabase database through the
auto-generated REST API, with strongly-typed models and LINQ. It is a C#-ification of
[postgrest-js](https://github.com/supabase/postgrest-js).

Part of the [Supabase C# SDK](https://github.com/supabase-community/supabase-csharp). Most projects
Part of the [Supabase C# SDK](https://github.com/supabase/supabase-csharp). Most projects
use it through the [`Supabase`](../Supabase/README.md) meta-package (`supabase.From<T>()`); reference
this package directly to use PostgREST on its own. It also works outside the Supabase ecosystem
against any PostgREST server.
Expand Down Expand Up @@ -333,7 +333,7 @@ ActivitySource.AddActivityListener(listener);

## Contributing

Contributions are welcome. See the [repository root](https://github.com/supabase-community/supabase-csharp)
Contributions are welcome. See the [repository root](https://github.com/supabase/supabase-csharp)
for how to build and test the SDK.

## License
Expand Down
6 changes: 3 additions & 3 deletions packages/Realtime/README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
# Supabase.Realtime

[![Build and Test](https://github.com/supabase-community/supabase-csharp/actions/workflows/build-and-test.yml/badge.svg)](https://github.com/supabase-community/supabase-csharp/actions/workflows/build-and-test.yml)
[![Build and Test](https://github.com/supabase/supabase-csharp/actions/workflows/build-and-test.yml/badge.svg)](https://github.com/supabase/supabase-csharp/actions/workflows/build-and-test.yml)
[![NuGet](https://img.shields.io/nuget/vpre/Supabase.Realtime)](https://www.nuget.org/packages/Supabase.Realtime/)
[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](../../LICENSE)

A C# client for [Supabase Realtime](https://supabase.com/docs/guides/realtime) — listen to Postgres
changes, and use Broadcast and Presence over a single websocket connection. It is a C#-ification of
[realtime-js](https://github.com/supabase/realtime-js).

Part of the [Supabase C# SDK](https://github.com/supabase-community/supabase-csharp). Most projects
Part of the [Supabase C# SDK](https://github.com/supabase/supabase-csharp). Most projects
use it through the [`Supabase`](../Supabase/README.md) meta-package (`supabase.Realtime`); reference
this package directly to use Realtime on its own.

Expand Down Expand Up @@ -178,7 +178,7 @@ client.AddDebugHandler((sender, message, exception) => Debug.WriteLine(message))

## Contributing

Contributions are welcome. See the [repository root](https://github.com/supabase-community/supabase-csharp)
Contributions are welcome. See the [repository root](https://github.com/supabase/supabase-csharp)
for how to build and test the SDK.

Note that the Realtime test suite expects `realtime-dev.localhost` to resolve locally — add a hosts
Expand Down
9 changes: 3 additions & 6 deletions packages/Realtime/Realtime/Realtime.csproj
Original file line number Diff line number Diff line change
@@ -1,17 +1,14 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<Title>Supabase.Realtime</Title>
<PackageId>Supabase.Realtime</PackageId>
<PackageProjectUrl>https://github.com/supabase-community/supabase-csharp/tree/master/packages/Realtime</PackageProjectUrl>
<PackageProjectUrl>https://github.com/supabase/supabase-csharp/tree/master/packages/Realtime</PackageProjectUrl>
<RootNamespace>Supabase.Realtime</RootNamespace>
<AssemblyName>Supabase.Realtime</AssemblyName>
<Description>Realtime-csharp is written as a client library for supabase/realtime.</Description>
<Description>Supabase Realtime client for .NET for Postgres changes, broadcast and presence over websockets.</Description>
<PackOnBuild>true</PackOnBuild>
<NeutralLanguage>en</NeutralLanguage>
<GenerateAssemblyInfo>true</GenerateAssemblyInfo>
<Owners>Joseph Schultz &lt;joseph@acupofjose.com&gt;</Owners>
<Summary>Realtime-csharp is written as a client library for supabase/realtime.</Summary>
<PackageTags>supabase, realtime, phoenix</PackageTags>
<PackageTags>supabase;realtime;websocket;postgres;broadcast;presence;phoenix</PackageTags>
<!-- x-release-please-start-version -->
<PackageVersion>8.1.1</PackageVersion>
<ReleaseVersion>8.1.1</ReleaseVersion>
Expand Down
6 changes: 3 additions & 3 deletions packages/Storage/README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# Supabase.Storage

[![Build and Test](https://github.com/supabase-community/supabase-csharp/actions/workflows/build-and-test.yml/badge.svg)](https://github.com/supabase-community/supabase-csharp/actions/workflows/build-and-test.yml)
[![Build and Test](https://github.com/supabase/supabase-csharp/actions/workflows/build-and-test.yml/badge.svg)](https://github.com/supabase/supabase-csharp/actions/workflows/build-and-test.yml)
[![NuGet](https://img.shields.io/nuget/vpre/Supabase.Storage)](https://www.nuget.org/packages/Supabase.Storage/)
[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](../../LICENSE)

A C# client for [Supabase Storage](https://supabase.com/docs/guides/storage) — upload, download, and
serve files from buckets, with signed and public URLs.

Part of the [Supabase C# SDK](https://github.com/supabase-community/supabase-csharp). Most projects
Part of the [Supabase C# SDK](https://github.com/supabase/supabase-csharp). Most projects
use it through the [`Supabase`](../Supabase/README.md) meta-package (`supabase.Storage`); reference
this package directly when you only need storage.

Expand Down Expand Up @@ -139,7 +139,7 @@ ActivitySource.AddActivityListener(listener);

## Contributing

Contributions are welcome. See the [repository root](https://github.com/supabase-community/supabase-csharp)
Contributions are welcome. See the [repository root](https://github.com/supabase/supabase-csharp)
for how to build and test the SDK.

## License
Expand Down
9 changes: 3 additions & 6 deletions packages/Storage/Storage/Storage.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,12 @@
<PropertyGroup>
<PackOnBuild>true</PackOnBuild>
<PackageId>Supabase.Storage</PackageId>
<PackageProjectUrl>https://github.com/supabase-community/supabase-csharp/tree/master/packages/Storage</PackageProjectUrl>
<PackageProjectUrl>https://github.com/supabase/supabase-csharp/tree/master/packages/Storage</PackageProjectUrl>
<RootNamespace>Supabase.Storage</RootNamespace>
<AssemblyName>Supabase.Storage</AssemblyName>
<Description>A C# implementation of the Supabase Storage client</Description>
<Description>Supabase Storage client for .NET for buckets, uploads, resumable uploads, downloads, signed URLs and image transforms.</Description>
<NeutralLanguage>en-US</NeutralLanguage>
<Owners>Joseph Schultz &lt;joseph@acupofjose.com&gt;</Owners>
<Summary>A C# implementation of the Supabase Storage client</Summary>
<Title>Supabase Storage</Title>
<PackageTags>supabase, storage</PackageTags>
<PackageTags>supabase;storage;files;upload;buckets;signed-url;tus</PackageTags>
<!-- x-release-please-start-version -->
<ReleaseVersion>8.1.1</ReleaseVersion>
<PackageVersion>8.1.1</PackageVersion>
Expand Down
Loading