Skip to content

Commit

Permalink
Dependencies upgrade for net5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
et1975 committed Jul 12, 2021
1 parent b63e2c4 commit 97bc340
Show file tree
Hide file tree
Showing 11 changed files with 49 additions and 75 deletions.
2 changes: 1 addition & 1 deletion .config/dotnet-tools.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"isRoot": true,
"tools": {
"fake-cli": {
"version": "5.20.3",
"version": "5.20.4",
"commands": [
"fake"
]
Expand Down
6 changes: 3 additions & 3 deletions AAD.Giraffe/AAD.Giraffe.fsproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<TargetFramework>net5.0</TargetFramework>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
</PropertyGroup>
<ItemGroup>
Expand All @@ -12,8 +12,8 @@
<Compile Include="Noop.fs" />
</ItemGroup>
<ItemGroup>
<PackageReference Update="FSharp.Core" Version="4.6.2" />
<PackageReference Include="Giraffe" Version="3.6.*" />
<PackageReference Update="FSharp.Core" Version="5.0.0" />
<PackageReference Include="Giraffe" Version="5.*" />
<PackageReference Include="System.IdentityModel.Tokens.Jwt" Version="5.6.0" />
<PackageReference Include="Microsoft.AspNetCore.Hosting.Abstractions" Version="2.2.*" />
</ItemGroup>
Expand Down
6 changes: 3 additions & 3 deletions AAD.Suave/AAD.Suave.fsproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<TargetFramework>net5.0</TargetFramework>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
</PropertyGroup>
<ItemGroup>
Expand All @@ -12,8 +12,8 @@
<Compile Include="Noop.fs" />
</ItemGroup>
<ItemGroup>
<PackageReference Update="FSharp.Core" Version="4.6.2" />
<PackageReference Update="FSharp.Core" Version="5.0.0" />
<PackageReference Include="System.IdentityModel.Tokens.Jwt" Version="5.6.0" />
<PackageReference Include="Suave" Version="2.5.*" />
<PackageReference Include="Suave" Version="2.6.*" />
</ItemGroup>
</Project>
4 changes: 2 additions & 2 deletions AAD.Test/AAD.Test.fsproj
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.1.0" />
<PackageReference Include="Serilog.Sinks.XUnit" Version="1.0.6" />
<PackageReference Include="Suave" Version="2.5.4" />
<PackageReference Include="Suave" Version="2.6.*" />
<PackageReference Include="unquote" Version="4.0.0" />
<PackageReference Include="xunit" Version="2.4.0" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.0">
Expand All @@ -38,6 +38,6 @@
<ProjectReference Include="..\AAD.Suave\AAD.Suave.fsproj" />
</ItemGroup>
<ItemGroup>
<PackageReference Update="FSharp.Core" Version="4.6.2" />
<PackageReference Update="FSharp.Core" Version="5.0.0" />
</ItemGroup>
</Project>
2 changes: 1 addition & 1 deletion AAD.Test/TestsCommon.fs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ let oidcConfig =
module Http =
open System.Net

let waitFor method period url =
let waitFor method (period:int) url =
async {
use client = new HttpClient()
let rec poll sleep =
Expand Down
4 changes: 2 additions & 2 deletions AAD.fs.tasks/AAD.fs.tasks.fsproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<TargetFramework>net5.0</TargetFramework>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<DefineConstants>TASKS</DefineConstants>
</PropertyGroup>
Expand All @@ -12,7 +12,7 @@
<Compile Include="../AAD.fs/Requestor.fs" />
</ItemGroup>
<ItemGroup>
<PackageReference Update="FSharp.Core" Version="4.6.2" />
<PackageReference Update="FSharp.Core" Version="5.0.0" />
<PackageReference Include="TaskBuilder.fs" Version="2.1.0" />
<PackageReference Include="Microsoft.Identity.Client" Version="4.6.0" />
<PackageReference Include="System.IdentityModel.Tokens.Jwt" Version="5.6.0" />
Expand Down
4 changes: 2 additions & 2 deletions AAD.fs/AAD.fs.fsproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<TargetFramework>net5.0</TargetFramework>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
</PropertyGroup>
<ItemGroup>
Expand All @@ -11,7 +11,7 @@
<Compile Include="ResourceOwner.fs" />
</ItemGroup>
<ItemGroup>
<PackageReference Update="FSharp.Core" Version="4.6.2" />
<PackageReference Update="FSharp.Core" Version="5.0.0" />
<PackageReference Include="TaskBuilder.fs" Version="2.1.0" />
<PackageReference Include="Microsoft.Identity.Client" Version="4.6.0" />
<PackageReference Include="System.IdentityModel.Tokens.Jwt" Version="5.6.0" />
Expand Down
5 changes: 2 additions & 3 deletions AAD.tasks.Test/AAD.tasks.Test.fsproj
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,13 @@
<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.1.0" />
<PackageReference Include="Serilog.Sinks.XUnit" Version="1.0.6" />
<PackageReference Include="Giraffe" Version="3.6.*" />
<PackageReference Include="unquote" Version="4.0.0" />
<PackageReference Include="xunit" Version="2.4.0" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
<PackageReference Include="Newtonsoft.Json" Version="12.0.1" />
<PackageReference Include="Newtonsoft.Json" Version="12.*" />
<PackageReference Include="System.IdentityModel.Tokens.Jwt" Version="5.*" />
<PackageReference Include="Microsoft.Extensions.Configuration.Binder" Version="2.1.1" />
<PackageReference Include="Microsoft.Extensions.Configuration.UserSecrets" Version="2.1.1" />
Expand All @@ -36,6 +35,6 @@
<ProjectReference Include="..\AAD.Giraffe\AAD.Giraffe.fsproj" />
</ItemGroup>
<ItemGroup>
<PackageReference Update="FSharp.Core" Version="4.6.2" />
<PackageReference Update="FSharp.Core" Version="5.0.0" />
</ItemGroup>
</Project>
2 changes: 1 addition & 1 deletion AAD.tasks.Test/TestsCommon.fs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ module Http =
open System.Net
open FSharp.Control.Tasks.V2.ContextInsensitive

let waitFor method period url =
let waitFor method (period:int) url =
task {
use client = new HttpClient()
let rec poll sleep =
Expand Down
4 changes: 4 additions & 0 deletions RELEASE_NOTES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
### 3.0.0

* Breaking: dependencies bump and net5.0 target

### 2.0.0

* Breaking API change: load OIDC configuration on demand and refresh every 24h
Expand Down
85 changes: 28 additions & 57 deletions build.fsx.lock
Original file line number Diff line number Diff line change
Expand Up @@ -104,29 +104,33 @@ NUGET
FSharp.Core (>= 4.7.2)
System.Reactive (>= 5.0)
FSharp.Core (4.7.2)
Microsoft.Build (16.9)
Microsoft.Build.Framework (16.9)
Microsoft.Build (16.10)
Microsoft.Build.Framework (16.10)
System.Security.Permissions (>= 4.7)
Microsoft.Build.Tasks.Core (16.9)
Microsoft.Build.Framework (>= 16.9)
Microsoft.Build.Utilities.Core (>= 16.9)
Microsoft.Build.Tasks.Core (16.10)
Microsoft.Build.Framework (>= 16.10)
Microsoft.Build.Utilities.Core (>= 16.10)
Microsoft.NET.StringTools (>= 1.0)
Microsoft.Win32.Registry (>= 4.3)
System.CodeDom (>= 4.4)
System.Collections.Immutable (>= 5.0)
System.Reflection.Metadata (>= 1.6)
System.Reflection.TypeExtensions (>= 4.1)
System.Resources.Extensions (>= 4.6)
System.Runtime.InteropServices (>= 4.3)
System.Security.Cryptography.Pkcs (>= 4.7)
System.Security.Cryptography.Xml (>= 4.7)
System.Security.Permissions (>= 4.7)
System.Threading.Tasks.Dataflow (>= 4.9)
Microsoft.Build.Utilities.Core (16.9)
Microsoft.Build.Framework (>= 16.9)
Microsoft.Build.Utilities.Core (16.10)
Microsoft.Build.Framework (>= 16.10)
Microsoft.NET.StringTools (>= 1.0)
Microsoft.Win32.Registry (>= 4.3)
System.Collections.Immutable (>= 5.0)
System.Configuration.ConfigurationManager (>= 4.7)
System.Security.Permissions (>= 4.7)
System.Text.Encoding.CodePages (>= 4.0.1)
Microsoft.NET.StringTools (1.0)
System.Memory (>= 4.5.4)
System.Runtime.CompilerServices.Unsafe (>= 5.0)
Microsoft.NETCore.Platforms (5.0.2)
Microsoft.NETCore.Targets (5.0)
Microsoft.Win32.Registry (5.0)
Expand All @@ -135,40 +139,37 @@ NUGET
System.Security.AccessControl (>= 5.0)
System.Security.Principal.Windows (>= 5.0)
Mono.Posix.NETStandard (1.0)
MSBuild.StructuredLogger (2.1.404)
MSBuild.StructuredLogger (2.1.507)
Microsoft.Build (>= 16.4)
Microsoft.Build.Framework (>= 16.4)
Microsoft.Build.Tasks.Core (>= 16.4)
Microsoft.Build.Utilities.Core (>= 16.4)
Newtonsoft.Json (13.0.1)
NuGet.Common (5.9.1)
NuGet.Frameworks (>= 5.9.1)
NuGet.Configuration (5.9.1)
NuGet.Common (>= 5.9.1)
NuGet.Common (5.10)
NuGet.Frameworks (>= 5.10)
NuGet.Configuration (5.10)
NuGet.Common (>= 5.10)
System.Security.Cryptography.ProtectedData (>= 4.4)
NuGet.Frameworks (5.9.1)
NuGet.Packaging (5.9.1)
NuGet.Frameworks (5.10)
NuGet.Packaging (5.10)
Newtonsoft.Json (>= 9.0.1)
NuGet.Configuration (>= 5.9.1)
NuGet.Versioning (>= 5.9.1)
NuGet.Configuration (>= 5.10)
NuGet.Versioning (>= 5.10)
System.Security.Cryptography.Cng (>= 5.0)
System.Security.Cryptography.Pkcs (>= 5.0)
NuGet.Protocol (5.9.1)
NuGet.Packaging (>= 5.9.1)
NuGet.Versioning (5.9.1)
NuGet.Protocol (5.10)
NuGet.Packaging (>= 5.10)
NuGet.Versioning (5.10)
System.Buffers (4.5.1)
System.CodeDom (5.0)
System.Collections.Immutable (5.0)
System.Memory (>= 4.5.4)
System.Configuration.ConfigurationManager (5.0)
System.Security.Cryptography.ProtectedData (>= 5.0)
System.Security.Permissions (>= 5.0)
System.Formats.Asn1 (5.0)
System.Buffers (>= 4.5.1)
System.Memory (>= 4.5.4)
System.IO (4.3)
Microsoft.NETCore.Platforms (>= 1.1)
Microsoft.NETCore.Targets (>= 1.1)
System.Runtime (>= 4.3)
System.Text.Encoding (>= 4.3)
System.Threading.Tasks (>= 4.3)
System.Memory (4.5.4)
System.Buffers (>= 4.5.1)
System.Numerics.Vectors (>= 4.4)
Expand All @@ -177,36 +178,14 @@ NUGET
System.Reactive (5.0)
System.Runtime.InteropServices.WindowsRuntime (>= 4.3)
System.Threading.Tasks.Extensions (>= 4.5.4)
System.Reflection (4.3)
Microsoft.NETCore.Platforms (>= 1.1)
Microsoft.NETCore.Targets (>= 1.1)
System.IO (>= 4.3)
System.Reflection.Primitives (>= 4.3)
System.Runtime (>= 4.3)
System.Reflection.Metadata (5.0)
System.Collections.Immutable (>= 5.0)
System.Reflection.Primitives (4.3)
Microsoft.NETCore.Platforms (>= 1.1)
Microsoft.NETCore.Targets (>= 1.1)
System.Runtime (>= 4.3)
System.Reflection.TypeExtensions (4.7)
System.Resources.Extensions (5.0)
System.Memory (>= 4.5.4)
System.Runtime (4.3.1)
Microsoft.NETCore.Platforms (>= 1.1.1)
Microsoft.NETCore.Targets (>= 1.1.3)
System.Runtime.CompilerServices.Unsafe (5.0)
System.Runtime.Handles (4.3)
Microsoft.NETCore.Platforms (>= 1.1)
Microsoft.NETCore.Targets (>= 1.1)
System.Runtime (>= 4.3)
System.Runtime.InteropServices (4.3)
Microsoft.NETCore.Platforms (>= 1.1)
Microsoft.NETCore.Targets (>= 1.1)
System.Reflection (>= 4.3)
System.Reflection.Primitives (>= 4.3)
System.Runtime (>= 4.3)
System.Runtime.Handles (>= 4.3)
System.Runtime.InteropServices.WindowsRuntime (4.3)
System.Runtime (>= 4.3)
System.Security.AccessControl (5.0)
Expand All @@ -226,16 +205,8 @@ NUGET
System.Security.Permissions (5.0)
System.Security.AccessControl (>= 5.0)
System.Security.Principal.Windows (5.0)
System.Text.Encoding (4.3)
Microsoft.NETCore.Platforms (>= 1.1)
Microsoft.NETCore.Targets (>= 1.1)
System.Runtime (>= 4.3)
System.Text.Encoding.CodePages (5.0)
System.Runtime.CompilerServices.Unsafe (>= 5.0)
System.Threading.Tasks (4.3)
Microsoft.NETCore.Platforms (>= 1.1)
Microsoft.NETCore.Targets (>= 1.1)
System.Runtime (>= 4.3)
System.Threading.Tasks.Dataflow (5.0)
System.Threading.Tasks.Extensions (4.5.4)
System.Runtime.CompilerServices.Unsafe (>= 4.5.3)

0 comments on commit 97bc340

Please sign in to comment.