Skip to content

Commit

Permalink
Lock FSharp.Core dependency to ~v5 (#93)
Browse files Browse the repository at this point in the history
  • Loading branch information
polomani authored Nov 11, 2021
1 parent f961a5d commit f8224a8
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 39 deletions.
4 changes: 2 additions & 2 deletions examples/github/Program.fs
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ let main argv =
use client = new HttpClient()

let context =
Context.defaultContext
|> Context.withHttpClient client
HttpContext.defaultContext
|> HttpContext.withHttpClient client

let request =
GET
Expand Down
31 changes: 17 additions & 14 deletions paket.dependencies
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@ group Main

framework: netstandard2.0

nuget Microsoft.Extensions.Logging
nuget FSharp.Core >= 4.7
nuget Microsoft.Extensions.Logging ~> 5
nuget Microsoft.Extensions.DependencyInjection ~> 5
nuget FSharp.Core ~> 5
nuget Ply
nuget FsToolkit.ErrorHandling ~> 2

Expand All @@ -14,46 +15,48 @@ group Json
storage: none

framework: netstandard2.0
nuget FSharp.Core >= 4.7
nuget System.Text.Json
nuget FSharp.Core ~> 5
nuget System.Text.Json ~> 5
nuget Ply
nuget Oryx >= 3 prerelease
nuget Oryx ~> 4

group Newtonsoft
source https://www.nuget.org/api/v2
storage: none

framework: netstandard2.0
nuget FSharp.Core >= 4.7
nuget Microsoft.NETCore.Platforms ~> 5
nuget FSharp.Core ~> 5
nuget Newtonsoft.Json
nuget Ply
nuget Oryx >= 3 prerelease
nuget Oryx ~> 4

group Thoth
source https://www.nuget.org/api/v2
storage: none

framework: netstandard2.0
nuget FSharp.Core >= 4.7
nuget FSharp.Core ~> 5
nuget Thoth.Json.Net
nuget Ply
nuget Oryx >= 3 prerelease
nuget Oryx ~> 4

group Google
source https://www.nuget.org/api/v2
storage: none

framework: netstandard2.0
nuget FSharp.Core >= 4.7
nuget Microsoft.NETCore.Platforms ~> 5
nuget FSharp.Core ~> 5
nuget Google.Protobuf ~> 3
nuget Ply
nuget Oryx >= 3 prerelease
nuget Oryx ~> 4

group Test
source https://www.nuget.org/api/v2
storage: none

nuget FSharp.Core >= 4.7
nuget FSharp.Core ~> 5
nuget coverlet.msbuild ~> 3
nuget Unquote ~> 5
nuget xunit ~> 2
Expand All @@ -69,6 +72,6 @@ group Examples

nuget Ply
nuget Thoth.Json.Net
nuget Oryx prerelease
nuget Oryx.ThothJsonNet prerelease
nuget Oryx ~> 4
nuget Oryx.ThothJsonNet
nuget Newtonsoft.Json
48 changes: 25 additions & 23 deletions paket.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ STORAGE: NONE
RESTRICTION: == netstandard2.0
NUGET
remote: https://www.nuget.org/api/v2
FSharp.Core (5.0.1)
FSharp.Core (5.0.2)
FsToolkit.ErrorHandling (2.1.2)
FSharp.Core (>= 4.6.2)
Microsoft.Bcl.AsyncInterfaces (5.0)
Expand Down Expand Up @@ -128,21 +128,21 @@ NUGET
System.Threading.Timer (>= 4.3) - restriction: || (&& (< net45) (>= netstandard1.2) (< netstandard1.3) (< win8) (< wpa81)) (&& (< net45) (>= netstandard1.3) (< netstandard1.4) (< win8) (< wpa81)) (&& (< net45) (>= netstandard1.4) (< netstandard1.5) (< win8) (< wpa81)) (&& (< net45) (>= netstandard1.5) (< netstandard1.6) (< win8) (< wpa81)) (&& (< net45) (>= netstandard1.6) (< netstandard2.0) (< win8) (< wpa81)) (&& (< netstandard1.5) (>= uap10.0) (< uap10.1))
System.Xml.ReaderWriter (>= 4.3) - restriction: || (&& (< net45) (>= netstandard1.1) (< netstandard1.2) (< win8)) (&& (< net45) (>= netstandard1.2) (< netstandard1.3) (< win8) (< wpa81)) (&& (< net45) (>= netstandard1.3) (< netstandard1.4) (< win8) (< wpa81)) (&& (< net45) (>= netstandard1.4) (< netstandard1.5) (< win8) (< wpa81)) (&& (< net45) (>= netstandard1.5) (< netstandard1.6) (< win8) (< wpa81)) (&& (< net45) (>= netstandard1.6) (< netstandard2.0) (< win8) (< wpa81)) (&& (>= net46) (< netstandard1.4)) (&& (>= netstandard1.0) (< portable-net45+win8+wpa81) (< wp8)) (&& (< netstandard1.5) (>= uap10.0) (< uap10.1))
System.Xml.XDocument (>= 4.3) - restriction: || (&& (< net45) (>= netstandard1.1) (< netstandard1.2) (< win8)) (&& (< net45) (>= netstandard1.2) (< netstandard1.3) (< win8) (< wpa81)) (&& (< net45) (>= netstandard1.3) (< netstandard1.4) (< win8) (< wpa81)) (&& (< net45) (>= netstandard1.4) (< netstandard1.5) (< win8) (< wpa81)) (&& (< net45) (>= netstandard1.5) (< netstandard1.6) (< win8) (< wpa81)) (&& (< net45) (>= netstandard1.6) (< netstandard2.0) (< win8) (< wpa81)) (&& (>= netstandard1.0) (< portable-net45+win8+wpa81) (< wp8)) (&& (< netstandard1.5) (>= uap10.0) (< uap10.1))
Newtonsoft.Json (12.0.3)
Newtonsoft.Json (13.0.1)
Microsoft.CSharp (>= 4.3) - restriction: || (&& (< net20) (>= netstandard1.0) (< netstandard1.3)) (&& (< net20) (>= netstandard1.3) (< netstandard2.0))
NETStandard.Library (>= 1.6.1) - restriction: || (&& (< net20) (>= netstandard1.0) (< netstandard1.3)) (&& (< net20) (>= netstandard1.3) (< netstandard2.0))
System.ComponentModel.TypeConverter (>= 4.3) - restriction: || (&& (< net20) (>= netstandard1.0) (< netstandard1.3)) (&& (< net20) (>= netstandard1.3) (< netstandard2.0))
System.Runtime.Serialization.Formatters (>= 4.3) - restriction: && (< net20) (>= netstandard1.3) (< netstandard2.0)
System.Runtime.Serialization.Primitives (>= 4.3) - restriction: || (&& (< net20) (>= netstandard1.0) (< netstandard1.3)) (&& (< net20) (>= netstandard1.3) (< netstandard2.0))
System.Xml.XmlDocument (>= 4.3) - restriction: && (< net20) (>= netstandard1.3) (< netstandard2.0)
Oryx (3.0.0-beta-004)
Oryx (4.1)
FSharp.Core (>= 5.0.1) - restriction: >= netstandard2.0
FsToolkit.ErrorHandling (>= 2.1.2) - restriction: >= netstandard2.0
Microsoft.Extensions.Logging (>= 5.0) - restriction: >= netstandard2.0
Ply (>= 0.3.1) - restriction: >= netstandard2.0
Oryx.ThothJsonNet (3.0.0-beta-004)
Oryx.ThothJsonNet (4.1)
FSharp.Core (>= 5.0.1) - restriction: >= netstandard2.0
Oryx (>= 3.0.0-beta-004) - restriction: >= netstandard2.0
Oryx (>= 4.1) - restriction: >= netstandard2.0
Ply (>= 0.3.1) - restriction: >= netstandard2.0
Thoth.Json.Net (>= 5.0) - restriction: >= netstandard2.0
Ply (0.3.1)
Expand Down Expand Up @@ -678,7 +678,7 @@ NUGET
System.Text.Encoding (>= 4.3) - restriction: && (< monoandroid) (< monotouch) (< net46) (>= netstandard1.3) (< xamarinios) (< xamarinmac) (< xamarintvos) (< xamarinwatchos)
System.Threading (>= 4.3) - restriction: && (< monoandroid) (< monotouch) (< net46) (>= netstandard1.3) (< xamarinios) (< xamarinmac) (< xamarintvos) (< xamarinwatchos)
System.Xml.ReaderWriter (>= 4.3) - restriction: && (< monoandroid) (< monotouch) (< net46) (>= netstandard1.3) (< xamarinios) (< xamarinmac) (< xamarintvos) (< xamarinwatchos)
Thoth.Json.Net (5.0)
Thoth.Json.Net (7.1)
Fable.Core (>= 3.0 < 4.0) - restriction: && (< net46) (>= netstandard2.0)
FSharp.Core (>= 4.7.2) - restriction: || (>= net46) (>= netstandard2.0)
Newtonsoft.Json (>= 11.0.2) - restriction: || (>= net46) (>= netstandard2.0)
Expand All @@ -688,9 +688,9 @@ STORAGE: NONE
RESTRICTION: == netstandard2.0
NUGET
remote: https://www.nuget.org/api/v2
FSharp.Core (5.0.1)
FsToolkit.ErrorHandling (2.1.2)
FSharp.Core (>= 4.6.2)
FSharp.Core (5.0.2)
FsToolkit.ErrorHandling (2.9)
FSharp.Core (>= 4.7)
Google.Protobuf (3.15.4)
System.Memory (>= 4.5.3)
System.Runtime.CompilerServices.Unsafe (>= 4.5.2)
Expand All @@ -715,7 +715,8 @@ NUGET
System.Buffers (>= 4.5.1)
System.Memory (>= 4.5.4)
System.Runtime.CompilerServices.Unsafe (>= 5.0)
Oryx (3.0.0-beta-004)
Microsoft.NETCore.Platforms (5.0.4)
Oryx (4.1)
FSharp.Core (>= 5.0.1)
FsToolkit.ErrorHandling (>= 2.1.2)
Microsoft.Extensions.Logging (>= 5.0)
Expand All @@ -741,9 +742,9 @@ STORAGE: NONE
RESTRICTION: == netstandard2.0
NUGET
remote: https://www.nuget.org/api/v2
FSharp.Core (5.0.1)
FsToolkit.ErrorHandling (2.1.2)
FSharp.Core (>= 4.6.2)
FSharp.Core (5.0.2)
FsToolkit.ErrorHandling (2.9)
FSharp.Core (>= 4.7)
Microsoft.Bcl.AsyncInterfaces (5.0)
System.Threading.Tasks.Extensions (>= 4.5.4)
Microsoft.Extensions.DependencyInjection (5.0.1)
Expand All @@ -765,7 +766,7 @@ NUGET
System.Buffers (>= 4.5.1)
System.Memory (>= 4.5.4)
System.Runtime.CompilerServices.Unsafe (>= 5.0)
Oryx (3.0.0-beta-004)
Oryx (4.1)
FSharp.Core (>= 5.0.1)
FsToolkit.ErrorHandling (>= 2.1.2)
Microsoft.Extensions.Logging (>= 5.0)
Expand Down Expand Up @@ -801,9 +802,9 @@ STORAGE: NONE
RESTRICTION: == netstandard2.0
NUGET
remote: https://www.nuget.org/api/v2
FSharp.Core (5.0.1)
FsToolkit.ErrorHandling (2.1.2)
FSharp.Core (>= 4.6.2)
FSharp.Core (5.0.2)
FsToolkit.ErrorHandling (2.9)
FSharp.Core (>= 4.7)
Microsoft.Bcl.AsyncInterfaces (5.0)
System.Threading.Tasks.Extensions (>= 4.5.4)
Microsoft.Extensions.DependencyInjection (5.0.1)
Expand All @@ -825,8 +826,9 @@ NUGET
System.Buffers (>= 4.5.1)
System.Memory (>= 4.5.4)
System.Runtime.CompilerServices.Unsafe (>= 5.0)
Microsoft.NETCore.Platforms (5.0.4)
Newtonsoft.Json (12.0.3)
Oryx (3.0.0-beta-004)
Oryx (4.1)
FSharp.Core (>= 5.0.1)
FsToolkit.ErrorHandling (>= 2.1.2)
Microsoft.Extensions.Logging (>= 5.0)
Expand Down Expand Up @@ -860,7 +862,7 @@ NUGET
FsCheck.Xunit (2.15.1)
FsCheck (2.15.1)
xunit.extensibility.execution (>= 2.2 < 3.0)
FSharp.Core (5.0.1)
FSharp.Core (5.0.2)
Microsoft.CodeCoverage (16.9.1) - restriction: || (>= net45) (>= netcoreapp1.0)
Microsoft.NET.Test.Sdk (16.9.1)
Microsoft.CodeCoverage (>= 16.9.1) - restriction: || (>= net45) (>= netcoreapp1.0)
Expand Down Expand Up @@ -1614,9 +1616,9 @@ NUGET
remote: https://www.nuget.org/api/v2
Fable.Core (3.2.4)
FSharp.Core (>= 4.7.2)
FSharp.Core (5.0.1)
FsToolkit.ErrorHandling (2.1.2)
FSharp.Core (>= 4.6.2)
FSharp.Core (5.0.2)
FsToolkit.ErrorHandling (2.9)
FSharp.Core (>= 4.7)
Microsoft.Bcl.AsyncInterfaces (5.0)
System.Threading.Tasks.Extensions (>= 4.5.4)
Microsoft.Extensions.DependencyInjection (5.0.1)
Expand All @@ -1639,7 +1641,7 @@ NUGET
System.Memory (>= 4.5.4)
System.Runtime.CompilerServices.Unsafe (>= 5.0)
Newtonsoft.Json (12.0.3)
Oryx (3.0.0-beta-004)
Oryx (4.1)
FSharp.Core (>= 5.0.1)
FsToolkit.ErrorHandling (>= 2.1.2)
Microsoft.Extensions.Logging (>= 5.0)
Expand Down

0 comments on commit f8224a8

Please sign in to comment.