Bump csharpier and swashbuckle.aspnetcore.cli #305
Closed
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 1.0.1 to 1.2.1.
Release notes
Sourced from csharpier's releases.
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.What's Changed
Full Changelog: domaindrivendev/Swashbuckle.AspNetCore@v9.0.6...v10.0.0
9.0.6
What's Changed
Full Changelog: domaindrivendev/Swashbuckle.AspNetCore@v9.0.5...v9.0.6
9.0.5
What's Changed
Full Changelog: domaindrivendev/Swashbuckle.AspNetCore@v9.0.4...v9.0.5
9.0.4
What's Changed
ETagvalues by @martincostello in Fix incorrect ETag values domaindrivendev/Swashbuckle.AspNetCore#3490Accept-Encodingparsing by @martincostello in FixAccept-Encodingparsing domaindrivendev/Swashbuckle.AspNetCore#3492Accept-Encodingquality by @martincostello in Check Accept-Encoding quality domaindrivendev/Swashbuckle.AspNetCore#3493WebHostusage from tests by @martincostello in Remove WebHost usage domaindrivendev/Swashbuckle.AspNetCore#3517$typediscriminator for[JsonPolymorphic]by @lilinus in Default discriminator "$type" for JsonPolymorphicAttribute (annotations) domaindrivendev/Swashbuckle.AspNetCore#3496New Contributors
Full Changelog: domaindrivendev/Swashbuckle.AspNetCore@v9.0.3...v9.0.4
9.0.3
What's Changed
Content-Lengthfor swagger-ui and Redoc static assets by @martincostello in Fix incorrect Content-Length for swagger-ui and Redoc static assets domaindrivendev/Swashbuckle.AspNetCore#3488Full Changelog: domaindrivendev/Swashbuckle.AspNetCore@v9.0.2...v9.0.3
9.0.2
What's Changed
New Contributors
Full Changelog: domaindrivendev/Swashbuckle.AspNetCore@v9.0.1...v9.0.2
9.0.1
What's Changed
Full Changelog: domaindrivendev/Swashbuckle.AspNetCore@v9.0.0...v9.0.1
9.0.0
📣 This release contains the following breaking changes:
netstandard2.0and thus .NET Framework - now onlynet8.0andnet9.0are supported.[Obsolete]in previous releases.--serializeasv2option from Swashbuckle.AspNetCore.Cli, which was superseded by--openapiversionfrom version 8.0.0.What's Changed
[Range]and respectParseLimitsInInvariantCultureproperty by @martincostello in Add tests for RangeAttribute and respect ParseLimitsInInvariantCulture property domaindrivendev/Swashbuckle.AspNetCore#3448[Range]behaviour by @martincostello in Fix RangeAttribute behaviour domaindrivendev/Swashbuckle.AspNetCore#3449Full Changelog: domaindrivendev/Swashbuckle.AspNetCore@v8.1.4...v9.0.0
8.1.4
What's Changed
ArgumentNullExceptionbeing thrown generating examples by @skironDotNet in Avoid ArgumentNullException being thrown generating examples domaindrivendev/Swashbuckle.AspNetCore#3444Full Changelog: domaindrivendev/Swashbuckle.AspNetCore@v8.1.3...v8.1.4
8.1.3
What's Changed
New Contributors
Full Changelog: domaindrivendev/Swashbuckle.AspNetCore@v8.1.2...v8.1.3
8.1.2
What's Changed
New Contributors
Full Changelog: domaindrivendev/Swashbuckle.AspNetCore@v8.1.1...v8.1.2
Commits viewable in compare view.
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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore <dependency name> major versionwill 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 <dependency name> minor versionwill 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 <dependency name>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 <dependency name>will remove all of the ignore conditions of the specified dependency@dependabot unignore <dependency name> <ignore condition>will remove the ignore condition of the specified dependency and ignore conditions