Skip to content

Update Version Numbers - #4064

Merged
KevinRansom merged 4 commits into
dotnet:dev15.6from
KevinRansom:revfsharpcore
Dec 7, 2017
Merged

KevinRansom merged 4 commits into
dotnet:dev15.6from
KevinRansom:revfsharpcore

Conversation

@KevinRansom

@KevinRansom KevinRansom commented Dec 6, 2017 •

Copy link
Copy Markdown
Contributor

Here is the update to FSharp.Core 4.4.3.

This updates the version numbers of everything :-(

  1. The compiler and related assemblies go from 4.4.1.0 ---> 4.4.3.0 // We skipped 4.4.2.0 to align with nuget package
  2. The VS Assemblies go from 15.4.1.0 ---> 15.4.3.0
  3. The Nuget package goes from 4.2.x ---> 4.3.x
  4. The project properties Target F# selection is updated.
  5. Updated some tests to use the parameterized portable libraries nuget package.

image

@KevinRansom

Copy link
Copy Markdown
Contributor Author

@dotnet-bot test this please

@cartermp cartermp left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think updating this to "F# 4.3" is the right naming. We haven't shipped the F# 4.2 language version, yet, so this will just leave people more confused.

@KevinRansom

Copy link
Copy Markdown
Contributor Author

@cartermp think of 4.2 as an internal version that never shipped.

@cartermp

cartermp commented Dec 6, 2017

Copy link
Copy Markdown
Contributor

I get that, but the point is that we shouldn't surface these messy version numbers in the UI like this.

In some future, I'll be using the F# compiler to compile F# 4.2 code. But in the project settings, I'll need to use "F# 4.3" or higher as my target. That makes no sense at all.

@KevinRansom

Copy link
Copy Markdown
Contributor Author

You need to select an FSharp.Core version. You know it is a nuget packat and you want F# 4.4.2.0, so you know that you should use the nuget package F# 4.2 ....

Duh!!!! no you can't do that because we already used 4.2 as a nuget version number, and it contains F# 4.4.1.0. We had to do that, odious as it was, because 4.1 was already used by the community package, and we cut down hugely on the platforms shipped with the nuget package., a likely breaking change
and we also weren't ready to rev the FSharp.Core version number.

Skipping 4.2 for assembly version numbers allows us to get back on track ... sort of.

From here on forward, the Major Minor of the Nuget package will match the SDK version. 4.3 ... 4.4 ... 4.5 etc.

4.1 will even be okay since it has a recently published FSharp.Core it's only 4.2 that's iffy, because it also contains FSharp.Core 4.4.1.0.

Anyway that is my 2 cents and worth almost every penny

Kevin

@isaacabraham

Copy link
Copy Markdown
Contributor

My two cents (whether wanted or not...) is that this sounds like a complete mess. I don't understand why this is mismatched or what the reasoning behind it. It just seems really, really complicated and I don't understand why :-/

@cartermp

cartermp commented Dec 6, 2017

Copy link
Copy Markdown
Contributor

I don't particularly mind what the version numbers are. It's already hopelessly confusing, so getting it back on track is important. I think you're missing my point @KevinRansom. The UI in your screenshot says "F# 4.3". F# 4.3 doesn't even exist, because F# 4.2 doesn't even exist. I believe that this will confuse people further than they are already.

@KevinRansom

Copy link
Copy Markdown
Contributor Author

@cartermp but 4.2 doesn't exist so adding it to the drop down seems more confusing. Anyway, the drop down is about selecting the FSharp.Core version number. And no 4 version 4.4.2.0. I am hopefull that some future version of the drop down will use nuget packaging rather than raw FSharp.Core version numbers.

I believe this dialog was designed for VS 2013 and so didn't really take nuget into account.

We can do better in the future.

@cartermp

cartermp commented Dec 6, 2017 •

Copy link
Copy Markdown
Contributor

I'm saying that this string in the UI:

"F# 4.3"

Will not be interpreted as "the version of FSharp.Core that succeeds the first 4.". People will think that this means the language version. If possible, this needs to be cleaned up.

@KevinRansom

Copy link
Copy Markdown
Contributor Author

I welcome suggestions.

@KevinRansom

Copy link
Copy Markdown
Contributor Author

@cartermp I didn't design the dialog, and feel no need to defend it.

In this context F# 4.3 means the F# 4.3 SDK, which is located at: %ProgramFiles(x86)%\Microsoft\SDKs\F#\4.3**

The branded version number displayed in FSI and FSC is not the language version number or even the Compiler or interactive version number, it's more like the SDK version.

Kevin

@cartermp

cartermp commented Dec 6, 2017

Copy link
Copy Markdown
Contributor

Okay, so @KevinRansom and I chatted about this and the issue that I raised is ultimately orthagonal and an issue in the tooling. The version number (F# 4.3) is not the language version, but the Compiler SDK version. This is what it's always been, and it's horribly confusing. The long-term solution is to tie all of that into a NuGet package that the tooling snags, but that won't be something we do immediately.

I created #4070 to track this.

@KevinRansom

Copy link
Copy Markdown
Contributor Author

@dotnet-bot test this please

@KevinRansom

Copy link
Copy Markdown
Contributor Author

@dotnet-bot test Ubuntu14.04 Release_fcs Build please

@dsyme

dsyme commented Dec 12, 2017 •

Copy link
Copy Markdown
Contributor

Guys, can we please, please not use “F# 4.3” in the banner text for fsc.exe and fsi.exe?

The version number (F# 4.3) is not the language version, but the Compiler SDK version. This is what it's always been, and it's horribly confusing. The long-term solution is to tie all of that into a NuGet package that the tooling snags, but that won't be something we do immediately.

This is not the case. The banner text has always been the F# language version historically, right from F# 0.4 or something.

As of today, there is no such thing as “F# 4.3” or “Microsoft Visual F# 4.3” or any of that. Nearly all the updates in this PR that mention that text are thus plain wrong. Indeed let’s just remove the use of the text “F# 4.3”. I don’t care what you use for the “Microsoft SDKs” folder. But please don’t use "F# 4.3" anywhere

It doesn't matter if "F# 4.2" was used previously in some text appearing in some Microsoft release. That was also wrong.

@dsyme

dsyme commented Dec 12, 2017

Copy link
Copy Markdown
Contributor

@KevinRansom, @cartermp, @TIHan, @brettfo and myself are emailing about a revised set of version updates, we'll send a summary in due course

@KevinRansom
KevinRansom deleted the revfsharpcore branch March 9, 2018 07:41
T-Gro pushed a commit that referenced this pull request Jun 12, 2026
* Rev version numbers to 4.4.3.0

* updates

* Fix fcs builds
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants