forked from dotnet/Silk.NET
-
Notifications
You must be signed in to change notification settings - Fork 0
Bump the silk3_deps group with 26 updates #32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
dependabot
wants to merge
1
commit into
develop/3.0
from
dependabot/nuget/develop/3.0/silk3_deps-ca37397984
Closed
Bump the silk3_deps group with 26 updates #32
dependabot
wants to merge
1
commit into
develop/3.0
from
dependabot/nuget/develop/3.0/silk3_deps-ca37397984
Conversation
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
Bumps BenchmarkDotNet from 0.13.11 to 0.15.2 Bumps ClangSharp.PInvokeGenerator from 17.0.1 to 20.1.2.1 Bumps coverlet.collector from 3.2.0 to 6.0.4 Bumps CSharpier.Core from 0.25.0 to 1.1.2 Bumps Fody from 6.8.0 to 6.9.3 Bumps InlineIL.Fody from 1.7.4 to 1.10.1 Bumps Microsoft.Build.Locator from 1.6.10 to 1.9.1 Bumps Microsoft.CodeAnalysis.CSharp from 4.6.0 to 4.14.0 Bumps Microsoft.CodeAnalysis.CSharp.Workspaces from 4.6.0 to 4.14.0 Bumps Microsoft.CodeAnalysis.PublicApiAnalyzers from 3.3.4 to 4.14.0 Bumps Microsoft.CodeAnalysis.Workspaces.MSBuild from 4.6.0 to 4.14.0 Bumps Microsoft.Extensions.Configuration from 7.0.0 to 9.0.8 Bumps Microsoft.Extensions.Configuration.CommandLine from 7.0.0 to 9.0.8 Bumps Microsoft.Extensions.Configuration.EnvironmentVariables from 7.0.0 to 9.0.8 Bumps Microsoft.Extensions.Configuration.Json from 7.0.0 to 9.0.8 Bumps Microsoft.Extensions.FileSystemGlobbing from 8.0.0 to 9.0.8 Bumps Microsoft.Extensions.Logging.Console from 7.0.0 to 9.0.8 Bumps Microsoft.NET.Test.Sdk from 16.1.1 to 17.14.1 Bumps Microsoft.VisualStudio.Setup.Configuration.Interop from 3.6.2115 to 3.14.2075 Bumps NUnit from 3.12.0 to 4.4.0 Bumps NUnit.Analyzers from 3.10.0 to 4.10.0 Bumps NUnit3TestAdapter from 4.5.0 to 5.1.0 Bumps System.CommandLine from 2.0.0-beta4.22272.1 to 2.0.0-beta7.25380.108 Bumps Ultz.Native.GLFW from 3.3.9.1 to 3.4.0 Bumps xunit from 2.6.3 to 2.9.3 Bumps xunit.runner.visualstudio from 2.5.1 to 3.1.4 --- updated-dependencies: - dependency-name: BenchmarkDotNet dependency-version: 0.15.2 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: silk3_deps - dependency-name: ClangSharp.PInvokeGenerator dependency-version: 20.1.2.1 dependency-type: direct:production update-type: version-update:semver-major dependency-group: silk3_deps - dependency-name: coverlet.collector dependency-version: 6.0.4 dependency-type: direct:production update-type: version-update:semver-major dependency-group: silk3_deps - dependency-name: CSharpier.Core dependency-version: 1.1.2 dependency-type: direct:production update-type: version-update:semver-major dependency-group: silk3_deps - dependency-name: Microsoft.CodeAnalysis.CSharp dependency-version: 4.14.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: silk3_deps - dependency-name: Microsoft.CodeAnalysis.CSharp.Workspaces dependency-version: 4.14.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: silk3_deps - dependency-name: Fody dependency-version: 6.9.3 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: silk3_deps - dependency-name: InlineIL.Fody dependency-version: 1.10.1 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: silk3_deps - dependency-name: Microsoft.Build.Locator dependency-version: 1.9.1 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: silk3_deps - dependency-name: Microsoft.CodeAnalysis.PublicApiAnalyzers dependency-version: 4.14.0 dependency-type: direct:production update-type: version-update:semver-major dependency-group: silk3_deps - dependency-name: Microsoft.CodeAnalysis.Workspaces.MSBuild dependency-version: 4.14.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: silk3_deps - dependency-name: Microsoft.Extensions.Configuration dependency-version: 9.0.8 dependency-type: direct:production update-type: version-update:semver-major dependency-group: silk3_deps - dependency-name: Microsoft.Extensions.Configuration.CommandLine dependency-version: 9.0.8 dependency-type: direct:production update-type: version-update:semver-major dependency-group: silk3_deps - dependency-name: Microsoft.Extensions.Configuration.EnvironmentVariables dependency-version: 9.0.8 dependency-type: direct:production update-type: version-update:semver-major dependency-group: silk3_deps - dependency-name: Microsoft.Extensions.Configuration.Json dependency-version: 9.0.8 dependency-type: direct:production update-type: version-update:semver-major dependency-group: silk3_deps - dependency-name: Microsoft.Extensions.FileSystemGlobbing dependency-version: 9.0.8 dependency-type: direct:production update-type: version-update:semver-major dependency-group: silk3_deps - dependency-name: Microsoft.Extensions.Logging.Console dependency-version: 9.0.8 dependency-type: direct:production update-type: version-update:semver-major dependency-group: silk3_deps - dependency-name: Microsoft.NET.Test.Sdk dependency-version: 17.14.1 dependency-type: direct:production update-type: version-update:semver-major dependency-group: silk3_deps - dependency-name: Microsoft.VisualStudio.Setup.Configuration.Interop dependency-version: 3.14.2075 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: silk3_deps - dependency-name: NUnit dependency-version: 4.4.0 dependency-type: direct:production update-type: version-update:semver-major dependency-group: silk3_deps - dependency-name: NUnit.Analyzers dependency-version: 4.10.0 dependency-type: direct:production update-type: version-update:semver-major dependency-group: silk3_deps - dependency-name: NUnit3TestAdapter dependency-version: 5.1.0 dependency-type: direct:production update-type: version-update:semver-major dependency-group: silk3_deps - dependency-name: System.CommandLine dependency-version: 2.0.0-beta7.25380.108 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: silk3_deps - dependency-name: Ultz.Native.GLFW dependency-version: 3.4.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: silk3_deps - dependency-name: xunit dependency-version: 2.9.3 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: silk3_deps - dependency-name: xunit.runner.visualstudio dependency-version: 3.1.4 dependency-type: direct:production update-type: version-update:semver-major dependency-group: silk3_deps ... Signed-off-by: dependabot[bot] <[email protected]>
Looks like these dependencies are no longer updatable, so this is no longer needed. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
0 participants
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 BenchmarkDotNet from 0.13.11 to 0.15.2.
Release notes
Sourced from BenchmarkDotNet's releases.
0.15.2
Full changelog: https://benchmarkdotnet.org/changelog/v0.15.2.html
Highlights
0.15.1
Full changelog: https://benchmarkdotnet.org/changelog/v0.15.1.html
Highlights
0.15.0
Full changelog: https://benchmarkdotnet.org/changelog/v0.15.0.html
0.14.0
Full changelog: https://benchmarkdotnet.org/changelog/v0.14.0.html
Highlights
BenchmarkDotNet.Diagnostics.dotMemory
#2549: memory allocation profile of your benchmarks using dotMemory, see @BenchmarkDotNet.Samples.IntroDotMemoryDiagnoserBenchmarkDotNet.Exporters.Plotting
#2560: plotting via ScottPlot (initial version)IntermediateOutputPath
,OutputPath
, andOutDir
properties to thedotnet build
command. This change forces all build outputs to be placed in a new directory generated by BenchmarkDotNet, and fixes many issues that have been reported with builds. You can also access these paths in your own.csproj
and.props
from those properties if you need to copy custom files to the output.Bug fixes
UseArtifactsOutput
.Breaking Changes
DotNetCliBuilder
removedretryFailedBuildWithNoDeps
constructor option.DotNetCliCommand
removedRetryFailedBuildWithNoDeps
property andBuildNoRestoreNoDependencies()
andPublishNoBuildAndNoRestore()
methods (replaced withPublishNoRestore()
).0.13.12
Full changelog: https://benchmarkdotnet.org/changelog/v0.13.12.html
Highlights
The biggest highlight of this release if our new VSTest Adapter, which allows to run benchmarks as unit tests in your favorite IDE!
The detailed guide can be found here.
This release also includes to a minor bug fix that caused incorrect job id generation: fixed job id generation (#2491).
Also, the target framework in the BenchmarkDotNet templates was bumped to .NET 8.0.
Commits viewable in compare view.
Updated ClangSharp.PInvokeGenerator from 17.0.1 to 20.1.2.1.
Release notes
Sourced from ClangSharp.PInvokeGenerator's releases.
No release notes found for this version range.
Commits viewable in compare view.
Updated coverlet.collector from 3.2.0 to 6.0.4.
Release notes
Sourced from coverlet.collector's releases.
6.0.4
Fixed
Diff between 6.0.3 and 6.0.4
6.0.3
Fixed
Improvements
Diff between 6.0.2 and 6.0.3
6.0.2
Fixed
Improvements
Diff between 6.0.1 and 6.0.2
6.0.1
Fixed
Improvements
Diff between 6.0.0 and 6.0.1
6.0.0
Fixed
-Could not write lines to file CoverletSourceRootsMapping - in use by another process coverlet-coverage/coverlet#1155
-Incorrect coverage for methods returning IAsyncEnumerable in generic classes coverlet-coverage/coverlet#1383
-Wrong branch coverage for async methods .NET Standard 1.x coverlet-coverage/coverlet#1376
-Empty path exception in visual basic projects coverlet-coverage/coverlet#775
-Align published nuget package version to github release version coverlet-coverage/coverlet#1413
-Sync nuget and github release versions coverlet-coverage/coverlet#1122
Improvements
-Migration of the project to .NET 6.0 coverlet-coverage/coverlet#1473
Breaking changes
New parameter ExcludeAssembliesWithoutSources to control automatic assembly exclusion coverlet-coverage/coverlet#1164. The parameter InstrumentModulesWithoutLocalSources has been removed. since it can be handled by setting ExcludeAssembliesWithoutSources to None.
The default heuristics for determining whether to instrument an assembly has been changed. In previous versions any missing source file was taken as a signal that it was a third-party project that shouldn't be instrumented, with exceptions for some common file name patterns for source generators. Now only assemblies where no source files at all can be found are excluded from instrumentation, and the code for detecting source generator files have been removed. To get back to the behaviour that at least one missing file is sufficient to exclude an assembly, set ExcludeAssembliesWithoutSources to MissingAny, or use assembly exclusion filters for more fine-grained control.
Diff between 3.2.0 and 6.0.0
5.8.0
Fixed
-Fix TypeLoadException when referencing Microsoft.Extensions.DependencyInjection v6.0.1 #1390
-Source Link for code generators fails #1322
-Await foreach has wrong branch coverage when method is generic #1210
-ExcludeFromCodeCoverage attribute on local functions ignores lambda expression #1302
Added
-Added InstrumentModulesWithoutLocalSources setting #1360 by @TFTomSun
Diff between 3.1.2 and 3.2.0
5.7.2
Fixed
-Fix CoreLib's coverage measurement is broken #1286
-Fix UnloadModule injection 1291
Diff between 3.1.1 and 3.1.2
5.7.1
Fixed
-Fix wrong branch coverage with EnumeratorCancellation attribute #1275 -Fix negative coverage exceeding int.MaxValue #1266
-Fix summary output format for culture de-DE #1263
-Fix branch coverage issue for finally block with await #1233
-Fix threshold doesn't work when coverage empty #1205
-Fix branch coverage issue for il switch #1177
-Fix branch coverage with using statement and several awaits#1176
-Fix CopyCoverletDataCollectorFiles to avoid to override user dlls for dotnet publish scenario #1243
Improvements
-Improve logging in case of exception inside static ctor of NetstandardAwareAssemblyResolver #1230
-When collecting open the hitfile with read access #1214 by https://github.com/JamesWTruher
-Add CompilerGenerated attribute to the tracker #1229
Diff between 3.1.0 and 3.1.1
5.7.0
Fixed
-Fix branch coverage for targetframework net472 #1167
-Fix F# projects with unkown source #1145
-Fix SkipAutoProps for inline assigned properties #1139
-Fix partially covered throw statement #1144
-Fix coverage threshold not failing when no coverage #1115
-Fix partially covered await foreach statement #1107 by https://github.com/alexthornton1
-Fix System.MissingMethodException(TryGetIntArgFromDict) #1101
-Fix ExcludeFromCodeCoverage on props #1114
-Fix incorrect branch coverage with await using #1111 by https://github.com/alexthornton1
Added
-Support deterministic reports #1113
-Specifying threshold level for each threshold type #1123 by https://github.com/pbmiguel
Improvements
-Implementation of Npath complexity for the OpenCover reports #1058 by https://github.com/benjaminZale
Diff between 3.0.3 and 3.1.0
5.6.3
Fixed
-Fix code coverage stops working if assembly contains source generators generated file #1091
Diff between 3.0.2 and 3.0.3
5.6.2
Fixed
-Fix multi-line lambda coverage regression #1060
-Opt-in reachability helper to mitigate resolution issue #1061
Diff between 3.0.1 and 3.0.2
5.6.1
Fixed
-Fix severe loss in coverage #1043 by https://github.com/daveMueller
5.6.0
Fixed
-Attribute exclusion does not work if attribute name does not end with "Attribute" #884 by https://github.com/bddckr
-Fix deterministic build+source link bug #895
-Fix anonymous delegate compiler generate bug #896
-Fix incorrect branch coverage with await ValueTask #949 by https://github.com/alexthornton1
-Fix switch pattern coverage #1006
Added
-Skip autoprops feature #912
-Exclude code that follows [DoesNotReturn] from code coverage #904 by https://github.com/kevin-montrose
-CoverletReport MSBuild variable containing coverage filenames #932 by https://github.com/0xced
-Add Visual Studio Add-In #954 by https://github.com/FortuneN
-Remove workaround for deterministic build for sdk >= 3.1.100 #965
-Allow standalone coverlet usage for integration/end-to-end tests using .NET tool driver #991
-Support .NET Framework(>= net461) for in-process data collectors #970
5.4.0
Fixed
-Fix for code complexity not being generated for methods for cobertura reporter #738 by https://github.com/dannyBies
-Fix coverage, skip branches in generated MoveNext() for singleton iterators #813 by https://github.com/bert2
-Fix 'The process cannot access the file...because it is being used by another process' due to double flush for collectors driver #coverlet-coverage/coverlet#835
-Fix skip [ExcludefromCoverage] for generated async state machine #849
Added
-Added support for deterministic build for msbuild/collectors driver #802 #796 with the help of https://github.com/clairernovotny and https://github.com/tmat
Improvements
-Refactore DependencyInjection #728 by https://github.com/daveMueller
5.3.1
Fixed
-Fix ExcludeFromCodeCoverage attribute bugs #129 and #670 with #671 by https://github.com/matteoerigozzi
-Fix bug with nested types filtering #689
-Fix Coverage Issue - New Using + Async/Await + ConfigureAwait #669
-Improve branch detection for lambda functions and async/await statements #702 by https://github.com/matteoerigozzi
-Improve coverage, hide compiler generated branches for try/catch blocks inside async state machine #716 by https://github.com/matteoerigozzi
-Improve coverage, skip lambda cached field #753
Improvements
-Trim whitespace between values when reading from configuration from runsettings #679 by https://github.com/EricStG
-Code improvement, flow ILogger to InstrumentationHelper #727 by https://github.com/daveMueller
-Add support for line branch coverage in OpenCover format #772 by https://github.com/costin-zaharia
5.3.0
Added
-Add log to tracker #553
-Exclude by assembly level System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverage #589
-Allow coverlet integration with other MSBuild test strategies#615 by https://github.com/sharwell
Fixed
-Fix and simplify async coverage #549
-Improve lambda scenario coverage #583
-Mitigate issue in case of failure in assembly loading by cecil #625
-Fix ConfigureAwait state machine generated branches #634
-Fix coverage overwritten if the project has multiple target frameworks #636
-Fix cobertura Jenkins reporter + source link support #614 by https://github.com/daveMueller
-Fix pdb file locking during instrumentation #656
Improvements
-Improve exception message for unsupported runtime [#569](https://github.com/tonerdo/ coverlet/pull/569) by https://github.com/daveMueller
-Improve cobertura absolute/relative path report generation #661 by https://github.com/daveMueller
5.2.0
[Feature][Collectors]Output multiple formats #533
[Bug fix] Fix exclude by files #524
[Feature] Skip instrumentation of module with embedded ppbd without local sources #510 -> with this today xunit will be skipped in automatic way.
[Bug fix] Changed to calculate based on the average coverage of the module #479
[Bug fix] Fix property attribute detection #477
[Feature] Different exit codes to indicate particular failures #412
[Bug fix] Fix instrumentation serialization bug #458
[Bug fix] Fix culture for cobertura xml report #464
5.1.1
#406 downgrades verbosity when hits file isn't found
#409 Improves Coverage object to remove need to statically pass an instance of it
#415 Improves validation of hits file existence
5.1.0
#367 ensures invalid PDBs do not error out instrumentation
#368 fixes package layout adding support for .NET framework projects
#375 ensures PDBs exist before trying to restore them and prevents errors for assemblies with embedded PDBs
#376 makes inclusion of test assembly excluded by default and configurable
#383 ensures Coverlet restores original assemblies if process exits unexpectedly
#397 rounds down Coverage result
5.0.0
#303 fixes strong name validation errors
#309 adds option to only record a single hit to improve performance
#318 adds support for covering test files
#322 reverts using memory mapped files to store hit counts
#331 fixes open cover reporting errors
#341 adds logging to Coverlet to improve debugging
4.1.1
#286 Fixes type loading issues with .NET Framework assemblies
#291 Adds enhancements to multi-threaded scenarios
#297 and #302 Fixes issues with instrumenting System.Private.CoreLib
#276 switches to using memory mapped files instead of regular files for storing hit information
#277 Enhances support for async/await branches after coverage merge
4.1.0
4.0.0
3.2.2
3.2.1
Commits viewable in compare view.
Updated CSharpier.Core from 0.25.0 to 1.1.2.
Release notes
Sourced from CSharpier.Core's releases.
1.1.2
What's Changed
Inconsistencies with null-coalescing wrapping on method chains #1573
On longer method chains, depending on the exact chain a null coalescing expression wouldn't always be preceded by a new line.
Full Changelog: belav/csharpier@1.1.1...1.1.2
1.1.1
What's Changed
Unhandled exception: System.ArgumentOutOfRangeException: startIndex cannot be larger than length of string. (Parameter 'startIndex') #1673
CSharpier was throwing an exception when formating a directory contained a file without an extension.
1.1.0
What's Changed
.gitignore from parent folders impacts formatting of children #1627
CSharpier will no longer consider
.gitignore
files located above the root of the current git repository.Changes to stdin formatting #288 #1657
There is a new option
--stdin-filepath
that is used to specify the filepath CSharpier should use for resolving options and ignore files.When no path is specified via
stdin-path
<
in which case it is assumed to be xml.Support for C# 14 and .NET 10 #1654 #1646
Changes were required to support the following
Support --ignore-path CLI option #1585
It is now possible to specify the path to an ignore file
dotnet csharpier format . --ignore-path .config/.csharpierignore
Format xaml and slnx by default #1628 #1604
CSharpier now formats
xaml
andslnx
by default without the need for configuration changes.XML formatting is not taking into account EOL configuration on multiline comments #1660
When formatting the following XML, CSharpier would always use the system system default for ending lines within the comment instead of the respecting the configured EOL setting.
Error when no read access to intermediate containing folder #1656
In the case that CSharpier had access to a sub directory but not the parent of that sub directory, it was failing with an exception. That has been resolved.
Misleading message after "csharpier check" #1645
Previously the
format
andcheck
commands both used the same output message. Thecheck
command now correctly reports that it checked files and did not format them.Multiline collection expressions should not be indented #1635
CSharpier now formats collection expressions consistently when they are in a property
switch expression formatting adds odd newlines #1620
CSharpier was breaking after a discard with a when, resulting in extra new lines
multi-line raw string in linq query causes a subsequent linq query to be printed on one line #1617
... (truncated)
1.0.2
What's Changed
Performance issues when supporting .gitignore. #1588
CSharpier was using a naive algorithm for parsing and evaluating gitignore rules that caused significant perfomance issues. @kevinboss reworked the implementation to drastically increate performance.
Exclude
bin/
andobj/
directory content from xml formatting #1600CSharpier now excludes all files in
bin/
andobj/
by default.Error on syntactically valid conditional with
is
#1612The following c# is valid and compiles with
9.0.300+
. CSharpier was updated to properly parse it.Xml formatting with comments in text element inserts extra new lines #1607
CSharpier has some issues with formatting text that contained xml comments. That has been improved.
Input & expected output
1.0.1
Inconsistent formatting of single-line lambda expressions #1594
CSharpier
1.0.0
introduced a regression that caused the following formatting. This is now working as expected.dotnet csharpier format .
dotnet csharpier check .
Full Changelog: belav/csharpier@0.30.5...0.30.6
0.30.5
What's Changed
Extra blank line added to file each time csharpier runs on this file #1426
When a file ended in a comment and that comment had multiple blank lines before it, a new blank line was being added each time it was formatted.
// input
CSharpier keeps adding a newline every time a file is formatted #1408
In some cases if a file ended with a comment, CSharpier would add a new extra blank line above the comment each time it formatted the file
Full Changelog: belav/csharpier@0.30.3...0.30.4
0.30.3
What's Changed
CSharpier.MsBuild doesn't fail the github action anymore #1357
The changes for 1311 caused CSharpier.MsBuild to not report unformatted files as errors on linux.
Thanks go to @PetSerAl for the fix
0.30.2
What's Changed
CSharpier.MsBuild now uses DOTNET_HOST_PATH instead of just dotnet #1387
Use current dotnet binary from DOTNET_HOST_PATH instead of just dotnet.
https://github.com/dotnet/roslyn/blob/324fd25331c969cd742ba68eee09ffd4b6fd29e3/src/Compilers/Shared/RuntimeHostInfo.cs#L61-L64
https://learn.microsoft.com/en-us/dotnet/core/tools/dotnet-environment-variables#dotnet_host_path
Collection expression inside a dictionary adds unexpected new line #1390
Failed syntax tree validation reported when trailing comma added before a trailing comment #1388
With the following code, CSharpier will add a trailing comma before the trailing comment.
CSharpier's syntax tree validation was incorrectly reporting this as a failure.
Adds additional space before each member access in verbatim interpolated multiline string #1358
When an interpolated verbatim string contained line breaks, the code within the interpolations would contain extra spaces.
csharpier-ignore-start
now supported in object initializers #1342Fixed extra new line between cast and collection expression. #1334
Process cannot access the file "....net8.0\any\server.log" while running multiple extensions. #1324
CSharpier Server now uses a log file name based on the port that it is starting on to avoid concurrency issues trying to access the same log file
Full Changelog: belav/csharpier@0.29.0...0.29.1
0.29.0
Breaking Changes
The formatting command will now exit with an error code of 1 if one of the target files cannot be compiled #1131
Prior to 0.29.0 if csharpier encountered a file that could not be compiled it would treat it as a warning and exit with a code of 0.
As of 0.29.0 a file that cannot be compiled is now treated as an error and csharpier will exit with code 1
What's Changed
Enforce trailing commas in object and collection initializer #668
CSharpier will now add trailing commas automatically where appropriate. It will collapse to a single line and remove the trailing comma in cases where everything fits on one line.
Many thanks go to @dawust for the contribution.
Support for formatting custom file extensions #1220
Prior to 0.29.0 csharpier would only format files with an extension of .cs or .csx. It is now possible to configure csharpier to format other files extensions, and to specify configuration options per file extension.
See https://csharpier.com/docs/Configuration#configuration-overrides for more details.
Invalid blank line being added with lambda returning collection expression #1306
... (truncated)
0.28.2
What's Changed
Pipe to
dotnet csharpier
fails when subdirectory is inaccessible #1240When running the following CSharpier would look for config files in subdirectories of the
pwd
. This could lead to exceptions if some of those directories were inaccessible.Thanks go to @jamesfoster for reporting the issue.
Full Changelog: belav/csharpier@0.28.1...0.28.2
0.28.1
What's Changed
Third party .editorconfig leading to: Error Failure parsing editorconfig files #1227
When CSharpier encountered an invalid
.editorconfig
file, it would throw an exception and not format files. These files could appear in 3rd party code (for example within node_modules). CSharpier now ignores invalid lines in.editorconfigs
Thanks go to @K0Te for reporting the issue
Full Changelog: belav/csharpier@0.28.0...0.28.1
0.28.0
What's Changed
Fix dedented method call if there is a long chain #1154
In some cases of method chains, the first invocation would end up dedented.
Extra newline in switch case statement with curly braces [#1192](belav/csharpier#1192
If a case statement started with a block it would get an extra new line
Thanks go to @Phault for the contribution
Extra indent when call method on RawStringLiteral #1169
When a raw string literal was the first argument to a method call, it was getting an extra indent.
Thanks go to @Rudomitori for reporting the bug.
Using aliases sorting is not always the same depending on the input order #1168
Using aliases were not sorting properly, resulting differing outputs and unstable formatting.
Inputs of
And
Thanks go to @aurnoi1 for reporting the bug
Better support for CSharp Script #1141
Version 0.27.1 parsed
.csx
files as if they were C#, so it could only format simple ones. It now parses them as CSharpScript files so it can format them properly.Thanks go to @Eptagone for reporting the bug.
Full Changelog: belav/csharpier@0.27.1...0.27.2
0.27.1
What's Changed
Support for CSharp Script #1141
Previously CSharpier would only format files matching
*.cs
which prevented it from formatting C# script files. It now formats*.{cs,csx}
Thanks go to @Eptagone for the suggestion
Weird formatting of invocation chain #1130
Invocation chains that started with an identifier <= 4 characters were causing a strange break in the first method call. There were other edge cases cleaned up while working on the fix.
Thanks go to @Rudomitori for reporting the issue
"Failed syntax tree validation" for raw string literals #1129
When an interpolated raw string changed indentation due to CSharpier formatting, CSharpier was incorrectly reporting it as failing syntax tree validation.
Full Changelog: belav/csharpier@0.26.6...0.26.7
0.26.6
What's Changed
CSharpier incorrectly reports problems with differing line endings as "The file did not end with a single newline"#1067
If CSharpier was validating that a file was formatted, and that file contained only
\n
but CSharpier was configured to use\r\n
, then it would report the problem asThe file did not end with a single newline
CSharpier added support for reading line ending configuration from an
.editorconfig
which could containend_of_line = crlf
so some users were unknowingly configuring CSharpier to use\r\n
CSharpier now correctly reports the problem as
The file contained different line endings than formatting it would result in.
Full Changelog: belav/csharpier@0.26.5...0.26.6
0.26.5
What's Changed
0.26.4 sorts
NSubstitute
beforeNewtonsoft.Json
#1061The using sorting in
0.26.4
was taking into account case.Thanks go to @loraderon for contributing the fix.
Extra newline added when using a collection expression with { get; } #1063
A collection expression in a property initializer was including an extra new line.
Thanks go to @SapiensAnatis for contributing the fix.
Comments at the end of a collection expression should be indented #1059
When the close bracket on a collection expression had a leading comment, it had the same indentation as the bracket.
Thanks go to @Jackenmen for reporting the problem.
CSharpier inserts extra spaces around the contents of collection expressions #1002
Thanks go to @golavr for reporting the problem.
Configuration files not respected for stdin #1028
When piping a file to csharpier via stdin, CSharpier uses the working directory to locate any configuration files. This was broken with
0.26.0
.Thanks go to @kikniknik for reporting the problem.
Modify CSharpier.MSBuild to use NETCoreSdkVersion to detect which sdk to use for running CSharpier #1022 #1027
Previously CSharpier.MSBuild was using
targetFramework
to determine which version of CSharpier to run. This was problematic when there were multiple target frameworks, or the project was targeting a superset such asnet8.0-windows
It now makes use of
NETCoreSdkVersion
to determine which version of CSharpier to run.Thanks go to @Tyrrrz for the suggestion and to @Cjewett for the contribution to make it work
CSharpierIgnore not respected when recursively finding .editorconfig
When looking for
.editorconfig
files, CSharpier looks for them recursively in the current directory. This logic was not taking into account any files or directories ignored by a.csharpierignore
.Thanks go to @sebastieng84 for the contribution.
Optimize editorconfig lookups when piping files #1039
CSharpier now only looks for an
.editorconfig
for the file being piped to CSharpier. Under normal usage it recursively looks for all possible.editorconfig
files for the given directory.Full Changelog: belav/csharpier@0.26.2...0.26.3
0.26.2
0.26.2
What's Changed
CSharpier.MsBuild does not support DotNet 8 #1012
When using CSharpier.MsBuild in a setting where the project targeted net8.0 and only the net8 sdk was installed, CSharpier.MsBuild would attempt to run the net7.0 version of csharpier and fail because the net7 sdk was not installed.
Thanks go to @aditnryn for the fix
Global System using directives should be sorted first #1003
Global using were not sorting
System
to the top, which was inconsistent with regular using.Thanks go to @vipentti for the fix
Full Changelog: belav/csharpier@0.26.1...0.26.2
0.26.1
What's Changed
Editorconfig with duplicated sections was freezing IDE's #989
CSharpier was unable to parse an
.editorconfig
file that contained duplicate sections and would crash. This would result in a hung IDE.Thanks go to @echoix for helping track this down.
A .csharpierrc file anywhere above a file now takes priority over any .editorconfig #987
Given the following setup
Originally with 0.26.0, the
/src/ProjectName/.editorconfig
file would be used for determining the configuration options for a file withinsrc/ProjectName
. This resulted in the existing options within.csharpierrc
being ignored.With 0.26.1, if a
.csharpierrc
exists anywhere above a given file, it will be used to determine the configuration options.Thanks go to @parched for reporting the issue.
Full Changelog: belav/csharpier@0.26.0...0.26.1
0.26.0
What's Changed
EditorConfig Support
CSharpier will now read configuration options from an
.editorconfig
. See https://csharpier.com/docs/Configuration for more details.Net8 Support
CSharpier now supports the .net8 sdk. It still supports net6 and net7.
Sorting of using directives #661
CSharpier now sorts using statements. It follows the following rules
Remove line before the content of a bracketless if/else statement #979