waf / CSharpRepl

A command line C# REPL with syntax highlighting – explore the language, libraries and nuget packages interactively.
https://fuqua.io/CSharpRepl/
Mozilla Public License 2.0
2.95k stars 112 forks source link

Bump the dotnet-dependencies group with 4 updates #348

Closed dependabot[bot] closed 8 months ago

dependabot[bot] commented 8 months ago

Bumps the dotnet-dependencies group with 4 updates: Microsoft.CodeAnalysis.CSharp.Scripting, System.IO.Abstractions.TestingHelpers, coverlet.collector and coverlet.msbuild.

Updates Microsoft.CodeAnalysis.CSharp.Scripting from 4.8.0 to 4.9.2

Release notes

Sourced from Microsoft.CodeAnalysis.CSharp.Scripting's releases.

.NET 6.0.1

Release

.NET 5.0.4

Release

.NET 5.0.2

Release Notes Install Instructions

Repos

Changelog

Sourced from Microsoft.CodeAnalysis.CSharp.Scripting's changelog.

API Breaking Changes

Version 1.1.0

Removed VisualBasicCommandLineParser.ctor

During a toolset update we noticed the constructor on VisualBasicCommandLineParser was public. This in turn made many of the protected members of CommandLineParser a part of the API surface as it gave external customers an inheritance path.

It was never the intent for these members to be a part of the supported API surface. Creation of the parsers is meant to be done via the Default singleton properties. There seems to be little risk that we broke any customers here and hence we decided to remove this API.

PR: dotnet/roslyn#4169

Changed Simplifier methods to throw ArgumentNullExceptions

Changed Simplifier.ReduceAsync, Simplifier.ExpandAsync, and Simplifier.Expand methods to throw ArgumentNullExceptions if any non-optional, nullable arguments are passed in. Previously the user would get a NullReferenceException for synchronous methods and an AggregateException containing a NullReferenceException for asynchronous methods.

PR: dotnet/roslyn#5144

Version 1.3.0

Treat a method marked with both public and private flags as private

The scenario is loading an assembly where some methods, fields or nested types have accessibility flags set to 7 (all three bits set), which mean public AND private. After the fix, such flags are loaded to mean private. The compat change is we’re trading a compile-time success and runtime failure (native compiler) against a compile-time error (restoring the behavior of v1.2).

Details below:

  • The native compiler successfully compiles the method and field case (those only yield runtime error System.TypeLoadException: Invalid Field Access Flags) and reported an accessibility error on the nested type.
  • The 1.2 compiler generated errors:
error BC30390: 'C.Private Overloads Sub M()' is not accessible in this context because it is 'Private'.
error BC30389: 'C.F' is not accessible in this context because it is 'Private'.
error BC30389: 'C.C2' is not accessible in this context because it is 'Protected Friend'.
error BC30390: 'C2.Private Overloads Sub M2()' is not accessible in this context because it is 'Private'.
  • The 1.3 compiler crashes.
  • After fix, the same errors as 1.2 are generated again.

PR: dotnet/roslyn#11547

Don't emit bad DateTimeConstant, and load bad BadTimeConstant as default value instead

The change affects compatibility in two ways:

  • When loading an invalid DateTimeConstant(-1), the compiler will use default(DateTime) instead, whereas the native compiler would produce code that fails to execute.
  • DateTimeConstant(-1) will still count when we check that you don’t specify two default values. The compiler will produce an error, instead of succeeding (and producing IL with two attributes).

PR: dotnet/roslyn#11536

Version 4.1.0

... (truncated)

Commits


Updates System.IO.Abstractions.TestingHelpers from 20.0.15 to 21.0.2

Release notes

Sourced from System.IO.Abstractions.TestingHelpers's releases.

v21.0.2

What's Changed

Full Changelog: https://github.com/TestableIO/System.IO.Abstractions/compare/v20.0.34...v21.0.2

v20.0.34

What's Changed

Full Changelog: https://github.com/TestableIO/System.IO.Abstractions/compare/v20.0.28...v20.0.34

v20.0.28

What's Changed

New Contributors

Full Changelog: https://github.com/TestableIO/System.IO.Abstractions/compare/v20.0.15...v20.0.28

Commits
  • 6098a2b fix!: support exclamation mark in conventional commits (#1105)
  • 4733ab5 feat!: remove obsolete factory methods (#1104)
  • 809a18e chore(deps): update dependency nunit.analyzers to v4.1.0 (#1103)
  • 3c273f1 docs: update link to codacy in readme badge (#1102)
  • c7eca74 fix: remove unused .NET versions in CI build (#1101)
  • 6c82ec4 chore(deps): update dependency dotnet-sdk to v8.0.203 (#1100)
  • 269854a Make FileSystemStream properties virtual: (#1099)
  • 5ab2fed chore(deps): update danielpalme/reportgenerator-github-action action to v5.2....
  • 9226403 chore(deps): update dependency dotnet-sdk to v8.0.202 (#1097)
  • e381375 chore(deps): update dependency coverlet.collector to v6.0.2 (#1096)
  • Additional commits viewable in compare view


Updates coverlet.collector from 6.0.1 to 6.0.2

Release notes

Sourced from coverlet.collector's releases.

v6.0.2

Fixed

  • Threshold-stat triggers error #1634
  • Fixed coverlet collector 6.0.1 requires dotnet sdk 8 #1625
  • Type initializer errors after updating from 6.0.0 to 6.0.1 #1629
  • Exception when multiple exclude-by-attribute filters specified #1624

Improvements

  • More concise options to specify multiple parameters in coverlet.console #1624

Diff between 6.0.1 and 6.0.2

Commits


Updates coverlet.msbuild from 6.0.1 to 6.0.2

Release notes

Sourced from coverlet.msbuild's releases.

v6.0.2

Fixed

  • Threshold-stat triggers error #1634
  • Fixed coverlet collector 6.0.1 requires dotnet sdk 8 #1625
  • Type initializer errors after updating from 6.0.0 to 6.0.1 #1629
  • Exception when multiple exclude-by-attribute filters specified #1624

Improvements

  • More concise options to specify multiple parameters in coverlet.console #1624

Diff between 6.0.1 and 6.0.2

Commits


Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself) - `@dependabot ignore minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself) - `@dependabot ignore ` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself) - `@dependabot unignore ` will remove all of the ignore conditions of the specified dependency - `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
waf commented 8 months ago

@dependabot show Microsoft.CodeAnalysis.Workspaces.MSBuild ignore conditions

dependabot[bot] commented 8 months ago

No ignore conditions found for the dependency microsoft.codeanalysis.csharp.features

dependabot[bot] commented 8 months ago

No ignore conditions found for the dependency microsoft.codeanalysis.workspaces.msbuild

waf commented 8 months ago

Troubleshooting the following:

image

waf commented 8 months ago

Possibly switching from "non-grouped updates" to "grouped updates" (and closing the non-grouped updates) has hosed it. I'll manually update the dependencies and see if the next round of updates works OK.

EDIT: https://github.com/waf/CSharpRepl/pull/349

dependabot[bot] commented 8 months ago

This pull request was built based on a group rule. Closing it will not ignore any of these versions in future pull requests.