Skip to content

Commit feb7e06

Browse files
committed
Bump version to 7.5.0
1 parent 1b5bf5f commit feb7e06

File tree

4 files changed

+26
-13
lines changed

4 files changed

+26
-13
lines changed

release/CHANGELOG.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
11
### 7.5.0 - 20.02.2023
22

3-
* Update FSAC to 0.59.0 to get support for F# 7
3+
* Update FSAC to 0.59.1 to get support for F# 7 and other fixes
44
* Introduce new config option `FSharp.inlineValues.[enabled, prefix]` to migrate from `FSharp.pipelineHints.[enabled, prefix]`
5+
* Add support for OpenTelemetry-based tracing of the LSP and compiler service usages - set `"FSharp.openTelemetry.enabled"` to `true` and start up a collector (setting the `OTEL_EXPORTER_OTLP_ENDPOINT` ahead of time if necessary) and it all should just light up!
6+
* Add a new flag `FSharp.fsac.conserveMemory` that if set will tell the compiler to be more aggressive about reclaiming memory. Trades off lower memory use for increase CPU use.
7+
* Fix an error that was uncaught when some configuration settings changed (thanks @vain0x!)
8+
* Add a new flag `FSharp.fsac.parallelReferenceResolution` to control if FSAC will use the new-in-F# 7 parallel reference resolution features. Should provide a speed up of project load times.
9+
* For the FSI watcher use Inline Values APIs instead of rolling our own decorations
510

611
### 7.4.2 - 10.02.2023
712

release/package.json

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -530,10 +530,10 @@
530530
"scope": "machine-overridable",
531531
"type": "string"
532532
},
533-
"FSharp.fsac.parallelReferenceResolution" : {
534-
"default" : false,
533+
"FSharp.fsac.parallelReferenceResolution": {
534+
"default": false,
535535
"description": "EXPERIMENTAL: Speed up analyzing of projects in parallel. Requires restart.",
536-
"type" : "boolean"
536+
"type": "boolean"
537537
},
538538
"FSharp.fsac.silencedLogs": {
539539
"default": [],
@@ -675,16 +675,18 @@
675675
"FSharp.notifications.trace": {
676676
"default": false,
677677
"description": "Enables more verbose notifications using System.Diagnostics.Activity to view traces from FSharp.Compiler.Service.",
678-
"type" : "boolean"
678+
"type": "boolean"
679679
},
680680
"FSharp.notifications.traceNamespaces": {
681681
"default": [
682682
"BoundModel.TypeCheck",
683683
"BackgroundCompiler."
684684
],
685685
"description": "The set of System.Diagnostics.Activity names to watch.",
686-
"type" : "array",
687-
"required": ["FSharp.notifications.trace"]
686+
"type": "array",
687+
"required": [
688+
"FSharp.notifications.trace"
689+
]
688690
},
689691
"FSharp.openTelemetry.enabled": {
690692
"default": false,
@@ -1633,4 +1635,4 @@
16331635
"url": "https://github.com/ionide/ionide-vscode-fsharp.git"
16341636
},
16351637
"version": "7.5.0"
1636-
}
1638+
}

src/Components/Fsi.fs

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -280,19 +280,26 @@ module Fsi =
280280
symbols
281281
|> Seq.choose (fun s ->
282282
match values |> List.tryFind (fun (name, _) -> name = s.name) with
283-
| Some (_, value) -> Some (s, value)
283+
| Some(_, value) -> Some(s, value)
284284
| None -> None)
285285

286286
let hints =
287287
symbolsWithValues
288288
|> Seq.map (fun (s, value) ->
289289
let line = document.lineAt s.range.``start``.line
290-
let hint = vscode.InlayHint.Create (line.range.``end``, !!(" == " + value), InlayHintKind.Parameter)
290+
291+
let hint =
292+
vscode.InlayHint.Create(
293+
line.range.``end``,
294+
!!(" == " + value),
295+
InlayHintKind.Parameter
296+
)
297+
291298
hint.paddingLeft <- Some true
292299
hint)
293300
|> ResizeArray
294301

295-
logger.Debug ("Hints", hints)
302+
logger.Debug("Hints", hints)
296303
return hints
297304
}
298305
|> unbox

src/Core/LanguageService.fs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -677,8 +677,7 @@ Consider:
677677
let enableAdaptiveLspServer =
678678
"FSharp.enableAdaptiveLspServer" |> Configuration.get false
679679

680-
let openTelemetryEnabled =
681-
"FSharp.openTelemetry.enabled" |> Configuration.get false
680+
let openTelemetryEnabled = "FSharp.openTelemetry.enabled" |> Configuration.get false
682681

683682
let enableProjectGraph =
684683
"FSharp.enableMSBuildProjectGraph" |> Configuration.get false

0 commit comments

Comments
 (0)