guibranco / MaxiPago-SDK-dotnet

💳 ⚙️ MaxiPago gateway SDK for .NET projects
https://guibranco.github.io/MaxiPago-SDK-dotnet/
MIT License
3 stars 2 forks source link

Bump csharpier from 0.27.2 to 0.27.3 #122

Closed dependabot[bot] closed 9 months ago

dependabot[bot] commented 9 months ago

Bumps csharpier from 0.27.2 to 0.27.3.

Release notes

Sourced from csharpier's releases.

0.27.3

What's Changed

Add more options to CodeFormatterOptions #1172

The API for CSharpier was only exposing CodeFormatterOptions.PrintWidth. It is now in sync with the CLI and exposes all of the available options

public class CodeFormatterOptions
{
    public int Width { get; init; } = 100;
    public IndentStyle IndentStyle { get; init; } = IndentStyle.Spaces;
    public int IndentSize { get; init; } = 4;
    public EndOfLine EndOfLine { get; init; } = EndOfLine.Auto;
}

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.

// input & expected output
CallMethod(
    """
    SomeRawString
    """.CallMethod()
);

// 0.27.2 CallMethod( """ SomeRawString """.CallMethod() );

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

using A = string;
using B = string;
using C = string;
using D = string;

And

using D = string;
</tr></table> 

... (truncated)

Changelog

Sourced from csharpier's changelog.

0.27.2+b456544aad8957d0e2026afe1a37544bb74552ba


CSharpier no longer includes the commit hash
```bash
> dotnet csharpier --version
0.27.3

Full Changelog: https://github.com/belav/csharpier/compare/0.27.2...0.27.3

0.27.2

What's Changed

Orphan variable since 0.27.1 #1153

0.27.1 introduced the following formatting regression, resulting in short variables being orphaned on a line

// 0.27.1
o
    .Property.CallMethod(
        someParameter_____________________________,
        someParameter_____________________________
    )
    .CallMethod()
    .CallMethod();

// 0.27.2 o.Property.CallMethod( someParameter_____________________________, someParameter_____________________________ ) .CallMethod() .CallMethod();

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: https://github.com/belav/csharpier/compare/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.

... (truncated)

Commits


Dependabot compatibility score

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 will merge this PR once CI passes on it, as requested by @guibranco.


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

The following labels could not be found: nuget, packages.

guibranco commented 9 months ago

@dependabot squash and merge

codacy-production[bot] commented 9 months ago

Coverage summary from Codacy

See diff coverage on Codacy

Coverage variation Diff coverage
:white_check_mark: +0.00% (target: -1.00%) :white_check_mark:
Coverage variation details | | Coverable lines | Covered lines | Coverage | | ------------- | ------------- | ------------- | ------------- | | Common ancestor commit (c869d31802789e673a8cf3a82a149ea2e6d8cb69) | 1057 | 0 | 0.00% | | | Head commit (8438e06f8661814c3537ac137cb1b7c4b3348e8d) | 1057 (+0) | 0 (+0) | 0.00% (**+0.00%**) | **Coverage variation** is the difference between the coverage for the head and common ancestor commits of the pull request branch: ` - `
Diff coverage details | | Coverable lines | Covered lines | Diff coverage | | ------------- | ------------- | ------------- | ------------- | | Pull request (#122) | 0 | 0 | **∅ (not applicable)** | **Diff coverage** is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: `/ * 100%`

See your quality gate settings    Change summary preferences

You may notice some variations in coverage metrics with the latest Coverage engine update. For more details, visit the documentation

AppVeyorBot commented 9 months ago

:x: Build MaxiPago-SDK-dotnet 3.0.403 failed (commit https://github.com/guibranco/MaxiPago-SDK-dotnet/commit/02dfe1e012 by @dependabot[bot])

dependabot[bot] commented 9 months ago

One of your CI runs failed on this pull request, so Dependabot won't merge it.

Dependabot will still automatically merge this pull request if you amend it and your tests pass.

guibranco commented 9 months ago

@gstraccini appveyor pull request

gstraccini[bot] commented 9 months ago

AppVeyor build started! :rocket:

Build ID: 49225398 Version: 3.0.404

sonarcloud[bot] commented 9 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

AppVeyorBot commented 9 months ago

:white_check_mark: Build MaxiPago-SDK-dotnet 3.0.404 completed (commit https://github.com/guibranco/MaxiPago-SDK-dotnet/commit/02dfe1e012 by @dependabot[bot])

codecov[bot] commented 9 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (c869d31) 0.00% compared to head (8438e06) 0.00%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #122 +/- ## ===================================== Coverage 0.00% 0.00% ===================================== Files 40 40 Lines 1057 1057 Branches 23 23 ===================================== Misses 1057 1057 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.