Skip to content

build: Bump the nuget-minor-and-patch group with 1 update - #33

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/nuget/dot-config/nuget-minor-and-patch-232c275075
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/nuget/dot-config/nuget-minor-and-patch-232c275075

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 23, 2026

Copy link
Copy Markdown
Contributor

Updated csharpier from 1.3.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)

## 1.4.0

## Breaking Changes
### Drop support for net8.0 and net9.0 [#​1888](https://github.com/belav/csharpier/issues/1888)
CSharpier and CSharpier.MsBuild now target `net10.0` and `net11.0`. CSharpier.Core targets `net10.0`, `net11.0` and `netstandard2.0`.

## What's Changed
### Feature: Support for .NET 11 and C# 15 [#​1888](https://github.com/belav/csharpier/issues/1888)
CSharpier now supports the new syntax in C# 15.
```c#
public union Pet(Cat, Dog, Bird);

public closed record GateState;

HashSet<string> set = [with(StringComparer.OrdinalIgnoreCase), "Hello", "HELLO", "hello"];

outer:
for (int row = 0; row < grid.Height; row++)
{
    for (int column = 0; column < grid.Width; column++)
    {
        if (grid[row, column].IsBlocked)
        {
            continue outer;
        }

        if (grid[row, column].IsGoal)
        {
            break outer;
        }
    }
}

Feature: Avoid chopping single trailing lambda #​1865

When the last argument is a lambda with a block body, and the arguments up to and including the => fit on one line, CSharpier now keeps them on the same line as the method name.

// input & expected output
logging.AddFile(Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "server{0}.log"), o =>
{
    o.MaxRollingFiles = 1;
});

// 1.3.0
logging.AddFile(
    Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "server{0}.log"),
    o =>
    {
        o.MaxRollingFiles = 1;
    }
);

... (truncated)

1.3.11-beta1

1.3.6

1.3.6

What's Changed

Fix bug where 2nd instance of VSCode was not able to format code #​784

Thanks to @​BenasB for reporting the issue

Commits viewable in compare view.

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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will 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 version will 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

Bumps csharpier from 1.3.0 to 1.4.1

---
updated-dependencies:
- dependency-name: csharpier
  dependency-version: 1.4.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: nuget-minor-and-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added .NET Pull requests that update .NET code dependencies Pull requests that update a dependency file labels Nov 23, 2026
@github-actions
github-actions Bot enabled auto-merge (squash) November 23, 2026 21:47

This branch has not been deployed

No deployments
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.

0 participants