Skip to content

Commit

Permalink
Update to .NET 8
Browse files Browse the repository at this point in the history
  • Loading branch information
cartermp committed Nov 15, 2024
1 parent 5735829 commit 178cd7f
Show file tree
Hide file tree
Showing 16 changed files with 482 additions and 672 deletions.
4 changes: 2 additions & 2 deletions .config/dotnet-tools.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
"isRoot": true,
"tools": {
"paket": {
"version": "7.2.1",
"version": "9.0.0",
"commands": ["paket"]
},
"fsdocs-tool": {
"version": "18.1.0",
"version": "21.0.0-beta-003",
"commands": ["fsdocs"]
}
}
Expand Down
5 changes: 5 additions & 0 deletions RELEASE_NOTES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
### 4.2.0

* Update TFMs and packages
* Bump .NET Interactive dependencies

### 4.1.0

* some stuff
Expand Down
6 changes: 0 additions & 6 deletions global.json

This file was deleted.

2 changes: 1 addition & 1 deletion paket.dependencies
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ group Formatting

group Test
source https://api.nuget.org/v3/index.json
frameworks: net7.0
frameworks: net8.0

nuget Expecto
1,073 changes: 444 additions & 629 deletions paket.lock

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions src/XPlot.D3/AssemblyInfo.fs
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ open System.Reflection
[<assembly: AssemblyTitleAttribute("XPlot.D3")>]
[<assembly: AssemblyProductAttribute("XPlot")>]
[<assembly: AssemblyDescriptionAttribute("Data visualization library for F#")>]
[<assembly: AssemblyVersionAttribute("4.1.0")>]
[<assembly: AssemblyFileVersionAttribute("4.1.0")>]
[<assembly: AssemblyVersionAttribute("4.2.0")>]
[<assembly: AssemblyFileVersionAttribute("4.2.0")>]
do ()

module internal AssemblyVersionInformation =
let [<Literal>] AssemblyTitle = "XPlot.D3"
let [<Literal>] AssemblyProduct = "XPlot"
let [<Literal>] AssemblyDescription = "Data visualization library for F#"
let [<Literal>] AssemblyVersion = "4.1.0"
let [<Literal>] AssemblyFileVersion = "4.1.0"
let [<Literal>] AssemblyVersion = "4.2.0"
let [<Literal>] AssemblyFileVersion = "4.2.0"
8 changes: 4 additions & 4 deletions src/XPlot.GoogleCharts.Deedle/AssemblyInfo.fs
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ open System.Reflection
[<assembly: AssemblyTitleAttribute("XPlot.GoogleCharts.Deedle")>]
[<assembly: AssemblyProductAttribute("XPlot")>]
[<assembly: AssemblyDescriptionAttribute("Data visualization library for F#")>]
[<assembly: AssemblyVersionAttribute("4.1.0")>]
[<assembly: AssemblyFileVersionAttribute("4.1.0")>]
[<assembly: AssemblyVersionAttribute("4.2.0")>]
[<assembly: AssemblyFileVersionAttribute("4.2.0")>]
do ()

module internal AssemblyVersionInformation =
let [<Literal>] AssemblyTitle = "XPlot.GoogleCharts.Deedle"
let [<Literal>] AssemblyProduct = "XPlot"
let [<Literal>] AssemblyDescription = "Data visualization library for F#"
let [<Literal>] AssemblyVersion = "4.1.0"
let [<Literal>] AssemblyFileVersion = "4.1.0"
let [<Literal>] AssemblyVersion = "4.2.0"
let [<Literal>] AssemblyFileVersion = "4.2.0"
8 changes: 4 additions & 4 deletions src/XPlot.GoogleCharts/AssemblyInfo.fs
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ open System.Reflection
[<assembly: AssemblyTitleAttribute("XPlot.GoogleCharts")>]
[<assembly: AssemblyProductAttribute("XPlot")>]
[<assembly: AssemblyDescriptionAttribute("Data visualization library for F#")>]
[<assembly: AssemblyVersionAttribute("4.1.0")>]
[<assembly: AssemblyFileVersionAttribute("4.1.0")>]
[<assembly: AssemblyVersionAttribute("4.2.0")>]
[<assembly: AssemblyFileVersionAttribute("4.2.0")>]
do ()

module internal AssemblyVersionInformation =
let [<Literal>] AssemblyTitle = "XPlot.GoogleCharts"
let [<Literal>] AssemblyProduct = "XPlot"
let [<Literal>] AssemblyDescription = "Data visualization library for F#"
let [<Literal>] AssemblyVersion = "4.1.0"
let [<Literal>] AssemblyFileVersion = "4.1.0"
let [<Literal>] AssemblyVersion = "4.2.0"
let [<Literal>] AssemblyFileVersion = "4.2.0"
8 changes: 4 additions & 4 deletions src/XPlot.Plotly.Interactive/AssemblyInfo.fs
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ open System.Reflection
[<assembly: AssemblyTitleAttribute("XPlot.Plotly.Interactive")>]
[<assembly: AssemblyProductAttribute("XPlot")>]
[<assembly: AssemblyDescriptionAttribute("Data visualization library for F#")>]
[<assembly: AssemblyVersionAttribute("4.1.0")>]
[<assembly: AssemblyFileVersionAttribute("4.1.0")>]
[<assembly: AssemblyVersionAttribute("4.2.0")>]
[<assembly: AssemblyFileVersionAttribute("4.2.0")>]
do ()

module internal AssemblyVersionInformation =
let [<Literal>] AssemblyTitle = "XPlot.Plotly.Interactive"
let [<Literal>] AssemblyProduct = "XPlot"
let [<Literal>] AssemblyDescription = "Data visualization library for F#"
let [<Literal>] AssemblyVersion = "4.1.0"
let [<Literal>] AssemblyFileVersion = "4.1.0"
let [<Literal>] AssemblyVersion = "4.2.0"
let [<Literal>] AssemblyFileVersion = "4.2.0"
10 changes: 5 additions & 5 deletions src/XPlot.Plotly.Interactive/XPlot.Plotly.Interactive.fsproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

<PropertyGroup>
<OutputType>Library</OutputType>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<PackageId>XPlot.Plotly.Interactive</PackageId>
<IsPackable>true</IsPackable>
<PackageVersion>4.1.0</PackageVersion>
<PackageVersion>4.2.0</PackageVersion>
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
<RepositoryType>git</RepositoryType>
<PackageProjectUrl>https://fslab.org/XPlot/</PackageProjectUrl>
Expand All @@ -23,9 +23,9 @@

<ItemGroup>
<PackageReference Include="Giraffe.ViewEngine" Version="1.2.0" />
<PackageReference Include="Microsoft.DotNet.Interactive" Version="1.0.0-beta.23258.3" />
<PackageReference Include="Microsoft.DotNet.Interactive.PowerShell" Version="1.0.0-beta.23258.3" />
<PackageReference Include="Microsoft.Dotnet.Interactive.http" Version="1.0.0-beta.23258.3" />
<PackageReference Include="Microsoft.DotNet.Interactive" Version="1.0.0-beta.24563.1" />
<PackageReference Include="Microsoft.DotNet.Interactive.PowerShell" Version="1.0.0-beta.24563.1" />
<PackageReference Include="Microsoft.Dotnet.Interactive.http" Version="1.0.0-beta.24563.1" />
</ItemGroup>

<ItemGroup>
Expand Down
8 changes: 4 additions & 4 deletions src/XPlot.Plotly/AssemblyInfo.fs
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ open System.Reflection
[<assembly: AssemblyTitleAttribute("XPlot.Plotly")>]
[<assembly: AssemblyProductAttribute("XPlot")>]
[<assembly: AssemblyDescriptionAttribute("Data visualization library for F#")>]
[<assembly: AssemblyVersionAttribute("4.1.0")>]
[<assembly: AssemblyFileVersionAttribute("4.1.0")>]
[<assembly: AssemblyVersionAttribute("4.2.0")>]
[<assembly: AssemblyFileVersionAttribute("4.2.0")>]
do ()

module internal AssemblyVersionInformation =
let [<Literal>] AssemblyTitle = "XPlot.Plotly"
let [<Literal>] AssemblyProduct = "XPlot"
let [<Literal>] AssemblyDescription = "Data visualization library for F#"
let [<Literal>] AssemblyVersion = "4.1.0"
let [<Literal>] AssemblyFileVersion = "4.1.0"
let [<Literal>] AssemblyVersion = "4.2.0"
let [<Literal>] AssemblyFileVersion = "4.2.0"
2 changes: 1 addition & 1 deletion src/XPlot.Plotly/XPlot.Plotly.fsproj
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,6 @@
</ItemGroup>
<ItemGroup>
<PackageReference Update="FSharp.Core" Version="4.7.2" />
<PackageReference Include="Newtonsoft.Json" Version="12.0.3" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
</ItemGroup>
</Project>
6 changes: 1 addition & 5 deletions tests/XPlot.Plotly.Tests/Program.fs
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,7 @@ open Expecto

[<EntryPoint>]
let main args =
let config =
{ defaultConfig with
verbosity = Logging.LogLevel.Verbose }
let asmName = System.Reflection.Assembly.GetExecutingAssembly().GetName().Name
let fileName = sprintf "bin/TestResults-%s-%O.xml" asmName (System.Environment.OSVersion)
let writeResults = TestResults.writeNUnitSummary fileName
let config = config.appendSummaryHandler writeResults
runTestsInAssembly config args
runTestsInAssemblyWithCLIArgs [] args
2 changes: 1 addition & 1 deletion tests/XPlot.Plotly.Tests/XPlot.Plotly.Tests.fsproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<OutputType>Exe</OutputType>
</PropertyGroup>
<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion tools/BaselineGenerator/BaselineGenerator.fsproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>netcoreapp3.1</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
</PropertyGroup>
<ItemGroup>
<Compile Include="../../tests/TestData/XPlot.Plotly/Shapes.fs" Link="XPlot.Plotly/Shapes.fs" />
Expand Down
2 changes: 1 addition & 1 deletion tools/StaticDataGenerator/StaticDataGenerator.fsproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>netcoreapp3.1</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
</PropertyGroup>
<ItemGroup>
<Compile Include="Program.fs" />
Expand Down

0 comments on commit 178cd7f

Please sign in to comment.