Bump the silk3_deps group with 28 updates#102
Open
dependabot[bot] wants to merge 1 commit intodevelop/3.0from
Open
Bump the silk3_deps group with 28 updates#102dependabot[bot] wants to merge 1 commit intodevelop/3.0from
dependabot[bot] wants to merge 1 commit intodevelop/3.0from
Conversation
Bumps BenchmarkDotNet from 0.13.12 to 0.15.8 Bumps ClangSharp.PInvokeGenerator from 17.0.1 to 20.1.2.1 Bumps coverlet.collector from 6.0.2 to 8.0.1 Bumps csharpier from 0.28.2 to 1.2.6 Bumps CSharpier.Core from 0.28.2 to 1.2.6 Bumps Fody from 6.8.1 to 6.9.3 Bumps Humanizer.Core from 2.14.1 to 3.0.10 Bumps InlineIL.Fody from 1.8.0 to 1.10.2 Bumps Microsoft.Build.Locator from 1.7.8 to 1.11.2 Bumps Microsoft.CodeAnalysis.CSharp to 4.14.0, 5.3.0 Bumps Microsoft.CodeAnalysis.CSharp.Workspaces to 4.14.0, 5.3.0 Bumps Microsoft.CodeAnalysis.Workspaces.MSBuild from 4.9.2 to 5.3.0 Bumps Microsoft.Extensions.Configuration from 8.0.0 to 10.0.5 Bumps Microsoft.Extensions.Configuration.CommandLine from 8.0.0 to 10.0.5 Bumps Microsoft.Extensions.Configuration.EnvironmentVariables from 8.0.0 to 10.0.5 Bumps Microsoft.Extensions.Configuration.Json from 8.0.0 to 10.0.5 Bumps Microsoft.Extensions.FileSystemGlobbing from 8.0.0 to 10.0.5 Bumps Microsoft.Extensions.Logging.Console from 8.0.0 to 10.0.5 Bumps Microsoft.VisualStudio.Setup.Configuration.Interop from 3.10.2154 to 3.14.2075 Bumps NUnit.Analyzers from 4.1.0 to 4.12.0 Bumps Silk.NET.BuildTools from 2.21.0 to 2.23.0 Bumps System.CommandLine from 2.0.0-beta4.22272.1 to 2.0.5 Bumps System.IO.Hashing from 8.0.0 to 10.0.5 Bumps System.Linq.Async from 6.0.1 to 7.0.0 Bumps Verify.DiffPlex from 3.0.0 to 3.1.2 Bumps Verify.NUnit from 25.0.1 to 31.15.0 Bumps xunit from 2.8.1 to 2.9.3 Bumps xunit.runner.visualstudio from 2.8.1 to 3.1.5 --- updated-dependencies: - dependency-name: BenchmarkDotNet dependency-version: 0.15.8 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: 8.0.1 dependency-type: direct:production update-type: version-update:semver-major dependency-group: silk3_deps - dependency-name: csharpier dependency-version: 1.2.6 dependency-type: direct:production update-type: version-update:semver-major dependency-group: silk3_deps - dependency-name: CSharpier.Core dependency-version: 1.2.6 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: Humanizer.Core dependency-version: 3.0.10 dependency-type: direct:production update-type: version-update:semver-major dependency-group: silk3_deps - dependency-name: Microsoft.CodeAnalysis.CSharp dependency-version: 5.3.0 dependency-type: direct:production update-type: version-update:semver-major dependency-group: silk3_deps - dependency-name: Microsoft.CodeAnalysis.CSharp.Workspaces dependency-version: 5.3.0 dependency-type: direct:production update-type: version-update:semver-major dependency-group: silk3_deps - dependency-name: InlineIL.Fody dependency-version: 1.10.2 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: silk3_deps - dependency-name: Microsoft.Build.Locator dependency-version: 1.11.2 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: silk3_deps - dependency-name: Microsoft.CodeAnalysis.Workspaces.MSBuild dependency-version: 5.3.0 dependency-type: direct:production update-type: version-update:semver-major dependency-group: silk3_deps - dependency-name: Microsoft.Extensions.Configuration dependency-version: 10.0.5 dependency-type: direct:production update-type: version-update:semver-major dependency-group: silk3_deps - dependency-name: Microsoft.Extensions.Configuration.CommandLine dependency-version: 10.0.5 dependency-type: direct:production update-type: version-update:semver-major dependency-group: silk3_deps - dependency-name: Microsoft.Extensions.Configuration.EnvironmentVariables dependency-version: 10.0.5 dependency-type: direct:production update-type: version-update:semver-major dependency-group: silk3_deps - dependency-name: Microsoft.Extensions.Configuration.Json dependency-version: 10.0.5 dependency-type: direct:production update-type: version-update:semver-major dependency-group: silk3_deps - dependency-name: Microsoft.Extensions.FileSystemGlobbing dependency-version: 10.0.5 dependency-type: direct:production update-type: version-update:semver-major dependency-group: silk3_deps - dependency-name: Microsoft.Extensions.Logging.Console dependency-version: 10.0.5 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.Analyzers dependency-version: 4.12.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: silk3_deps - dependency-name: Silk.NET.BuildTools dependency-version: 2.23.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: silk3_deps - dependency-name: System.CommandLine dependency-version: 2.0.5 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: silk3_deps - dependency-name: System.IO.Hashing dependency-version: 10.0.5 dependency-type: direct:production update-type: version-update:semver-major dependency-group: silk3_deps - dependency-name: System.Linq.Async dependency-version: 7.0.0 dependency-type: direct:production update-type: version-update:semver-major dependency-group: silk3_deps - dependency-name: Verify.DiffPlex dependency-version: 3.1.2 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: silk3_deps - dependency-name: Verify.NUnit dependency-version: 31.15.0 dependency-type: direct:production update-type: version-update:semver-major 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.5 dependency-type: direct:production update-type: version-update:semver-major dependency-group: silk3_deps ... Signed-off-by: dependabot[bot] <support@github.com>
This was referenced Apr 14, 2026
Author
|
Dependabot couldn't access the repository. Because of this, Dependabot cannot update this pull request. |
1 similar comment
Author
|
Dependabot couldn't access the repository. Because of this, Dependabot cannot update this pull request. |
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 BenchmarkDotNet from 0.13.12 to 0.15.8.
Release notes
Sourced from BenchmarkDotNet's releases.
0.15.8
This release adds OpenMetrics exporter support for Prometheus-compatible metrics export, improves the Roslyn analyzers with multi-target support and better type checking, and fixes several bugs including process deadlocks and WASM trimming issues.
Features
NO_COLORenvironment variable support for disabling console colors (#2870)Improvements
[DynamicallyAccessedMembers]attribute polyfill (#2883)AsyncProcessOutputReaderfor cleaner process output handling (#2878)Bug Fixes
BenchmarkRunner.Run<T>()with arguments on invalid benchmark type (#2880, fixes #2724)Internal
#if-#endifpreprocessor directives using PolySharp polyfills (#2881)Full Changelog: dotnet/BenchmarkDotNet@v0.15.7...v0.15.8
0.15.7
This release introduces Roslyn analyzers to catch incorrect BenchmarkDotNet usage at compile time, improves .NET Framework version detection, and updates OS detection support.
Features
[Arguments],[Params], and[ParamsAllValues]attribute usage[GenericTypeArguments]requirementsBenchmarkRunner.RuninvocationsImprovements
TargetFrameworkAttribute(#2682)OsBrandHelperBug Fixes
TestCaseFilterfor the test adapterInternal
release.yamlFull Changelog: dotnet/BenchmarkDotNet@v0.15.6...v0.15.7
0.15.6
v0.15.6
This release adds ref struct parameter support for
[ArgumentsSource], fixes Native AOT runtime moniker resolution, and upgrades to Perfolizer 0.6.0 with the new Pragmastat statistical engine.Features
[ArgumentsSource]attribute, enablingSpan<T>andReadOnlySpan<char>parameters (#2849)Bug Fixes
Improvements
Documentation
Internal
Full Changelog: dotnet/BenchmarkDotNet@v0.15.5...v0.15.6
0.15.5
This release fixes job naming consistency when using
--runtimes, clamps histogram bin bounds to avoid confusing negative values, and reduces output directory clutter by filtering unnecessary runtime and satellite assembly files.Features
Bug Fixes
SimpleJobAttributeand--runtimesCLI option (#2841)Internal
workflow_dispatchfor test workflow (#2835)Full Changelog: dotnet/BenchmarkDotNet@v0.15.4...v0.15.5
0.15.4
This release fixes issues with
ParamsSourceattribute resolution in inheritance scenarios and corrects a MSBuild syntax error in the TestAdapter.Bug Fixes
[ParamsSource]to resolve overridden methods and properties in derived classes (#2832)TestTfmsInParallelproperty that prevented Visual Studio from loading projects (#2831)Full Changelog: dotnet/BenchmarkDotNet@v0.15.3...v0.15.4
0.15.3
This release brings .NET 10 NativeAOT instruction set support, improved CPU detection on Windows when WMIC is unavailable, test adapter filtering, and numerous bug fixes.
Breaking Changes
.WithNuget()job extension in favor of.WithMsBuildArguments()(#2812)Features
Improvements
IsNetCoreandIsNativeAOTdetection for single-file apps without AOT (#2799)--nodeReuse:falsefor dotnet CLI commands to improve build isolation (#2814)Bug Fixes
ArgumentsSourceon external types not working if the argument type is not primitive (#2820)EtwProfilerfor file paths slightly under 260 characters (#2808)EventProcessor.OnEndValidationStagenot being called when critical validation errors occur (#2816)XmlExceptionthrown whenTextReader.Nullis passed toAppConfigGenerator(#2817)NativeMemoryLogParserprogram name matching (#2795)BuildPlots.RInternal
MemoryDiagnosertests on macOS (#2813)TimeConsumingBenchmarkclass to reduce test timeBenchmarkDotNetDiagnoserspackage version (#2805)GenerateProgramFile(#2802)Full Changelog: dotnet/BenchmarkDotNet@v0.15.2...v0.15.3
0.15.2
This release improves memory allocation measurement accuracy and adds new features for job ordering and runtime validation.
Features
JobOrderPolicyoption to sort jobs in numeric order instead of ordinal order (#2770)RuntimeValidatorto detect benchmarks with null runtime configuration (#2771)Improvements
Bug Fixes
Internal
--force-clonefor docs-fetch in generate-gh-pages workflowworkflow_dispatchfor publish-nightly workflowdocs/_changelogfolder from main branch (migrated to docs-changelog branch)Full Changelog: dotnet/BenchmarkDotNet@v0.15.1...v0.15.2
0.15.1
A maintenance release with improved cross-platform compatibility, a new feature for referencing external types in source attributes, and several bug fixes for ARM CPUs and unsupported operating systems.
Features
[ArgumentsSource]and[ParamsSource]to reference methods in other types via new constructor overload:[ArgumentsSource(typeof(MyClass), nameof(MyClass.Values))](#2748)Bug Fixes
REASON_CONTEXTto use proper union structure (#2745, #2756)Console.CancelKeyPresscrash on platforms that don't support it (Android, iOS, tvOS, WASM) (#2739, #2741)CpuInfo.Unknown(#2740).slnxsolution file format when searching for solution files (#2764)Improvements
ExporterBase.GetArtifactFullNameaccessibility modifier more permissiveInternal
docs-changelogbranch (#93d12c42)Full Changelog: dotnet/BenchmarkDotNet@v0.15.0...v0.15.1
0.15.0
BenchmarkDotNet v0.15.0 brings .NET 10 support, a new WakeLock feature to prevent system sleep during benchmarks, improved engine internals for more consistent measurements, and numerous bug fixes and improvements.
Features
[WakeLock]attribute and--wakeLockCLI option to prevent the system from entering sleep mode while benchmarks are running (#2670)RuntimeMoniker.Net10,NativeAot10, andMono10with full toolchain support (#2642)Platform.RiscV64for RISC-V 64-bit architecture (#2644, #2647)requiredproperties (#2579)ConfigOptions.DisableParallelBuildoption to force sequential builds (#2725)ThreadingDiagnoserandExceptionDiagnosernow support configuration to hide columns when metrics have no values (#2673)Improvements
IEngineStageEvaluatorfor more consistent instruction location and simpler code (#2688)InProcessNoEmitRunnerwith NativeAOT (#2702)ParamsAttribute.Valuessetter is now protected instead of private (#2716)ClrMdV3Disassembler(#2488)Perfonarexporters replacingPhdexportersBug Fixes
IlcGenerateCompleteTypeMetadataand updated flag names (#2616)Breaking Changes
[PhdExporter]→[PerfonarExporter],PhdJsonExporter→PerfonarJsonExporter,PhdMdExporter→PerfonarMdExporterDocumentation
... (truncated)
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, andOutDirproperties to thedotnet buildcommand. 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.csprojand.propsfrom those properties if you need to copy custom files to the output.Bug fixes
UseArtifactsOutput.Breaking Changes
DotNetCliBuilderremovedretryFailedBuildWithNoDepsconstructor option.DotNetCliCommandremovedRetryFailedBuildWithNoDepsproperty andBuildNoRestoreNoDependencies()andPublishNoBuildAndNoRestore()methods (replaced withPublishNoRestore()).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 6.0.2 to 8.0.1.
Release notes
Sourced from coverlet.collector's releases.
8.0.1
Fixed
Improvements
Diff between 8.0.0 and 8.0.1
8.0.0
Special Thanks: A huge thank you to @Bertk for driving the majority of the work in this release! 🎉
Fixed
Improvements
Diff between 6.0.4 and 8.0.0
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
Commits viewable in compare view.
Updated csharpier from 0.28.2 to 1.2.6.
Release notes
Sourced from csharpier's releases.
1.2.6
What's Changed
[Bug]: XML with DOCTYPE results in "invalid xml" warning #1809
CSharpier was not formatting xml that included a doctype and instead reporting that it was invalid xml.
[Bug]: Initializing a span using
stackallocleads to different formatting compared tonew#1808When initializing a spacn using stackalloc, it was not being formatting consistently with other code
[Bug]: Comments in otherwise empty object pattern disappear when formatting #1804
CSharpier was removing comments if they were the only content of an object pattern.
Order Modifiers (IDE0036) not formatting when code is preceded by a comment. #1784
When incorrectly ordered modifiers were preceded by a comment they were not being reordered. Thanks go to @TimothyMakkison for the contribution
Performance issue when running CLI in project with pnpm on Windows #1781
The code to determine if there is a version of CSharpier.MsBuild referenced that does not match the version of CSharpier being run has been optimized to not look in node_modules or .git. This significantly speeds things up in some setups.
Full Changelog: belav/csharpier@1.2.3...1.2.4
1.2.3
What's Changed
Large directories ignored in .gitignore significantly impact performance. #1776
CSharpier was enumerating all files within all subdirectories and then determining if they should be formatted or not. That logic was optimized to only enumerate files in directories that are not ignored.
Full Changelog: belav/csharpier@1.2.2...1.2.3
1.2.2
What's Changed
The null coalescing operator is grouped in an unexpected place #1769
Null coalescing is now consistently broken thanks to a contribution from @ogaken-1
Xml formatter should not add a second line #1760
When formatting an xml file with a declaration and extra blank line was being added.
... (truncated)
1.2.1
What's Changed
Multiline comments are now formatted in a single line in XML format #1747
The 1.2.0 release was combining xml comments into a single line.
Full Changelog: belav/csharpier@1.2.0...1.2.1
1.2.0
What's Changed
Custom XML Parser #1679
CSharpier now has a custom xml parser.
XmlDocumentandXDocumentdo not provide the original white space or the original attribute values from the file that was parsed which blocked the ability to implement supporting keeping empty new lines and not automatically encoding attributes.Support for keeping empty lines in xml files #1599
CSharpier now supports keeping a single empty line between elements in xml files. It will remove any initial or trailing empty lines.
Xml - don't automatically encode attribute values #1610
CSharpier will no longer encode attribute values. It will leave them encoded if they are supplied that way.
Add option to all integrations to report incorrect formatting as a warning instead of error #1687
Formatting "using" import split on multiple lines requires formatting it twice to get the expected result #1698
When a using contained a newline before the namespace it was not being sorted properly.
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
.gitignorefiles located above the root of the current git repository.Changes to stdin formatting #288 #1657
There is a new option
--stdin-filepaththat 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/.csharpierignoreFormat xaml and slnx by default #1628 #1604
CSharpier now formats
xamlandslnxby 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
formatandcheckcommands both used the same output message. Thecheckcommand 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.0introduced 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-startnow 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)
Commits viewable in compare view.
Updated CSharpier.Core from 0.28.2 to 1.2.6.
Release notes
Sourced from CSharpier.Core's releases.
1.2.6
What's Changed
[Bug]: XML with DOCTYPE results in "invalid xml" warning #1809
CSharpier was not formatting xml that included a doctype and instead reporting that it was invalid xml.
[Bug]: Initializing a span using
stackallocleads to different formatting compared tonew#1808When initializing a spacn using stackalloc, it was not being formatting consistently with other code
[Bug]: Comments in otherwise empty object pattern disappear when formatting #1804
CSharpier was removing comments if they were the only content of an object pattern.
Order Modifiers (IDE0036) not formatting when code is preceded by a comment. #1784
When incorrectly ordered modifiers were preceded by a comment they were not being reordered. Thanks go to @TimothyMakkison for the contribution
Performance issue when running CLI in project with pnpm on Windows #1781
The code to determine if there is a version of CSharpier.MsBuild referenced that does not match the version of CSharpier being run has been optimized to not look in node_modules or .git. This significantly speeds things up in some setups.
Full Changelog: belav/csharpier@1.2.3...1.2.4
1.2.3
What's Changed
Large directories ignored in .gitignore significantly impact performance. #1776
CSharpier was enumerating all files within all subdirectories and then determining if they should be formatted or not. That logic was optimized to only enumerate files in directories that are not ignored.
Full Changelog: belav/csharpier@1.2.2...1.2.3
1.2.2
What's Changed
The null coalescing operator is grouped in an unexpected place #1769
Null coalescing is now consistently broken thanks to a contribution from @ogaken-1
Xml formatter should not add a second line #1760
When formatting an xml file with a declaration and extra blank line was being added.
... (truncated)
1.2.1
What's Changed
Multiline comments are now formatted in a single line in XML format #1747
The 1.2.0 release was combining xml comments into a single line.
Full Changelog: belav/csharpier@1.2.0...1.2.1
1.2.0
What's Changed
Custom XML Parser #1679
CSharpier now has a custom xml parser.
XmlDocumentandXDocumentdo not provide the original white space or the original attribute values from the file that was parsed which blocked the ability to implement supporting keeping empty new lines and not automatically encoding attributes.Support for keeping empty lines in xml files #1599
CSharpier now supports keeping a single empty line between elements in xml files. It will remove any initial or trailing empty lines.
Xml - don't automatically encode attribute values #1610
CSharpier will no longer encode attribute values. It will leave them encoded if they are supplied that way.
Add option to all integrations to report incorrect formatting as a warning instead of error #1687
Formatting "using" import split on multiple lines requires formatting it twice to get the expected result #1698
When a using contained a newline before the namespace it was not being sorted properly.
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
.gitignorefiles located above the root of the current git repository.Changes to stdin formatting #288 #1657
There is a new option
--stdin-filepaththat 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/.csharpierignoreFormat xaml and slnx by default #1628 #1604
CSharpier now formats
xamlandslnxby 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
formatandcheckcommands both used the same output message. Thecheckcommand 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