Skip to content

Commit

Permalink
MiniProfiler 4.5 Release (#679)
Browse files Browse the repository at this point in the history
This is some overdue catch up for current .NET releases and packages to eliminate downstream dependencies on any vulnerable or unsupported packages and cull surface area that isn't used or worth maintaining on the storage front (these had < 2,000 downloads).
  • Loading branch information
NickCraver authored Nov 30, 2024
1 parent ec36a24 commit 2ad33f5
Show file tree
Hide file tree
Showing 95 changed files with 124 additions and 21,304 deletions.
2 changes: 1 addition & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies" Version="1.0.0" PrivateAssets="All" IncludeAssets="runtime; build; native; contentfiles; analyzers" />
<PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies" Version="1.0.3" PrivateAssets="All" IncludeAssets="runtime; build; native; contentfiles; analyzers" />
</ItemGroup>
</Project>
28 changes: 0 additions & 28 deletions MiniProfiler.sln
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,8 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "MiniProfiler.Mvc5", "src\Mi
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "MiniProfiler.Shared", "src\MiniProfiler.Shared\MiniProfiler.Shared.csproj", "{BA40A569-BEE2-4E39-80A7-763BC15A9077}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "MiniProfiler.Providers.RavenDB", "src\MiniProfiler.Providers.RavenDB\MiniProfiler.Providers.RavenDB.csproj", "{5176CF64-E00D-423F-9341-A8999A774B24}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "MiniProfiler.Providers.SqlServer", "src\MiniProfiler.Providers.SqlServer\MiniProfiler.Providers.SqlServer.csproj", "{D240FC79-651F-4107-95EC-30702AE610DB}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "MiniProfiler.Providers.SqlServerCe", "src\MiniProfiler.Providers.SqlServerCe\MiniProfiler.Providers.SqlServerCe.csproj", "{0C9A1AA9-F25F-41DF-AF57-7B7B3EBF13DA}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Samples.Mvc5", "samples\Samples.Mvc5\Samples.Mvc5.csproj", "{C179CF56-7AC2-4340-8D43-2A3DCDB2E448}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "MiniProfiler.AspNetCore", "src\MiniProfiler.AspNetCore\MiniProfiler.AspNetCore.csproj", "{6A2B5B70-1C32-482F-B5C6-0597E2D4E376}"
Expand Down Expand Up @@ -75,16 +71,12 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "MiniProfiler.Tests.AspNet",
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "MiniProfiler.Tests.AspNetCore", "tests\MiniProfiler.Tests.AspNetCore\MiniProfiler.Tests.AspNetCore.csproj", "{CC4AD661-0F2D-4E27-934D-F321B2214E4B}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Samples.Mvc5.EFCore", "samples\Samples.Mvc5.EFCore\Samples.Mvc5.EFCore.csproj", "{44F5C82B-412E-485D-B349-BA9A008BD5AC}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "MiniProfiler.Providers.MongoDB", "src\MiniProfiler.Providers.MongoDB\MiniProfiler.Providers.MongoDB.csproj", "{001EFFB2-E56C-4A63-9954-79D7AEB052DB}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Misc", "samples\Misc\Misc.csproj", "{44075C61-13E9-4C78-B340-6045EA115433}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "MiniProfiler.Providers.PostgreSql", "src\MiniProfiler.Providers.PostgreSql\MiniProfiler.Providers.PostgreSql.csproj", "{61E02A52-EB05-4B48-9AAE-BC7C1741E557}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "MiniProfiler.EFC7", "src\MiniProfiler.EFC7\MiniProfiler.EFC7.csproj", "{BD7A4E74-ECFE-4BBE-86D9-D6DC2BED86DB}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".github", ".github", "{5C8ED0C0-7DBB-4660-836E-A760E25160A0}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "workflows", "workflows", "{A14EA029-60E2-485A-B757-3626511CF2C4}"
Expand Down Expand Up @@ -126,18 +118,10 @@ Global
{BA40A569-BEE2-4E39-80A7-763BC15A9077}.Debug|Any CPU.Build.0 = Debug|Any CPU
{BA40A569-BEE2-4E39-80A7-763BC15A9077}.Release|Any CPU.ActiveCfg = Release|Any CPU
{BA40A569-BEE2-4E39-80A7-763BC15A9077}.Release|Any CPU.Build.0 = Release|Any CPU
{5176CF64-E00D-423F-9341-A8999A774B24}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{5176CF64-E00D-423F-9341-A8999A774B24}.Debug|Any CPU.Build.0 = Debug|Any CPU
{5176CF64-E00D-423F-9341-A8999A774B24}.Release|Any CPU.ActiveCfg = Release|Any CPU
{5176CF64-E00D-423F-9341-A8999A774B24}.Release|Any CPU.Build.0 = Release|Any CPU
{D240FC79-651F-4107-95EC-30702AE610DB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{D240FC79-651F-4107-95EC-30702AE610DB}.Debug|Any CPU.Build.0 = Debug|Any CPU
{D240FC79-651F-4107-95EC-30702AE610DB}.Release|Any CPU.ActiveCfg = Release|Any CPU
{D240FC79-651F-4107-95EC-30702AE610DB}.Release|Any CPU.Build.0 = Release|Any CPU
{0C9A1AA9-F25F-41DF-AF57-7B7B3EBF13DA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{0C9A1AA9-F25F-41DF-AF57-7B7B3EBF13DA}.Debug|Any CPU.Build.0 = Debug|Any CPU
{0C9A1AA9-F25F-41DF-AF57-7B7B3EBF13DA}.Release|Any CPU.ActiveCfg = Release|Any CPU
{0C9A1AA9-F25F-41DF-AF57-7B7B3EBF13DA}.Release|Any CPU.Build.0 = Release|Any CPU
{C179CF56-7AC2-4340-8D43-2A3DCDB2E448}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{C179CF56-7AC2-4340-8D43-2A3DCDB2E448}.Debug|Any CPU.Build.0 = Debug|Any CPU
{C179CF56-7AC2-4340-8D43-2A3DCDB2E448}.Release|Any CPU.ActiveCfg = Release|Any CPU
Expand Down Expand Up @@ -182,10 +166,6 @@ Global
{CC4AD661-0F2D-4E27-934D-F321B2214E4B}.Debug|Any CPU.Build.0 = Debug|Any CPU
{CC4AD661-0F2D-4E27-934D-F321B2214E4B}.Release|Any CPU.ActiveCfg = Release|Any CPU
{CC4AD661-0F2D-4E27-934D-F321B2214E4B}.Release|Any CPU.Build.0 = Release|Any CPU
{44F5C82B-412E-485D-B349-BA9A008BD5AC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{44F5C82B-412E-485D-B349-BA9A008BD5AC}.Debug|Any CPU.Build.0 = Debug|Any CPU
{44F5C82B-412E-485D-B349-BA9A008BD5AC}.Release|Any CPU.ActiveCfg = Release|Any CPU
{44F5C82B-412E-485D-B349-BA9A008BD5AC}.Release|Any CPU.Build.0 = Release|Any CPU
{001EFFB2-E56C-4A63-9954-79D7AEB052DB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{001EFFB2-E56C-4A63-9954-79D7AEB052DB}.Debug|Any CPU.Build.0 = Debug|Any CPU
{001EFFB2-E56C-4A63-9954-79D7AEB052DB}.Release|Any CPU.ActiveCfg = Release|Any CPU
Expand All @@ -198,10 +178,6 @@ Global
{61E02A52-EB05-4B48-9AAE-BC7C1741E557}.Debug|Any CPU.Build.0 = Debug|Any CPU
{61E02A52-EB05-4B48-9AAE-BC7C1741E557}.Release|Any CPU.ActiveCfg = Release|Any CPU
{61E02A52-EB05-4B48-9AAE-BC7C1741E557}.Release|Any CPU.Build.0 = Release|Any CPU
{BD7A4E74-ECFE-4BBE-86D9-D6DC2BED86DB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{BD7A4E74-ECFE-4BBE-86D9-D6DC2BED86DB}.Debug|Any CPU.Build.0 = Debug|Any CPU
{BD7A4E74-ECFE-4BBE-86D9-D6DC2BED86DB}.Release|Any CPU.ActiveCfg = Release|Any CPU
{BD7A4E74-ECFE-4BBE-86D9-D6DC2BED86DB}.Release|Any CPU.Build.0 = Release|Any CPU
{9C7822CD-BE8E-424F-A0C6-86CC986ABB42}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{9C7822CD-BE8E-424F-A0C6-86CC986ABB42}.Debug|Any CPU.Build.0 = Debug|Any CPU
{9C7822CD-BE8E-424F-A0C6-86CC986ABB42}.Release|Any CPU.ActiveCfg = Release|Any CPU
Expand All @@ -221,9 +197,7 @@ Global
{58DA79DE-F30B-4068-BEE9-013C9360CD74} = {E0DA4035-4D64-4BB8-8EA1-42197DE62519}
{074BCD84-3E44-4140-9918-C09FCBEEC09F} = {6A510DBF-E85F-4D2C-B8F7-006DA31B3418}
{BA40A569-BEE2-4E39-80A7-763BC15A9077} = {6A510DBF-E85F-4D2C-B8F7-006DA31B3418}
{5176CF64-E00D-423F-9341-A8999A774B24} = {6A510DBF-E85F-4D2C-B8F7-006DA31B3418}
{D240FC79-651F-4107-95EC-30702AE610DB} = {6A510DBF-E85F-4D2C-B8F7-006DA31B3418}
{0C9A1AA9-F25F-41DF-AF57-7B7B3EBF13DA} = {6A510DBF-E85F-4D2C-B8F7-006DA31B3418}
{C179CF56-7AC2-4340-8D43-2A3DCDB2E448} = {E0DA4035-4D64-4BB8-8EA1-42197DE62519}
{6A2B5B70-1C32-482F-B5C6-0597E2D4E376} = {6A510DBF-E85F-4D2C-B8F7-006DA31B3418}
{C7E9334A-6BFA-43A7-8FE4-393AC17DD7C1} = {6A510DBF-E85F-4D2C-B8F7-006DA31B3418}
Expand All @@ -235,11 +209,9 @@ Global
{513C06B7-32FD-4833-8B04-A1A3C375634D} = {6A510DBF-E85F-4D2C-B8F7-006DA31B3418}
{26C69CC7-765A-4378-BC16-65378B4E5033} = {33644D67-D9BB-4989-9B7A-98D51967059B}
{CC4AD661-0F2D-4E27-934D-F321B2214E4B} = {33644D67-D9BB-4989-9B7A-98D51967059B}
{44F5C82B-412E-485D-B349-BA9A008BD5AC} = {E0DA4035-4D64-4BB8-8EA1-42197DE62519}
{001EFFB2-E56C-4A63-9954-79D7AEB052DB} = {6A510DBF-E85F-4D2C-B8F7-006DA31B3418}
{44075C61-13E9-4C78-B340-6045EA115433} = {E0DA4035-4D64-4BB8-8EA1-42197DE62519}
{61E02A52-EB05-4B48-9AAE-BC7C1741E557} = {6A510DBF-E85F-4D2C-B8F7-006DA31B3418}
{BD7A4E74-ECFE-4BBE-86D9-D6DC2BED86DB} = {6A510DBF-E85F-4D2C-B8F7-006DA31B3418}
{A14EA029-60E2-485A-B757-3626511CF2C4} = {5C8ED0C0-7DBB-4660-836E-A760E25160A0}
{9C7822CD-BE8E-424F-A0C6-86CC986ABB42} = {E0DA4035-4D64-4BB8-8EA1-42197DE62519}
{A1DCACC2-0D9A-401E-B6A4-856E5DD00541} = {6A510DBF-E85F-4D2C-B8F7-006DA31B3418}
Expand Down
1 change: 0 additions & 1 deletion Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ MyGet Pre-release feed: https://www.myget.org/gallery/miniprofiler
| [MiniProfiler.Providers.MongoDB](https://www.nuget.org/packages/MiniProfiler.Providers.MongoDB/) | [![MiniProfiler.Providers.MongoDB](https://img.shields.io/nuget/v/MiniProfiler.Providers.MongoDB.svg)](https://www.nuget.org/packages/MiniProfiler.Providers.MongoDB/) | [![MiniProfiler.Providers.MongoDB](https://img.shields.io/nuget/vpre/MiniProfiler.Providers.MongoDB.svg)](https://www.nuget.org/packages/MiniProfiler.Providers.MongoDB/) | [![MiniProfiler.Providers.MongoDB](https://img.shields.io/nuget/dt/MiniProfiler.Providers.MongoDB.svg)](https://www.nuget.org/packages/MiniProfiler.Providers.MongoDB/) | [![MiniProfiler.Providers.MongoDB MyGet](https://img.shields.io/myget/miniprofiler/vpre/MiniProfiler.Providers.MongoDB.svg)](https://www.myget.org/feed/miniprofiler/package/nuget/MiniProfiler.Providers.MongoDB) |
| [MiniProfiler.Providers.MySql](https://www.nuget.org/packages/MiniProfiler.Providers.MySql/) | [![MiniProfiler.Providers.MySql](https://img.shields.io/nuget/v/MiniProfiler.Providers.MySql.svg)](https://www.nuget.org/packages/MiniProfiler.Providers.MySql/) | [![MiniProfiler.Providers.MySql](https://img.shields.io/nuget/vpre/MiniProfiler.Providers.MySql.svg)](https://www.nuget.org/packages/MiniProfiler.Providers.MySql/) | [![MiniProfiler.Providers.MySql](https://img.shields.io/nuget/dt/MiniProfiler.Providers.MySql.svg)](https://www.nuget.org/packages/MiniProfiler.Providers.MySql/) | [![MiniProfiler.Providers.MySql MyGet](https://img.shields.io/myget/miniprofiler/vpre/MiniProfiler.Providers.MySql.svg)](https://www.myget.org/feed/miniprofiler/package/nuget/MiniProfiler.Providers.MySql) |
| [MiniProfiler.Providers.PostgreSql](https://www.nuget.org/packages/MiniProfiler.Providers.PostgreSql/) | [![MiniProfiler.Providers.PostgreSql](https://img.shields.io/nuget/v/MiniProfiler.Providers.PostgreSql.svg)](https://www.nuget.org/packages/MiniProfiler.Providers.PostgreSql/) | [![MiniProfiler.Providers.PostgreSql](https://img.shields.io/nuget/vpre/MiniProfiler.Providers.PostgreSql.svg)](https://www.nuget.org/packages/MiniProfiler.Providers.PostgreSql/) | [![MiniProfiler.Providers.PostgreSql](https://img.shields.io/nuget/dt/MiniProfiler.Providers.PostgreSql.svg)](https://www.nuget.org/packages/MiniProfiler.Providers.PostgreSql/) | [![MiniProfiler.Providers.PostgreSql MyGet](https://img.shields.io/myget/miniprofiler/vpre/MiniProfiler.Providers.PostgreSql.svg)](https://www.myget.org/feed/miniprofiler/package/nuget/MiniProfiler.Providers.PostgreSql) |
| [MiniProfiler.Providers.RavenDB](https://www.nuget.org/packages/MiniProfiler.Providers.RavenDB/) | [![MiniProfiler.Providers.RavenDB](https://img.shields.io/nuget/v/MiniProfiler.Providers.RavenDB.svg)](https://www.nuget.org/packages/MiniProfiler.Providers.RavenDB/) | [![MiniProfiler.Providers.RavenDB](https://img.shields.io/nuget/vpre/MiniProfiler.Providers.RavenDB.svg)](https://www.nuget.org/packages/MiniProfiler.Providers.RavenDB/) | [![MiniProfiler.Providers.RavenDB](https://img.shields.io/nuget/dt/MiniProfiler.Providers.RavenDB.svg)](https://www.nuget.org/packages/MiniProfiler.Providers.RavenDB/) | [![MiniProfiler.Providers.RavenDB MyGet](https://img.shields.io/myget/miniprofiler/vpre/MiniProfiler.Providers.RavenDB.svg)](https://www.myget.org/feed/miniprofiler/package/nuget/MiniProfiler.Providers.RavenDB) |
| [MiniProfiler.Providers.Redis](https://www.nuget.org/packages/MiniProfiler.Providers.Redis/) | [![MiniProfiler.Providers.Redis](https://img.shields.io/nuget/v/MiniProfiler.Providers.Redis.svg)](https://www.nuget.org/packages/MiniProfiler.Providers.Redis/) | [![MiniProfiler.Providers.Redis](https://img.shields.io/nuget/vpre/MiniProfiler.Providers.Redis.svg)](https://www.nuget.org/packages/MiniProfiler.Providers.Redis/) | [![MiniProfiler.Providers.Redis](https://img.shields.io/nuget/dt/MiniProfiler.Providers.Redis.svg)](https://www.nuget.org/packages/MiniProfiler.Providers.Redis/) | [![MiniProfiler.Providers.Redis MyGet](https://img.shields.io/myget/miniprofiler/vpre/MiniProfiler.Providers.Redis.svg)](https://www.myget.org/feed/miniprofiler/package/nuget/MiniProfiler.Providers.Redis) |
| [MiniProfiler.Providers.Sqlite](https://www.nuget.org/packages/MiniProfiler.Providers.Sqlite/) | [![MiniProfiler.Providers.Sqlite](https://img.shields.io/nuget/v/MiniProfiler.Providers.Sqlite.svg)](https://www.nuget.org/packages/MiniProfiler.Providers.Sqlite/) | [![MiniProfiler.Providers.Sqlite](https://img.shields.io/nuget/vpre/MiniProfiler.Providers.Sqlite.svg)](https://www.nuget.org/packages/MiniProfiler.Providers.Sqlite/) | [![MiniProfiler.Providers.Sqlite](https://img.shields.io/nuget/dt/MiniProfiler.Providers.Sqlite.svg)](https://www.nuget.org/packages/MiniProfiler.Providers.Sqlite/) | [![MiniProfiler.Providers.Sqlite MyGet](https://img.shields.io/myget/miniprofiler/vpre/MiniProfiler.Providers.Sqlite.svg)](https://www.myget.org/feed/miniprofiler/package/nuget/MiniProfiler.Providers.Sqlite) |
| [MiniProfiler.Providers.SqlServer](https://www.nuget.org/packages/MiniProfiler.Providers.SqlServer/) | [![MiniProfiler.Providers.SqlServer](https://img.shields.io/nuget/v/MiniProfiler.Providers.SqlServer.svg)](https://www.nuget.org/packages/MiniProfiler.Providers.SqlServer/) | [![MiniProfiler.Providers.SqlServer](https://img.shields.io/nuget/vpre/MiniProfiler.Providers.SqlServer.svg)](https://www.nuget.org/packages/MiniProfiler.Providers.SqlServer/) | [![MiniProfiler.Providers.SqlServer](https://img.shields.io/nuget/dt/MiniProfiler.Providers.SqlServer.svg)](https://www.nuget.org/packages/MiniProfiler.Providers.SqlServer/) | [![MiniProfiler.Providers.SqlServer MyGet](https://img.shields.io/myget/miniprofiler/vpre/MiniProfiler.Providers.SqlServer.svg)](https://www.myget.org/feed/miniprofiler/package/nuget/MiniProfiler.Providers.SqlServer) |
Expand Down
20 changes: 10 additions & 10 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
image: Visual Studio 2022

init:
- SET PATH=%POSTGRES_PATH%\bin;%MYSQL_PATH%\bin;%PATH%

install:
- nuget install redis-64 -excludeversion
- redis-64\tools\redis-server.exe --service-install
Expand All @@ -19,24 +16,27 @@ environment:
Appveyor: true
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
# Postgres
POSTGRES_PATH: C:\Program Files\PostgreSQL\9.6
POSTGRES_PATH: C:\Program Files\PostgreSQL\16
PGUSER: postgres
PGPASSWORD: Password12!
POSTGRES_ENV_POSTGRES_USER: postgres
POSTGRES_ENV_POSTGRES_PASSWORD: Password12!
POSTGRES_ENV_POSTGRES_DB: test
PostgreSqlConnectionString: Server=localhost;Port=5432;Database=test;User Id=postgres;Password=Password12!;
# MySQL
MYSQL_PATH: C:\Program Files\MySql\MySQL Server 5.7
MYSQL_PATH: C:\Program Files\MySQL\MySQL Server 8.0
MYSQL_PWD: Password12!
MYSQL_ENV_MYSQL_USER: root
MYSQL_ENV_MYSQL_PASSWORD: Password12!
MYSQL_ENV_MYSQL_DATABASE: test
MySQLConnectionString: server=localhost;uid=root;pwd=Password12!;database=test;Allow User Variables=true
services:
- mssql2019
- mysql
- postgresql

init:
- git config --global core.autocrlf input
- SET PATH=%POSTGRES_PATH%\bin;%MYSQL_PATH%\bin;%PATH%
- net start MSSQL$SQL2019
- net start postgresql-x64-16
- ps: Start-Service MySQL80

nuget:
disable_publish_on_pr: true
Expand All @@ -45,7 +45,7 @@ build_script:
# Postgres
- createdb test
# MySQL
- mysql -e "create database test;" --user=root
- '"C:\Program Files\MySQL\MySQL Server 8.0\bin\mysql" -e "create database test;" --user=root'
- ps: .\build.ps1 -PullRequestNumber "$env:APPVEYOR_PULL_REQUEST_NUMBER" -CreatePackages $true

test: off
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,19 @@
<OutputType>Exe</OutputType>
<RootNamespace>Benchmarks</RootNamespace>
<Configuration>Release</Configuration>
<TargetFrameworks>net472;net6.0</TargetFrameworks>
<TargetFrameworks>net472;net8.0</TargetFrameworks>
<PlatformTarget>AnyCPU</PlatformTarget>
<SignAssembly>false</SignAssembly>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="BenchmarkDotNet" Version="0.13.4" />
<PackageReference Include="Jil" Version="2.16" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
<PackageReference Include="ServiceStack.Text" Version="6.6.0" />
<PackageReference Include="System.Ben" Version="1.0.0" />
<PackageReference Include="System.Text.Json" Version="7.0.1" />
<PackageReference Include="BenchmarkDotNet" Version="0.14.0" />
<PackageReference Include="Jil" Version="2.17" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
<PackageReference Include="ServiceStack.Text" Version="8.5.2" />
<PackageReference Include="Sigil" Version="5.0.0" />
<PackageReference Include="System.Reflection.Metadata" Version="8.0.1" />
<PackageReference Include="System.Text.Json" Version="9.0.0" />

<ProjectReference Include="..\..\src\MiniProfiler.Shared\MiniProfiler.Shared.csproj" />
</ItemGroup>
Expand Down
7 changes: 6 additions & 1 deletion docs/Releases.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,15 @@ This page tracks major changes included in any update starting with version 4.0.
#### Unreleased
- **New**:
- Support for strict CSP (dynamic inline styles removed) ([#634](https://github.com/MiniProfiler/dotnet/pull/634) - thanks [rwasef1830](https://github.com/rwasef1830))
- Adds `net6.0` build with no `Newtonsoft.Json` dependency ([#641](https://github.com/MiniProfiler/dotnet/pull/641))
- Moved .NET Core to `net8.0` with no `Newtonsoft.Json` dependency ([#641](https://github.com/MiniProfiler/dotnet/pull/641) & [#679](https://github.com/MiniProfiler/dotnet/pull/679))
- **Fixes/Changes**:
- Upgraded MongoDB driver, allowing automatic index creation and profiler expiration ([#613](https://github.com/MiniProfiler/dotnet/pull/613) - thanks [IanKemp](https://github.com/IanKemp))
- Fixed [#652](https://github.com/MiniProfiler/dotnet/issues/652): Respect `PopupDecimalPlaces` in all cases ([#655](https://github.com/MiniProfiler/dotnet/pull/655))
- **Removed**:
- Support for rarely used providers ([#679](https://github.com/MiniProfiler/dotnet/pull/679))
- `MiniProfiler.EFC7`
- `MiniProfiler.Providers.RavenDB`
- `MiniProfiler.Providers.SqlServerCe`

#### Version 4.3.8
- **New**:
Expand Down
6 changes: 3 additions & 3 deletions samples/Samples.AspNet/Samples.AspNet.csproj
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<PreserveCompilationContext>true</PreserveCompilationContext>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.MiddlewareAnalysis" Version="6.0.13" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="6.0.13" />
<PackageReference Include="Microsoft.AspNetCore.MiddlewareAnalysis" Version="8.0.11" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="9.0.0" />

<ProjectReference Include="..\..\src\MiniProfiler.AspNetCore.Mvc\MiniProfiler.AspNetCore.Mvc.csproj" />
<ProjectReference Include="..\..\src\MiniProfiler.EntityFrameworkCore\MiniProfiler.EntityFrameworkCore.csproj" />
Expand Down
2 changes: 1 addition & 1 deletion samples/Samples.AspNet/Startup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ public void Configure(IApplicationBuilder app, IWebHostEnvironment env)
.Use(async (context, next) =>
{
var nonce = context.RequestServices.GetService<NonceService>()?.RequestNonce;
context.Response.Headers.Add("Content-Security-Policy", $"script-src 'self' 'nonce-{nonce}'");
context.Response.Headers.Append("Content-Security-Policy", $"script-src 'self' 'nonce-{nonce}'");
await next();
})
.UseEndpoints(endpoints =>
Expand Down
Loading

0 comments on commit 2ad33f5

Please sign in to comment.