GuilhermeStracini / POC-dotnet-template

🔬 Proof of Concept template repository for .NET
https://guilhermestracini.github.io/POC-dotnet-template/
MIT License
1 stars 0 forks source link

Bump csharpier from 0.28.2 to 0.29.1 #28

Closed dependabot[bot] closed 3 weeks ago

dependabot[bot] commented 3 weeks ago

Bumps csharpier from 0.28.2 to 0.29.1.

Release notes

Sourced from csharpier's releases.

0.29.1

What's Changed

Sorting of usings with underscore differs from Visual Studio #1327

CSharpier now sorts _ to the bottom of usings.

using SomeCompany.MWord;
using SomeCompany.ZWord;
using SomeCompany._Word;

Process cannot access the file "....net8.0\any\server.log" while running multiple extensions. #1324

CSharpier Server now uses a log file name based on the port that it is starting on to avoid concurrency issues trying to access the same log file

Full Changelog: https://github.com/belav/csharpier/compare/0.29.0...0.29.1

0.29.0

Breaking Changes

The formatting command will now exit with an error code of 1 if one of the target files cannot be compiled #1131

Prior to 0.29.0 if csharpier encountered a file that could not be compiled it would treat it as a warning and exit with a code of 0.
As of 0.29.0 a file that cannot be compiled is now treated as an error and csharpier will exit with code 1

What's Changed

Enforce trailing commas in object and collection initializer #668

CSharpier will now add trailing commas automatically where appropriate. It will collapse to a single line and remove the trailing comma in cases where everything fits on one line.

// input
public enum SomeEnum
{
    Value1,
    Value2
}

string[] someArray = new string[] { someLongValue_____________________________________________, someLongValue_____________________________________________ };

string[] someArray = new string[] { someValue, someValue, };

// 0.29.0 public enum SomeEnum { Value1, Value2, }

</tr></table>

... (truncated)

Changelog

Sourced from csharpier's changelog.

# 0.29.1

What's Changed

Sorting of usings with underscore differs from Visual Studio #1327

CSharpier now sorts _ to the bottom of usings.

using SomeCompany.MWord;
using SomeCompany.ZWord;
using SomeCompany._Word;

Process cannot access the file "....net8.0\any\server.log" while running multiple extensions. #1324

CSharpier Server now uses a log file name based on the port that it is starting on to avoid concurrency issues trying to access the same log file

Full Changelog: https://github.com/belav/csharpier/compare/0.29.0...0.29.1

0.29.0

Breaking Changes

The formatting command will now exit with an error code of 1 if one of the target files cannot be compiled #1131

Prior to 0.29.0 if csharpier encountered a file that could not be compiled it would treat it as a warning and exit with a code of 0.
As of 0.29.0 a file that cannot be compiled is now treated as an error and csharpier will exit with code 1

What's Changed

Enforce trailing commas in object and collection initializer #668

CSharpier will now add trailing commas automatically where appropriate. It will collapse to a single line and remove the trailing comma in cases where everything fits on one line.

// input
public enum SomeEnum
{
    Value1,
    Value2
}

string[] someArray = new string[] { someLongValue_____________________________________________, someLongValue_____________________________________________ };

string[] someArray = new string[] { someValue, someValue, };

// 0.29.0 public enum SomeEnum { Value1, Value2, }

string[] someArray = new string[] </tr></table>

... (truncated)

Commits
  • b87b4df Releasing 0.29.1 (#1331)
  • 10e0780 Support for multiple csharpier servers running at the same time, have them wr...
  • 2ed8622 Getting _ to sort to the top like it should (#1328)
  • 688aeb7 VS - Use dotnet tool list to find both local and global installs of csharpier...
  • 1cdcf0a fix width
  • c529570 prettier all the java
  • 88383e7 Using dotnet tool list for rider extension (#1325)
  • 2456512 Modify VSCode extension to use dotnet tool list + only warn to instal… (#1323)
  • 6cb3821 Format with 29 (#1322)
  • 0abbc1d fix typo
  • 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 will merge this PR once CI passes on it, as requested by @guibranco.


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)

Description by Korbit AI

What change is being made?

Bump csharpier from version 0.28.2 to 0.29.1 in the .config/dotnet-tools.json file.

Why are these changes being made?

This update includes the latest features, improvements, and bug fixes provided in csharpier 0.29.1, ensuring that our code formatting tool is up-to-date and maintains compatibility with the latest standards.

Summary by CodeRabbit

dependabot[bot] commented 3 weeks ago

The following labels could not be found: nuget, .NET, packages, dependencies.

semanticdiff-com[bot] commented 3 weeks ago

Review changes with SemanticDiff.

Analyzed 1 of 1 files.

Overall, the semantic diff is 99% smaller than the GitHub diff.

Filename Status
:heavy_check_mark: .config/dotnet-tools.json 98.89% smaller
senior-dev-bot[bot] commented 3 weeks ago

Hi there! :wave: Thanks for opening a PR. It looks like you've already reached the 5 review limit on our Basic Plan for the week. If you still want a review, feel free to upgrade your subscription in the Web App and then reopen the PR

gooroo-dev[bot] commented 3 weeks ago

Please double check the following review of the pull request:

Issues counts

🐞Mistake 🤪Typo 🚨Security 🚀Performance 💪Best Practices 📖Readability ❓Others
0 0 0 0 0 1 1

Changes in the diff

Identified Issues

ID Type Details Severity Confidence
1 📖Readability Inconsistent indentation in the JSON file. 🟡Low 🟡Low
2 ❓Others Missing newline at the end of the file. 🟡Low 🟡Low

Issue 1: Inconsistent indentation in the JSON file

Proposed Fix:

{
  "version": 1,
  "isRoot": true,
  "tools": {
    "csharpier": {
      "version": "0.29.1",
      "commands": [
        "dotnet-csharpier"
      ]
    }
  }
}

Explanation: The indentation has been corrected to ensure consistent formatting throughout the JSON file.

Issue 2: Missing newline at the end of the file

Proposed Fix:

{
  "version": 1,
  "isRoot": true,
  "tools": {
    "csharpier": {
      "version": "0.29.1",
      "commands": [
        "dotnet-csharpier"
      ]
    }
  }
}

Explanation: Added a newline at the end of the file to adhere to best practices.

Missing Tests

Since the changes are related to configuration and version bump, no additional tests are required. The functionality of the tool csharpier should be verified through its own test suite.

Summon me to re-review when updated! Yours, Gooroo.dev I'd love to hear your thoughts! React or reply.

korbit-ai[bot] commented 3 weeks ago

My review is in progress :book: - I will have feedback for you in a few minutes!

codara-ai-code-review[bot] commented 3 weeks ago

Potential issues, bugs, and flaws that can introduce unwanted behavior:

  1. /.config/dotnet-tools.json
    • The indentation in the JSON has been changed inconsistently. In some places, there are two spaces for indentation while in other places there are four spaces. This can lead to readability issues and should be standardized for consistency.

Code suggestions and improvements for better exception handling, logic, standardization, and consistency:

  1. /.config/dotnet-tools.json
    • Consistently use either two or four spaces for indentation throughout the JSON file to improve readability and maintain a consistent coding style.
pr-code-reviewer[bot] commented 3 weeks ago

:wave: Hi there!

  1. Update the "csharpier" tool version from "0.28.2" to "0.29.1."
  2. Ensure consistent indentation and formatting for clarity and readability.
  3. Consider adding a newline at the end of the file to adhere to common conventions.

Automatically generated with the help of gpt-3.5-turbo. Feedback? Please don't hesitate to drop me an email at webber@takken.io.

instapr[bot] commented 3 weeks ago

Feedback on PR

.config/dotnet-tools.json | 20 ++++++++++----------

Suggestions

coderabbitai[bot] commented 3 weeks ago

Walkthrough

The update involves a version increment for the csharpier tool within the .config/dotnet-tools.json configuration file. The version has changed from 0.28.2 to 0.29.1, indicating a potential upgrade that may encompass new features, bug fixes, or improvements. The overall structure of the configuration file remains unchanged.

Changes

File Change Summary
.config/dotnet-tools.json Updated csharpier version from 0.28.2 to 0.29.1

Sequence Diagram(s)

(No sequence diagram generated as the changes are too simple.)

Poem

🐇 In the garden, tools do shine,
A version change, oh so fine!
From 0.28 to 0.29,
Csharpier's dance, a joyful sign!
Hopping forward, bugs be gone,
Let's code together, from dusk till dawn! 🌼


Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

Share - [X](https://twitter.com/intent/tweet?text=I%20just%20used%20%40coderabbitai%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20the%20proprietary%20code.%20Check%20it%20out%3A&url=https%3A//coderabbit.ai) - [Mastodon](https://mastodon.social/share?text=I%20just%20used%20%40coderabbitai%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20the%20proprietary%20code.%20Check%20it%20out%3A%20https%3A%2F%2Fcoderabbit.ai) - [Reddit](https://www.reddit.com/submit?title=Great%20tool%20for%20code%20review%20-%20CodeRabbit&text=I%20just%20used%20CodeRabbit%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20proprietary%20code.%20Check%20it%20out%3A%20https%3A//coderabbit.ai) - [LinkedIn](https://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fcoderabbit.ai&mini=true&title=Great%20tool%20for%20code%20review%20-%20CodeRabbit&summary=I%20just%20used%20CodeRabbit%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20proprietary%20code)
Tips ### Chat There are 3 ways to chat with [CodeRabbit](https://coderabbit.ai): - Review comments: Directly reply to a review comment made by CodeRabbit. Example: - `I pushed a fix in commit .` - `Generate unit testing code for this file.` - `Open a follow-up GitHub issue for this discussion.` - Files and specific lines of code (under the "Files changed" tab): Tag `@coderabbitai` in a new review comment at the desired location with your query. Examples: - `@coderabbitai generate unit testing code for this file.` - `@coderabbitai modularize this function.` - PR comments: Tag `@coderabbitai` in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples: - `@coderabbitai generate interesting stats about this repository and render them as a table.` - `@coderabbitai show all the console.log statements in this repository.` - `@coderabbitai read src/utils.ts and generate unit testing code.` - `@coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.` - `@coderabbitai help me debug CodeRabbit configuration file.` Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. ### CodeRabbit Commands (invoked as PR comments) - `@coderabbitai pause` to pause the reviews on a PR. - `@coderabbitai resume` to resume the paused reviews. - `@coderabbitai review` to trigger an incremental review. This is useful when automatic reviews are disabled for the repository. - `@coderabbitai full review` to do a full review from scratch and review all the files again. - `@coderabbitai summary` to regenerate the summary of the PR. - `@coderabbitai resolve` resolve all the CodeRabbit review comments. - `@coderabbitai configuration` to show the current CodeRabbit configuration for the repository. - `@coderabbitai help` to get help. Additionally, you can add `@coderabbitai ignore` anywhere in the PR description to prevent this PR from being reviewed. ### CodeRabbit Configuration File (`.coderabbit.yaml`) - You can programmatically configure CodeRabbit by adding a `.coderabbit.yaml` file to the root of your repository. - Please see the [configuration documentation](https://docs.coderabbit.ai/guides/configure-coderabbit) for more information. - If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: `# yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json` ### Documentation and Community - Visit our [Documentation](https://coderabbit.ai/docs) for detailed information on how to use CodeRabbit. - Join our [Discord Community](https://discord.com/invite/GsXnASn26c) to get help, request features, and share feedback. - Follow us on [X/Twitter](https://twitter.com/coderabbitai) for updates and announcements.
deepsource-io[bot] commented 3 weeks ago

Here's the code health analysis summary for commits e5ad2ca..3d52043. View details on DeepSource ↗.

Analysis Summary

AnalyzerStatusSummaryLink
DeepSource Test coverage LogoTest coverage✅ SuccessView Check ↗
DeepSource Secrets LogoSecrets✅ SuccessView Check ↗
DeepSource C# LogoC#✅ SuccessView Check ↗

Code Coverage Report

MetricAggregateC#
Branch Coverage100%100%
Composite Coverage0%0%
Line Coverage0%0%

💡 If you’re a repository administrator, you can configure the quality gates from the settings.
guibranco commented 3 weeks ago

@dependabot squash and merge

sonarcloud[bot] commented 3 weeks ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud

github-actions[bot] commented 3 weeks ago

Infisical secrets check: :white_check_mark: No secrets leaked!

Scan results:

5:43PM INF scanning for exposed secrets...
5:43PM INF 22 commits scanned.
5:43PM INF scan completed in 63.8ms
5:43PM INF no leaks found