Repository navigation
Bump fsharp-analyzers from 0.39.2 to 0.41.0 - #145
Closed
dependabot[bot] wants to merge 1 commit into
Closed
dependabot[bot] wants to merge 1 commit into
dependabot[bot] wants to merge 1 commit into
Conversation
dependabot
Bot
force-pushed
the
dependabot/nuget/dot-config/fsharp-analyzers-0.41.0
branch
from
October 30, 2026 03:28
82b31e4 to
c308a0c
Compare
--- updated-dependencies: - dependency-name: fsharp-analyzers dependency-version: 0.41.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
dependabot
Bot
force-pushed
the
dependabot/nuget/dot-config/fsharp-analyzers-0.41.0
branch
from
October 30, 2026 03:31
c308a0c to
c1109ca
Compare
4 tasks done
Collaborator
Collaborator
|
Closed in favor of #149, which lands Ionide.Analyzers 0.20.0 and fsharp-analyzers 0.41.0 together with a lock file that keeps net10.0. |
Contributor
Author
|
OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting If you change your mind, just re-open this PR and I'll resolve any conflicts on it. |
dependabot
Bot
deleted the
dependabot/nuget/dot-config/fsharp-analyzers-0.41.0
branch
October 30, 2026 03:38
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.
Updated fsharp-analyzers from 0.39.2 to 0.41.0.
Release notes
Sourced from fsharp-analyzers's releases.
0.41.0
0.41.0
Added
toolExecutionNotificationsentry and setsexecutionSuccessfultofalse. Pass--fail-on-type-errorsto also exit with code-5(TypeCheckFailed) in that case. The switch is opt-in, so a run that analyzes before building keeps its exit code. A#loador#rin a script that cannot be resolved counts as a type error too.Changed
Client.RunAnalyzersSafelyis nowClient.RunAnalyzers, and the oldClient.RunAnalyzers, which only returned the messages, is gone. It hid an analyzer that threw in the log, so a caller could not tell its messages were missing.RunAnalyzersreturns anAnalysisResultper analyzer and does not throw. To get only the messages, collect theOkoutputs.AnalysisResult.Outputis nowResult<AnalyzerMessage list, exn>instead ofResult<Message list, exn>, so a caller keeps the name, help link and short description of the analyzer behind each message. Read.Messageon each item to get theMessageas before.#loadthat cannot be resolved, is no longer logged at error level asScript ... has a diagnostic. It is logged with the type errors, as a warning underdid not type check, and each type error now names its file and error code. A warning from loading a script is still logged asScript ... has a diagnostic, but at warning level instead of error level.Fixed
--output-format githubare relative to the code root. Without a trailing separator on--code-root(or the current directory, its default), every path started with the name of the code root directory, such asrepo/src/A.fsinstead ofsrc/A.fs. A code root with a trailing separator is unaffected. GitHub code scanning re-creates open alerts once at the corrected paths, because it ties an alert to its file path.--warnaserror, whichTreatWarningsAsErrorspasses to the compiler, is ignored when type checking for the analyzers, so a warning no longer counts as a type error.toolExecutionNotificationsentry withexecutionSuccessfulset tofalse, and the CLI exits with-4(AnalysisAborted). Previously the run stopped with exit code22, without a SARIF report and without the messages of the other analyzers.Asyncnow reports its own exception, instead of aTargetInvocationExceptionwith the messageException has been thrown by the target of an invocation.Special thanks to @nojaf!
https://www.nuget.org/packages/FSharp.Analyzers.SDK/0.41.0
https://www.nuget.org/packages/FSharp.Analyzers.SDK.Testing/0.41.0
https://www.nuget.org/packages/fsharp-analyzers/0.41.0
0.40.0
0.40.0
Changed
Fixed
InlineAnnotationisAlwaysInlineagain forinlinevalues from assemblies built with F# 4.7 or older (dotnet/fsharp#20260).FileNotFoundExceptioncrashed the run and no analyzer ran at all.https://www.nuget.org/packages/FSharp.Analyzers.SDK/0.40.0
https://www.nuget.org/packages/FSharp.Analyzers.SDK.Testing/0.40.0
https://www.nuget.org/packages/fsharp-analyzers/0.40.0
Commits viewable in compare view.