Skip to content

Commit

Permalink
v1.5.1 release
Browse files Browse the repository at this point in the history
  • Loading branch information
dj-nitehawk committed May 10, 2024
1 parent 0c1b54c commit 55f4bbf
Show file tree
Hide file tree
Showing 8 changed files with 24 additions and 27 deletions.
2 changes: 1 addition & 1 deletion FastEndpoints.TemplatePack.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>

<Version>1.5.0</Version>
<Version>1.5.1</Version>

<PackageType>Template</PackageType>
<PackageId>FastEndpoints.TemplatePack</PackageId>
Expand Down
2 changes: 0 additions & 2 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
- add `feintproj` starter template with integrated testing in same project.
- change fixture type to `AppFixture<TProgram>` from `TestFixture<TProgram>`
- upgrade dependencies to latest
20 changes: 10 additions & 10 deletions templates/integrated/Source/MyProject.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,27 +10,27 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="AWSSDK.SimpleEmailV2" Version="3.7.300.53"/>
<PackageReference Include="AWSSDK.SimpleEmailV2" Version="3.7.303.2" />
<PackageReference Include="BCrypt.Net-Next" Version="4.0.3"/>
<PackageReference Include="FastEndpoints" Version="5.23.0"/>
<PackageReference Include="FastEndpoints.Security" Version="5.23.0"/>
<PackageReference Include="FastEndpoints.Swagger" Version="5.23.0"/>
<PackageReference Include="FastEndpoints" Version="5.25.0" />
<PackageReference Include="FastEndpoints.Security" Version="5.25.0" />
<PackageReference Include="FastEndpoints.Swagger" Version="5.25.0" />
<PackageReference Include="MessagePack" Version="2.5.140"/>
<PackageReference Include="MongoDB.Entities" Version="23.0.1"/>
<PackageReference Include="MongoDB.Entities" Version="23.1.0" />
</ItemGroup>

<!-- exclude test related code from release build -->
<PropertyGroup>
<GenerateProgramFile>false</GenerateProgramFile>
</PropertyGroup>
<ItemGroup Condition="'$(Configuration)' != 'Release'">
<PackageReference Include="FakeItEasy" Version="8.1.0"/>
<PackageReference Include="FastEndpoints.Testing" Version="5.23.0"/>
<PackageReference Include="FakeItEasy" Version="8.2.0" />
<PackageReference Include="FastEndpoints.Testing" Version="5.25.0" />
<PackageReference Include="FluentAssertions" Version="6.12.0"/>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.9.0"/>
<PackageReference Include="xunit" Version="2.7.0"/>
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.7" PrivateAssets="all" IncludeAssets="runtime; build; native; contentfiles; analyzers; buildtransitive"/>
<PackageReference Include="coverlet.collector" Version="6.0.1" PrivateAssets="all" IncludeAssets="runtime; build; native; contentfiles; analyzers; buildtransitive"/>
<PackageReference Include="xunit" Version="2.8.0" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.8.0" PrivateAssets="all" IncludeAssets="runtime; build; native; contentfiles; analyzers; buildtransitive" />
<PackageReference Include="coverlet.collector" Version="6.0.2" PrivateAssets="all" IncludeAssets="runtime; build; native; contentfiles; analyzers; buildtransitive" />
<Content Update="Tests\xunit.runner.json" TargetPath="xunit.runner.json"/>
</ItemGroup>
<ItemGroup Condition="'$(Configuration)' == 'Release'">
Expand Down
4 changes: 2 additions & 2 deletions templates/integrated/Source/Services/JobStorageProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ public Task OnHandlerExecutionFailureAsync(JobRecord r, Exception exception, Can
.MatchID(r.ID)
.Modify(jr => jr.FailureReason, exception.Message) //save exception msg
.Modify(b => b.Inc(jr => jr.FailureCount, 1)) //increment the failure count.
.Modify(jr => jr.ExecuteAfter, retryOn) //slide the execute after to 1 min in future.
.Modify(jr => jr.ExpireOn, expireOn) //slide the expire on to 4 hours from execute after time.
.Modify(jr => jr.ExecuteAfter, retryOn) //slide the execute after to 1 min in the future.
.Modify(jr => jr.ExpireOn, expireOn) //slide the expiry on to 4 hours from execute after time.
.ExecuteAsync(ct);
}

Expand Down
1 change: 0 additions & 1 deletion templates/integrated/Source/Tools/Extensions.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using System.Diagnostics.CodeAnalysis;
using System.Globalization;
using System.Text.RegularExpressions;

namespace MyProject;

Expand Down
6 changes: 3 additions & 3 deletions templates/project/Source/MyProject.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="FastEndpoints" Version="5.23.0" />
<PackageReference Include="FastEndpoints.Security" Version="5.23.0" />
<PackageReference Include="FastEndpoints.Swagger" Version="5.23.0" />
<PackageReference Include="FastEndpoints" Version="5.25.0" />
<PackageReference Include="FastEndpoints.Security" Version="5.25.0" />
<PackageReference Include="FastEndpoints.Swagger" Version="5.25.0" />
</ItemGroup>

</Project>
8 changes: 4 additions & 4 deletions templates/project/Tests/Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="FastEndpoints.Testing" Version="5.23.0" />
<PackageReference Include="FastEndpoints.Testing" Version="5.25.0" />
<PackageReference Include="FluentAssertions" Version="6.12.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.9.0" />
<PackageReference Include="xunit" Version="2.7.0" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.7" PrivateAssets="all" IncludeAssets="runtime; build; native; contentfiles; analyzers; buildtransitive" />
<PackageReference Include="coverlet.collector" Version="6.0.1" PrivateAssets="all" IncludeAssets="runtime; build; native; contentfiles; analyzers; buildtransitive" />
<PackageReference Include="xunit" Version="2.8.0" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.8.0" PrivateAssets="all" IncludeAssets="runtime; build; native; contentfiles; analyzers; buildtransitive" />
<PackageReference Include="coverlet.collector" Version="6.0.2" PrivateAssets="all" IncludeAssets="runtime; build; native; contentfiles; analyzers; buildtransitive" />
</ItemGroup>

<ItemGroup>
Expand Down
8 changes: 4 additions & 4 deletions templates/test/Tests/Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="FastEndpoints.Testing" Version="5.23.0" />
<PackageReference Include="FastEndpoints.Testing" Version="5.25.0" />
<PackageReference Include="FluentAssertions" Version="6.12.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.9.0" />
<PackageReference Include="xunit" Version="2.7.0" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.7" PrivateAssets="all" IncludeAssets="runtime; build; native; contentfiles; analyzers; buildtransitive" />
<PackageReference Include="coverlet.collector" Version="6.0.1" PrivateAssets="all" IncludeAssets="runtime; build; native; contentfiles; analyzers; buildtransitive" />
<PackageReference Include="xunit" Version="2.8.0" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.8.0" PrivateAssets="all" IncludeAssets="runtime; build; native; contentfiles; analyzers; buildtransitive" />
<PackageReference Include="coverlet.collector" Version="6.0.2" PrivateAssets="all" IncludeAssets="runtime; build; native; contentfiles; analyzers; buildtransitive" />
</ItemGroup>

<ItemGroup>
Expand Down

0 comments on commit 55f4bbf

Please sign in to comment.