Skip to content

Commit

Permalink
Version bump to 1.1.0 after dependency update.
Browse files Browse the repository at this point in the history
  • Loading branch information
acupofjose committed Jul 25, 2024
1 parent 046f1ba commit 278be21
Show file tree
Hide file tree
Showing 5 changed files with 59 additions and 9 deletions.
18 changes: 16 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,25 @@
# Changelog

## 1.1.0 - 2024-07-25

- Drop support for `netstandard2.0` - `Supabase` now targets `netstandard2.1`.
- Update dependency: `[email protected]`
- [Re: 103](https://github.com/supabase-community/gotrue-csharp/pull/103) Add support for MFA signup and login
flows. Huge thanks to [@michaelschattgen](https://github.com/michaelschattgen) for this implementation!
- [Re: #102](https://github.com/supabase-community/gotrue-csharp/pull/102) Add ExchangeCodeForSession to
StatelessClient. Thanks [@alexbakker](https://github.com/alexbakker)!
- Major: Change to targeting framework to `netstandard2.1`
- [Re: #99](https://github.com/supabase-community/gotrue-csharp/pull/99) Use a CSPRNG to generate the code
verifier. Thanks [@alexbakker](https://github.com/alexbakker)!
- [Re: #101](https://github.com/supabase-community/gotrue-csharp/pull/101) Ban user functionality.
Thanks [@celestebyte](https://github.com/celestebyte)!

## 1.0.5 - 2024-06-29

- Update dependency: `[email protected]`
- Update dependency: `[email protected]`
- [Re: #98](https://github.com/supabase-community/gotrue-csharp/pull/98) Introduces `VerifyTokenHash` to support the
PKCE flow for email signup. Thanks [@alexbakker](https://github.com/alexbakker)!
- [Re: #98](https://github.com/supabase-community/gotrue-csharp/pull/98) Introduces `VerifyTokenHash` to support the
PKCE flow for email signup. Thanks [@alexbakker](https://github.com/alexbakker)!

## 1.0.4 - 2024-06-11

Expand Down
10 changes: 5 additions & 5 deletions Supabase/Supabase.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -19,20 +19,20 @@
<PackageProjectUrl>https://github.com/supabase-community/supabase-csharp</PackageProjectUrl>
<Summary>A C# implementation of the Supabase client</Summary>
<PackageTags>supabase</PackageTags>
<ReleaseVersion>1.0.5</ReleaseVersion>
<PackageVersion>1.0.5</PackageVersion>
<ReleaseVersion>1.1.0</ReleaseVersion>
<PackageVersion>1.1.0</PackageVersion>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<PackageIcon>icon.png</PackageIcon>
<PackageReadmeFile>README.md</PackageReadmeFile>
<RepositoryUrl>https://github.com/supabase-community/supabase-csharp</RepositoryUrl>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<TargetFrameworks>netstandard2.0;netstandard2.1</TargetFrameworks>
<TargetFramework>netstandard2.1</TargetFramework>
</PropertyGroup>

<PropertyGroup Condition=" '$(Version)' == '' ">
<VersionPrefix Condition=" '$(VersionPrefix)' == '' ">1.0.5</VersionPrefix>
<VersionPrefix Condition=" '$(VersionPrefix)' == '' ">1.1.0</VersionPrefix>
<Version Condition=" '$(Version)' == '' ">$(VersionPrefix)</Version>
</PropertyGroup>
<PropertyGroup Condition="'$(GITHUB_ACTIONS)' == 'true'">
Expand All @@ -43,7 +43,7 @@
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" PrivateAssets="All" />
<PackageReference Include="Supabase.Core" Version="1.0.0" />
<PackageReference Include="Supabase.Functions" Version="2.0.0" />
<PackageReference Include="Supabase.Gotrue" Version="5.0.6" />
<PackageReference Include="Supabase.Gotrue" Version="6.0.2" />
<PackageReference Include="Supabase.Postgrest" Version="4.0.3" />
<PackageReference Include="Supabase.Realtime" Version="7.0.1" />
<PackageReference Include="Supabase.Storage" Version="2.0.2" />
Expand Down
36 changes: 36 additions & 0 deletions SupabaseTests/Stubs/FakeAuthClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Supabase.Gotrue.Mfa;

namespace SupabaseTests.Stubs
{
Expand Down Expand Up @@ -67,6 +68,41 @@ public Task RefreshToken()
throw new NotImplementedException();
}

public Task<MfaEnrollResponse> Enroll(MfaEnrollParams mfaEnrollParams)
{
throw new NotImplementedException();
}

public Task<MfaChallengeResponse> Challenge(MfaChallengeParams mfaChallengeParams)
{
throw new NotImplementedException();
}

public Task<Session> Verify(MfaVerifyParams mfaVerifyParams)
{
throw new NotImplementedException();
}

public Task<Session> ChallengeAndVerify(MfaChallengeAndVerifyParams mfaChallengeAndVerifyParams)
{
throw new NotImplementedException();
}

public Task<MfaUnenrollResponse> Unenroll(MfaUnenrollParams mfaUnenrollParams)
{
throw new NotImplementedException();
}

public Task<MfaListFactorsResponse> ListFactors()
{
throw new NotImplementedException();
}

public Task<MfaGetAuthenticatorAssuranceLevelResponse> GetAuthenticatorAssuranceLevel()
{
throw new NotImplementedException();
}

public bool Online { get; set; }

public Task<User> GetUserById(string jwt, string userId)
Expand Down
2 changes: 1 addition & 1 deletion SupabaseTests/SupabaseTests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.9.0" />
<PackageReference Include="MSTest.TestAdapter" Version="3.3.1" />
<PackageReference Include="MSTest.TestAdapter" Version="3.5.0" />
<PackageReference Include="MSTest.TestFramework" Version="3.3.1" />
<PackageReference Include="coverlet.collector" Version="6.0.2"><IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
Expand Down

0 comments on commit 278be21

Please sign in to comment.