Skip to content

Commit 94deb1f

Browse files
committed
bump version to v1.10
1 parent f348952 commit 94deb1f

9 files changed

Lines changed: 141 additions & 138 deletions

File tree

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.10.0-beta.2</Version>
5+
<Version>1.10.0</Version>
66

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

templates/aot/Source/MyApp.csproj

Lines changed: 31 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,32 @@
1-
<Project Sdk="Microsoft.NET.Sdk.Web">
2-
3-
<PropertyGroup Condition="$(Configuration) == 'Release'">
4-
<PublishAot>true</PublishAot>
5-
</PropertyGroup>
6-
7-
<PropertyGroup>
8-
<TargetFramework>net10.0</TargetFramework>
9-
<ImplicitUsings>enable</ImplicitUsings>
10-
<Nullable>enable</Nullable>
11-
<OutputType>Exe</OutputType>
12-
<NoWarn>CS1591;CA2016</NoWarn>
13-
<GenerateDocumentationFile>true</GenerateDocumentationFile>
14-
<InvariantGlobalization>true</InvariantGlobalization>
15-
<GenerateSerializerContexts>true</GenerateSerializerContexts>
16-
<ExportSwaggerDocs>true</ExportSwaggerDocs>
17-
<SwaggerExportPath>wwwroot/openapi</SwaggerExportPath>
18-
</PropertyGroup>
19-
20-
<ItemGroup>
21-
<PackageReference Include="FastEndpoints" Version="8.0.0-beta.10"/>
22-
<PackageReference Include="FastEndpoints.Generator" Version="8.0.0-beta.10" PrivateAssets="all" IncludeAssets="runtime; build; native; contentfiles; analyzers; buildtransitive"/>
23-
<PackageReference Include="FastEndpoints.Security" Version="8.0.0-beta.10"/>
24-
<PackageReference Include="FastEndpoints.Swagger" Version="8.0.0-beta.10"/>
25-
<PackageReference Include="Scalar.AspNetCore" Version="2.12.30"/>
26-
</ItemGroup>
27-
28-
<ItemGroup>
29-
<Content Remove="dotnet-tools.json"/>
30-
</ItemGroup>
31-
1+
<Project Sdk="Microsoft.NET.Sdk.Web">
2+
3+
<PropertyGroup Condition="$(Configuration) == 'Release'">
4+
<PublishAot>true</PublishAot>
5+
</PropertyGroup>
6+
7+
<PropertyGroup>
8+
<TargetFramework>net10.0</TargetFramework>
9+
<ImplicitUsings>enable</ImplicitUsings>
10+
<Nullable>enable</Nullable>
11+
<OutputType>Exe</OutputType>
12+
<NoWarn>CS1591;CA2016</NoWarn>
13+
<GenerateDocumentationFile>true</GenerateDocumentationFile>
14+
<InvariantGlobalization>true</InvariantGlobalization>
15+
<GenerateSerializerContexts>true</GenerateSerializerContexts>
16+
<ExportSwaggerDocs>true</ExportSwaggerDocs>
17+
<SwaggerExportPath>wwwroot/openapi</SwaggerExportPath>
18+
</PropertyGroup>
19+
20+
<ItemGroup>
21+
<PackageReference Include="FastEndpoints" Version="8.0.0"/>
22+
<PackageReference Include="FastEndpoints.Generator" Version="8.0.0" PrivateAssets="all" IncludeAssets="runtime; build; native; contentfiles; analyzers; buildtransitive"/>
23+
<PackageReference Include="FastEndpoints.Security" Version="8.0.0"/>
24+
<PackageReference Include="FastEndpoints.Swagger" Version="8.0.0"/>
25+
<PackageReference Include="Scalar.AspNetCore" Version="2.12.30"/>
26+
</ItemGroup>
27+
28+
<ItemGroup>
29+
<Content Remove="dotnet-tools.json"/>
30+
</ItemGroup>
31+
3232
</Project>
Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
{
2-
"version": 1,
3-
"isRoot": true,
4-
"tools": {
5-
"fastendpoints.generator.cli": {
6-
"version": "8.0.0-beta.9",
7-
"commands": [
8-
"fastendpoints-generator"
9-
],
10-
"rollForward": false
11-
}
12-
}
1+
{
2+
"version": 1,
3+
"isRoot": true,
4+
"tools": {
5+
"fastendpoints.generator.cli": {
6+
"version": "8.0.0",
7+
"commands": [
8+
"fastendpoints-generator"
9+
],
10+
"rollForward": false
11+
}
12+
}
1313
}

templates/aot/Tests/Tests.csproj

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,26 @@
1-
<Project Sdk="Microsoft.NET.Sdk">
2-
3-
<PropertyGroup>
4-
<TargetFramework>net10.0</TargetFramework>
5-
<ImplicitUsings>enable</ImplicitUsings>
6-
<Nullable>enable</Nullable>
7-
<OutputType>Exe</OutputType>
8-
</PropertyGroup>
9-
10-
<ItemGroup>
11-
<PackageReference Include="FastEndpoints.Testing" Version="8.0.0-beta.10"/>
12-
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="18.0.1"/>
13-
<PackageReference Include="Shouldly" Version="4.3.0"/>
14-
<PackageReference Include="xunit.v3" Version="3.2.2"/>
15-
<PackageReference Include="xunit.runner.visualstudio" Version="3.1.5" PrivateAssets="all" IncludeAssets="runtime; build; native; contentfiles; analyzers; buildtransitive"/>
16-
</ItemGroup>
17-
18-
<ItemGroup>
19-
<ProjectReference Include="..\Source\MyApp.csproj"/>
20-
</ItemGroup>
21-
22-
<ItemGroup>
23-
<Content Include="xunit.runner.json" CopyToOutputDirectory="Always"/>
24-
</ItemGroup>
25-
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
3+
<PropertyGroup>
4+
<TargetFramework>net10.0</TargetFramework>
5+
<ImplicitUsings>enable</ImplicitUsings>
6+
<Nullable>enable</Nullable>
7+
<OutputType>Exe</OutputType>
8+
</PropertyGroup>
9+
10+
<ItemGroup>
11+
<PackageReference Include="FastEndpoints.Testing" Version="8.0.0"/>
12+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="18.0.1"/>
13+
<PackageReference Include="Shouldly" Version="4.3.0"/>
14+
<PackageReference Include="xunit.v3" Version="3.2.2"/>
15+
<PackageReference Include="xunit.runner.visualstudio" Version="3.1.5" PrivateAssets="all" IncludeAssets="runtime; build; native; contentfiles; analyzers; buildtransitive"/>
16+
</ItemGroup>
17+
18+
<ItemGroup>
19+
<ProjectReference Include="..\Source\MyApp.csproj"/>
20+
</ItemGroup>
21+
22+
<ItemGroup>
23+
<Content Include="xunit.runner.json" CopyToOutputDirectory="Always"/>
24+
</ItemGroup>
25+
2626
</Project>
Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,28 @@
1-
name: Publish Nuget Package
2-
3-
on:
4-
push:
5-
branches: main
6-
7-
jobs:
8-
deploy:
9-
runs-on: ubuntu-latest
10-
steps:
11-
- name: Checkout Source
12-
uses: actions/checkout@v4
13-
14-
- name: Setup .Net SDK
15-
uses: actions/setup-dotnet@v4
16-
with:
17-
dotnet-version: 8.x
18-
19-
- name: Login Container Registry
20-
uses: docker/login-action@v3
21-
with:
22-
registry: sjc.vultrcr.com
23-
username: ${{ secrets.CR_USER }}
24-
password: ${{ secrets.CR_PASS }}
25-
26-
- name: Publish Container
27-
run: dotnet publish -c Release --runtime linux-musl-x64 --self-contained false /p:PublishProfile=DefaultContainer
28-
1+
name: Publish Nuget Package
2+
3+
on:
4+
push:
5+
branches: main
6+
7+
jobs:
8+
deploy:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Checkout Source
12+
uses: actions/checkout@v4
13+
14+
- name: Setup .Net SDK
15+
uses: actions/setup-dotnet@v4
16+
with:
17+
dotnet-version: 10.x
18+
19+
- name: Login Container Registry
20+
uses: docker/login-action@v3
21+
with:
22+
registry: sjc.vultrcr.com
23+
username: ${{ secrets.CR_USER }}
24+
password: ${{ secrets.CR_PASS }}
25+
26+
- name: Publish Container
27+
run: dotnet publish -c Release --runtime linux-musl-x64 --self-contained false /p:PublishProfile=DefaultContainer
28+
Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,28 @@
1-
services:
2-
api:
3-
image: sjc.vultrcr.com/MyProject/Api:latest
4-
depends_on:
5-
- db
6-
network_mode: host
7-
restart: unless-stopped
8-
volumes:
9-
- /home/MyProject/certs:/home/MyProject/certs
10-
logging:
11-
driver: json-file
12-
options:
13-
max-size: 1m
14-
env_file:
15-
- ./secrets
16-
17-
db:
18-
image: mongo:7.0.12
19-
network_mode: host
20-
restart: no
21-
command: --quiet --directoryperdb --replSet RepSet
22-
volumes:
23-
- /home/MyProject/mongo:/data/db
24-
- ./mongo-init.js:/docker-entrypoint-initdb.d/mongo-init.js:ro
25-
logging:
26-
driver: json-file
27-
options:
1+
services:
2+
api:
3+
image: sjc.vultrcr.com/MyProject/Api:latest
4+
depends_on:
5+
- db
6+
network_mode: host
7+
restart: unless-stopped
8+
volumes:
9+
- /home/MyProject/certs:/home/MyProject/certs
10+
logging:
11+
driver: json-file
12+
options:
13+
max-size: 1m
14+
env_file:
15+
- ./secrets
16+
17+
db:
18+
image: mongo
19+
network_mode: host
20+
restart: no
21+
command: --quiet --directoryperdb --replSet RepSet
22+
volumes:
23+
- /home/MyProject/mongo:/data/db
24+
- ./mongo-init.js:/docker-entrypoint-initdb.d/mongo-init.js:ro
25+
logging:
26+
driver: json-file
27+
options:
2828
max-size: 1m

templates/integrated/Source/MyProject.csproj

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,24 +10,24 @@
1010
</PropertyGroup>
1111

1212
<ItemGroup>
13-
<PackageReference Include="AWSSDK.SimpleEmailV2" Version="4.0.6.4"/>
14-
<PackageReference Include="BCrypt.Net-Next" Version="4.0.3"/>
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"/>
13+
<PackageReference Include="AWSSDK.SimpleEmailV2" Version="4.0.11.5" />
14+
<PackageReference Include="BCrypt.Net-Next" Version="4.1.0" />
15+
<PackageReference Include="FastEndpoints" Version="8.0.0" />
16+
<PackageReference Include="FastEndpoints.Generator" Version="8.0.0" PrivateAssets="all" IncludeAssets="runtime; build; native; contentfiles; analyzers; buildtransitive" />
17+
<PackageReference Include="FastEndpoints.Security" Version="8.0.0" />
18+
<PackageReference Include="FastEndpoints.Swagger" Version="8.0.0" />
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"/>
2222
</ItemGroup>
2323

2424
<!-- exclude test related code from release build -->
2525
<ItemGroup Condition="'$(Configuration)' != 'Release'">
26-
<PackageReference Include="FakeItEasy" Version="8.3.0"/>
27-
<PackageReference Include="FastEndpoints.Testing" Version="7.1.1"/>
26+
<PackageReference Include="FakeItEasy" Version="9.0.1" />
27+
<PackageReference Include="FastEndpoints.Testing" Version="8.0.0" />
2828
<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.2.0"/>
30+
<PackageReference Include="xunit.v3" Version="3.2.2" />
3131
<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>
@@ -39,7 +39,7 @@
3939

4040
<PropertyGroup>
4141
<EnableSdkContainerSupport>true</EnableSdkContainerSupport>
42-
<ContainerBaseImage>mcr.microsoft.com/dotnet/aspnet:9.0-alpine</ContainerBaseImage>
42+
<ContainerBaseImage>mcr.microsoft.com/dotnet/aspnet:10.0-alpine</ContainerBaseImage>
4343
<ContainerRegistry>sjc.vultrcr.com</ContainerRegistry>
4444
<ContainerRepository>MyProject/Api</ContainerRepository>
4545
<ContainerImageTag>latest</ContainerImageTag>

templates/integrated/Source/Tests/FakeSesClient.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,9 @@ public Task<GetDomainStatisticsReportResponse> GetDomainStatisticsReportAsync(Ge
165165
CancellationToken cancellationToken = default)
166166
=> throw new NotImplementedException();
167167

168+
public Task<GetEmailAddressInsightsResponse> GetEmailAddressInsightsAsync(GetEmailAddressInsightsRequest request, CancellationToken cancellationToken = new CancellationToken())
169+
=> throw new NotImplementedException();
170+
168171
public Task<GetEmailIdentityResponse> GetEmailIdentityAsync(GetEmailIdentityRequest request, CancellationToken cancellationToken = default)
169172
=> throw new NotImplementedException();
170173

templates/test/Tests/Tests.csproj

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

33
<PropertyGroup>
44
<TargetFramework>net10.0</TargetFramework>
@@ -9,15 +9,15 @@
99
</PropertyGroup>
1010

1111
<ItemGroup>
12-
<PackageReference Include="FastEndpoints.Testing" Version="7.1.1" />
12+
<PackageReference Include="FastEndpoints.Testing" Version="8.0.0" />
1313
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="18.0.1"/>
1414
<PackageReference Include="Shouldly" Version="4.3.0" />
15-
<PackageReference Include="xunit.v3" Version="3.2.0"/>
15+
<PackageReference Include="xunit.v3" Version="3.2.2"/>
1616
<PackageReference Include="xunit.runner.visualstudio" Version="3.1.5" PrivateAssets="all" IncludeAssets="runtime; build; native; contentfiles; analyzers; buildtransitive"/>
1717
</ItemGroup>
1818

1919
<ItemGroup>
2020
<Content Include="xunit.runner.json" CopyToOutputDirectory="Always"/>
2121
</ItemGroup>
2222

23-
</Project>
23+
</Project>

0 commit comments

Comments
 (0)