GuilhermeStracini / POC-dotnet-CQRS

🔬 Proof of Concept of CQRS pattern in .NET using RabbitMQ, ReBus, State Machine, MediatR and Docker
https://guilhermestracini.github.io/POC-dotnet-CQRS/
MIT License
1 stars 0 forks source link

Bump csharpier from 0.28.2 to 0.29.1 #57

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 improvements and bug fixes provided in csharpier 0.29.1, ensuring our code formatting tool is up-to-date and benefits from the latest enhancements.

Summary by CodeRabbit

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

dependabot[bot] commented 3 weeks ago

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

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 Feel free to react or reply with your thoughts!

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 version of the "csharpier" tool has been updated from "0.28.2" to "0.29.1" without a clear indication of the reason behind the update. It would be beneficial to provide a brief explanation or reference to the corresponding release notes to justify the version bump.

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

  1. /.config/dotnet-tools.json
    • Consider adding a comment or a version update reason to explain why the "csharpier" tool was updated to version "0.29.1". This can help in maintaining a clear changelog and tracking the purpose of version changes.
pr-code-reviewer[bot] commented 3 weeks ago

:wave: Hi there!

Everything looks good!

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:

Overall, the PR is good to merge once any necessary checks and tests have passed. Thank you for the update! 🚀

coderabbitai[bot] commented 3 weeks ago

Walkthrough

The update involves changing the version number of the csharpier tool in the .config/dotnet-tools.json file from 0.28.2 to 0.29.1. This version increment indicates a potential enhancement or modification in the tool's functionality. Additionally, the JSON structure has been formatted properly, including the addition of a newline at the end of the file for best practices.

Changes

Files Change Summary
.config/dotnet-tools.json Updated csharpier version from 0.28.2 to 0.29.1 and adjusted formatting for proper JSON structure.

Sequence Diagram(s)

(No sequence diagrams generated as the changes do not involve features or control flow modifications.)

Poem

🐇 In the garden of code, I hop and play,
With csharpier updated, hip-hip-hooray!
From 0.28.2 to 0.29.1,
A leap in the tools, oh what fun!
With JSON neat, and structure just right,
Let’s code through the day and dance through the night! 🌼


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.
guibranco commented 3 weeks ago

@dependabot squash and merge

guibranco commented 3 weeks ago

@dependabot squash and merge

github-actions[bot] commented 3 weeks ago

Infisical secrets check: :white_check_mark: No secrets leaked!

Scan results:

5:14PM INF scanning for exposed secrets...
5:14PM INF 50 commits scanned.
5:14PM INF scan completed in 68ms
5:14PM INF no leaks found
codeclimate[bot] commented 3 weeks ago

Code Climate has analyzed commit 507e0bdc and detected 0 issues on this pull request.

View more on Code Climate.

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