Bump csharpier and 18 others#20
Open
dependabot[bot] wants to merge 1 commit into
Open
Conversation
Bumps csharpier from 0.17.0 to 0.30.6 Bumps EFCore.NamingConventions from 10.0.0 to 10.0.1 Bumps FluentAssertions from 8.8.0 to 8.10.0 Bumps Microsoft.AspNetCore.Authentication.JwtBearer from 10.0.2 to 10.0.9 Bumps Microsoft.EntityFrameworkCore from 10.0.2 to 10.0.9 Bumps Microsoft.EntityFrameworkCore.Design from 10.0.2 to 10.0.9 Bumps Microsoft.EntityFrameworkCore.Relational from 10.0.2 to 10.0.9 Bumps Microsoft.EntityFrameworkCore.Tools from 10.0.2 to 10.0.9 Bumps Microsoft.OpenApi from 2.7.5 to 2.10.0 Bumps NodaTime from 3.3.0 to 3.3.3 Bumps NodaTime.Serialization.JsonNet from 3.2.0 to 3.3.0 Bumps NodaTime.Serialization.SystemTextJson from 1.3.0 to 1.4.0 Bumps Npgsql.EntityFrameworkCore.PostgreSQL from 10.0.0 to 10.0.3 Bumps Npgsql.EntityFrameworkCore.PostgreSQL.NodaTime from 10.0.0 to 10.0.3 Bumps NuGet.Packaging from 6.12.5 to 6.14.3 Bumps NuGet.Protocol from 6.12.5 to 6.14.3 Bumps StackExchange.Redis from 2.10.1 to 2.13.17 Bumps Swashbuckle.AspNetCore.Swagger from 10.1.0 to 10.2.3 Bumps Swashbuckle.AspNetCore.SwaggerGen from 10.1.0 to 10.2.3 --- updated-dependencies: - dependency-name: csharpier dependency-version: 0.30.6 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: nuget-minor-and-patch - dependency-name: EFCore.NamingConventions dependency-version: 10.0.1 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: nuget-minor-and-patch - dependency-name: Microsoft.AspNetCore.Authentication.JwtBearer dependency-version: 10.0.9 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: nuget-minor-and-patch - dependency-name: Microsoft.EntityFrameworkCore dependency-version: 10.0.9 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: nuget-minor-and-patch - dependency-name: Microsoft.EntityFrameworkCore.Design dependency-version: 10.0.9 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: nuget-minor-and-patch - dependency-name: Microsoft.EntityFrameworkCore.Tools dependency-version: 10.0.9 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: nuget-minor-and-patch - dependency-name: Microsoft.OpenApi dependency-version: 2.10.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: nuget-minor-and-patch - dependency-name: NodaTime dependency-version: 3.3.3 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: nuget-minor-and-patch - dependency-name: NodaTime.Serialization.JsonNet dependency-version: 3.3.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: nuget-minor-and-patch - dependency-name: NodaTime.Serialization.SystemTextJson dependency-version: 1.4.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: nuget-minor-and-patch - dependency-name: Npgsql.EntityFrameworkCore.PostgreSQL dependency-version: 10.0.3 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: nuget-minor-and-patch - dependency-name: Npgsql.EntityFrameworkCore.PostgreSQL.NodaTime dependency-version: 10.0.3 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: nuget-minor-and-patch - dependency-name: NuGet.Packaging dependency-version: 6.14.3 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: nuget-minor-and-patch - dependency-name: NuGet.Protocol dependency-version: 6.14.3 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: nuget-minor-and-patch - dependency-name: StackExchange.Redis dependency-version: 2.13.17 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: nuget-minor-and-patch - dependency-name: Swashbuckle.AspNetCore.Swagger dependency-version: 10.2.3 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: nuget-minor-and-patch - dependency-name: Swashbuckle.AspNetCore.SwaggerGen dependency-version: 10.2.3 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: nuget-minor-and-patch - dependency-name: FluentAssertions dependency-version: 8.10.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: nuget-minor-and-patch - dependency-name: Microsoft.EntityFrameworkCore.Relational dependency-version: 10.0.9 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: nuget-minor-and-patch ... Signed-off-by: dependabot[bot] <support@github.com>
This was referenced Jul 11, 2026
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 csharpier from 0.17.0 to 0.30.6.
Release notes
Sourced from csharpier's releases.
0.30.6
What's Changed
Trailing comma is placed on new line if last enum value is followed by a comment #1429
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)
0.28.2
What's Changed
Pipe to
dotnet csharpierfails 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
.editorconfigfile, 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.editorconfigsThanks 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
.csxfiles 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
*.cswhich 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
\nbut CSharpier was configured to use\r\n, then it would report the problem asThe file did not end with a single newlineCSharpier added support for reading line ending configuration from an
.editorconfigwhich could containend_of_line = crlfso some users were unknowingly configuring CSharpier to use\r\nCSharpier 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
NSubstitutebeforeNewtonsoft.Json#1061The using sorting in
0.26.4was 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
targetFrameworkto 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-windowsIt now makes use of
NETCoreSdkVersionto 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
.editorconfigfiles, 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
.editorconfigfor the file being piped to CSharpier. Under normal usage it recursively looks for all possible.editorconfigfiles 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
Systemto 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
.editorconfigfile 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/.editorconfigfile would be used for determining the configuration options for a file withinsrc/ProjectName. This resulted in the existing options within.csharpierrcbeing ignored.With 0.26.1, if a
.csharpierrcexists 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
// 0.24.2 - supported some basic versions of #if
#if DEBUG
// some code
#endif
// 0.25.0 - supports the full range of #if including nested statements
// would require the use of the preprocessorSymbolSets configuration option previously
#if (DEBUG && !NET48) || MONO
// some code
#if NET6_0
// some other code
#endif
#endif
Thanks go to @glmnet for the contribution
Support c# 12 features #883
CSharpier now supports formatting
Primary Constructors,
Alias any typ, and
Default lambda parameters
Support for log levels #875
CSharpier now supports
--loglevelwith the CLI andCSharpier_LogLevelfor MSBuild. This changes the level of logging output. Valid options are:Thanks go to @samtrion for the suggestion
... (truncated)
0.24.2
What's Changed
csharpier-ignore comments force CRLF line endings #884
In a case where
// csharpier-ignoreon a multi-line statement#if DEBUG)CSharpier would end up formatting the file with
CRLFon the// csharpier-ignorestatement butLFin the rest of the file. The file would then fail the formatting check.Thanks go to @pingzing for the bug report and detailed reproduction steps.
Full Changelog: belav/csharpier@0.24.1...0.24.2
0.24.1
What's Changed
0.24.0 Regression csharpier-ignore causes blank lines between statements to be removed. #879
Thanks go to @Pentadome for reporting the regression bug.
0.24.0
What's Changed
Formatting named list patterns loses code and causes compilation error #876
Thanks go to @Dragemil for reporting the bug
CSharpier.MSBuild does not support usernames or project paths with spaces #872
CSharpier.MSBuild would throw an exception when building a project if the username had a space, or if the project path had a space.
Thanks go to @ooo2003003v2 for reporting the bug.
#pragma with long line introduces extra line break #865
This is a breaking change. There were also a number of types that should not have been
publicthat were madeinternal.Thanks go to @verdverm for the suggestion
What's Changed
Allow comment-description suffix on csharpier-ignore comments #835
It is now possible to include a suffix on
csharpier-ignorecomments. The description must be seperated from the comment by at least one - character.Thanks go to @strepto for the suggestion
Fix formatting for open generics #832
Thanks go to @jonstodle for reporting the issue
#region should be indented based on context #812
Previously the preceding whitespace was left as is on
#regionand#endregionwhich resulted undesired formatting.... (truncated)
0.22.1
0.22.1
What's Changed
Fix for CSharpier.MsBuild so it selects a compatible framework if the project does not target net6 or net7 #797
This fix auto selects
net7.0for projects that do not targetnet6.0ornet7.0. This means theCSharpier_FrameworkVersionproperty is only required if a project is targeting <net6.0andnet7.0is not installed.Thanks go to @samtrion for submitting the fix.
Full Changelog: belav/csharpier@0.21.1...0.22.1
0.22.0
0.22.0
Breaking Changes
Support only UTF8 and UTF8-BOM files #787
Previously UTF.Unknown was used to try to determine file encodings.
This was problematic because if a file was too small it would not properly detect the encoding.
This file saved as UTF8 would be detected as SBCSCodePageEncoding and result in CSharpier trying to parse the following file
CSharpier now only supports UTF8 & UTF8-BOM files. This is consistent with the IDE plugins, which stream files to CSharpier as UTF8.
Thanks go to @Meligy for reporting the problem.
CSharpier.MSBuild support for .NET 7 #773
CSharpier.MSBuild now multi-targets net6.0 and net7.0. As a side effect of multi-targeting, the
CSharpier_FrameworkVersionproperty is now required for projects that do not targetnet6.0ornet7.0. See https://csharpier.com/docs/MsBuild#target-frameworksThanks go to @OneCyrus for reporting it
What's Changed
Fix for CSharpier.MsBuild "Specified condition "$(CSharpier_Check)" evaluates to "" instead of a boolean" #788
When projects referencing CSharpier.MsBuild were reloaded, they would get the error "Specified condition "$(CSharpier_Check)" evaluates to "" instead of a boolean" and fail to load.
Thanks go to @samtrion for submitting the fix.
List Pattern support for subpattern within a slice #779
CSharpier did not have proper support for the new c# 11 slice pattern. When a slice contained a pattern, that pattern would be lost.
Csharpier removes empty lines in ignored blocks of code #742
In some instances csharpier was removing empty lines in
csharpier-ignoreblocks of codeThanks go to @MonstraG for reporting it
Await + LINQ query syntax indents incorrectly #740
... (truncated)
0.20.0
What's Changed
Improve Tuple formatting #735
Tuples would break poorly in some cases
Thanks go to @BenjaBobs for reporting the bug.
Full Changelog: belav/csharpier@0.19.2...0.20.0
0.19.0
What's Changed
Adding a cache to speed up formatting. #692
CSharpier now caches information about files that it has formatted to speed up subsequent runs.
By default the following are used as cache keys and a file is only formatted if one of them has changed.
The cache is stored at [LocalApplicationData]/CSharpier/.formattingCache.
Ignore node_modules #699
CSharpier now ignores any files within a node_modules folder.
Thanks go to @RichiCoder1 for the suggestion and @SubjectAlpha for the implementation.
Extra space before curly brace in array initializer #693
Thanks go to @TiraelSedai for reporting the bug.
New Contributors
Full Changelog: belav/csharpier@0.18.0...0.19.0
0.18.0
What's Changed
Initial C# 11 support #686
CSharpier can format the following c# 11 features
Use relative file path in CommandLineFormatter #680
CSharpier now outputs relative or absolute file paths so that they are clickable in terminals.
Thanks go to @dlech
Invalid code for comments inside expressions in verbatim interpolated strings #679