Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
<PackageProjectUrl>https://fsprojects.github.io/FSharp.Data</PackageProjectUrl>
<PackageIconUrl>https://raw.githubusercontent.com/fsprojects/FSharp.Data/master/docs/img/logo.png</PackageIconUrl>
<RepositoryType>git</RepositoryType>
<Product>FSharp.Data</Product>
<AssemblyDescription>Library of F# type providers and data access tools</AssemblyDescription>
<SignAssembly>true</SignAssembly>
<AssemblyOriginatorKeyFile>$(MSBuildThisFileDirectory)src\keyfile.snk</AssemblyOriginatorKeyFile>
<PublicSign>false</PublicSign>
Expand Down
4 changes: 4 additions & 0 deletions RELEASE_NOTES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Release Notes

## 8.1.14 - May 09 2026

- Eng: Remove manual `AssemblyInfo*.fs` files; use SDK-generated assembly attributes instead.

## 8.1.13 - May 08 2026

- Performance: `HtmlNode.serialize` no longer allocates a temporary `string` on each newline/indentation step; uses `StringBuilder.Append(char, int)` overload directly. `isVoidElement` set is now computed once at module initialisation instead of being re-created on every `HtmlNode.ToString()` call. `HtmlDocument.ToString()` uses a single `StringBuilder` for the whole document instead of `List.map … |> String.Concat`.
Expand Down
30 changes: 4 additions & 26 deletions build/build.fs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
(!!includes).SetBaseDirectory(__SOURCE_DIRECTORY__ </> "..")

// --------------------------------------------------------------------------------------
// Information about the project to be used at NuGet and in AssemblyInfo files
// Information about the project to be used at NuGet
// --------------------------------------------------------------------------------------

let project = "FSharp.Data"
Expand Down Expand Up @@ -56,27 +56,6 @@

let isCI = Environment.GetEnvironmentVariable("CI") <> null

// --------------------------------------------------------------------------------------
// Generate assembly info files with the right version & up-to-date information

Target.create "AssemblyInfo" (fun _ ->
for file in !!"src/AssemblyInfo*.fs" do
let replace (oldValue: string) newValue (str: string) = str.Replace(oldValue, newValue)

let title =
Path.GetFileNameWithoutExtension file |> replace "AssemblyInfo" "FSharp.Data"

let versionSuffix = ".0"
let version = release.AssemblyVersion + versionSuffix

AssemblyInfoFile.createFSharp
file
[ AssemblyInfo.Title title
AssemblyInfo.Product project
AssemblyInfo.Description summary
AssemblyInfo.Version version
AssemblyInfo.FileVersion version ])

// --------------------------------------------------------------------------------------
// Clean build results

Expand Down Expand Up @@ -110,6 +89,7 @@
Configuration = DotNet.BuildConfiguration.Release
MSBuildParams =
{ o.MSBuildParams with
Properties = [ ("Version", release.NugetVersion) ]
DisableInternalBinLog = true } }))

Target.create "RunTests" (fun _ ->
Expand Down Expand Up @@ -217,9 +197,7 @@
printfn "")

let sourceFiles =
!!"src/**/*.fs" ++ "src/**/*.fsi" ++ "build/build.fs"
-- "src/**/obj/**/*.fs"
-- "src/AssemblyInfo*.fs"
!!"src/**/*.fs" ++ "src/**/*.fsi" ++ "build/build.fs" -- "src/**/obj/**/*.fs"

Target.create "Format" (fun _ ->
let result =
Expand Down Expand Up @@ -267,14 +245,14 @@

Target.create "All" ignore

"Clean" ==> "AssemblyInfo" ==> "CheckFormat" ==> "Build"
"Clean" ==> "CheckFormat" ==> "Build"

Check warning on line 248 in build/build.fs

View workflow job for this annotation

GitHub Actions / build-ubuntu

The result of this expression has type 'string' and is implicitly ignored. Consider using 'ignore' to discard this value explicitly, e.g. 'expr |> ignore', or 'let' to bind the result to a name, e.g. 'let result = expr'.

Check warning on line 248 in build/build.fs

View workflow job for this annotation

GitHub Actions / build-windows

The result of this expression has type 'string' and is implicitly ignored. Consider using 'ignore' to discard this value explicitly, e.g. 'expr |> ignore', or 'let' to bind the result to a name, e.g. 'let result = expr'.

Check warning on line 248 in build/build.fs

View workflow job for this annotation

GitHub Actions / check-format

The result of this expression has type 'string' and is implicitly ignored. Consider using 'ignore' to discard this value explicitly, e.g. 'expr |> ignore', or 'let' to bind the result to a name, e.g. 'let result = expr'.

"Build" ==> "CleanDocs" ==> "GenerateDocs" ==> "All"

Check warning on line 250 in build/build.fs

View workflow job for this annotation

GitHub Actions / build-ubuntu

The result of this expression has type 'string' and is implicitly ignored. Consider using 'ignore' to discard this value explicitly, e.g. 'expr |> ignore', or 'let' to bind the result to a name, e.g. 'let result = expr'.

Check warning on line 250 in build/build.fs

View workflow job for this annotation

GitHub Actions / build-windows

The result of this expression has type 'string' and is implicitly ignored. Consider using 'ignore' to discard this value explicitly, e.g. 'expr |> ignore', or 'let' to bind the result to a name, e.g. 'let result = expr'.

Check warning on line 250 in build/build.fs

View workflow job for this annotation

GitHub Actions / check-format

The result of this expression has type 'string' and is implicitly ignored. Consider using 'ignore' to discard this value explicitly, e.g. 'expr |> ignore', or 'let' to bind the result to a name, e.g. 'let result = expr'.

"Build" ==> "Pack" ==> "All"

Check warning on line 252 in build/build.fs

View workflow job for this annotation

GitHub Actions / build-ubuntu

The result of this expression has type 'string' and is implicitly ignored. Consider using 'ignore' to discard this value explicitly, e.g. 'expr |> ignore', or 'let' to bind the result to a name, e.g. 'let result = expr'.

Check warning on line 252 in build/build.fs

View workflow job for this annotation

GitHub Actions / build-windows

The result of this expression has type 'string' and is implicitly ignored. Consider using 'ignore' to discard this value explicitly, e.g. 'expr |> ignore', or 'let' to bind the result to a name, e.g. 'let result = expr'.

Check warning on line 252 in build/build.fs

View workflow job for this annotation

GitHub Actions / check-format

The result of this expression has type 'string' and is implicitly ignored. Consider using 'ignore' to discard this value explicitly, e.g. 'expr |> ignore', or 'let' to bind the result to a name, e.g. 'let result = expr'.
"Build" ==> "All"

Check warning on line 253 in build/build.fs

View workflow job for this annotation

GitHub Actions / build-ubuntu

The result of this expression has type 'string' and is implicitly ignored. Consider using 'ignore' to discard this value explicitly, e.g. 'expr |> ignore', or 'let' to bind the result to a name, e.g. 'let result = expr'.

Check warning on line 253 in build/build.fs

View workflow job for this annotation

GitHub Actions / build-windows

The result of this expression has type 'string' and is implicitly ignored. Consider using 'ignore' to discard this value explicitly, e.g. 'expr |> ignore', or 'let' to bind the result to a name, e.g. 'let result = expr'.

Check warning on line 253 in build/build.fs

View workflow job for this annotation

GitHub Actions / check-format

The result of this expression has type 'string' and is implicitly ignored. Consider using 'ignore' to discard this value explicitly, e.g. 'expr |> ignore', or 'let' to bind the result to a name, e.g. 'let result = expr'.
"Build" ==> "RunTests" ==> "All"

Check warning on line 254 in build/build.fs

View workflow job for this annotation

GitHub Actions / build-ubuntu

The result of this expression has type 'string' and is implicitly ignored. Consider using 'ignore' to discard this value explicitly, e.g. 'expr |> ignore', or 'let' to bind the result to a name, e.g. 'let result = expr'.

Check warning on line 254 in build/build.fs

View workflow job for this annotation

GitHub Actions / build-windows

The result of this expression has type 'string' and is implicitly ignored. Consider using 'ignore' to discard this value explicitly, e.g. 'expr |> ignore', or 'let' to bind the result to a name, e.g. 'let result = expr'.

Check warning on line 254 in build/build.fs

View workflow job for this annotation

GitHub Actions / check-format

The result of this expression has type 'string' and is implicitly ignored. Consider using 'ignore' to discard this value explicitly, e.g. 'expr |> ignore', or 'let' to bind the result to a name, e.g. 'let result = expr'.
"Build" ==> "Coverage"

Check warning on line 255 in build/build.fs

View workflow job for this annotation

GitHub Actions / build-ubuntu

The result of this expression has type 'string' and is implicitly ignored. Consider using 'ignore' to discard this value explicitly, e.g. 'expr |> ignore', or 'let' to bind the result to a name, e.g. 'let result = expr'.

Check warning on line 255 in build/build.fs

View workflow job for this annotation

GitHub Actions / build-windows

The result of this expression has type 'string' and is implicitly ignored. Consider using 'ignore' to discard this value explicitly, e.g. 'expr |> ignore', or 'let' to bind the result to a name, e.g. 'let result = expr'.

Check warning on line 255 in build/build.fs

View workflow job for this annotation

GitHub Actions / check-format

The result of this expression has type 'string' and is implicitly ignored. Consider using 'ignore' to discard this value explicitly, e.g. 'expr |> ignore', or 'let' to bind the result to a name, e.g. 'let result = expr'.
"Build" ==> "RunBenchmarks"

[<EntryPoint>]
Expand All @@ -285,6 +263,6 @@
|> Context.RuntimeContext.Fake
|> Context.setExecutionContext

buildscript ()

Check warning on line 266 in build/build.fs

View workflow job for this annotation

GitHub Actions / build-ubuntu

The result of this expression has type 'string' and is implicitly ignored. Consider using 'ignore' to discard this value explicitly, e.g. 'expr |> ignore', or 'let' to bind the result to a name, e.g. 'let result = expr'.

Check warning on line 266 in build/build.fs

View workflow job for this annotation

GitHub Actions / build-windows

The result of this expression has type 'string' and is implicitly ignored. Consider using 'ignore' to discard this value explicitly, e.g. 'expr |> ignore', or 'let' to bind the result to a name, e.g. 'let result = expr'.

Check warning on line 266 in build/build.fs

View workflow job for this annotation

GitHub Actions / check-format

The result of this expression has type 'string' and is implicitly ignored. Consider using 'ignore' to discard this value explicitly, e.g. 'expr |> ignore', or 'let' to bind the result to a name, e.g. 'let result = expr'.
Target.runOrDefaultWithArguments "Help"
0
1 change: 0 additions & 1 deletion build/paket.references
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ group Fake
Fake.Core.Tasks
Fake.Core.Target
Fake.Core.ReleaseNotes
Fake.DotNet.AssemblyInfoFile
Fake.DotNet.Cli
Fake.DotNet.Testing.NUnit
Fake.DotNet.NuGet
Expand Down
17 changes: 0 additions & 17 deletions src/AssemblyInfo.Csv.Core.fs

This file was deleted.

17 changes: 0 additions & 17 deletions src/AssemblyInfo.DesignTime.fs

This file was deleted.

17 changes: 0 additions & 17 deletions src/AssemblyInfo.Html.Core.fs

This file was deleted.

17 changes: 0 additions & 17 deletions src/AssemblyInfo.Http.fs

This file was deleted.

17 changes: 0 additions & 17 deletions src/AssemblyInfo.Json.Core.fs

This file was deleted.

17 changes: 0 additions & 17 deletions src/AssemblyInfo.Runtime.Utilities.fs

This file was deleted.

17 changes: 0 additions & 17 deletions src/AssemblyInfo.WorldBank.Core.fs

This file was deleted.

17 changes: 0 additions & 17 deletions src/AssemblyInfo.Xml.Core.fs

This file was deleted.

17 changes: 0 additions & 17 deletions src/AssemblyInfo.fs

This file was deleted.

2 changes: 0 additions & 2 deletions src/FSharp.Data.Csv.Core/FSharp.Data.Csv.Core.fsproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
<TargetFrameworks>netstandard2.0;net8.0</TargetFrameworks>
<OtherFlags>$(OtherFlags) --warnon:1182 --nowarn:10001 --nowarn:44</OtherFlags>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<PackageIcon>logo.png</PackageIcon>
<!-- always have tailcalls on for design time compiler add-in to allow repo to compile in DEBUG, see https://github.com/fsprojects/FSharp.Data/issues/1410 -->
<Tailcalls>true</Tailcalls>
Expand All @@ -16,7 +15,6 @@
<Compile Include="CsvFile.fs" />
<Compile Include="CsvExtensions.fs" />
<Compile Include="CsvInference.fs" />
<Compile Include="../AssemblyInfo.Csv.Core.fs" />
<Compile Include="InternalsVisibleTo.fs" />
<None Include="../../docs/img/logo.png" Pack="true" PackagePath="" />
<None Include="paket.references" />
Expand Down
2 changes: 0 additions & 2 deletions src/FSharp.Data.DesignTime/FSharp.Data.DesignTime.fsproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
<DefineConstants>IS_DESIGNTIME;NO_GENERATIVE;$(DefineConstants)</DefineConstants>
<OtherFlags>$(OtherFlags) --warnon:1182 --nowarn:44</OtherFlags>
<GenerateDocumentationFile>false</GenerateDocumentationFile>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<!-- always have tailcalls on for design time compiler add-in to allow repo to compile in DEBUG, see https://github.com/fsprojects/FSharp.Data/issues/1410 -->
<Tailcalls>true</Tailcalls>
<ProduceReferenceAssembly>false</ProduceReferenceAssembly>
Expand All @@ -32,7 +31,6 @@
<Compile Include="WorldBank/WorldBankProvider.fs" />
<Compile Include="Html/HtmlGenerator.fs" />
<Compile Include="Html/HtmlProvider.fs" />
<Compile Include="../AssemblyInfo.DesignTime.fs" />
<None Include="paket.references" />
</ItemGroup>
<ItemGroup>
Expand Down
2 changes: 0 additions & 2 deletions src/FSharp.Data.Html.Core/FSharp.Data.Html.Core.fsproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
<TargetFrameworks>netstandard2.0;net8.0</TargetFrameworks>
<OtherFlags>$(OtherFlags) --warnon:1182 --nowarn:10001 --nowarn:44</OtherFlags>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<PackageIcon>logo.png</PackageIcon>
<!-- always have tailcalls on for design time compiler add-in to allow repo to compile in DEBUG, see https://github.com/fsprojects/FSharp.Data/issues/1410 -->
<Tailcalls>true</Tailcalls>
Expand All @@ -23,7 +22,6 @@
<Compile Include="HtmlActivePatterns.fs" />
<Compile Include="HtmlInference.fs" />
<Compile Include="HtmlRuntime.fs" />
<Compile Include="../AssemblyInfo.Html.Core.fs" />
<Compile Include="InternalsVisibleTo.fs" />
<None Include="../../docs/img/logo.png" Pack="true" PackagePath="" />
<None Include="paket.references" />
Expand Down
2 changes: 0 additions & 2 deletions src/FSharp.Data.Http/FSharp.Data.Http.fsproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,13 @@
<TargetFrameworks>netstandard2.0;net8.0</TargetFrameworks>
<OtherFlags>$(OtherFlags) --warnon:1182 --nowarn:10001 --nowarn:44</OtherFlags>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<PackageIcon>logo.png</PackageIcon>
<!-- always have tailcalls on for design time compiler add-in to allow repo to compile in DEBUG, see https://github.com/fsprojects/FSharp.Data/issues/1410 -->
<Tailcalls>true</Tailcalls>
<IsTrimmable Condition="$([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'net6.0'))">true</IsTrimmable>
</PropertyGroup>
<ItemGroup>
<Compile Include="Http.fs" />
<Compile Include="../AssemblyInfo.Http.fs" />
<Compile Include="InternalsVisibleTo.fs" />
<None Include="../../docs/img/logo.png" Pack="true" PackagePath="" />
<None Include="paket.references" />
Expand Down
2 changes: 0 additions & 2 deletions src/FSharp.Data.Json.Core/FSharp.Data.Json.Core.fsproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
<TargetFrameworks>netstandard2.0;net8.0</TargetFrameworks>
<OtherFlags>$(OtherFlags) --warnon:1182 --nowarn:10001 --nowarn:44</OtherFlags>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<PackageIcon>logo.png</PackageIcon>
<!-- always have tailcalls on for design time compiler add-in to allow repo to compile in DEBUG, see https://github.com/fsprojects/FSharp.Data/issues/1410 -->
<Tailcalls>true</Tailcalls>
Expand All @@ -19,7 +18,6 @@
<Compile Include="JsonRuntime.fs" />
<Compile Include="JsonInference.fs" />
<Compile Include="JsonSchema.fs" />
<Compile Include="../AssemblyInfo.Json.Core.fs" />
<Compile Include="InternalsVisibleTo.fs" />
<None Include="../../docs/img/logo.png" Pack="true" PackagePath="" />
<None Include="paket.references" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
<TargetFrameworks>netstandard2.0;net8.0</TargetFrameworks>
<OtherFlags>$(OtherFlags) --warnon:1182 --nowarn:10001 --nowarn:44</OtherFlags>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<PackageIcon>logo.png</PackageIcon>
<!-- always have tailcalls on for design time compiler add-in to allow repo to compile in DEBUG, see https://github.com/fsprojects/FSharp.Data/issues/1410 -->
<Tailcalls>true</Tailcalls>
Expand All @@ -21,7 +20,6 @@
<Compile Include="TextRuntime.fs" />
<Compile Include="StructuralTypes.fs" />
<Compile Include="StructuralInference.fs" />
<Compile Include="../AssemblyInfo.Runtime.Utilities.fs" />
<Compile Include="InternalsVisibleTo.fs" />
<None Include="../../docs/img/logo.png" Pack="true" PackagePath="" />
<None Include="paket.references" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,13 @@
<TargetFrameworks>netstandard2.0;net8.0</TargetFrameworks>
<OtherFlags>$(OtherFlags) --warnon:1182 --nowarn:10001</OtherFlags>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<PackageIcon>logo.png</PackageIcon>
<!-- always have tailcalls on for design time compiler add-in to allow repo to compile in DEBUG, see https://github.com/fsprojects/FSharp.Data/issues/1410 -->
<Tailcalls>true</Tailcalls>
<IsTrimmable Condition="$([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'net6.0'))">true</IsTrimmable>
</PropertyGroup>
<ItemGroup>
<Compile Include="WorldBankRuntime.fs" />
<Compile Include="../AssemblyInfo.WorldBank.Core.fs" />
<Compile Include="InternalsVisibleTo.fs" />
<None Include="../../docs/img/logo.png" Pack="true" PackagePath="" />
<None Include="paket.references" />
Expand Down
2 changes: 0 additions & 2 deletions src/FSharp.Data.Xml.Core/FSharp.Data.Xml.Core.fsproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
<TargetFrameworks>netstandard2.0;net8.0</TargetFrameworks>
<OtherFlags>$(OtherFlags) --warnon:1182 --nowarn:10001 --nowarn:44</OtherFlags>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<PackageIcon>logo.png</PackageIcon>
<!-- always have tailcalls on for design time compiler add-in to allow repo to compile in DEBUG, see https://github.com/fsprojects/FSharp.Data/issues/1410 -->
<Tailcalls>true</Tailcalls>
Expand All @@ -16,7 +15,6 @@
<Compile Include="XmlExtensions.fs" />
<Compile Include="XmlInference.fs" />
<Compile Include="XsdInference.fs" />
<Compile Include="../AssemblyInfo.Xml.Core.fs" />
<Compile Include="InternalsVisibleTo.fs" />
<None Include="../../docs/img/logo.png" Pack="true" PackagePath="" />
<None Include="paket.references" />
Expand Down
2 changes: 0 additions & 2 deletions src/FSharp.Data/FSharp.Data.fsproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
<TargetFrameworks>netstandard2.0;net8.0</TargetFrameworks>
<OtherFlags>$(OtherFlags) --warnon:1182 --nowarn:10001</OtherFlags>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<PackageIcon>logo.png</PackageIcon>
<FSharpToolsDirectory>typeproviders</FSharpToolsDirectory>
<PackagePath>typeproviders</PackagePath>
Expand All @@ -14,7 +13,6 @@
<ProduceReferenceAssembly>false</ProduceReferenceAssembly>
</PropertyGroup>
<ItemGroup>
<Compile Include="../AssemblyInfo.fs" />
<Compile Include="Runtime.fs" />
<None Include="../../docs/img/logo.png" Pack="true" PackagePath="" />
<None Include="paket.references" />
Expand Down
Loading
Loading