Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 25, 2024

Bumps csharpier from 0.29.2 to 0.30.2.

Release notes

Sourced from csharpier'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'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 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)

@dependabot dependabot bot added .NET Pull requests that update .net code dependencies Pull requests that update a dependency file labels Nov 25, 2024
@latonz latonz force-pushed the dependabot/nuget/csharpier-0.30.2 branch from 5376f0f to dd61a5b Compare November 27, 2024 07:57
@latonz
Copy link
Contributor

latonz commented Nov 27, 2024

@dependabot recreate

@dependabot dependabot bot force-pushed the dependabot/nuget/csharpier-0.30.2 branch from dd61a5b to baf8a1e Compare November 27, 2024 07:59
@latonz
Copy link
Contributor

latonz commented Nov 27, 2024

@dependabot recreate

Bumps [csharpier](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
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/nuget/csharpier-0.30.2 branch from baf8a1e to 8758486 Compare November 27, 2024 10:33
@latonz latonz merged commit 8e0ebad into main Nov 27, 2024
19 checks passed
@latonz latonz deleted the dependabot/nuget/csharpier-0.30.2 branch November 27, 2024 10:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file .NET Pull requests that update .net code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants