Skip to content

Bump csharpier from 1.4.0 to 1.4.1 - #78

Merged
polewskm merged 2 commits into
mainfrom
dependabot/nuget/dot-config/nuget-232c275075
Nov 29, 2026
Merged

polewskm merged 2 commits into
mainfrom
dependabot/nuget/dot-config/nuget-232c275075

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 27, 2026 •

Copy link
Copy Markdown
Contributor

Updated csharpier from 1.4.0 to 1.4.1.

Release notes

Sourced from csharpier's releases.

1.4.1

What's Changed

Fix: Trailing lambda with an expression body that breaks is formatted badly #​1941

1.4.0 started keeping the arguments before a trailing lambda on the same line as the method name. When the lambda had an expression body that did not fit on one line, the body started on the same line as the => and the closing parenthesis was not moved to its own line.

// input & expected output
CallMethod(one, x =>
    x == 1 ? "one"
    : x == 2 ? "two"
    : "three"
);

CallMethod(one, x =>
    from y in x
    group y by y.Key into g
    select new
    {
        g.Key.Id,
        g.Key.Alias,
        Count = g.Count(),
    }
);

// 1.4.0
CallMethod(one, x => x == 1 ? "one"
    : x == 2 ? "two"
    : "three");

CallMethod(one, x => from y in x group y by y.Key into g select new
    {
        g.Key.Id,
        g.Key.Alias,
        Count = g.Count(),
    });

Fix: Raw string literals are formatted inconsistently #​1940

A raw string literal assigned to a variable kept its opening quotes on the same line as the =. In other places, such as a lambda body, an expression bodied member, a property initializer or a cast, the opening quotes moved to the next line and the contents were indented one level further than the quotes. These cases are now formatted the same way as a variable.

// input & expected output
Func<int, string> lambda = _ => """
    SomeRawString
    """;

CallMethod(_ => """
    SomeRawString
    """
);

var cast = (object)"""
    SomeRawString
 ... (truncated)

Commits viewable in [compare view](https://github.com/belav/csharpier/compare/1.4.0...1.4.1).
</details>

@dependabot dependabot Bot added .NET Pull requests that update .NET code dependencies Pull requests that update a dependency file labels Nov 27, 2026
---
updated-dependencies:
- dependency-name: csharpier
  dependency-version: 1.4.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: nuget
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot Bot changed the title Bump the nuget group with 1 update Bump csharpier from 1.4.0 to 1.4.1 Nov 29, 2026
@dependabot
dependabot Bot force-pushed the dependabot/nuget/dot-config/nuget-232c275075 branch from 0de0491 to afa80ed Compare November 29, 2026 07:47
@polewskm polewskm self-assigned this Nov 29, 2026
@polewskm

Copy link
Copy Markdown
Contributor

/review

@ncode-review-approver ncode-review-approver Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Approved at 3dc1191: no blocker or should-fix finding remains.

@ncode-review

ncode-review Bot commented Nov 29, 2026 •

Copy link
Copy Markdown

🤖 Review complete

Verdict: ✅ Approve — No findings.

Approval: Approved — no blocker or should-fix finding remains.

3 reviewers run — 0 findings (run details)

Reviewer Model Findings Top
conventions sonnet-5-5 0 🟢
hygiene haiku-5-5 0 🟢
rule-check sonnet-5-5 0 🟢

Skipped: api-compat, architecture, completeness, correctness, data-model, infrastructure, intent, performance, security, tests

Trial: findings are posted as review threads and in the check run. $0.10 on Amazon Bedrock, 15s, at 3dc1191. (how to interact)

📋 Outcomes

Merged at 3dc1191. No findings were posted as threads.

@polewskm
polewskm merged commit 8bc8b33 into main Nov 29, 2026
11 checks passed
@polewskm
polewskm deleted the dependabot/nuget/dot-config/nuget-232c275075 branch November 29, 2026 14:39
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.

1 participant