Skip to content

chore(deps): Bump CSharpier.MSBuild from 0.29.2 to 0.30.2#67

Merged
dependabot[bot] merged 1 commit intomainfrom
dependabot/nuget/CSharpier.MSBuild-0.30.2
Dec 3, 2024
Merged

chore(deps): Bump CSharpier.MSBuild from 0.29.2 to 0.30.2#67
dependabot[bot] merged 1 commit intomainfrom
dependabot/nuget/CSharpier.MSBuild-0.30.2

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 3, 2024

Bumps CSharpier.MSBuild from 0.29.2 to 0.30.2.

Release notes

Sourced from CSharpier.MSBuild's releases.

0.30.2

What's Changed

Collection expression inside a dictionary adds unexpected new line #1390

// input & expected output
Dictionary<string, string[]> dictionary = new()
{
    {
        "Key",
        [
            "SomeValue__________________________________________",
            "SomeValue__________________________________________",
        ]
    },
};
// 0.30.1
Dictionary<string, string[]> dictionary = new()
{
{
"Key",
    [
        &quot;SomeValue__________________________________________&quot;,
        &quot;SomeValue__________________________________________&quot;,
    ]
},

};

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.

// input
var someObject = new SomeObject()
{
    Property1 = 1,
    Property2 = 2 // Trailing Comment
};
// output
var someObject = new SomeObject()
{
Property1 = 1,
Property2 = 2, // Trailing Comment
};

0.30.0

Breaking Changes

... (truncated)

Changelog

Sourced from CSharpier.MSBuild's changelog.

# 0.30.2

What's Changed

Collection expression inside a dictionary adds unexpected new line #1390

// input & expected output
Dictionary<string, string[]> dictionary = new()
{
    {
        "Key",
        [
            "SomeValue__________________________________________",
            "SomeValue__________________________________________",
        ]
    },
};
// 0.30.1
Dictionary<string, string[]> dictionary = new()
{
{
"Key",
    [
        &quot;SomeValue__________________________________________&quot;,
        &quot;SomeValue__________________________________________&quot;,
    ]
},

};

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.

// input
var someObject = new SomeObject()
{
    Property1 = 1,
    Property2 = 2 // Trailing Comment
};
// output
var someObject = new SomeObject()
{
Property1 = 1,
Property2 = 2, // Trailing Comment
};

Full Changelog: belav/csharpier@0.30.1...0.30.2

0.30.1

... (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 @samtrion.


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 <dependency name> 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)

Bumps [CSharpier.MSBuild](https://github.com/belav/csharpier) from 0.29.2 to 0.30.2.
- [Release notes](https://github.com/belav/csharpier/releases)
- [Changelog](https://github.com/belav/csharpier/blob/main/CHANGELOG.md)
- [Commits](belav/csharpier@0.29.2...0.30.2)

---
updated-dependencies:
- dependency-name: CSharpier.MSBuild
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot requested a review from a team as a code owner December 3, 2024 05:55
@dependabot dependabot bot added the dependency:nuget Indicates a pull request related to updating or managing NuGet package dependencies. label Dec 3, 2024
@dependabot dependabot bot requested a review from wilwer December 3, 2024 05:55
@sonarqubecloud
Copy link

sonarqubecloud bot commented Dec 3, 2024

@codecov
Copy link

codecov bot commented Dec 3, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.40%. Comparing base (6af33bb) to head (85bc7bd).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #67   +/-   ##
=======================================
  Coverage   98.40%   98.40%           
=======================================
  Files          18       18           
  Lines         251      251           
  Branches       38       38           
=======================================
  Hits          247      247           
  Misses          2        2           
  Partials        2        2           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@samtrion samtrion left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dependabot squash and merge

@dependabot dependabot bot merged commit 550c301 into main Dec 3, 2024
@dependabot dependabot bot deleted the dependabot/nuget/CSharpier.MSBuild-0.30.2 branch December 3, 2024 05:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependency:nuget Indicates a pull request related to updating or managing NuGet package dependencies.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant