From d42e6a3e4f6f243be43ae330edb2beae56b46eed Mon Sep 17 00:00:00 2001 From: Jimmy Byrd Date: Tue, 11 Nov 2025 22:43:32 -0500 Subject: [PATCH 1/2] Update FSharp.Analyzers.SDK to version 0.34.1 and adjust related package versions --- .config/dotnet-tools.json | 2 +- CHANGELOG.md | 5 +++++ Directory.Packages.props | 8 ++++---- .../ReturnStructPartialActivePatternAnalyzer.fs | 1 - 4 files changed, 10 insertions(+), 6 deletions(-) diff --git a/.config/dotnet-tools.json b/.config/dotnet-tools.json index 5b8d357..128b69e 100644 --- a/.config/dotnet-tools.json +++ b/.config/dotnet-tools.json @@ -3,7 +3,7 @@ "isRoot": true, "tools": { "fsharp-analyzers": { - "version": "0.33.1", + "version": "0.34.1", "commands": [ "fsharp-analyzers" ] diff --git a/CHANGELOG.md b/CHANGELOG.md index 1e18839..0983aa6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog +## 0.14.10 - 2025-11-11 + +### Fixed + +* Update FSharp.Analyzers.SDK to `0.34.1`. Checkout the [release notes](https://github.com/ionide/FSharp.Analyzers.SDK/releases/tag/v0.34.1) for details. [#164](https://github.com/ionide/ionide-analyzers/pull/164) ## 0.14.9 - 2025-10-19 diff --git a/Directory.Packages.props b/Directory.Packages.props index abf1997..f245778 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -4,8 +4,8 @@ true - - + + @@ -14,7 +14,7 @@ - - + + \ No newline at end of file diff --git a/src/Ionide.Analyzers/Performance/ReturnStructPartialActivePatternAnalyzer.fs b/src/Ionide.Analyzers/Performance/ReturnStructPartialActivePatternAnalyzer.fs index 0c04329..85870de 100644 --- a/src/Ionide.Analyzers/Performance/ReturnStructPartialActivePatternAnalyzer.fs +++ b/src/Ionide.Analyzers/Performance/ReturnStructPartialActivePatternAnalyzer.fs @@ -89,7 +89,6 @@ let rec collectSomeAndNoneFromExprBody (expr: SynExpr) (finalContinuation: Ident sequence continuations finalContinuation | SynExpr.LetOrUse(body = expr) - | SynExpr.LetOrUseBang(body = expr) | SynExpr.Paren(expr = expr) | SynExpr.Typed(expr = expr) -> collectSomeAndNoneFromExprBody expr finalContinuation | _ -> finalContinuation [] From b63127d4ef9dfca895f08944f6036ad3782ab606 Mon Sep 17 00:00:00 2001 From: Jimmy Byrd Date: Tue, 11 Nov 2025 22:49:50 -0500 Subject: [PATCH 2/2] Update .NET SDK versions to 10.x in CI and Release workflows, and adjust global.json version --- .github/workflows/ci.yml | 1 + .github/workflows/release.yml | 6 ++++++ global.json | 2 +- 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5570e74..2f0b993 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -38,6 +38,7 @@ jobs: dotnet-version: | 8.x 9.x + 10.x - name: Build run: dotnet fsi build.fsx diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 569773b..f0c4438 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -26,6 +26,12 @@ jobs: - name: Setup .NET uses: actions/setup-dotnet@v5 + with: + global-json-file: 'global.json' + dotnet-version: | + 8.x + 9.x + 10.x - name: Release run: dotnet fsi build.fsx -- -p Release diff --git a/global.json b/global.json index f15a959..ba3d147 100644 --- a/global.json +++ b/global.json @@ -1,6 +1,6 @@ { "sdk": { - "version": "9.0.100", + "version": "10.0.100", "rollForward": "latestMinor" } } \ No newline at end of file