Skip to content

Commit

Permalink
Update dependencies (#748)
Browse files Browse the repository at this point in the history
  • Loading branch information
gunndabad authored Oct 25, 2023
1 parent b843d24 commit 821e5c5
Show file tree
Hide file tree
Showing 10 changed files with 52 additions and 60 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ public static IServiceCollection AddBackgroundJobs(
{
if (!environment.IsUnitTests() && !environment.IsEndToEndTests())
{
services.AddHangfire(configuration => configuration
.SetDataCompatibilityLevel(CompatibilityLevel.Version_170)
.UseSimpleAssemblyNameTypeSerializer()
.UseRecommendedSerializerSettings()
.UsePostgreSqlStorage(postgresConnectionString));
services.AddHangfire(config =>
config.UsePostgreSqlStorage(o => o.UseNpgsqlConnection(postgresConnectionString))
.SetDataCompatibilityLevel(CompatibilityLevel.Version_170)
.UseSimpleAssemblyNameTypeSerializer()
.UseRecommendedSerializerSettings());

services.AddHangfireServer();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,50 +10,50 @@
</Target>

<ItemGroup>
<PackageReference Include="AspNetCore.HealthChecks.NpgSql" Version="6.0.2" />
<PackageReference Include="AspNetCore.HealthChecks.Redis" Version="6.0.4" />
<PackageReference Include="AspNetCore.HealthChecks.NpgSql" Version="7.1.0" />
<PackageReference Include="AspNetCore.HealthChecks.Redis" Version="7.0.1" />
<PackageReference Include="Azure.Extensions.AspNetCore.DataProtection.Blobs" Version="1.3.2" />
<PackageReference Include="Azure.Messaging.ServiceBus" Version="7.13.1" />
<PackageReference Include="Azure.Messaging.ServiceBus" Version="7.16.2" />
<PackageReference Include="CsvHelper" Version="30.0.1" />
<PackageReference Include="Dfe.Analytics.AspNetCore" Version="0.1.0" />
<PackageReference Include="EFCore.NamingConventions" Version="7.0.2" />
<PackageReference Include="FluentValidation.DependencyInjectionExtensions" Version="11.5.1" />
<PackageReference Include="FluentValidation.DependencyInjectionExtensions" Version="11.8.0" />
<PackageReference Include="Flurl" Version="3.0.7" />
<PackageReference Include="GovUk.Frontend.AspNetCore" Version="1.3.0" />
<PackageReference Include="GovUk.Frontend.AspNetCore" Version="1.4.0" />
<PackageReference Include="GovukNotify" Version="6.1.0" />
<PackageReference Include="Hangfire.AspNetCore" Version="1.7.33" />
<PackageReference Include="Hangfire.Core" Version="1.7.33" />
<PackageReference Include="Hangfire.PostgreSql" Version="1.19.12" />
<PackageReference Include="Joonasw.AspNetCore.SecurityHeaders" Version="4.0.1" />
<PackageReference Include="Hangfire.AspNetCore" Version="1.8.6" />
<PackageReference Include="Hangfire.Core" Version="1.8.6" />
<PackageReference Include="Hangfire.PostgreSql" Version="1.20.4" />
<PackageReference Include="Joonasw.AspNetCore.SecurityHeaders" Version="5.0.0" />
<PackageReference Include="LinqKit" Version="1.2.4" />
<PackageReference Include="MediatR.Extensions.Microsoft.DependencyInjection" Version="11.1.0" />
<PackageReference Include="Microsoft.ApplicationInsights.AspNetCore" Version="2.21.0" />
<PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="7.0.4" />
<PackageReference Include="Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore" Version="7.0.4" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" PrivateAssets="All" Version="7.0.4" />
<PackageReference Include="Microsoft.Extensions.Azure" Version="1.6.3" />
<PackageReference Include="Microsoft.Extensions.Caching.StackExchangeRedis" Version="7.0.4" />
<PackageReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Design" Version="7.0.5" />
<PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="7.0.13" />
<PackageReference Include="Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore" Version="7.0.13" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" PrivateAssets="All" Version="7.0.13" />
<PackageReference Include="Microsoft.Extensions.Azure" Version="1.7.0" />
<PackageReference Include="Microsoft.Extensions.Caching.StackExchangeRedis" Version="7.0.13" />
<PackageReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Design" Version="7.0.10" />
<PackageReference Include="Microsoft.Web.LibraryManager.Build" Version="2.1.175" />
<PackageReference Include="MiniValidation" Version="0.7.4" />
<PackageReference Include="Npgsql.EntityFrameworkCore.PostgreSQL" Version="7.0.3" />
<PackageReference Include="MiniValidation" Version="0.9.0" />
<PackageReference Include="Npgsql.EntityFrameworkCore.PostgreSQL" Version="7.0.11" />
<PackageReference Include="OpenIddict.AspNetCore" Version="4.9.0" />
<PackageReference Include="OpenIddict.EntityFrameworkCore" Version="4.9.0" />
<PackageReference Include="Optional" Version="4.0.0" />
<PackageReference Include="Polly" Version="7.2.4" />
<PackageReference Include="RedisRateLimiting.AspNetCore" Version="1.0.7" />
<PackageReference Include="Scrutor" Version="4.2.1" />
<PackageReference Include="Sentry.AspNetCore" Version="3.34.0" />
<PackageReference Include="Sentry.Serilog" Version="3.34.0" />
<PackageReference Include="Polly" Version="8.0.0" />
<PackageReference Include="RedisRateLimiting.AspNetCore" Version="1.0.9" />
<PackageReference Include="Scrutor" Version="4.2.2" />
<PackageReference Include="Sentry.AspNetCore" Version="3.40.1" />
<PackageReference Include="Sentry.Serilog" Version="3.40.1" />
<PackageReference Include="Serilog.AspNetCore" Version="7.0.0" />
<PackageReference Include="Serilog.Formatting.Compact" Version="1.1.0" />
<PackageReference Include="Serilog.Settings.Configuration" Version="7.0.0" />
<PackageReference Include="Serilog.Settings.Configuration" Version="7.0.1" />
<PackageReference Include="Serilog.Sinks.Network" Version="2.0.2.68" />
<PackageReference Include="SerilogTimings" Version="3.0.1" />
<PackageReference Include="Swashbuckle.AspNetCore" Version="6.5.0" />
<PackageReference Include="Swashbuckle.AspNetCore.Annotations" Version="6.5.0" />
<PackageReference Include="Swashbuckle.AspNetCore.Filters" Version="7.0.6" />
<PackageReference Include="ZendeskApi.Client" Version="4.0.1-alpha-696" />
<PackageReference Include="Swashbuckle.AspNetCore.Filters" Version="7.0.12" />
<PackageReference Include="ZendeskApi.Client" Version="7.0.2" />
</ItemGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<PropertyGroup Condition=" '$(RunConfiguration)' == 'ResourceServer' " />
<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="7.0.4" />
<PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="7.0.13" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="GovUk.Frontend.AspNetCore" Version="1.0.0" />
<PackageReference Include="Microsoft.AspNetCore.Authentication.OpenIdConnect" Version="7.0.4" />
<PackageReference Include="GovUk.Frontend.AspNetCore" Version="1.4.0" />
<PackageReference Include="Microsoft.AspNetCore.Authentication.OpenIdConnect" Version="7.0.13" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -620,7 +620,7 @@ public async Task NewUser_WithInstitutionEmail_CanRegister(bool useInstitutionEm
var invalidEmailSuffix = "invalid.sch.uk";
await _hostFixture.TestData.EnsureEstablishmentDomain(invalidEmailSuffix);

var institutionEmail = $"james@{invalidEmailSuffix}";
var institutionEmail = $"{Faker.Internet.Email().Split('@')[0]}@{invalidEmailSuffix}";
var personalEmail = Faker.Internet.Email();
var expectedEmail = useInstitutionEmail ? institutionEmail : personalEmail;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,12 @@

<ItemGroup>
<PackageReference Include="Faker.Net" Version="2.0.154" />
<PackageReference Include="Microsoft.AspNetCore.Mvc.Testing" Version="7.0.4" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.5.0" />
<PackageReference Include="Microsoft.Playwright" Version="1.31.1" />
<PackageReference Include="Moq" Version="4.18.4" />
<PackageReference Include="xunit" Version="2.4.2" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.5">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="coverlet.collector" Version="3.2.0">
<PackageReference Include="Microsoft.AspNetCore.Mvc.Testing" Version="7.0.13" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.7.2" />
<PackageReference Include="Microsoft.Playwright" Version="1.39.0" />
<PackageReference Include="Moq" Version="4.20.69" />
<PackageReference Include="xunit" Version="2.5.3" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.3">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -775,7 +775,7 @@ public async Task NewTeacherUser_WithTrnTokenChangesToInstitutionEmail_CreatesUs
var invalidEmailSuffix = "invalid.sch.uk";
await _hostFixture.TestData.EnsureEstablishmentDomain(invalidEmailSuffix);

var newInstitutionEmail = $"james@{invalidEmailSuffix}";
var newInstitutionEmail = $"{Faker.Internet.Email().Split('@')[0]}@{invalidEmailSuffix}";
var newPersonalEmail = Faker.Internet.Email();
var newExpectedEmail = useInstitutionEmail ? newInstitutionEmail : newPersonalEmail;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="7.0.0" />
<PackageReference Include="Microsoft.Extensions.Options.ConfigurationExtensions" Version="7.0.0" />
<PackageReference Include="Microsoft.Extensions.Options.DataAnnotations" Version="7.0.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.5.0" />
<PackageReference Include="xunit" Version="2.4.2" />
<PackageReference Include="Xunit.DependencyInjection" Version="8.7.1" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.5">
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.7.2" />
<PackageReference Include="xunit" Version="2.5.3" />
<PackageReference Include="Xunit.DependencyInjection" Version="8.9.0" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.3">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

<ItemGroup>
<PackageReference Include="Faker.Net" Version="2.0.154" />
<PackageReference Include="Respawn" Version="6.0.0" />
<PackageReference Include="Respawn" Version="6.1.0" />
</ItemGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,13 @@

<ItemGroup>
<PackageReference Include="AngleSharp" Version="0.17.1" />
<PackageReference Include="Microsoft.AspNetCore.Mvc.Testing" Version="7.0.4" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.5.0" />
<PackageReference Include="Moq" Version="4.18.4" />
<PackageReference Include="Microsoft.AspNetCore.Mvc.Testing" Version="7.0.13" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.7.2" />
<PackageReference Include="Moq" Version="4.20.69" />
<PackageReference Include="System.Linq.Async" Version="6.0.1" />
<PackageReference Include="xunit" Version="2.4.2" />
<PackageReference Include="Xunit.DependencyInjection" Version="8.7.1" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.5">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="coverlet.collector" Version="3.2.0">
<PackageReference Include="xunit" Version="2.5.3" />
<PackageReference Include="Xunit.DependencyInjection" Version="8.9.0" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.3">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
Expand Down

0 comments on commit 821e5c5

Please sign in to comment.