Repository navigation
Bump fsharp-analyzers from 0.38.0 to 0.41.0 - #783
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
--- 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>
Contributor
Author
|
Looks like fsharp-analyzers is updatable in another way, so this is no longer needed. |
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.38.0 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
0.39.2
0.39.2
Fixed
--scriptflag no longer silently drops all but the last occurrence. Every list-valued flag now accumulates the way--projectand--analyzers-pathalready did, so--script a.fsx --script b.fsxmeans the same as--script a.fsx b.fsx. Previously a caller that built its arguments in a loop analyzed a subset of what it asked for and still got a clean run reported. The--treat-as-*,--exclude-files,--include-files,--exclude-analyzersand--include-analyzersflags rejected a repeat outright and now accumulate too.Special thanks to @nojaf!
https://www.nuget.org/packages/FSharp.Analyzers.SDK/0.39.2
https://www.nuget.org/packages/FSharp.Analyzers.SDK.Testing/0.39.2
https://www.nuget.org/packages/fsharp-analyzers/0.39.2
0.39.1
0.39.1
Added
Fixed
.fsxpassed to--scriptno longer omits most of the script. Scripts were resolved against the .NET Framework reference assemblies, soFSharp.Corefailed to load and everything coming from it (printfn,string,int, ...) became an error recovery node that typed tree analyzers could not see..fsxpassed to--scriptcan use thefsiobject, such asfsi.CommandLineArgs.FSharp.Compiler.Interactive.Settings.dll, whichdotnet fsireferences implicitly, was not referenced, so every use offsifailed to type check and took the surrounding expressions with it.Special thanks to @Thorium and @nojaf!
https://www.nuget.org/packages/FSharp.Analyzers.SDK/0.39.1
https://www.nuget.org/packages/FSharp.Analyzers.SDK.Testing/0.39.1
https://www.nuget.org/packages/fsharp-analyzers/0.39.1
0.39.0
0.39.0
Added
--treat-as-*switches, e.g.--treat-as-error "*"or--treat-as-error "GRA-*". An exact code takes precedence over a pattern.upgrade-fsharp-analyzersfor upgrading the tool and analyzer packages to matching versions, installable vianpx skills add ionide/FSharp.Analyzers.SDK.fsharp-analyzerNuGet tag and SDK version release notes convention for analyzer authors.Special thanks to @nojaf!
https://www.nuget.org/packages/FSharp.Analyzers.SDK/0.39.0
https://www.nuget.org/packages/FSharp.Analyzers.SDK.Testing/0.39.0
https://www.nuget.org/packages/fsharp-analyzers/0.39.0
Commits viewable in compare view.