[Repo Assist] Update from .NET 5 to .NET 8 - #431
Merged
dsyme merged 2 commits intoFeb 25, 2026
Conversation
- Update target frameworks from net5.0 to net8.0 in test projects - Update SDK and design-time/runtime libraries from netstandard2.1 to netstandard2.0;net8.0 - Add ProduceReferenceAssembly=false to type provider runtime assemblies - Fix deprecation warnings for FieldAttributes.NotSerialized and TypeAttributes.Serializable on .NET 5+ - Update templates global.json from SDK 5.0.400 to 8.0.400 - Update paket template tool from 6.1.3 to 9.0.2 - Remove duplicate PackageReference entries in tests project (paket already manages them) Closes #425 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This was referenced Feb 24, 2026
Closed
dsyme
marked this pull request as ready for review
February 25, 2026 00:59
dsyme
approved these changes
Feb 25, 2026
This was referenced Feb 25, 2026
Closed
dsyme
pushed a commit
that referenced
this pull request
Mar 7, 2026
🤖 *This PR was created by Repo Assist, an automated AI assistant.* Prepares the RELEASE_NOTES.md for version **8.3.0** — a minor release capturing significant improvements merged since 8.2.0 (February 24). ## Changes since 8.2.0 | Type | PR | Description | |------|----|-------------| | 🐛 Bug fix | #432 | Fix custom attributes on nested erased types | | 🐛 Bug fix | #458 | Fix `GetNestedType` on `TypeSymbol`/`ProvidedTypeSymbol` for generic provided types | | 🐛 Bug fix | #459 | Fix mutable variable captures in `QuotationSimplifier` — promote to ref cells | | ⚡ Performance | #443 | Memoize `transType` in `AssemblyCompiler` to reduce redundant type translation | | ⚡ Performance | #457 | Cache `transTypeRef` and `transMethRef` in assembly compiler | | ✨ Feature | #428 | New warning when all static parameters in a type provider are optional | | 📚 Docs | #455 | Documentation guide overhaul | | 🧪 Tests | #442 | Add coverage tests and Coverage build target | | 🔧 Toolchain | #431 | Update to .NET 8 SDK and toolchain | This is a minor version bump (8.2.0 → 8.3.0) due to the new feature (#428) and significant improvements. If preferred, a patch release (8.2.1) is also reasonable given the emphasis on bug fixes. ## Test Status This PR only modifies RELEASE_NOTES.md. The build/test status for the underlying changes is tracked in the individual PRs listed above (all passed CI before merging). --- *To release: merge this PR, then tag `v8.3.0` and publish the NuGet package via the existing build pipeline.* > Generated by [Repo Assist](https://github.com/fsprojects/FSharp.TypeProviders.SDK/actions/runs/22448247879) > > To install this [agentic workflow](https://github.com/githubnext/agentics/tree/afb00b92a9514fee9a14c583f059a03d05738f70/workflows/repo-assist.md), run > ``` > gh aw add githubnext/agentics@afb00b9 > ``` <!-- gh-aw-agentic-workflow: Repo Assist, engine: copilot, id: 22448247879, workflow_id: repo-assist, run: https://github.com/fsprojects/FSharp.TypeProviders.SDK/actions/runs/22448247879 --> <!-- gh-aw-workflow-id: repo-assist --> --------- Co-authored-by: Repo Assist <github-actions[bot]@users.noreply.github.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🤖 This is an automated PR from Repo Assist.
Closes #425
Summary
This PR updates the repository's engineering from .NET 5 to .NET 8, as requested in #425. The approach follows the initial work from #416 (now closed).
The use of
netstandardtargets is preserved for library compatibility, while test/engineering builds now targetnet8.0.Changes
Project files
src/FSharp.TypeProviders.SDK.fsprojnetstandard2.0;netstandard2.1netstandard2.0;net8.0examples/BasicProvider.DesignTime.fsprojnetstandard2.1netstandard2.0;net8.0examples/BasicProvider.Runtime.fsprojnetstandard2.1netstandard2.0;net8.0+ProduceReferenceAssembly=falseexamples/BasicProvider.Tests.fsprojnet5.0net8.0examples/StressProvider.fsprojnetstandard2.1netstandard2.0;net8.0+ProduceReferenceAssembly=falseexamples/StressProvider.Tests.fsprojnet5.0net8.0tests/FSharp.TypeProviders.SDK.Tests.fsprojnet5.0net8.0templates/content/basic/global.json5.0.4008.0.400templates/.../MyProvider.DesignTime.fsprojnetstandard2.1netstandard2.0;netstandard2.1templates/.../MyProvider.Runtime.fsprojnetstandard2.1netstandard2.0;netstandard2.1templates/.../MyProvider.Tests.fsprojnet5.0net8.0Other
templates/content/basic/.config/dotnet-tools.json: Updated paket from6.1.3to9.0.2src/ProvidedTypes.fs: Added#nowarn "0044"and conditional[(Obsolete(DiagnosticId = "SYSLIB0051"))]attributes forFieldAttributes.NotSerializedandTypeAttributes.Serializablewhich are deprecated in .NET 5+ (fixes build withTreatWarningsAsErrors=true)tests/FSharp.TypeProviders.SDK.Tests.fsproj: Removed duplicatePackageReferenceentries that conflicted with paket-managed packagesTest Status
All tests pass on net8.0:
tests/FSharp.TypeProviders.SDK.Tests: 83 passed, 1 skipped (the skip is pre-existing)examples/BasicProvider.Tests: 5 passedexamples/StressProvider.Tests: 4 passedBuild produces 0 warnings, 0 errors for all updated projects.