F# 11 in FSharp.Compiler.Service ?

Abierto
#20,968 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 2 días

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
45/100
Tipo de issue
Documentación
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
fsharp

Línea de trabajo

Start with the versioning comment in docs/release-notes/FSharp.Compiler.Service.fsx and the linked issues #20045 and #20818; the report also points to docs/fcs/index.md and the package README. Compare the FCS versions with their pinned FSharp.Core versions and SDK bands. Done means documenting the mapping and making it discoverable from the package README; the other release and package suggestions need maintainer decisions.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

Needs-Triage

The lastest realease of F# compiler service is tied to FSharp.Core 10
Is that intentional? Why not 11?
https://www.nuget.org/packages/FSharp.Compiler.Service/43.13.404#dependencies-body-tab

Only the previous version before uses FSharp.Core 11.
https://www.nuget.org/packages/FSharp.Compiler.Service/43.13.101#dependencies-body-tab

my agent's summary:

FSharp.Compiler.Service 43.13.101 (F# 11) has a lower version than 43.13.404 (F# 10 servicing)

Summary

Since .NET 10, the minor number of FSharp.Compiler.Service is bumped independently of the F# version. That is intended, see #20045 and #20818. But the two packages released on 2026-11-10 contradict the goal stated in #20818: the F# 11 package has a lower version than the F# 10 servicing package released the same day.

Package Pins FSharp.Core SDK band Default language version
FSharp.Compiler.Service 43.13.101 11.0.101 11.0.1xx F# 11
FSharp.Compiler.Service 43.13.404 10.1.404 10.0.4xx F# 10 (11.0 only with --langversion:11.0)

#20818 bumped FCSMinorVersion to 14 so that .NET 11 "is versioned higher than .NET 10.0.4xx servicing (43.13.403 / 43.13.404)" and higher than release/11.0.1xx-rc2 (43.14.101). But the build of release/11.0.1xx that shipped (dotnet/dotnet@297acf930fb0f5c07fd4e51d78e521b4ad2e5d1f) still had FCSMinorVersion 13. The bump reached release/11.0.1xx in dotnet/dotnet only with dotnet/dotnet#10868 on 2026-11-10. So 11.0.1xx shipped as 43.13.101 instead of 43.14.101.

Consequences
  • nuget.org shows 43.13.404 as the latest stable version. If you want the latest FCS to get F# 11, you pick 43.13.404, which defaults to F# 10 and pins FSharp.Core 10.1.404. I did exactly that in a project that embeds FCS.
  • Update tools (Dependabot, Renovate, dotnet-outdated, dotnet list package --outdated) offer 43.13.101 → 43.13.404 to projects on F# 11. FCS pins FSharp.Core exactly, so this also moves FSharp.Core from 11.0.101 down to 10.1.404. It is a downgrade of the F# version that looks like a patch update.
  • release/11.0.1xx in dotnet/dotnet now has FCSMinorVersion 14 and FSBuildVersion 102, so the next F# 11 servicing release will probably be 43.14.102. Then F# 11.0.1xx is spread over two FCS minor versions, 43.13 and 43.14.
Other irregularities

All stable FCS versions since 43.10, with the FSharp.Core version they pin:

FCS versions FSharp.Core SDK band Published
43.10.100 – 43.10.115 10.0.100 – 10.0.115 10.0.1xx 2025-11 – 2026-11
43.12.100 11.0.100 (unlisted) ? 2026-03-10
43.12.201 – 43.12.204 10.1.201 – 10.1.204 10.0.2xx 2026-03 – 2026-05
43.11.300 – 43.11.303 10.1.300 – 10.1.303 10.0.3xx 2026-05 – 2026-08
43.12.400 – 43.12.403 10.1.400 – 10.1.403 10.0.4xx 2026-08 – 2026-10
43.13.404 10.1.404 10.0.4xx 2026-11-10
43.13.101 11.0.101 11.0.1xx 2026-11-10
  • 10.0.3xx (43.11.x) has lower versions than the older 10.0.2xx band (43.12.2xx).
  • 43.12.403 and 43.13.404 are consecutive servicing releases of the same 10.0.4xx band, but the minor version changed between them.
  • 43.12.100 is a listed stable package that pins FSharp.Core 11.0.100, which is unlisted. Its source (dotnet/dotnet@40cd698e5cfb2d90f436889726ee01f48d99f3ab) has FSMajorVersion 11 and FSBuildVersion 100. It looks like an early F# 11 build that was published as stable. It sorts above every 10.0.3xx package (43.11.x), so update tools offer it to projects on 43.11.x.
Documentation

The only description of the scheme I found is a code comment in docs/release-notes/FSharp.Compiler.Service.fsx:

The FCS package version cannot be derived from the release notes file name: its minor number is bumped independently of the F# version (43.12.100 is F# 11.0.100, 43.12.204 is F# 10.0.204).

FST-1004 says that FCS is not part of the versioning plan. I found no table that maps FCS versions to F# versions, FSharp.Core versions or SDK bands. The package description on nuget.org doesn't say which F# version a package is for. Only the pinned FSharp.Core version tells you.

Suggestions
  1. Document the scheme and add a table of FCS version → F# version → FSharp.Core version → SDK band, e.g. in docs/fcs/index.md, with a link from the package README.
  2. Put the F# version into the package description or release notes, e.g. "FSharp.Compiler.Service for F# 11.0 (.NET SDK 11.0.1xx)".
  3. Unlist 43.12.100, like FSharp.Core 11.0.100, which it depends on.
  4. Add a check to the release process, so that a package from a newer SDK band or F# version never gets a lower version than one already published from an older band.
  5. Until 43.14.x ships for F# 11, mention in the release notes that 43.13.101 is the F# 11 package, even though nuget.org shows 43.13.404 as newer.
Lenguaje dominante
F#
Estrellas
4.3k
Forks
884
Merge medio
2 d 11 h
PR fusionados (30 d)
73

Preparar el entorno

Abrir en Codespaces

Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de dotnet/fsharp

Todos los issues de dotnet/fsharp

Issues similares

Más issues de Documentation

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.