zejji / DbContextScopeEFCore

A version of Mehdi El Gueddari's DbContextScope library updated for EF Core with a number of improvements and bug fixes
9 stars 2 forks source link

Bump csharpier from 0.26.7 to 0.27.0 #146

Closed dependabot[bot] closed 7 months ago

dependabot[bot] commented 7 months ago

Bumps csharpier from 0.26.7 to 0.27.0.

Release notes

Sourced from csharpier's releases.

0.27.0

What's Changed

readonly ref is changed to ref readonly causing error CS9190 #1123

CSharpier was sorting modifiers in all places they occurred. Resulting the following change that led to code that would not compile.

// input
void Method(ref readonly int someParameter) { }

// 0.26.7 void Method(readonly ref int someParameter) { }

// 0.27.0 void Method(ref readonly int someParameter) { }

Thanks go to @​aurnoi1 for reporting the bug

#if at the end of collection expression gets eaten #1119

When a collection expression contained a directive immediately before the closing bracket, that directive was not included in the output.

// input
int[] someArray =
[
    1
#if DEBUG
    ,
    2
#endif
];

// 0.26.7 int[] someArray = [1];

// 0.27.0 int[] someArray = [ 1 #if DEBUG , 2 #endif ];

Thanks go to @​Meowtimer for reporting the bug

CSharpier.MsBuild - Set Fallback for dotnetcore3.1 or net5.0 applications #1111

CSharpier.MsBuild made an assumption that the project being built would be built using net6-net8 and failed when the project was built with earlier versions of dotnet.

It now falls back to trying to use net8

Thanks go to @​samtrion for the contribution

... (truncated)

Changelog

Sourced from csharpier's changelog.

# 0.27.0

What's Changed

readonly ref is changed to ref readonly causing error CS9190 #1123

CSharpier was sorting modifiers in all places they occurred. Resulting the following change that led to code that would not compile.

// input
void Method(ref readonly int someParameter) { }

// 0.26.7 void Method(readonly ref int someParameter) { }

// 0.27.0 void Method(ref readonly int someParameter) { }

Thanks go to @​aurnoi1 for reporting the bug

#if at the end of collection expression gets eaten #1119

When a collection expression contained a directive immediately before the closing bracket, that directive was not included in the output.

// input
int[] someArray =
[
    1
#if DEBUG
    ,
    2
#endif
];

// 0.26.7 int[] someArray = [1];

// 0.27.0 int[] someArray = [ 1 #if DEBUG , 2 #endif ];

Thanks go to @​Meowtimer for reporting the bug

CSharpier.MsBuild - Set Fallback for dotnetcore3.1 or net5.0 applications #1111

CSharpier.MsBuild made an assumption that the project being built would be built using net6-net8 and failed when the project was built with earlier versions of dotnet.

It now falls back to trying to use net8

Thanks go to @​samtrion for the contribution

... (truncated)

Commits
  • 7d09173 Releasing 0.27.0 (#1128)
  • 99206da Adding GRPC support to CSharpier to allow better communication with extension...
  • 102c6e5 Fixing issue with #if being eaten in collection expression (#1120)
  • 207353a Allowing new lines in initializers (#1113)
  • b634ee3 fixing some issues with the recent raw string literal changes from #975 (#1106)
  • 3c8022c Only sort modifiers that we know should be sorted. (#1124)
  • bbbbbab Some syntax finder tweaks made while tracking down what modifiers look like o...
  • 69dc6ef Cleaning up syntax finder a bit. Add readme (#1121)
  • 0f07ce0 update doc
  • f49cf5d Minor update to EditorsTroubleshooting.md (#1118)
  • Additional 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 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)