Skip to content

Commit 278be21

Browse files
committed
Version bump to 1.1.0 after dependency update.
1 parent 046f1ba commit 278be21

File tree

5 files changed

+59
-9
lines changed

5 files changed

+59
-9
lines changed

CHANGELOG.md

+16-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,25 @@
11
# Changelog
22

3+
## 1.1.0 - 2024-07-25
4+
5+
- Drop support for `netstandard2.0` - `Supabase` now targets `netstandard2.1`.
6+
- Update dependency: `Supabase.Gotrue@6.0.2`
7+
- [Re: 103](https://github.com/supabase-community/gotrue-csharp/pull/103) Add support for MFA signup and login
8+
flows. Huge thanks to [@michaelschattgen](https://github.com/michaelschattgen) for this implementation!
9+
- [Re: #102](https://github.com/supabase-community/gotrue-csharp/pull/102) Add ExchangeCodeForSession to
10+
StatelessClient. Thanks [@alexbakker](https://github.com/alexbakker)!
11+
- Major: Change to targeting framework to `netstandard2.1`
12+
- [Re: #99](https://github.com/supabase-community/gotrue-csharp/pull/99) Use a CSPRNG to generate the code
13+
verifier. Thanks [@alexbakker](https://github.com/alexbakker)!
14+
- [Re: #101](https://github.com/supabase-community/gotrue-csharp/pull/101) Ban user functionality.
15+
Thanks [@celestebyte](https://github.com/celestebyte)!
16+
317
## 1.0.5 - 2024-06-29
418

519
- Update dependency: `Supabase.Storage@2.0.2`
620
- Update dependency: `Supabase.Gotrue@5.0.6`
7-
- [Re: #98](https://github.com/supabase-community/gotrue-csharp/pull/98) Introduces `VerifyTokenHash` to support the
8-
PKCE flow for email signup. Thanks [@alexbakker](https://github.com/alexbakker)!
21+
- [Re: #98](https://github.com/supabase-community/gotrue-csharp/pull/98) Introduces `VerifyTokenHash` to support the
22+
PKCE flow for email signup. Thanks [@alexbakker](https://github.com/alexbakker)!
923

1024
## 1.0.4 - 2024-06-11
1125

Supabase/Supabase.csproj

+5-5
Original file line numberDiff line numberDiff line change
@@ -19,20 +19,20 @@
1919
<PackageProjectUrl>https://github.com/supabase-community/supabase-csharp</PackageProjectUrl>
2020
<Summary>A C# implementation of the Supabase client</Summary>
2121
<PackageTags>supabase</PackageTags>
22-
<ReleaseVersion>1.0.5</ReleaseVersion>
23-
<PackageVersion>1.0.5</PackageVersion>
22+
<ReleaseVersion>1.1.0</ReleaseVersion>
23+
<PackageVersion>1.1.0</PackageVersion>
2424
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
2525
<PackageIcon>icon.png</PackageIcon>
2626
<PackageReadmeFile>README.md</PackageReadmeFile>
2727
<RepositoryUrl>https://github.com/supabase-community/supabase-csharp</RepositoryUrl>
2828
<IncludeSymbols>true</IncludeSymbols>
2929
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
3030
<GenerateDocumentationFile>true</GenerateDocumentationFile>
31-
<TargetFrameworks>netstandard2.0;netstandard2.1</TargetFrameworks>
31+
<TargetFramework>netstandard2.1</TargetFramework>
3232
</PropertyGroup>
3333

3434
<PropertyGroup Condition=" '$(Version)' == '' ">
35-
<VersionPrefix Condition=" '$(VersionPrefix)' == '' ">1.0.5</VersionPrefix>
35+
<VersionPrefix Condition=" '$(VersionPrefix)' == '' ">1.1.0</VersionPrefix>
3636
<Version Condition=" '$(Version)' == '' ">$(VersionPrefix)</Version>
3737
</PropertyGroup>
3838
<PropertyGroup Condition="'$(GITHUB_ACTIONS)' == 'true'">
@@ -43,7 +43,7 @@
4343
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" PrivateAssets="All" />
4444
<PackageReference Include="Supabase.Core" Version="1.0.0" />
4545
<PackageReference Include="Supabase.Functions" Version="2.0.0" />
46-
<PackageReference Include="Supabase.Gotrue" Version="5.0.6" />
46+
<PackageReference Include="Supabase.Gotrue" Version="6.0.2" />
4747
<PackageReference Include="Supabase.Postgrest" Version="4.0.3" />
4848
<PackageReference Include="Supabase.Realtime" Version="7.0.1" />
4949
<PackageReference Include="Supabase.Storage" Version="2.0.2" />

SupabaseTests/Stubs/FakeAuthClient.cs

+36
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
using System;
44
using System.Collections.Generic;
55
using System.Threading.Tasks;
6+
using Supabase.Gotrue.Mfa;
67

78
namespace SupabaseTests.Stubs
89
{
@@ -67,6 +68,41 @@ public Task RefreshToken()
6768
throw new NotImplementedException();
6869
}
6970

71+
public Task<MfaEnrollResponse> Enroll(MfaEnrollParams mfaEnrollParams)
72+
{
73+
throw new NotImplementedException();
74+
}
75+
76+
public Task<MfaChallengeResponse> Challenge(MfaChallengeParams mfaChallengeParams)
77+
{
78+
throw new NotImplementedException();
79+
}
80+
81+
public Task<Session> Verify(MfaVerifyParams mfaVerifyParams)
82+
{
83+
throw new NotImplementedException();
84+
}
85+
86+
public Task<Session> ChallengeAndVerify(MfaChallengeAndVerifyParams mfaChallengeAndVerifyParams)
87+
{
88+
throw new NotImplementedException();
89+
}
90+
91+
public Task<MfaUnenrollResponse> Unenroll(MfaUnenrollParams mfaUnenrollParams)
92+
{
93+
throw new NotImplementedException();
94+
}
95+
96+
public Task<MfaListFactorsResponse> ListFactors()
97+
{
98+
throw new NotImplementedException();
99+
}
100+
101+
public Task<MfaGetAuthenticatorAssuranceLevelResponse> GetAuthenticatorAssuranceLevel()
102+
{
103+
throw new NotImplementedException();
104+
}
105+
70106
public bool Online { get; set; }
71107

72108
public Task<User> GetUserById(string jwt, string userId)

SupabaseTests/SupabaseTests.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
<ItemGroup>
1212
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.9.0" />
13-
<PackageReference Include="MSTest.TestAdapter" Version="3.3.1" />
13+
<PackageReference Include="MSTest.TestAdapter" Version="3.5.0" />
1414
<PackageReference Include="MSTest.TestFramework" Version="3.3.1" />
1515
<PackageReference Include="coverlet.collector" Version="6.0.2"><IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
1616
<PrivateAssets>all</PrivateAssets>

0 commit comments

Comments
 (0)