Skip to content

Commit c915d6c

Browse files
committed
v1.9 release
1 parent 781b383 commit c915d6c

11 files changed

Lines changed: 76 additions & 40 deletions

File tree

.github/workflows/publish-to-nuget.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
- name: Setup .Net SDK
1515
uses: actions/setup-dotnet@v2
1616
with:
17-
dotnet-version: 9.x
17+
dotnet-version: 10.x
1818

1919
- name: Make Nuget Packages
2020
run: dotnet pack FastEndpoints.TemplatePack.csproj -c Release

FastEndpoints.TemplatePack.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44

5-
<Version>1.8.1</Version>
5+
<Version>1.9.0</Version>
66

77
<PackageType>Template</PackageType>
88
<PackageId>FastEndpoints.TemplatePack</PackageId>

changelog.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
- fix `Microsoft Testing Platform` support
2-
- remove corvelette collector from test project
1+
- upgrade to .NET 10
2+
- upgrade dependencies to latest

templates/integrated/Source/Meta.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,4 @@
33
global using FastEndpoints.Swagger;
44
global using MongoDB.Entities;
55
global using MyProject;
6-
global using MyProject.Notifications;
7-
8-
public partial class Program;
6+
global using MyProject.Notifications;

templates/integrated/Source/MyProject.csproj

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk.Web">
22

33
<PropertyGroup>
4-
<TargetFramework>net9.0</TargetFramework>
4+
<TargetFramework>net10.0</TargetFramework>
55
<ImplicitUsings>enable</ImplicitUsings>
66
<Nullable>enable</Nullable>
77
<OutputType>Exe</OutputType>
@@ -10,12 +10,12 @@
1010
</PropertyGroup>
1111

1212
<ItemGroup>
13-
<PackageReference Include="AWSSDK.SimpleEmailV2" Version="4.0.2"/>
13+
<PackageReference Include="AWSSDK.SimpleEmailV2" Version="4.0.6.4"/>
1414
<PackageReference Include="BCrypt.Net-Next" Version="4.0.3"/>
15-
<PackageReference Include="FastEndpoints" Version="7.0.0"/>
16-
<PackageReference Include="FastEndpoints.Generator" Version="7.0.0" PrivateAssets="all" IncludeAssets="runtime; build; native; contentfiles; analyzers; buildtransitive"/>
17-
<PackageReference Include="FastEndpoints.Security" Version="7.0.0"/>
18-
<PackageReference Include="FastEndpoints.Swagger" Version="7.0.0"/>
15+
<PackageReference Include="FastEndpoints" Version="7.1.1"/>
16+
<PackageReference Include="FastEndpoints.Generator" Version="7.1.1" PrivateAssets="all" IncludeAssets="runtime; build; native; contentfiles; analyzers; buildtransitive"/>
17+
<PackageReference Include="FastEndpoints.Security" Version="7.1.1"/>
18+
<PackageReference Include="FastEndpoints.Swagger" Version="7.1.1"/>
1919
<PackageReference Include="LettuceEncrypt" Version="1.3.3"/>
2020
<PackageReference Include="MessagePack" Version="3.1.4"/>
2121
<PackageReference Include="MongoDB.Entities" Version="24.1.1"/>
@@ -24,11 +24,11 @@
2424
<!-- exclude test related code from release build -->
2525
<ItemGroup Condition="'$(Configuration)' != 'Release'">
2626
<PackageReference Include="FakeItEasy" Version="8.3.0"/>
27-
<PackageReference Include="FastEndpoints.Testing" Version="7.0.0"/>
28-
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.14.1"/>
27+
<PackageReference Include="FastEndpoints.Testing" Version="7.1.1"/>
28+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="18.0.1"/>
2929
<PackageReference Include="Shouldly" Version="4.3.0"/>
30-
<PackageReference Include="xunit.v3" Version="3.0.0"/>
31-
<PackageReference Include="xunit.runner.visualstudio" Version="3.1.3" PrivateAssets="all" IncludeAssets="runtime; build; native; contentfiles; analyzers; buildtransitive"/>
30+
<PackageReference Include="xunit.v3" Version="3.2.0"/>
31+
<PackageReference Include="xunit.runner.visualstudio" Version="3.1.5" PrivateAssets="all" IncludeAssets="runtime; build; native; contentfiles; analyzers; buildtransitive"/>
3232
<Content Update="Tests\xunit.runner.json" TargetPath="xunit.runner.json"/>
3333
</ItemGroup>
3434
<ItemGroup Condition="'$(Configuration)' == 'Release'">

templates/integrated/Source/Tests/FakeSesClient.cs

Lines changed: 43 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,13 @@ public Task<CreateMultiRegionEndpointResponse> CreateMultiRegionEndpointAsync(Cr
6565
CancellationToken cancellationToken = new())
6666
=> throw new NotImplementedException();
6767

68+
public Task<CreateTenantResponse> CreateTenantAsync(CreateTenantRequest request, CancellationToken cancellationToken = new())
69+
=> throw new NotImplementedException();
70+
71+
public Task<CreateTenantResourceAssociationResponse> CreateTenantResourceAssociationAsync(CreateTenantResourceAssociationRequest request,
72+
CancellationToken cancellationToken = new())
73+
=> throw new NotImplementedException();
74+
6875
public Task<DeleteConfigurationSetResponse> DeleteConfigurationSetAsync(DeleteConfigurationSetRequest request, CancellationToken cancellationToken = default)
6976
=> throw new NotImplementedException();
7077

@@ -103,6 +110,13 @@ public Task<DeleteSuppressedDestinationResponse> DeleteSuppressedDestinationAsyn
103110
CancellationToken cancellationToken = default)
104111
=> throw new NotImplementedException();
105112

113+
public Task<DeleteTenantResponse> DeleteTenantAsync(DeleteTenantRequest request, CancellationToken cancellationToken = new())
114+
=> throw new NotImplementedException();
115+
116+
public Task<DeleteTenantResourceAssociationResponse> DeleteTenantResourceAssociationAsync(DeleteTenantResourceAssociationRequest request,
117+
CancellationToken cancellationToken = new())
118+
=> throw new NotImplementedException();
119+
106120
public Task<GetAccountResponse> GetAccountAsync(GetAccountRequest request, CancellationToken cancellationToken = default)
107121
=> throw new NotImplementedException();
108122

@@ -173,10 +187,16 @@ public Task<GetMessageInsightsResponse> GetMessageInsightsAsync(GetMessageInsigh
173187
public Task<GetMultiRegionEndpointResponse> GetMultiRegionEndpointAsync(GetMultiRegionEndpointRequest request, CancellationToken cancellationToken = new())
174188
=> throw new NotImplementedException();
175189

190+
public Task<GetReputationEntityResponse> GetReputationEntityAsync(GetReputationEntityRequest request, CancellationToken cancellationToken = new())
191+
=> throw new NotImplementedException();
192+
176193
public Task<GetSuppressedDestinationResponse> GetSuppressedDestinationAsync(GetSuppressedDestinationRequest request,
177194
CancellationToken cancellationToken = default)
178195
=> throw new NotImplementedException();
179196

197+
public Task<GetTenantResponse> GetTenantAsync(GetTenantRequest request, CancellationToken cancellationToken = new())
198+
=> throw new NotImplementedException();
199+
180200
public Task<ListConfigurationSetsResponse> ListConfigurationSetsAsync(ListConfigurationSetsRequest request, CancellationToken cancellationToken = default)
181201
=> throw new NotImplementedException();
182202

@@ -221,13 +241,25 @@ public Task<ListMultiRegionEndpointsResponse> ListMultiRegionEndpointsAsync(List
221241
public Task<ListRecommendationsResponse> ListRecommendationsAsync(ListRecommendationsRequest request, CancellationToken cancellationToken = default)
222242
=> throw new NotImplementedException();
223243

244+
public Task<ListReputationEntitiesResponse> ListReputationEntitiesAsync(ListReputationEntitiesRequest request, CancellationToken cancellationToken = new())
245+
=> throw new NotImplementedException();
246+
247+
public Task<ListResourceTenantsResponse> ListResourceTenantsAsync(ListResourceTenantsRequest request, CancellationToken cancellationToken = new())
248+
=> throw new NotImplementedException();
249+
224250
public Task<ListSuppressedDestinationsResponse> ListSuppressedDestinationsAsync(ListSuppressedDestinationsRequest request,
225251
CancellationToken cancellationToken = default)
226252
=> throw new NotImplementedException();
227253

228254
public Task<ListTagsForResourceResponse> ListTagsForResourceAsync(ListTagsForResourceRequest request, CancellationToken cancellationToken = default)
229255
=> throw new NotImplementedException();
230256

257+
public Task<ListTenantResourcesResponse> ListTenantResourcesAsync(ListTenantResourcesRequest request, CancellationToken cancellationToken = new())
258+
=> throw new NotImplementedException();
259+
260+
public Task<ListTenantsResponse> ListTenantsAsync(ListTenantsRequest request, CancellationToken cancellationToken = new())
261+
=> throw new NotImplementedException();
262+
231263
public Task<PutAccountDedicatedIpWarmupAttributesResponse> PutAccountDedicatedIpWarmupAttributesAsync(PutAccountDedicatedIpWarmupAttributesRequest request,
232264
CancellationToken cancellationToken = default)
233265
=> throw new NotImplementedException();
@@ -246,9 +278,8 @@ public Task<PutAccountSuppressionAttributesResponse> PutAccountSuppressionAttrib
246278
public Task<PutAccountVdmAttributesResponse> PutAccountVdmAttributesAsync(PutAccountVdmAttributesRequest request, CancellationToken cancellationToken = default)
247279
=> throw new NotImplementedException();
248280

249-
public Task<PutConfigurationSetArchivingOptionsResponse> PutConfigurationSetArchivingOptionsAsync(
250-
PutConfigurationSetArchivingOptionsRequest request,
251-
CancellationToken cancellationToken = new())
281+
public Task<PutConfigurationSetArchivingOptionsResponse> PutConfigurationSetArchivingOptionsAsync(PutConfigurationSetArchivingOptionsRequest request,
282+
CancellationToken cancellationToken = new())
252283
=> throw new NotImplementedException();
253284

254285
public Task<PutConfigurationSetDeliveryOptionsResponse> PutConfigurationSetDeliveryOptionsAsync(PutConfigurationSetDeliveryOptionsRequest request,
@@ -352,6 +383,15 @@ public Task<UpdateEmailIdentityPolicyResponse> UpdateEmailIdentityPolicyAsync(Up
352383
public Task<UpdateEmailTemplateResponse> UpdateEmailTemplateAsync(UpdateEmailTemplateRequest request, CancellationToken cancellationToken = default)
353384
=> throw new NotImplementedException();
354385

386+
public Task<UpdateReputationEntityCustomerManagedStatusResponse> UpdateReputationEntityCustomerManagedStatusAsync(
387+
UpdateReputationEntityCustomerManagedStatusRequest request,
388+
CancellationToken cancellationToken = new())
389+
=> throw new NotImplementedException();
390+
391+
public Task<UpdateReputationEntityPolicyResponse> UpdateReputationEntityPolicyAsync(UpdateReputationEntityPolicyRequest request,
392+
CancellationToken cancellationToken = new())
393+
=> throw new NotImplementedException();
394+
355395
public Endpoint DetermineServiceOperationEndpoint(AmazonWebServiceRequest request)
356396
=> throw new NotImplementedException();
357397

templates/project/Source/Meta.cs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
global using FastEndpoints.Security;
33
global using FastEndpoints.Swagger;
44
global using MyProject;
5-
using System.Runtime.CompilerServices;
6-
7-
[assembly: InternalsVisibleTo("Tests")]
85

9-
public partial class Program;
6+
using System.Runtime.CompilerServices;
7+
[assembly: InternalsVisibleTo("Tests")]
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk.Web">
22

33
<PropertyGroup>
4-
<TargetFramework>net9.0</TargetFramework>
4+
<TargetFramework>net10.0</TargetFramework>
55
<ImplicitUsings>enable</ImplicitUsings>
66
<Nullable>enable</Nullable>
77
<OutputType>Exe</OutputType>
@@ -10,10 +10,10 @@
1010
</PropertyGroup>
1111

1212
<ItemGroup>
13-
<PackageReference Include="FastEndpoints" Version="7.0.0" />
14-
<PackageReference Include="FastEndpoints.Generator" Version="7.0.0" PrivateAssets="all" IncludeAssets="runtime; build; native; contentfiles; analyzers; buildtransitive" />
15-
<PackageReference Include="FastEndpoints.Security" Version="7.0.0" />
16-
<PackageReference Include="FastEndpoints.Swagger" Version="7.0.0" />
13+
<PackageReference Include="FastEndpoints" Version="7.1.1" />
14+
<PackageReference Include="FastEndpoints.Generator" Version="7.1.1" PrivateAssets="all" IncludeAssets="runtime; build; native; contentfiles; analyzers; buildtransitive" />
15+
<PackageReference Include="FastEndpoints.Security" Version="7.1.1" />
16+
<PackageReference Include="FastEndpoints.Swagger" Version="7.1.1" />
1717
</ItemGroup>
1818

1919
</Project>

templates/project/Tests/Tests.csproj

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net9.0</TargetFramework>
4+
<TargetFramework>net10.0</TargetFramework>
55
<ImplicitUsings>enable</ImplicitUsings>
66
<Nullable>enable</Nullable>
77
<OutputType>Exe</OutputType>
88
</PropertyGroup>
99

1010
<ItemGroup>
11-
<PackageReference Include="FastEndpoints.Testing" Version="7.0.0"/>
12-
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.14.1"/>
11+
<PackageReference Include="FastEndpoints.Testing" Version="7.1.1" />
12+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="18.0.1" />
1313
<PackageReference Include="Shouldly" Version="4.3.0"/>
14-
<PackageReference Include="xunit.v3" Version="3.0.0"/>
15-
<PackageReference Include="xunit.runner.visualstudio" Version="3.1.3" PrivateAssets="all" IncludeAssets="runtime; build; native; contentfiles; analyzers; buildtransitive"/>
14+
<PackageReference Include="xunit.v3" Version="3.2.0" />
15+
<PackageReference Include="xunit.runner.visualstudio" Version="3.1.5" PrivateAssets="all" IncludeAssets="runtime; build; native; contentfiles; analyzers; buildtransitive" />
1616
</ItemGroup>
1717

1818
<ItemGroup>

templates/test/Tests/Sample/Tests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
namespace Tests.Sample;
22

3-
public class App : AppFixture<Program> {}
3+
public class App : AppFixture<Program>;
44

55
public class Tests : TestClass<App>
66
{

0 commit comments

Comments
 (0)